AgoraChatSDK 1.3.1
Properties | List of all members
AgoraChatMessageReaction Class Reference

#import <AgoraChatMessageReaction.h>

Inheritance diagram for AgoraChatMessageReaction:

Properties

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

Detailed Description

The message reaction object.

Property Documentation

◆ count

- (NSUInteger) count
readatomicassign

The count of the users who added this Reaction.

◆ isAddedBySelf

- (BOOL) isAddedBySelf
readatomicassign

Whether the current user added this Reaction.

  • Yes: Yes;
  • No: No.

◆ reaction

- (NSString*) reaction
readatomicassign

The Reaction content.

◆ userList

- (NSArray<NSString *>*) userList
readatomicassign

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: