3be905b742
due to having same name as poe-api, I changed the name for it to be used with the other package
40 lines
710 B
GraphQL
40 lines
710 B
GraphQL
mutation chatHelpers_sendMessageMutation_Mutation(
|
|
$chatId: BigInt!
|
|
$bot: String!
|
|
$query: String!
|
|
$source: MessageSource
|
|
$withChatBreak: Boolean!
|
|
) {
|
|
messageEdgeCreate(chatId: $chatId, bot: $bot, query: $query, source: $source, withChatBreak: $withChatBreak) {
|
|
chatBreak {
|
|
cursor
|
|
node {
|
|
id
|
|
messageId
|
|
text
|
|
author
|
|
suggestedReplies
|
|
creationTime
|
|
state
|
|
}
|
|
id
|
|
}
|
|
message {
|
|
cursor
|
|
node {
|
|
id
|
|
messageId
|
|
text
|
|
author
|
|
suggestedReplies
|
|
creationTime
|
|
state
|
|
chat {
|
|
shouldShowDisclaimer
|
|
id
|
|
}
|
|
}
|
|
id
|
|
}
|
|
}
|
|
}
|