SendMessageParams

SendMessageParams

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

消息接收方的 userID、groupID 或 topicID

conversationType string <optional>

会话类型,取值 ChatEngine.TYPES.CONV_C2C(端到端会话) 或 ChatEngine.TYPES.CONV_GROUP(群组会话)

priority string <optional>
ChatEngine.TYPES.MSG_PRIORITY_NORMAL

消息优先级

payload object

消息内容的容器

cloudCustomData string <optional>

消息自定义数据

needReadReceipt boolean <optional>

是否支持消息已读回执

发送消息参数信息