HMSMessage

data class HMSMessage

Class for retrieving the attributes of a group(HMSRole based ) or peer-to-peer message

Properties

message
Link copied to clipboard
val message: String
Content of the text message or the text description of the raw message.
recipient
Link copied to clipboard
val recipient: HMSMessageRecipient
The intended recipient(s) of this message
sender
Link copied to clipboard
var sender: HMSPeer
The HMSPeer who is sending this message
serverReceiveTime
Link copied to clipboard
var serverReceiveTime: Date
timestamp of when the messaging server receives this message
type
Link copied to clipboard
val type: String
Type of message sent.