AgoraChatSDK 1.2.0
Properties | List of all members
AgoraChatMessageReaction Class Reference

#import <AgoraChatMessageReaction.h>

Inheritance diagram for AgoraChatMessageReaction:


NSString * reaction
NSUInteger count
BOOL isAddedBySelf
NSArray< NSString * > * userList

Detailed Description

The message reaction object.

Property Documentation

◆ count

- (NSUInteger) count

The count of the users who added this Reaction.

◆ isAddedBySelf

- (BOOL) isAddedBySelf

Whether the current user added this Reaction.

  • Yes: Yes;
  • No: No.

◆ reaction

- (NSString*) reaction

The Reaction content.

◆ userList

- (NSArray<NSString *>*) userList

The list of users that added this Reaction.

Note To get the entire list of users adding this Reaction, you can call getReactionDetail(IAgoraChatManager) which returns the user list with pagination. Other methods like reactionList(AgoraChatMessage), getReactionList(IAgoraChatManager) or messageReactionDidChange(AgoraChatManagerDelegate) can get the first three users.

The documentation for this class was generated from the following file: