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

#import <EMCustomMessageBody.h>

类 EMCustomMessageBody 继承关系图:
EMMessageBody

构造函数

(instancetype) - initWithEvent:customExt:
 
() - EM_DEPRECATED_IOS
 
(instancetype) - initWithEvent:ext:
 
() - EM_DEPRECATED_IOS
 

属性

NSString * event
 
NSDictionary< NSString *, NSString * > * customExt
 
NSDictionary * ext
 
- 属性 继承自 EMMessageBody
EMMessageBodyType type
 

详细描述

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

作者
Hyphenate
版本
3.00

自定义消息体

函数文档

◆ initWithEvent:customExt:

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

初始化自定义消息体

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

◆ initWithEvent:ext:

- (instancetype) initWithEvent: (NSString *)  aEvent
ext: (NSDictionary *)  aExt 

初始化自定义消息体

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

属性说明

◆ customExt

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

自定义扩展字典

◆ event

- (NSString*) event
readwritenonatomiccopy

自定义事件

◆ ext

- (NSDictionary*) ext
readwritenonatomiccopy

扩展字典


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