Add comments

This commit is contained in:
Changhua
2024-02-14 15:05:35 +08:00
parent f59cdd9816
commit a70582372a
+15 -15
View File
@@ -42,23 +42,23 @@ message Request
Functions func = 1;
oneof msg
{
Empty empty = 2;
string str = 3;
TextMsg txt = 4;
PathMsg file = 5;
DbQuery query = 6;
Verification v = 7;
Empty empty = 2; // 无参数
string str = 3; // 字符串
TextMsg txt = 4; // 发送文本消息结构
PathMsg file = 5; // 发送图片、文件消息结构
DbQuery query = 6; // 数据库查询参数结构
Verification v = 7; // 通过好友验证参数结构
MemberMgmt m = 8; // 群成员管理,添加、删除、邀请
XmlMsg xml = 9;
DecPath dec = 10;
Transfer tf = 11;
XmlMsg xml = 9; // XML参数结构
DecPath dec = 10; // 解密图片参数结构
Transfer tf = 11; // 接收转账参数结构
uint64 ui64 = 12 [ jstype = JS_STRING ]; // 64 位整数,通用
bool flag = 13;
AttachMsg att = 14;
AudioMsg am = 15;
RichText rt = 16;
PatMsg pm = 17;
ForwardMsg fm = 18;
bool flag = 13; // 布尔值
AttachMsg att = 14; // 下载图片、视频、文件参数结构
AudioMsg am = 15; // 保存语音参数结构
RichText rt = 16; // 发送卡片消息结构
PatMsg pm = 17; // 发送拍一拍参数结构
ForwardMsg fm = 18; // 转发消息参数结构
}
}