Chat SDK for Unity and Windows v1.3.0
Public Attributes | List of all members
AgoraChat.MessageReaction Class Reference
Inheritance diagram for AgoraChat.MessageReaction:

Public Attributes

string Reaction
 
int Count
 
List< string > UserList
 
bool State
 

Detailed Description

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.

Member Data Documentation

◆ Reaction

string AgoraChat.MessageReaction.Reaction

Gets the Reaction.

◆ Count

int AgoraChat.MessageReaction.Count

Gets the count of users that added this Reaction.

◆ UserList

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.

Returns
The list of users that added this Reaction.

◆ State

bool AgoraChat.MessageReaction.State

Gets whether the current user has added the Reaction.

  • true: Yes.
  • false: No.