Skip to content

Commit 1cb5165

Browse files
Kauid323QianLin-Jiaxi
authored andcommitted
add:移除群聊机器人api
Adds API endpoint to remove a bot from a group chat.
1 parent 8da7c93 commit 1cb5165

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

src/api/v1/group.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,3 +623,31 @@ message bot_list {
623623
```
624624

625625
:::
626+
627+
## 移除群聊内机器人
628+
629+
POST /v1/group/remove-bot
630+
631+
请求头:
632+
633+
|名称|必须|备注|
634+
|-----|----|----|
635+
|token||群内成员|
636+
637+
请求体:
638+
639+
```jsonc
640+
{
641+
"groupId": "979377289", // 群聊id
642+
"botId": "24120702" // 机器人id
643+
}
644+
```
645+
646+
响应体:
647+
648+
```JSONC
649+
{
650+
"code": 1, // 请求状态码,1为正常
651+
"msg": "success" // 返回状态消息
652+
}
653+
```

0 commit comments

Comments
 (0)