INPUT_OBJECT

CreateOrUpdateTextMessageNoTextMessageConversationBackrefInput

Field values of a TextMessage record to create, or to update when its id is set, together with the record it belongs to.

link GraphQL Schema definition

  • input CreateOrUpdateTextMessageNoTextMessageConversationBackrefInput {
  • # Unique identifier of entity.
  • id: ID
  • # Last modification time.
  • modified: DateTime
  • # Creation time.
  • created: DateTime
  • # Id of the AI assistant chat conversation this message belongs to, when
  • # applicable.
  • chatConversationId: ID
  • # 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
  • # Revision when entity was lastly changed.
  • revision: Int
  • # Files attached to the message (e.g. MMS attachments).
  • attachments: [CreateCloudObjectRelationNoBackrefInput!]
  • }