发送文本消息
<p><strong>请求示例</strong></p>
<pre><code>{
"data" : {
"content" : "测试文本AAA",
"conversation_id" : "R:10696052711038843",
"request_key" : "AAAAAA"
},
"type" : 5000
}</code></pre>
<p><strong>参数说明</strong></p>
<blockquote>
<p>@conversation_id: 会话ID
如果是发给个人用户的话,格式为 “S:id1_id2” 。一个是自己的id,一个是接受者的id, 注意数值较小的id在前面。
如果是发给群聊的话,格式为 “R:roomid” 。 roomid即为群聊id
如果是发给【文件助手】,格式为 "FILEASSIST"</p>
</blockquote>
<p><strong>返回示例</strong></p>
<pre><code>{
"data" : {
"at_list" : null,
"content" : "测试文本AAA",
"is_room_msg" : 1,
"msg_local_id" : 10297,
"msg_server_id" : 1082847,
"msg_unique_identifier" : "CIGABBDOiYuOBhjyvKb5gYCAAyAB",
"msgtype" : 2,
"receiver" : 10696052711038843,
"request_key" : "AAAAAA",
"sender_id" : 1688850383085170,
"sender_nickname" : "bbb",
"timestamp" : 1640154318
},
"error" : 0,
"type" : 15001
}</code></pre>