SendMessageMutation.graphql 710 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. mutation chatHelpers_sendMessageMutation_Mutation(
  2. $chatId: BigInt!
  3. $bot: String!
  4. $query: String!
  5. $source: MessageSource
  6. $withChatBreak: Boolean!
  7. ) {
  8. messageEdgeCreate(chatId: $chatId, bot: $bot, query: $query, source: $source, withChatBreak: $withChatBreak) {
  9. chatBreak {
  10. cursor
  11. node {
  12. id
  13. messageId
  14. text
  15. author
  16. suggestedReplies
  17. creationTime
  18. state
  19. }
  20. id
  21. }
  22. message {
  23. cursor
  24. node {
  25. id
  26. messageId
  27. text
  28. author
  29. suggestedReplies
  30. creationTime
  31. state
  32. chat {
  33. shouldShowDisclaimer
  34. id
  35. }
  36. }
  37. id
  38. }
  39. }
  40. }
粤ICP备19079148号