HyphenateChatSDK 4.4.0
属性 | 所有成员列表
EMMessageReaction类 参考

#import <EMMessageReaction.h>

类 EMMessageReaction 继承关系图:

属性

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

详细描述

消息Reaction类。

属性说明

◆ count

- (NSUInteger) count
readatomicassign

添加该 Reaction 的用户总数。

◆ isAddedBySelf

- (BOOL) isAddedBySelf
readatomicassign

当前用户是否添加了该 Reaction。

  • YES: 是;
  • NO: 否。

◆ reaction

- (NSString*) reaction
readatomicassign

Reaction 内容。

◆ userList

- (NSArray<NSString *>*) userList
readatomicassign

添加了指定 Reaction 的用户列表。

Note 只有通过 getReactionDetail(IEMChatManager) 接口获取的是全部用户的分页数据;其他相关接口如 reactionList(EMChatMessage)getReactionList(IEMChatManager) 或者 messageReactionDidChange(EMChatManagerDelegate) 等都只包含前三个用户。


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