Add comments

This commit is contained in:
Changhua 2024-02-14 15:05:35 +08:00
parent f59cdd9816
commit a70582372a

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;
MemberMgmt m = 8; //
XmlMsg xml = 9;
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;
Empty empty = 2; //
string str = 3; //
TextMsg txt = 4; //
PathMsg file = 5; //
DbQuery query = 6; //
Verification v = 7; //
MemberMgmt m = 8; //
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; //
}
}
@ -84,18 +84,18 @@ message Empty { }
message WxMsg
{
bool is_self = 1; //
bool is_group = 2; //
uint64 id = 3 [jstype = JS_STRING]; // id
uint32 type = 4; //
uint32 ts = 5; //
string roomid = 6; // id
string content = 7; //
string sender = 8; //
string sign = 9; // Sign
string thumb = 10; //
string extra = 11; //
string xml = 12; // xml
bool is_self = 1; //
bool is_group = 2; //
uint64 id = 3 [ jstype = JS_STRING ]; // id
uint32 type = 4; //
uint32 ts = 5; //
string roomid = 6; // id
string content = 7; //
string sender = 8; //
string sign = 9; // Sign
string thumb = 10; //
string extra = 11; //
string xml = 12; // xml
}
message TextMsg
@ -194,15 +194,15 @@ message Transfer
message AttachMsg
{
uint64 id = 1 [jstype = JS_STRING]; // id
string thumb = 2; // thumb
string extra = 3; // extra
uint64 id = 1 [ jstype = JS_STRING ]; // id
string thumb = 2; // thumb
string extra = 3; // extra
}
message AudioMsg
{
uint64 id = 1 [jstype = JS_STRING]; // id
string dir = 2; //
uint64 id = 1 [ jstype = JS_STRING ]; // id
string dir = 2; //
}
message RichText
@ -230,6 +230,6 @@ message OcrMsg
message ForwardMsg
{
uint64 id = 1 [jstype = JS_STRING]; // ID
string receiver = 2; // roomId wxid
uint64 id = 1 [ jstype = JS_STRING ]; // ID
string receiver = 2; // roomId wxid
}