Skip to content

Commit b9e5443

Browse files
committed
fix: 修正部分字段名称
1 parent ebd78f0 commit b9e5443

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/api/v1/friend.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ data {
132132
::: details ProtoBuf数据结构
133133
```proto
134134
// 聊天对话列表
135-
message info {
135+
message address_book_list {
136136
Status status = 1;
137137
repeated Data data = 2;
138138
@@ -144,11 +144,11 @@ message info {
144144
// 聊天对象数据
145145
message Data_list {
146146
chat_id = 1; // 聊天对象ID
147-
chat_name = 2; // 聊天对象名称
148-
chat_avatar_url = 3; // 聊天对象头像url
147+
name = 2; // 聊天对象名称
148+
avatar_url = 3; // 聊天对象头像url
149149
permisson_level = 4; // 群权限等级(普通用户无此项(数值为0或无此项),群主100,管理员2),只有群列表才有此项
150150
temp_text1 = 5; // 未知
151-
chat_name_up = 6; // 聊天对象名称
151+
// name_up = 6; // 聊天对象名称,和2重了
152152
}
153153
}
154154
}

src/api/v1/msg.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ message send_message_send {
5252
repeated string mentioned_id = 6; // @用户ID,可重复多个本属性
5353
string temp_text1 = 7; // 未知
5454
string quote_msg_text = 8; // 引用信息文本
55-
string image_key = 9; // 欲发送图片key
55+
string image = 9; // 欲发送图片key/url(expression/abcdef.jpg)
5656
string msg_text1 = 11; // 信息文本
5757
string msg_text2 = 12; // 信息文本
5858
string temp_text2 = 16; // 未知
5959
string temp_text3 = 17; // 未知
6060
uint64 file_size = 18; // 欲发送文件大小
61-
string vidoe_key = 19; // 欲发送视频key
61+
string video_key = 19; // 欲发送视频key
6262
string audio_key = 21; // 语音key
6363
uint64 audio_time = 22; // 语音秒数
6464
string temp_text4 = 23; // 未知

0 commit comments

Comments
 (0)