发送文本混合消息
<p><strong>请求示例</strong></p>
<pre><code> {
"type": 5001,
"data": {
"conversation_id": "R:1970XXXXX",
"content": [
{
"subtype": 1,
"text": "1688XXX1111"
},
{
"subtype": 0,
"text": "你好"
},
{
"subtype": 1,
"text": "1688XX2222"
},
{
"subtype": 0,
"text": "Hello"
},
{
"subtype": 2,
"text": "[微笑]"
},
],
"request_key" : "AAAAAA"
}
}</code></pre>
<p><strong>参数说明</strong></p>
<pre><code>@conversation_id: 会话ID
@content: @ID和文本内容的混合消息
1.subtype=0 表示 文本内容
2.subtype=1 表示 群聊要@的id
3.subtype=2 表示 系统表情</code></pre>
<p><strong>返回示例</strong></p>
<pre><code>{
"data" : {
"at_list" : null,
"content" : "????bbb",
"is_room_msg" : 1,
"msg_local_id" : 10298,
"msg_server_id" : 1082855,
"msg_unique_identifier" : "CIGABBCDiouOBhjyvKb5gYCAAyAC",
"msgtype" : 2,
"receiver" : 10696052711038843,
"request_key" : "AAAAAA",
"sender_id" : 1688850383085170,
"sender_nickname" : "bb",
"timestamp" : 1640154371
},
"error" : 0,
"type" : 15001
}</code></pre>