AttachmentMessage
data class AttachmentMessage( val content: ByteBuffer, val header: Header, val isEnd: Boolean, val parentMessageId: String, val seq: Int, val mediaType: String)
Content copied to clipboard
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)
Content copied to clipboard