Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 9 additions & 12 deletions src/api/v1/bot.md
Original file line number Diff line number Diff line change
Expand Up @@ -1099,13 +1099,13 @@ POST /v1/bot/group-permission-edit
POST /v1/bot/follower-list
```

### 请求头
请求头

| 名称 | 必须 | 备注 |
| ----- | ---- | ---- |
| token | 是 | 无 |

### 请求体
请求体

```ProtoBuf
data {
Expand Down Expand Up @@ -1133,7 +1133,7 @@ message list_follower {

:::

### 响应数据
响应体:

```ProtoBuf
status {
Expand All @@ -1147,10 +1147,9 @@ user {
avatar_url: "https://..." // 头像URL
is_vip: 0 // 是否为vip用户, 0-不为vip用户, 1-vip用户
}
totol: 32 // 关注该机器人的用户总数
}
// 可以有多个
// ...
totol: 32 // 关注该机器人的用户总数
```

::: details ProtoBuf数据结构
Expand All @@ -1167,7 +1166,6 @@ message list_follower {
string avatar_url = 4;
int32 is_vip = 6;
}
}
}
```

Expand All @@ -1179,13 +1177,13 @@ message list_follower {
POST /v1/bot/join-group-list
```

### 请求头
请求头

| 名称 | 必须 | 备注 |
| ----- | ---- | ---- |
| token | 是 | 无 |

### 请求体
请求体

```ProtoBuf
data {
Expand Down Expand Up @@ -1213,7 +1211,7 @@ message list_join_group {

:::

### 响应数据
响应体:

```ProtoBuf
status {
Expand All @@ -1225,11 +1223,10 @@ group {
user_id: "123" // 群聊ID
name: "测试群聊名称" // 群聊名字
avatar_url: "https://..." // 头像URL
}
totol: 32 // 机器人加入的群聊总数
}
// 可以有多个
// ...
totol: 32 // 机器人加入的群聊总数
```

::: details ProtoBuf数据结构
Expand All @@ -1243,7 +1240,7 @@ message list_join_group {
message Group {
string id = 1;
string name = 2;
string avatarUrl = 3;
string avatar_url = 3;
}

}
Expand Down