File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -488,3 +488,48 @@ message button_report {
488488}
489489```
490490:::
491+
492+ ### 撤回信息
493+
494+ POST /v1/msg/recall-msg
495+
496+ 请求头:
497+ | 名称| 必须| 备注|
498+ | -----| -----| -----|
499+ |token|是|空
500+
501+ 请求体:
502+ ``` ProtoBuf
503+ msg_id: "123123123123123123" // 信息ID
504+ chat_id: "123" // 信息所属对象ID
505+ chat_type: 2 // 信息所属对象类型, 1-用户 2-群聊 3-机器人
506+ ```
507+
508+ ::: details ProtoBuf数据结构
509+ ``` proto
510+ // 通过消息序列列出消息
511+ message button_report_send {
512+ string msg_id = 2; // 信息ID
513+ string chat_id = 3; // 信息所属对象ID
514+ uint64 chat_type = 4; // 信息所属对象类型, 1-用户 2-群聊 3-机器人
515+ }
516+ ```
517+ :::
518+
519+ 响应体:
520+ ``` ProtoBuf
521+ status {
522+ number: 114514
523+ code: 1
524+ msg: "success"
525+ }
526+ ```
527+
528+ ::: details ProtoBuf数据结构
529+ ``` proto
530+ // 按钮事件点击返回状态信息
531+ message button_report {
532+ Status status = 1;
533+ }
534+ ```
535+ :::
You can’t perform that action at this time.
0 commit comments