| Property | Type | Description |
|---|
id | String | ID of the message |
from | Recipient | Recipient the message is coming from. |
to | Array ofRecipient | List of recipients the message is addressed to. |
replyTo | Array ofRecipient | List of recipients set in theReply-Toheader. |
cc | Array ofRecipient(optional) | List of recipient in copy of the message. |
bcc | Array ofRecipient(optional) | List of recipients in blind copy of the message. |
date | Date | Date at which the message has been sent from Front or received in Front. |
status | String | Status of the message. |
content | Object (optional) | |
content.body | String | Body of the message. |
content.type | String | Content type of thebody. Can be eitherhtmlortext. |
content.attachments | Array ofAttachment | Files attached to the message. |
A message status represents whether it was received or sent. It can be one of:
inbound for a message received by a channel.
outbound for a message sent by a channel.
The content property is optional to reflect the fact that the content of non-draft messages is lazy loaded when the teammate opens them.