SendMessageParams

SendMessageParams

Properties:
Name Type Attributes Default Description
to string <optional>

Message recipient's userID, groupID or topicID

conversationType string <optional>

Conversation type, values can be ChatEngine.TYPES.CONV_C2C (one-to-one chat) or ChatEngine.TYPES.CONV_GROUP (group chat)

priority string <optional>
ChatEngine.TYPES.MSG_PRIORITY_NORMAL

Message priority

payload object

Message content container

cloudCustomData string <optional>

Message custom data

needReadReceipt boolean <optional>

Whether to support message read receipt

Message Sending Parameters