Message
A message in a conversation
type Message {
id: ID!
conversation: Conversation!
collections: [Collection!]!
text: String!
type: MessageType!
creator: User
creatorType: MessageCreatorType!
feedback(
input: MessageMessageFeedbackQueryInput
): MessageFeedbackPage!
sources(
input: MessageMessageSourcesQueryInput
): MessageSourcePage!
externalId: String
context: [ContextFieldValue!]!
createdAt: DateTime!
statusUpdates: [MessageStatusUpdate!]!
}
Fields
Message.id
● ID!
non-null scalar
The ID of the message
Message.conversation
● Conversation!
non-null object
The conversation the message belongs to
Message.collections
● [Collection!]!
non-null object
The collections the message accessed to
Message.text
● String!
non-null scalar
The text of the message
Message.type
● MessageType!
non-null enum
The type of message
Message.creator
● User
object
The creator of the message, if set
Message.creatorType
● MessageCreatorType!
non-null enum
The type of creator who sent the message
Message.feedback
● MessageFeedbackPage!
non-null object
The feedback given on the message
Message.feedback.input
● MessageMessageFeedbackQueryInput
input
Message.sources
● MessageSourcePage!
non-null object
The sources used to construct the response
Message.sources.input
● MessageMessageSourcesQueryInput
input
Message.externalId
● String
scalar
The external ID of the message, if any
Message.context
● [ContextFieldValue!]!
non-null object
Additional context for the message, if any
Message.createdAt
● DateTime!
non-null scalar
When the message was created
Message.statusUpdates
● [MessageStatusUpdate!]!
non-null object
Status updates for the message, if any
Returned By
message
query ● sendMessage
mutation
Member Of
MessageFeedback
object ● MessagePage
object ● MessageSource
object