mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-12-28 21:53:11 +03:00
3be905b742
due to having same name as poe-api, I changed the name for it to be used with the other package
53 lines
1.1 KiB
GraphQL
53 lines
1.1 KiB
GraphQL
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
|
|
}
|
|
}
|
|
}
|