MessageDescriptor

fun MessageDescriptor(type: MessageType, id: Int? = null)

Parameters

type

: The message type

id

: The 14-bit identity associated with a message, can be optional, must be in range 0-16383(0x3FFF).