- 文档必读
- 监听回调事件
- api请求
- 获取群聊列表POST
- 获取好友列表POST
- 获取机器人信息POST
- 发送文本消息POST
- 回复引用文本消息POST
- 回复引用文本消息-新POST
- 发送图片消息POST
- 发送xml消息POST
- 发送文件消息POST
- 发送动态表情GIF消息POST
- 发送url卡片消息POST
- 发送小程序消息POST
- 发送音乐分享消息POST
- 发送聊天记录消息POST
- 发送名片消息POST
- 发送名片xml消息POST
- 获取机器人登录状态信息POST
- 获取机器人登录二维码信息(存在bug)请转至买断版本POST
- 同意好友申请POST
- 添加好友POST
- 从群里添加好友POST
- 删除好友POST
- 修改好友/群聊备注POST
- 查询陌生账号信息POST
- 查询好友/群聊信息POST
- 退出群聊POST
- 创建群聊POST
- 查询群聊信息POST
- 添加群成员POST
- 邀请群成员POST
- 移除群成员POST
- 修改机器人群昵称POST
- 查询群聊成员列表POST
- 获取群成员昵称POST
- 确认收款POST
- 退还收款POST
- 打开浏览器POST
- 启动微信POST
- 关闭微信POST
- 获取机器人列表POST
- 删除离线的机器人信息POST
- 根据wxId获取机器人信息POST
- 根据instanceId获取机器人信息POST
收到撤回消息事件
POST
http://callbackurl
请求参数
Body 参数application/json
event
enum<string>
事件类型
枚举值:
10006
description
string
事件描述
示例值:
撤回消息事件
time
integer
毫秒时间戳
示例值:
1726826627676
data
object
数据体
instanceId
string
实例id
示例值:
97554f7c82a1439c86df3143ef4975c5
messageId
string
消息id
示例值:
7053704521966022857
fromType
string
消息来源
group 群聊
official 公众号
示例值:
private
messageType
integer
必需
3 图片
34 语音
42 名片
43 视频
47 动态表情
48 地理位置
49 分享链接或附件 2001 红包
2002 小程序
2003 群邀请
10000 系统消息
示例值:
1
fromWxId
string
必需
fromType=official时公众号wxid
示例值:
test
finalFromWxId
string
必需
示例值:
test
message
string
撤回的消息内容
示例值:
测试内容
示例
{
"event": "10006",
"description": "撤回消息事件",
"time": 1726826627676,
"data": {
"instanceId": "97554f7c82a1439c86df3143ef4975c5",
"messageId": "7053704521966022857",
"fromType": "private",
"messageType": 1,
"fromWxId": "test",
"finalFromWxId": "test",
"message": "测试内容"
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://callbackurl' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}
修改于 2024-09-23 02:40:23