Closed tianrking closed 2 years ago
"externalRequestId": "", // null 正常工作 相应也正常 "externalRequestId": "a", //第一次请求 正常工作 {"code":0,"data":{"requestId":"6215a1ad668cdc00389a6eb8"}} "externalRequestId": "a", //第二次请求 不能发送消息 因为需要确保唯一 但是返回相应也是正常的 {"code":0,"data":{"requestId":"6215a1ad668cdc00389a6eb8"}}
"externalRequestId" 出现相同请求的时候 没有返回 code -8
发送消息
data = { "chatId": chat_id, "token": my_token, "messageType": 0 , # MessageType, check below "payload": { "text": "测试消息", "mention": [] # mention list, you can only set it when you send text message to room, }, "externalRequestId": "xxx", }
"externalRequestId": "", // null 正常工作 相应也正常 "externalRequestId": "a", //第一次请求 正常工作 {"code":0,"data":{"requestId":"6215a1ad668cdc00389a6eb8"}} "externalRequestId": "a", //第二次请求 不能发送消息 因为需要确保唯一 但是返回相应也是正常的 {"code":0,"data":{"requestId":"6215a1ad668cdc00389a6eb8"}}
"externalRequestId" 出现相同请求的时候 没有返回 code -8
发送消息