A single message can have two different content objects associated with it for text and HTML versions of the message. A contact’s message format preference will indicate which type of content they should get when receiving a delivery.

Name Type Description
type string The type of message content {html or text}.
subject string The subject line used in the message.
content string The actual content of the message.