Skip to content

Commit b2c9bec

Browse files
committed
fix: 修正部分变量命名
1 parent 6ff1ec5 commit b2c9bec

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/api/v1/conversation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ data {
6767
certification_level: 1 // 认证相关,1是官方,2是地区
6868
}
6969
// ...
70-
count: 8 // 会话数目
70+
total: 8 // 会话数目
7171
request_id: "abcdef"
7272
7373
```
@@ -77,7 +77,7 @@ request_id: "abcdef"
7777
message list {
7878
Status status = 1;
7979
repeated Data data = 2;
80-
uint64 count = 3; // 列表中对话的数量
80+
uint64 total = 3; // 列表中对话的数量
8181
string request_id = 4; // 似乎是请求ID
8282
8383
message Data {

src/api/v1/msg.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ message send_message_send {
4949
string msg_text = 1; // 信息文本
5050
string file_name = 4; // 欲发送文件名称
5151
string file_key = 5; // 欲发送文件key
52-
string mentioned_id = 6; // @用户ID,可重复多个本属性
52+
repeated string mentioned_id = 6; // @用户ID,可重复多个本属性
5353
string temp_text1 = 7; // 未知
5454
string quote_msg_text = 8; // 引用信息文本
5555
string image_key = 9; // 欲发送图片key
@@ -177,7 +177,7 @@ msg {
177177
edit_time: 1234 // 最后编辑时间
178178
}
179179
// ...
180-
msg_count: 23 // 获取的消息数量,貌似最大31个
180+
total: 23 // 获取的消息数量,貌似最大31个
181181
```
182182
::: details ProtoBuf数据结构
183183
```proto

0 commit comments

Comments
 (0)