OBJECT
TextMessageEntity
link GraphQL Schema definition
- type TextMessageEntity {
- # Tells if the entity instance is protected against delete (Entities that need to
- # be present in the system at any time). Delete action still may fail if entity is
- # deletable, due some other additional validations.
- : Boolean!
- # Unique identifier of entity.
- : ID!
- # Specifies if the entity is considered deleted.
- : Boolean
- # Last modification time.
- : DateTime
- # Creation time.
- : DateTime
- # Internal AI chat conversation this message belongs to, when applicable.
- : ChatConversationEntity
- # Conversation this message belongs to. Empty for messages produced by AI chat
- # that do not belong to a thread of customer conversation.
- : TextMessageConversationEntity
- # Id of the chat conversation.
- : ID
- # Body of the message. May be plain text or a JSON payload (e.g. AI assistant
- # examples / suggestions).
- : String!
- # Timestamp the message was sent.
- : DateTime
- # Direction of the message (Incoming, Outgoing).
- : EmailDirectionEnum!
- # External message identifier from the SMS provider (e.g. Twilio Message SID).
- : String
- # Quality score given to the message by the user (e.g. for AI-suggested replies).
- # Used to feed back into the suggestion engine.
- : Int
- # Delivery status of the message (e.g. Sent, Delivered, Failed).
- : TextMessageStatusEnum
- # Id of the conversation.
- : ID
- # Revision when entity was lastly changed.
- : Int
- # Files attached to the message (e.g. MMS attachments).
- #
- # Arguments
- # filter: Filter CloudObject relations by target CloudObject
- # attributes.
- # filterEdge: Filter CloudObjectRelation relations by edge
- # (relation) CloudObjectRelation attributes.
- # orderBy: Order CloudObject relations by target CloudObject
- # attributes.
- # includeDeleted: Returns deleted target records as well. Default
- # is true.
- # before: Cursor until which to take entities to result set.
- # after: Cursor after which to start taking entities to result
- # set.
- # first: Number of entities to return from beginning of the
- # result set.
- # last: Return only the "last" number of entities from result
- # set.
- (
- : CloudObjectFilterInput,
- : CloudObjectRelationFilterInput,
- : [CloudObjectOrderByInput!],
- : Boolean,
- : String,
- : String,
- : Int,
- : Int
- ): CloudObjectRelationEntityConnection
- # HTML-rendered version of the message body, ready for display in chat UIs.
- : String!
- # Structured AI payload of the message (examples or suggestions). Empty for
- # regular text messages.
- : AiMessageData
- # List of suggested follow-up prompts produced by the AI for this message. Empty
- # when the AI did not produce prompts.
- : [String!]
- # Checks which permissions current user has on concrete entity instance.
- #
- # Arguments
- # permissions: [Not documented]
- (: [EntityPermsEnum!]!): [EntityPermsEnum!]!
- : AiCreditInfo
- }