1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-05 03:23:50 +08:00
MiraiGo/client/pb/qweb/protocol.proto
2022-02-14 00:51:36 +08:00

46 lines
1.0 KiB
Protocol Buffer

syntax = "proto2";
option go_package = "github.com/Mrs4s/MiraiGo/client/pb/qweb";
message QWebReq {
optional int64 seq = 1;
optional string qua = 2;
optional string deviceInfo = 3;
optional bytes busiBuff = 4;
optional string traceId = 5;
optional string Module = 6;
optional string Cmdname = 7;
optional StAuthInfo loginSig = 8;
optional StEncryption Crypto = 9;
repeated COMMEntry Extinfo = 10;
optional uint32 contentType = 11;
}
message QWebRsp {
optional int64 seq = 1;
optional int64 retCode = 2;
optional string errMsg = 3;
optional bytes busiBuff = 4;
optional string traceid = 5;
}
message StAuthInfo {
optional string uin = 1;
optional bytes sig = 2;
optional string platform = 3;
optional uint32 type = 4;
optional string appid = 5;
optional string openid = 6;
optional bytes sessionkey = 7;
repeated COMMEntry Extinfo = 8;
}
message StEncryption {
optional uint32 method = 1;
optional string iv = 2;
}
message COMMEntry {
optional string key = 1;
optional string value = 2;
}