Port poe messaging to JS

This commit is contained in:
SillyLossy
2023-04-03 22:10:58 +03:00
parent 03691d08e2
commit e3419403a6
34 changed files with 1222 additions and 2 deletions

View File

@@ -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
}
}
}
}
}