gpt4free/quora/graphql/MessageAddedSubscription.graphql
t.me/xtekky 3be905b742 rename poe api ( gpt 4 ) to quora
due to having same name as poe-api, I changed the name for it to be used with the other package
2023-04-10 01:09:29 +02:00

101 lines
1.8 KiB
GraphQL

subscription messageAdded (
$chatId: BigInt!
) {
messageAdded(chatId: $chatId) {
id
messageId
creationTime
state
...ChatMessage_message
...chatHelpers_isBotMessage
}
}
fragment ChatMessageDownvotedButton_message on Message {
...MessageFeedbackReasonModal_message
...MessageFeedbackOtherModal_message
}
fragment ChatMessageDropdownMenu_message on Message {
id
messageId
vote
text
linkifiedText
...chatHelpers_isBotMessage
}
fragment ChatMessageFeedbackButtons_message on Message {
id
messageId
vote
voteReason
...ChatMessageDownvotedButton_message
}
fragment ChatMessageOverflowButton_message on Message {
text
...ChatMessageDropdownMenu_message
...chatHelpers_isBotMessage
}
fragment ChatMessageSuggestedReplies_SuggestedReplyButton_message on Message {
messageId
}
fragment ChatMessageSuggestedReplies_message on Message {
suggestedReplies
...ChatMessageSuggestedReplies_SuggestedReplyButton_message
}
fragment ChatMessage_message on Message {
id
messageId
text
author
linkifiedText
state
...ChatMessageSuggestedReplies_message
...ChatMessageFeedbackButtons_message
...ChatMessageOverflowButton_message
...chatHelpers_isHumanMessage
...chatHelpers_isBotMessage
...chatHelpers_isChatBreak
...chatHelpers_useTimeoutLevel
...MarkdownLinkInner_message
}
fragment MarkdownLinkInner_message on Message {
messageId
}
fragment MessageFeedbackOtherModal_message on Message {
id
messageId
}
fragment MessageFeedbackReasonModal_message on Message {
id
messageId
}
fragment chatHelpers_isBotMessage on Message {
...chatHelpers_isHumanMessage
...chatHelpers_isChatBreak
}
fragment chatHelpers_isChatBreak on Message {
author
}
fragment chatHelpers_isHumanMessage on Message {
author
}
fragment chatHelpers_useTimeoutLevel on Message {
id
state
text
messageId
}