summaryrefslogtreecommitdiffstats
path: root/quora/graphql/ChatPaginationQuery.graphql
blob: f2452cd6c2a8fb3b13e0a9914a2642705275e45d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
                }
            }
        }
    }
}