撤回消息
POST
/api/v2/message/recall
请求参数
Query 参数
token
string
可选
示例值:
{{org_token}}
Body 参数application/json
imBotId
string
必需
messageId
string
必需
示例
{
"imBotId": "1688854807513525",
"messageId": "40e12abf63eb93dad99c42d3ca786b82"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST '/api/v2/message/recall?token={{org_token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"imBotId": "1688854807513525",
"messageId": "40e12abf63eb93dad99c42d3ca786b82"
}'
返回响应
🟢200成功
application/json
Body
errcode
integer
必需
errmsg
string
必需
示例
{
"errcode": 0,
"errmsg": "string"
}
修改于 2024-09-25 09:50:19