Package com.mailosaur.models
Class MessageReplyOptions
java.lang.Object
com.mailosaur.models.MessageReplyOptions
Options to use when replying to a message.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionwithAttachments(List<Attachment> attachments) Sets any message attachments.Sets any additional HTML content to include in the reply.Sets any additional plain text content to include in the reply.
-
Constructor Details
-
MessageReplyOptions
public MessageReplyOptions()
-
-
Method Details
-
withText
Sets any additional plain text content to include in the reply. Note that only text or html can be supplied, not both.- Parameters:
text- Plain text content to include in the reply.- Returns:
- the MessageReplyOptions object itself.
-
withHtml
Sets any additional HTML content to include in the reply. Note that only html or text can be supplied, not both.- Parameters:
html- HTML content to include in the reply.- Returns:
- the MessageReplyOptions object itself.
-
withAttachments
Sets any message attachments.- Parameters:
attachments- Any message attachments.- Returns:
- the MessageReplyOptions object itself.
-