Chat SDK for Unity and Windows v1.2.0
Public Member Functions | Public Attributes | List of all members
AgoraChat.MessageBody.CustomBody Class Reference
Inheritance diagram for AgoraChat.MessageBody.CustomBody:
AgoraChat.IMessageBody

Public Member Functions

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

Public Attributes

string CustomEvent
 
Dictionary< string, string > CustomParams
 
- Public Attributes inherited from AgoraChat.IMessageBody
MessageBodyType Type
 

Additional Inherited Members

- Properties inherited from AgoraChat.IMessageBody
long OperationTime [get, set]
 
string OperatorId [get, set]
 
long OperationCount [get, set]
 

Detailed Description

The custom message body.

Constructor & Destructor Documentation

◆ CustomBody()

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

The constructor for the custom message body.

Parameters
customEventThe custom event.
customParamsThe custom params map.

Member Data Documentation

◆ CustomEvent

string AgoraChat.MessageBody.CustomBody.CustomEvent

The custom event.

◆ CustomParams

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

The custom params map.