Adds media to the message.
Media to add.
Builds the message, making it ready to be sent.
Prepares a message and sends it to the conversation.
Sets the message attributes.
Message attributes.
Sets the message body.
Contents of the body.
Set the email body with a given content type.
Format of the body to set (text/plain or text/html).
Body payload in the selected format.
Set the email history with a given content type.
Format of the history to set (text/plain or text/html).
History payload in the selected format.
Sets the message subject.
Contents of the subject.
Message builder. Allows the message to be built and sent via method chaining.
Example: