summaryrefslogtreecommitdiffstats
path: root/poe/graphql/AddHumanMessageMutation.graphql
diff options
context:
space:
mode:
authort.me/xtekky <98614666+xtekky@users.noreply.github.com>2023-03-29 22:10:42 +0200
committert.me/xtekky <98614666+xtekky@users.noreply.github.com>2023-03-29 22:10:42 +0200
commit1396122423bf2ed978be642b1e7eef5effb36bc3 (patch)
tree77900a67561bc0807d7265d68d073e231fc1916b /poe/graphql/AddHumanMessageMutation.graphql
parentt3nsor api gpt-3.5 (diff)
downloadgpt4free-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 'poe/graphql/AddHumanMessageMutation.graphql')
-rw-r--r--poe/graphql/AddHumanMessageMutation.graphql52
1 files changed, 52 insertions, 0 deletions
diff --git a/poe/graphql/AddHumanMessageMutation.graphql b/poe/graphql/AddHumanMessageMutation.graphql
new file mode 100644
index 00000000..01e6bc8c
--- /dev/null
+++ b/poe/graphql/AddHumanMessageMutation.graphql
@@ -0,0 +1,52 @@
+mutation AddHumanMessageMutation(
+ $chatId: BigInt!
+ $bot: String!
+ $query: String!
+ $source: MessageSource
+ $withChatBreak: Boolean! = false
+) {
+ messageCreateWithStatus(
+ chatId: $chatId
+ bot: $bot
+ query: $query
+ source: $source
+ withChatBreak: $withChatBreak
+ ) {
+ message {
+ id
+ __typename
+ messageId
+ text
+ linkifiedText
+ authorNickname
+ state
+ vote
+ voteReason
+ creationTime
+ suggestedReplies
+ chat {
+ id
+ shouldShowDisclaimer
+ }
+ }
+ messageLimit{
+ canSend
+ numMessagesRemaining
+ resetTime
+ shouldShowReminder
+ }
+ chatBreak {
+ id
+ __typename
+ messageId
+ text
+ linkifiedText
+ authorNickname
+ state
+ vote
+ voteReason
+ creationTime
+ suggestedReplies
+ }
+ }
+}