- 基础API
- 登录模块
- 联系人模块
- 群模块
- 消息模块
- 标签模块
- 个人模块
- 收藏夹模块
- 账号管理
撤回消息
POST
/message/revokeMsg
请求参数
Header 参数
X-GEWE-TOKEN
string
必需
示例值:
{{gewe-token}}
Body 参数application/json
appId
string
设备ID
toWxid
string
好友/群的ID
msgId
string
必需
newMsgId
string
必需
createTime
string
必需
示例
{
"appId": "{{appid}}",
"toWxid": "34757816141@chatroom",
"msgId": "769533801",
"newMsgId": "5271007655758710001",
"createTime": "1704163145"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/message/revokeMsg' \
--header 'X-GEWE-TOKEN: {{gewe-token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"appId": "{{appid}}",
"toWxid": "34757816141@chatroom",
"msgId": "769533801",
"newMsgId": "5271007655758710001",
"createTime": "1704163145"
}'
返回响应
🟢200成功
application/json
Body
ret
integer
必需
msg
string
必需
示例
{
"ret": 200,
"msg": "操作成功"
}
修改于 2024-07-23 06:41:16