ZegoBroadcastMessageInfo class

房间广播消息

收到的房间广播消息对象,包括消息内容、消息 ID、发送人、发送时间

Constructors

ZegoBroadcastMessageInfo(String message, int messageID, int sendTime, ZegoUser fromUser)

Properties

fromUser ZegoUser
消息的发送者。请勿在此字段填写用户敏感信息,包括但不限于手机号、身份证号、护照编号、真实姓名等。
read / write
hashCode → int
The hash code for this object.
read-onlyinherited
message ↔ String
消息内容
read / write
messageID ↔ int
消息 ID
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
sendTime ↔ int
消息的发送时间,UNIX 时间戳,单位为毫秒
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited