mirror of
				https://github.com/SillyTavern/SillyTavern.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			44 lines
		
	
	
		
			657 B
		
	
	
	
		
			GraphQL
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			657 B
		
	
	
	
		
			GraphQL
		
	
	
	
	
	
subscription viewerStateUpdated {
 | 
						|
  viewerStateUpdated {
 | 
						|
    id
 | 
						|
    ...ChatPageBotSwitcher_viewer
 | 
						|
  }
 | 
						|
}
 | 
						|
 | 
						|
fragment BotHeader_bot on Bot {
 | 
						|
  displayName
 | 
						|
  messageLimit {
 | 
						|
    dailyLimit
 | 
						|
  }
 | 
						|
  ...BotImage_bot
 | 
						|
}
 | 
						|
 | 
						|
fragment BotImage_bot on Bot {
 | 
						|
  image {
 | 
						|
    __typename
 | 
						|
    ... on LocalBotImage {
 | 
						|
      localName
 | 
						|
    }
 | 
						|
    ... on UrlBotImage {
 | 
						|
      url
 | 
						|
    }
 | 
						|
  }
 | 
						|
  displayName
 | 
						|
}
 | 
						|
 | 
						|
fragment BotLink_bot on Bot {
 | 
						|
  displayName
 | 
						|
}
 | 
						|
 | 
						|
fragment ChatPageBotSwitcher_viewer on Viewer {
 | 
						|
  availableBots {
 | 
						|
    id
 | 
						|
    messageLimit {
 | 
						|
      dailyLimit
 | 
						|
    }
 | 
						|
    ...BotLink_bot
 | 
						|
    ...BotHeader_bot
 | 
						|
  }
 | 
						|
  allowUserCreatedBots: booleanGate(gateName: "enable_user_created_bots")
 | 
						|
}
 |