HyphenateChatSDK 4.5.0
构造函数 | 属性 | 所有成员列表
EMCustomMessageBody类 参考

#import <EMCustomMessageBody.h>

类 EMCustomMessageBody 继承关系图:
EMMessageBody

构造函数

(instancetype _Nonnull) - initWithEvent:customExt:
 
((unavailable("call initWithEvent:customExt: instead") - __attribute__
 

属性

NSString * event
 
NSDictionary< NSString *, NSString * > * customExt
 
- 属性 继承自 EMMessageBody
EMMessageBodyType type
 
NSUInteger operationTime
 
NSString * operatorId
 
NSUInteger operatorCount
 

详细描述

@header EMCustomMessageBody.h @abstract 自定义消息体

作者
Hyphenate
版本
3.00

自定义消息体。

函数文档

◆ initWithEvent:customExt:

- (instancetype _Nonnull) initWithEvent: (NSString *_Nullable)  aEvent
customExt: (NSDictionary< NSString *, NSString * > *_Nullable)  aCustomExt 

初始化自定义消息体。

参数
aEvent自定义事件。
aCustomExt自定义扩展字典。
返回
自定义消息体实例。

属性说明

◆ customExt

- (NSDictionary<NSString *,NSString *>*) customExt
readwritenonatomiccopy

自定义扩展字典。

◆ event

- (NSString*) event
readwritenonatomiccopy

自定义事件。


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