From 1396122423bf2ed978be642b1e7eef5effb36bc3 Mon Sep 17 00:00:00 2001 From: "t.me/xtekky" <98614666+xtekky@users.noreply.github.com> Date: Wed, 29 Mar 2023 21:10:42 +0100 Subject: poe api gpt-4 --- poe/graphql/ChatPaginationQuery.graphql | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 poe/graphql/ChatPaginationQuery.graphql (limited to 'poe/graphql/ChatPaginationQuery.graphql') diff --git a/poe/graphql/ChatPaginationQuery.graphql b/poe/graphql/ChatPaginationQuery.graphql new file mode 100644 index 00000000..f2452cd6 --- /dev/null +++ b/poe/graphql/ChatPaginationQuery.graphql @@ -0,0 +1,26 @@ +query ChatPaginationQuery($bot: String!, $before: String, $last: Int! = 10) { + chatOfBot(bot: $bot) { + id + __typename + messagesConnection(before: $before, last: $last) { + pageInfo { + hasPreviousPage + } + edges { + node { + id + __typename + messageId + text + linkifiedText + authorNickname + state + vote + voteReason + creationTime + suggestedReplies + } + } + } + } +} -- cgit v1.2.3