Message Builder
interface MessageBuilder
Content copied to clipboard
Builder for preparing new message.
See also
#prepare Message()
#prepareMessage()
Functions
add Media
Link copied to clipboard
abstract fun addMedia(inputStream: InputStream, contentType: String, filename: String, uploadListener: MediaUploadListener): Conversation.MessageBuilder
Content copied to clipboard
Adds attachment for the new message.
build
Link copied to clipboard
Builds new UnsentMessage.
build And Send
Link copied to clipboard
abstract fun buildAndSend(listener: CallbackListener<Message>): CancellationToken
Content copied to clipboard
Builds new UnsentMessage and sends it immediately.
set Attributes
Link copied to clipboard
abstract fun setAttributes(attributes: Attributes): Conversation.MessageBuilder
Content copied to clipboard
Set new message attributes.
set Body
Link copied to clipboard
Set new message body.
set Email Body
Link copied to clipboard
abstract fun setEmailBody(emailBody: String, contentType: String): Conversation.MessageBuilder
Content copied to clipboard
abstract fun setEmailBody(inputStream: InputStream, contentType: String, uploadListener: MediaUploadListener): Conversation.MessageBuilder
Content copied to clipboard
Set new message email body.
set Email History
Link copied to clipboard
abstract fun setEmailHistory(emailHistory: String, contentType: String): Conversation.MessageBuilder
Content copied to clipboard
abstract fun setEmailHistory(inputStream: InputStream, contentType: String, uploadListener: MediaUploadListener): Conversation.MessageBuilder
Content copied to clipboard
Set new message email history.
set Subject
Link copied to clipboard
Set new message subject.