Skip to content

Commit 1e1be40

Browse files
committed
Update msg.md
1 parent 827285d commit 1e1be40

1 file changed

Lines changed: 27 additions & 8 deletions

File tree

src/api/v1/msg.md

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,38 @@ message send_message_send {
4545
Data data = 5;
4646
message data {
4747
string msg_text = 1; // 信息文本
48+
string file_name = 4; // 欲发送文件名称
49+
string file_key = 5; // 欲发送文件key
50+
string msg_text = 6; // @用户ID
51+
string temp_text1 = 7; // 未知
4852
string quote_msg_text = 8; // 引用信息文本
4953
string image_key = 9; // 欲发送图片key
5054
string msg_text1 = 11; // 信息文本
5155
string msg_text2 = 12; // 信息文本
52-
string temp_text1 = 16; // 不知道干啥的
53-
string temp_text2 = 17; // 不知道干啥的
54-
string temp_text3 = 23; // 不知道干啥的
55-
uint64 temp_code1 = 24; // 不知道干啥的
56+
string temp_text2 = 16; // 未知
57+
string temp_text3 = 17; // 未知
58+
uint64 file_size = 18; // 欲发送文件大小
59+
string vidoe_key = 19; // 欲发送视频key
60+
string audio_key = 21; // 语音key
61+
uint64 audio_time = 22; // 语音秒数
62+
string temp_text4 = 23; // 未知
63+
uint64 temp_code1 = 24; // 未知
64+
string room_name = 29; // 语音房间发送显示信息的文本
5665
}
57-
uint64 msg_type = 6; // 信息类别,1-文本,2-图片,3-markdown,4-文件,5-表单,6-文章,7-表情,8-html
58-
uint64 temp_code = 7; // 不知道干啥的
66+
uint64 msg_type = 6; // 信息类别,1-文本,2-图片,3-markdown,4-文件,5-表单,6-文章,7-表情,8-html,11-语音,13-语音通话
67+
uint64 command_id = 7; // 所使用命令ID
5968
string quote_msg_id = 8; // 引用信息ID
60-
string temp_text = 9; // 不知道干啥的
69+
Data_2 data_2 = 9;
70+
message data_2 { // 在data_2发送对象为,图片/音频/视频
71+
string data_key = 1; // 发送对象key
72+
string data_Hash = 2; // 发送对象上传返回哈希
73+
string data_type = 3; // 发送对象类别,image/jpeg-图片,video/mp4-音频
74+
uint64 image_height = 5; // 图片高度
75+
uint64 image_width = 6; // 图片宽度
76+
uint64 data_size = 7; // 发送对象大小
77+
string data_key = 8; // 发送对象key
78+
string data_suffix = 9; // 发送对象后缀名
79+
}
6180
}
6281
```
6382
:::
@@ -371,4 +390,4 @@ message list_message { // 其实可以和 list-message-by-seq共用的。
371390
repeated Msg msg = 2;
372391
}
373392
```
374-
:::
393+
:::

0 commit comments

Comments
 (0)