ShengwangChatSDK 1.3.2
属性 | 所有成员列表
AgoraChatMessageReaction类 参考

#import <AgoraChatMessageReaction.h>

类 AgoraChatMessageReaction 继承关系图:

属性

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

详细描述

The message reaction object.

属性说明

◆ 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.


该类的文档由以下文件生成: