add Media
abstract fun addMedia(inputStream: InputStream, contentType: String, filename: String, uploadListener: MediaUploadListener): Conversation.MessageBuilder
Content copied to clipboard
Adds attachment for the new message.
Return
Self for chaining.
Parameters
input Stream
content of attachment.
content Type
type of the attachment.
filename
name of the attachment.
upload Listener
MediaUploadListener for monitoring upload process.