Message builder. Allows the message to be built and sent via method chaining.
Example:
await testConversation.prepareMessage() .setBody('Hello!') .setAttributes({foo: 'bar'}) .addMedia(media1) .addMedia(media2) .build() .send();
Adds media to the message.
Media to add.
Builds the message, making it ready to be sent.
Sets the message attributes.
Message attributes.
Sets the message body.
Contents of the body.
Sets the message subject.
Contents of the subject.
Message builder. Allows the message to be built and sent via method chaining.
Example: