Skip to main content

ImportConversationMessageInput

Input for importing a message into a conversation

input ImportConversationMessageInput {
externalId: String!
text: String!
creator: ImportUserInput
type: MessageType
context: [ContextFieldInput!]
createdAt: DateTime!
updatedAt: DateTime
}

Fields​

ImportConversationMessageInput.externalId ● String! non-null scalar​

The external ID of the message. Must be unique within the conversation.

ImportConversationMessageInput.text ● String! non-null scalar​

The text of the message

ImportConversationMessageInput.creator ● ImportUserInput input​

The user who created the message

ImportConversationMessageInput.type ● MessageType enum​

The type of message. Defaults to 'message'

ImportConversationMessageInput.context ● [ContextFieldInput!] list input​

Additional context for the message, if any

ImportConversationMessageInput.createdAt ● DateTime! non-null scalar​

When the message was created

ImportConversationMessageInput.updatedAt ● DateTime scalar​

When the message was last updated. If not set, the createdAt will be used.

Member Of​

ImportConversationInput input