Chat SDK for Unity and Windows v1.2.0
|
Public Attributes | |
string | Reaction |
int | Count |
List< string > | UserList |
bool | State |
The message Reaction instance class, which has the following attributes:
Reaction: The message Reaction. UserCount: The count of users that added the Reaction. UserList: The list of users that added the Reaction. State: Whether the current user added this Reaction.
string AgoraChat.MessageReaction.Reaction |
Gets the Reaction.
int AgoraChat.MessageReaction.Count |
Gets the count of users that added this Reaction.
List<string> AgoraChat.MessageReaction.UserList |
Gets the list of users that added this Reaction.
Note IChatManager#GetReactionDetail
can return the entire list of users that added this Reaction with pagination, whereas other methods such as IChatManager#GetReactionList
can only return the first three users.
bool AgoraChat.MessageReaction.State |
Gets whether the current user has added the Reaction.
true
: Yes.false
: No.