AttachmentMessage

data class AttachmentMessage(    val content: ByteBuffer,     val header: Header,     val isEnd: Boolean,     val parentMessageId: String,     val seq: Int,     val mediaType: String)

data class for attachment message

Parameters

content

the binary data

header

the header

isEnd

the end flag of attachment

parentMessageId

the parent message id which associated with attachment

seq

the sequence number

mediaType

the mime type for attachment

Constructors

Link copied to clipboard
fun AttachmentMessage(    content: ByteBuffer,     header: Header,     isEnd: Boolean,     parentMessageId: String,     seq: Int,     mediaType: String)

Properties

Link copied to clipboard
val content: ByteBuffer
Link copied to clipboard
val header: Header
Link copied to clipboard
val isEnd: Boolean
Link copied to clipboard
val mediaType: String
Link copied to clipboard
val parentMessageId: String
Link copied to clipboard
val seq: Int