diff options
author | t.me/xtekky <98614666+xtekky@users.noreply.github.com> | 2023-03-29 22:10:42 +0200 |
---|---|---|
committer | t.me/xtekky <98614666+xtekky@users.noreply.github.com> | 2023-03-29 22:10:42 +0200 |
commit | 1396122423bf2ed978be642b1e7eef5effb36bc3 (patch) | |
tree | 77900a67561bc0807d7265d68d073e231fc1916b /poe/graphql/ViewerStateUpdatedSubscription.graphql | |
parent | t3nsor api gpt-3.5 (diff) | |
download | gpt4free-1396122423bf2ed978be642b1e7eef5effb36bc3.tar gpt4free-1396122423bf2ed978be642b1e7eef5effb36bc3.tar.gz gpt4free-1396122423bf2ed978be642b1e7eef5effb36bc3.tar.bz2 gpt4free-1396122423bf2ed978be642b1e7eef5effb36bc3.tar.lz gpt4free-1396122423bf2ed978be642b1e7eef5effb36bc3.tar.xz gpt4free-1396122423bf2ed978be642b1e7eef5effb36bc3.tar.zst gpt4free-1396122423bf2ed978be642b1e7eef5effb36bc3.zip |
Diffstat (limited to '')
-rw-r--r-- | poe/graphql/ViewerStateUpdatedSubscription.graphql | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/poe/graphql/ViewerStateUpdatedSubscription.graphql b/poe/graphql/ViewerStateUpdatedSubscription.graphql new file mode 100644 index 00000000..03fc73d1 --- /dev/null +++ b/poe/graphql/ViewerStateUpdatedSubscription.graphql @@ -0,0 +1,43 @@ +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") +} |