One message on a channel: an email, a chat message, an SMS, a call record, with sender, recipients, body and the records it is about. A Ticket's conversation is its Messages.
plain text or Markdown; may be empty when the message is only attachments
body_html
text
no
sent_at
datetime
yes
thread_key
string
no
opaque grouping key: a mail thread id, a chat channel and thread, a ticket id
in_reply_to
Ref<Message>
no
attachments
Ref<File>[]
no
delivery
enum(draft|queued|sent|delivered|failed)
no
outbound only
about
Ref<any>[]
no
the Ticket, the Deal
Extensions
Extension
Type
Notes
ext.messaging.received_at
datetime
When the receiving system accepted the message (the Received trace, Gmail internalDate, Graph receivedDateTime); sent_at orders the thread, this records delivery.
ext.messaging.references
string
The RFC 5322 References header as written: the Message-IDs of the thread's ancestors, space-separated, for rebuilding threads of imported mail.