github.com/Mrs4s/MiraiGo@v0.0.0-20240226124653-54bdd873e3fe/client/pb/qweb/protocol.proto (about) 1 syntax = "proto2"; 2 3 option go_package = "github.com/Mrs4s/MiraiGo/client/pb/qweb"; 4 5 message QWebReq { 6 optional int64 seq = 1; 7 optional string qua = 2; 8 optional string deviceInfo = 3; 9 optional bytes busiBuff = 4; 10 optional string traceId = 5; 11 optional string Module = 6; 12 optional string Cmdname = 7; 13 optional StAuthInfo loginSig = 8; 14 optional StEncryption Crypto = 9; 15 repeated COMMEntry Extinfo = 10; 16 optional uint32 contentType = 11; 17 } 18 19 message QWebRsp { 20 optional int64 seq = 1; 21 optional int64 retCode = 2; 22 optional string errMsg = 3; 23 optional bytes busiBuff = 4; 24 optional string traceid = 5; 25 } 26 27 message StAuthInfo { 28 optional string uin = 1; 29 optional bytes sig = 2; 30 optional string platform = 3; 31 optional uint32 type = 4; 32 optional string appid = 5; 33 optional string openid = 6; 34 optional bytes sessionkey = 7; 35 repeated COMMEntry Extinfo = 8; 36 } 37 38 message StEncryption { 39 optional uint32 method = 1; 40 optional string iv = 2; 41 } 42 43 message COMMEntry { 44 optional string key = 1; 45 optional string value = 2; 46 }