syntax = "proto3"; option go_package = ".;pb"; message DeviceInfo { string bootloader = 1; string procVersion = 2; string codename = 3; string incremental = 4; string fingerprint = 5; string bootId = 6; string androidId = 7; string baseBand = 8; string innerVersion = 9; } message RequestBody { repeated ConfigSeq rpt_config_list = 1; } message ConfigSeq { int32 type = 1; int32 version = 2; } message D50ReqBody { int64 appid = 1; int32 maxPkgSize = 2; int32 startTime = 3; int32 startIndex = 4; int32 reqNum = 5; repeated int64 uinList = 6; int32 reqMusicSwitch = 91001; int32 reqMutualmarkAlienation = 101001; int32 reqMutualmarkScore = 141001; int32 reqKsingSwitch = 151001; int32 reqMutualmarkLbsshare = 181001; } message D388ReqBody { int32 netType = 1; int32 subcmd = 2; repeated TryUpImgReq msgTryupImgReq = 3; int32 commandId = 7; bytes extension = 1001; } message D388RespBody { int32 clientIp = 1; int32 subCmd = 2; repeated TryUpImgResp msgTryupImgRsp = 3; } message ReqDataHighwayHead { DataHighwayHead msgBasehead = 1; SegHead msgSeghead = 2; bytes reqExtendinfo = 3; int64 timestamp = 4; //LoginSigHead? msgLoginSigHead = 5; } message RspDataHighwayHead { DataHighwayHead msgBasehead = 1; SegHead msgSeghead = 2; int32 errorCode = 3; int32 allowRetry = 4; int32 cachecost = 5; int32 htcost = 6; bytes rspExtendinfo = 7; int64 timestamp = 8; int64 range = 9; int32 isReset = 10; } message DataHighwayHead { int32 version = 1; string uin = 2; string command = 3; int32 seq = 4; int32 retryTimes = 5; int32 appid = 6; int32 dataflag = 7; int32 commandId = 8; string buildVer = 9; int32 localeId = 10; } message SegHead { int32 serviceid = 1; int64 filesize = 2; int64 dataoffset = 3; int32 datalength = 4; int32 rtcode = 5; bytes serviceticket = 6; int32 flag = 7; bytes md5 = 8; bytes fileMd5 = 9; int32 cacheAddr = 10; int32 queryTimes = 11; int32 updateCacheip = 12; } message TryUpImgReq { int64 groupCode = 1; int64 srcUin = 2; int64 fileId = 3; bytes fileMd5 = 4; int64 fileSize = 5; string fileName = 6; int32 srcTerm = 7; int32 platformType = 8; int32 buType = 9; int32 picWidth = 10; int32 picHeight = 11; int32 picType = 12; string buildVer = 13; int32 innerIp = 14; int32 appPicType = 15; int32 originalPic = 16; bytes fileIndex = 17; int64 dstUin = 18; int32 srvUpload = 19; bytes transferUrl = 20; } message TryUpImgResp { int64 fileId = 1; int32 result = 2; string failMsg = 3; bool boolFileExit = 4; ImgInfo msgImgInfo = 5; repeated int32 uint32UpIp = 6; repeated int32 uint32UpPort = 7; bytes upUkey = 8; int64 fid = 9; } message ImgInfo { bytes fileMd5 = 1; int32 fileType = 2; int64 fileSize = 3; int32 fileWidth = 4; int32 fileHeight = 5; } message DeleteMessageRequest { repeated MessageItem items = 1; } message MessageItem { int64 fromUin = 1; int64 toUin = 2; int32 msgType = 3; int32 msgSeq = 4; int64 msgUid = 5; bytes sig = 7; }