Public Member Functions | |
| String | getReaction () |
| int | getUserCount () |
| List< String > | getUserList () |
| boolean | isAddedBySelf () |
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. isAddedBySelf: Whether the current user added this Reaction.
| String com.hyphenate.chat.EMMessageReaction.getReaction | ( | ) |
Gets the Reaction.
| int com.hyphenate.chat.EMMessageReaction.getUserCount | ( | ) |
Gets the count of users that added this Reaction.
| List< String > com.hyphenate.chat.EMMessageReaction.getUserList | ( | ) |
Gets the list of users that added this Reaction.
EMChatManager#getReactionDetail(String, String, String, int) can return the entire list of users that added this Reaction with pagination, whereas other methods such as EMMessage#getMessageReaction(), EMChatManager#getReactionList(List, EMMessage.ChatType, String), and EMMessageListener#onReactionChanged(List) can only return the first three users. | boolean com.hyphenate.chat.EMMessageReaction.isAddedBySelf | ( | ) |
Gets whether the current user has added the Reaction.
true: Yes.false: No.