NIMCustomObject Class Reference
| Inherits from | NSObject | 
|---|---|
| Conforms to | NIMMessageObject | 
| Declared in | NIMCustomObject.h | 
  attachment
	用户自定义附件
@property (nullable, nonatomic, strong) id<NIMCustomAttachment> attachmentDiscussion
用户自定义附件
SDK负责将attachment通过encodeAttachment接口序列化后的结果进行透传
Declared In
NIMCustomObject.h
+ registerCustomDecoder:
	注册自定义消息解析器
+ (void)registerCustomDecoder:(id<NIMCustomAttachmentCoding>)decoderParameters
decoder | 
						自定义消息解析器 @disucssion 如果用户使用自定义消息类型,就需要注册自定义消息解析器,负责将透传过来的自定义消息反序列化成上层应用可识别的对象  | 
					
|---|
Discussion
注册自定义消息解析器
Declared In
NIMCustomObject.h