ZegoBarrageMessageInfo class

Barrage message info.

The received object of the room barrage message, including the message content, message ID, sender, sending time

Constructors

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

Properties

fromUser ZegoUser
Message sender.Please do not fill in sensitive user information in this field, including but not limited to mobile phone number, ID number, passport number, real name, etc.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
message ↔ String
message content
getter/setter pair
messageID ↔ String
message id
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sendTime ↔ int
Message send time, UNIX timestamp, in milliseconds.
getter/setter pair

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