setEmailBody

abstract fun setEmailBody(emailBody: String, contentType: String): Conversation.MessageBuilder

Set new message email body.

This body will be sent to email participants of the conversation

Return

Self for chaining.

Parameters

emailBody

content of the body.

contentType

type of the body, see emailBodiesAllowedContentTypes.


abstract fun setEmailBody(inputStream: InputStream, contentType: String, uploadListener: MediaUploadListener): Conversation.MessageBuilder

Set new message email body.

This body will be sent to email participants of the conversation

Return

Self for chaining.

Parameters

inputStream

content of the body.

contentType

type of the body, see emailBodiesAllowedContentTypes.

uploadListener

MediaUploadListener for monitoring upload process.