3be905b742
due to having same name as poe-api, I changed the name for it to be used with the other package
26 lines
686 B
GraphQL
26 lines
686 B
GraphQL
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
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|