summaryrefslogblamecommitdiffstats
path: root/poe/graphql/AddHumanMessageMutation.graphql
blob: 01e6bc8cd4446e824ed732746178c7be926c8a2e (plain) (tree)



















































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