AttachmentMessage

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

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