Unity and Windows API reference
Public 成员函数 | Public 属性 | 所有成员列表
ChatSDK.MessageBody.CustomBody类 参考
类 ChatSDK.MessageBody.CustomBody 继承关系图:
ChatSDK.IMessageBody

Public 成员函数

 CustomBody (string customEvent, Dictionary< string, string > customParams=null)
 

Public 属性

string CustomEvent
 
Dictionary< string, string > CustomParams
 
- Public 属性 继承自 ChatSDK.IMessageBody
MessageBodyType Type
 

额外继承的成员函数

- 静态 Public 成员函数 继承自 ChatSDK.IMessageBody
static IMessageBody Constructor (string jsonString, string type)
 

详细描述

自定义消息体。

构造及析构函数说明

◆ CustomBody()

ChatSDK.MessageBody.CustomBody.CustomBody ( string  customEvent,
Dictionary< string, string >  customParams = null 
)

自定义消息体构造方法。

参数
customEvent自定义事件。
customParams自定义消息的键值对。

类成员变量说明

◆ CustomEvent

string ChatSDK.MessageBody.CustomBody.CustomEvent

自定义事件。

◆ CustomParams

Dictionary<string, string> ChatSDK.MessageBody.CustomBody.CustomParams

自定义消息的键值对。