INPUT_OBJECT

CreateTextMessageNoChatConversationBackrefInput

Field values of a new TextMessage record, created together with the record it belongs to.

link GraphQL Schema definition

  • input CreateTextMessageNoChatConversationBackrefInput {
  • # Last modification time.
  • modified: DateTime
  • # Creation time.
  • created: DateTime
  • # Body of the message. May be plain text or a JSON payload (e.g. AI assistant
  • # examples / suggestions).
  • content: String!
  • # Timestamp the message was sent.
  • datetimeSent: DateTime
  • # Direction of the message (Incoming, Outgoing).
  • direction: EmailDirectionEnum!
  • # External message identifier from the SMS provider (e.g. Twilio Message SID).
  • messageSid: String
  • # Quality score given to the message by the user (e.g. for AI-suggested replies).
  • # Used to feed back into the suggestion engine.
  • score: Int
  • # Delivery status of the message: Sending, Sent, Seen or Failed for outgoing
  • # messages, Received for incoming ones.
  • status: TextMessageStatusEnum
  • # Id of the text message conversation this message belongs to, or empty for AI
  • # assistant chat messages.
  • textMessageConversationId: ID
  • # Revision when entity was lastly changed.
  • revision: Int
  • # Files attached to the message (e.g. MMS attachments).
  • attachments: [CreateCloudObjectRelationNoBackrefInput!]
  • }