github.com/Mrs4s/MiraiGo@v0.0.0-20240226124653-54bdd873e3fe/client/pb/cmd0x346/cmd0x346.proto (about)

     1  syntax = "proto3";
     2  
     3  option go_package = "github.com/Mrs4s/MiraiGo/client/pb/cmd0x346";
     4  
     5  message ApplyCleanTrafficRsp {
     6    int32 retCode = 10;
     7    string retMsg = 20;
     8  }
     9  message ApplyCopyFromReq {
    10    int64 srcUin = 10;
    11    int64 srcGroup = 20;
    12    int32 srcSvcid = 30;
    13    bytes srcParentfolder = 40;
    14    bytes srcUuid = 50;
    15    bytes fileMd5 = 60;
    16    int64 dstUin = 70;
    17    int64 fileSize = 80;
    18    string fileName = 90;
    19    int32 dangerLevel = 100;
    20    int64 totalSpace = 110;
    21  }
    22  message ApplyCopyFromRsp {
    23    int32 retCode = 10;
    24    string retMsg = 20;
    25    bytes uuid = 30;
    26    int64 totalSpace = 40;
    27  }
    28  message ApplyCopyToReq {
    29    int64 dstId = 10;
    30    int64 dstUin = 20;
    31    int32 dstSvcid = 30;
    32    int64 srcUin = 40;
    33    int64 fileSize = 50;
    34    string fileName = 60;
    35    string localFilepath = 70;
    36    bytes uuid = 80;
    37  }
    38  message ApplyCopyToRsp {
    39    int32 retCode = 10;
    40    string retMsg = 20;
    41    string fileKey = 30;
    42  }
    43  message ApplyDownloadAbsReq {
    44    int64 uin = 10;
    45    bytes uuid = 20;
    46  }
    47  message ApplyDownloadAbsRsp {
    48    int32 retCode = 10;
    49    string retMsg = 20;
    50    DownloadInfo downloadInfo = 30;
    51  }
    52  message ApplyDownloadReq {
    53    int64 uin = 10;
    54    bytes uuid = 20;
    55    int32 ownerType = 30;
    56    int32 extIntype = 500;
    57  }
    58  message ApplyDownloadRsp {
    59    int32 retCode = 10;
    60    string retMsg = 20;
    61    DownloadInfo downloadInfo = 30;
    62    FileInfo fileInfo = 40;
    63  }
    64  message ApplyForwardFileReq {
    65    int64 senderUin = 10;
    66    int64 recverUin = 20;
    67    bytes uuid = 30;
    68    int32 dangerLevel = 40;
    69    int64 totalSpace = 50;
    70  }
    71  message ApplyForwardFileRsp {
    72    int32 retCode = 10;
    73    string retMsg = 20;
    74    int64 totalSpace = 30;
    75    int64 usedSpace = 40;
    76    bytes uuid = 50;
    77  }
    78  message ApplyGetTrafficReq {
    79  }
    80  message ApplyGetTrafficRsp {
    81    int32 retCode = 10;
    82    string retMsg = 20;
    83    int64 useFileSize = 30;
    84    int32 useFileNum = 40;
    85    int64 allFileSize = 50;
    86    int32 allFileNum = 60;
    87  }
    88  message ApplyListDownloadReq {
    89    int64 uin = 10;
    90    int32 beginIndex = 20;
    91    int32 reqCount = 30;
    92  }
    93  message ApplyListDownloadRsp {
    94    int32 retCode = 10;
    95    string retMsg = 20;
    96    int32 totalCount = 30;
    97    int32 beginIndex = 40;
    98    int32 rspCount = 50;
    99    int32 isEnd = 60;
   100    repeated FileInfo fileList = 70;
   101  }
   102  message ApplyUploadHitReq {
   103    int64 senderUin = 10;
   104    int64 recverUin = 20;
   105    int64 fileSize = 30;
   106    string fileName = 40;
   107    bytes bytes_10mMd5 = 50;
   108    string localFilepath = 60;
   109    int32 dangerLevel = 70;
   110    int64 totalSpace = 80;
   111  }
   112  message ApplyUploadHitReqV2 {
   113    int64 senderUin = 10;
   114    int64 recverUin = 20;
   115    int64 fileSize = 30;
   116    string fileName = 40;
   117    bytes bytes_10mMd5 = 50;
   118    bytes bytes_3sha = 60;
   119    bytes sha = 70;
   120    string localFilepath = 80;
   121    int32 dangerLevel = 90;
   122    int64 totalSpace = 100;
   123  }
   124  message ApplyUploadHitReqV3 {
   125    int64 senderUin = 10;
   126    int64 recverUin = 20;
   127    int64 fileSize = 30;
   128    string fileName = 40;
   129    bytes bytes_10mMd5 = 50;
   130    bytes sha = 60;
   131    string localFilepath = 70;
   132    int32 dangerLevel = 80;
   133    int64 totalSpace = 90;
   134  }
   135  message ApplyUploadHitRsp {
   136    int32 retCode = 10;
   137    string retMsg = 20;
   138    string uploadIp = 30;
   139    int32 uploadPort = 40;
   140    string uploadDomain = 50;
   141    bytes uuid = 60;
   142    bytes uploadKey = 70;
   143    int64 totalSpace = 80;
   144    int64 usedSpace = 90;
   145  }
   146  message ApplyUploadHitRspV2 {
   147    int32 retCode = 10;
   148    string retMsg = 20;
   149    string uploadIp = 30;
   150    int32 uploadPort = 40;
   151    string uploadDomain = 50;
   152    bytes uuid = 60;
   153    bytes uploadKey = 70;
   154    int64 totalSpace = 80;
   155    int64 usedSpace = 90;
   156  }
   157  message ApplyUploadHitRspV3 {
   158    int32 retCode = 10;
   159    string retMsg = 20;
   160    string uploadIp = 30;
   161    int32 uploadPort = 40;
   162    string uploadDomain = 50;
   163    bytes uuid = 60;
   164    bytes uploadKey = 70;
   165    int64 totalSpace = 80;
   166    int64 usedSpace = 90;
   167  }
   168  message ApplyUploadReq {
   169    int64 senderUin = 10;
   170    int64 recverUin = 20;
   171    int32 fileType = 30;
   172    int64 fileSize = 40;
   173    string fileName = 50;
   174    bytes bytes_10mMd5 = 60;
   175    string localFilepath = 70;
   176    int32 dangerLevel = 80;
   177    int64 totalSpace = 90;
   178  }
   179  message ApplyUploadReqV2 {
   180    int64 senderUin = 10;
   181    int64 recverUin = 20;
   182    int64 fileSize = 30;
   183    string fileName = 40;
   184    bytes bytes_10mMd5 = 50;
   185    bytes bytes_3sha = 60;
   186    string localFilepath = 70;
   187    int32 dangerLevel = 80;
   188    int64 totalSpace = 90;
   189  }
   190  message ApplyUploadReqV3 {
   191    int64 senderUin = 10;
   192    int64 recverUin = 20;
   193    int64 fileSize = 30;
   194    string fileName = 40;
   195    bytes bytes_10mMd5 = 50;
   196    bytes sha = 60;
   197    string localFilepath = 70;
   198    int32 dangerLevel = 80;
   199    int64 totalSpace = 90;
   200    bytes md5 = 110;
   201    bytes _3Sha = 120;
   202  }
   203  message ApplyUploadRsp {
   204    int32 retCode = 10;
   205    string retMsg = 20;
   206    int64 totalSpace = 30;
   207    int64 usedSpace = 40;
   208    int64 uploadedSize = 50;
   209    string uploadIp = 60;
   210    string uploadDomain = 70;
   211    int32 uploadPort = 80;
   212    bytes uuid = 90;
   213    bytes uploadKey = 100;
   214    bool boolFileExist = 110;
   215    int32 packSize = 120;
   216    repeated string uploadipList = 130;
   217  }
   218  message ApplyUploadRspV2 {
   219    int32 retCode = 10;
   220    string retMsg = 20;
   221    int64 totalSpace = 30;
   222    int64 usedSpace = 40;
   223    int64 uploadedSize = 50;
   224    string uploadIp = 60;
   225    string uploadDomain = 70;
   226    int32 uploadPort = 80;
   227    bytes uuid = 90;
   228    bytes uploadKey = 100;
   229    bool boolFileExist = 110;
   230    int32 packSize = 120;
   231    repeated string uploadipList = 130;
   232    int32 httpsvrApiVer = 140;
   233    bytes sha = 141;
   234  }
   235  message ApplyUploadRspV3 {
   236    int32 retCode = 10;
   237    string retMsg = 20;
   238    int64 totalSpace = 30;
   239    int64 usedSpace = 40;
   240    int64 uploadedSize = 50;
   241    string uploadIp = 60;
   242    string uploadDomain = 70;
   243    int32 uploadPort = 80;
   244    bytes uuid = 90;
   245    bytes uploadKey = 100;
   246    bool boolFileExist = 110;
   247    int32 packSize = 120;
   248    repeated string uploadIpList = 130;
   249    int32 uploadHttpsPort = 140;
   250    string uploadHttpsDomain = 150;
   251    string uploadDns = 160;
   252    string uploadLanip = 170;
   253    bytes mediaPlateformUploadKey = 220;
   254  }
   255  message DelMessageReq {
   256    int64 uinSender = 1;
   257    int64 uinReceiver = 2;
   258    int32 time = 10;
   259    int32 random = 20;
   260    int32 seqNo = 30;
   261  }
   262  message DeleteFileReq {
   263    int64 uin = 10;
   264    int64 peerUin = 20;
   265    int32 deleteType = 30;
   266    bytes uuid = 40;
   267  }
   268  message DeleteFileRsp {
   269    int32 retCode = 10;
   270    string retMsg = 20;
   271  }
   272  message DownloadInfo {
   273    bytes downloadKey = 10;
   274    string downloadIp = 20;
   275    string downloadDomain = 30;
   276    int32 port = 40;
   277    string downloadUrl = 50;
   278    repeated string downloadipList = 60;
   279    string cookie = 70;
   280  }
   281  message DownloadSuccReq {
   282    int64 uin = 10;
   283    bytes uuid = 20;
   284  }
   285  message DownloadSuccRsp {
   286    int32 retCode = 10;
   287    string retMsg = 20;
   288    int32 downStat = 30;
   289  }
   290  message ExtensionReq {
   291    int64 id = 1;
   292    int64 type = 2;
   293    string dstPhonenum = 3;
   294    int32 phoneConvertType = 4;
   295    bytes sig = 20;
   296    int64 routeId = 100;
   297    DelMessageReq delMessageReq = 90100;
   298    int32 downloadUrlType = 90200;
   299    int32 pttFormat = 90300;
   300    int32 isNeedInnerIp = 90400;
   301    int32 netType = 90500;
   302    int32 voiceType = 90600;
   303    int32 fileType = 90700;
   304    int32 pttTime = 90800;
   305  }
   306  message ExtensionRsp {
   307  }
   308  message FileInfo {
   309    int64 uin = 1;
   310    int32 dangerEvel = 2;
   311    int64 fileSize = 3;
   312    int32 lifeTime = 4;
   313    int32 uploadTime = 5;
   314    bytes uuid = 6;
   315    string fileName = 7;
   316    int32 absFileType = 90;
   317    bytes bytes_10mMd5 = 100;
   318    bytes sha = 101;
   319    int32 clientType = 110;
   320    int64 ownerUin = 120;
   321    int64 peerUin = 121;
   322    int32 expireTime = 130;
   323  }
   324  message FileQueryReq {
   325    int64 uin = 10;
   326    bytes uuid = 20;
   327  }
   328  message FileQueryRsp {
   329    int32 retCode = 10;
   330    string retMsg = 20;
   331    FileInfo fileInfo = 30;
   332  }
   333  message RecallFileReq {
   334    int64 uin = 1;
   335    bytes uuid = 2;
   336  }
   337  message RecallFileRsp {
   338    int32 retCode = 1;
   339    string retMsg = 2;
   340  }
   341  message RecvListQueryReq {
   342    int64 uin = 1;
   343    int32 beginIndex = 2;
   344    int32 reqCount = 3;
   345  }
   346  message RecvListQueryRsp {
   347    int32 retCode = 1;
   348    string retMsg = 2;
   349    int32 fileTotCount = 3;
   350    int32 beginIndex = 4;
   351    int32 rspFileCount = 5;
   352    int32 isEnd = 6;
   353    repeated FileInfo fileList = 7;
   354  }
   355  message RenewFileReq {
   356    int64 uin = 1;
   357    bytes uuid = 2;
   358    int32 addTtl = 3;
   359  }
   360  message RenewFileRsp {
   361    int32 retCode = 1;
   362    string retMsg = 2;
   363  }
   364  message C346ReqBody {
   365    int32 cmd = 1;
   366    int32 seq = 2;
   367    /*
   368    RecvListQueryReq recvListQueryReq = 3;
   369    SendListQueryReq sendListQueryReq = 4;
   370    RenewFileReq renewFileReq = 5;
   371    RecallFileReq recallFileReq = 6;
   372    */
   373    ApplyUploadReq applyUploadReq = 7;
   374    // ApplyUploadHitReq applyUploadHitReq = 8;
   375    // ApplyForwardFileReq applyForwardFileReq = 9;
   376    UploadSuccReq uploadSuccReq = 10;
   377    // DeleteFileReq deleteFileReq = 11;
   378    // DownloadSuccReq downloadSuccReq = 12;
   379    // ApplyDownloadAbsReq applyDownloadAbsReq = 13;
   380    ApplyDownloadReq applyDownloadReq = 14;
   381    // ApplyListDownloadReq applyListDownloadReq = 15;
   382    // FileQueryReq fileQueryReq = 16;
   383    // ApplyCopyFromReq applyCopyFromReq = 17;
   384    // ApplyUploadReqV2 applyUploadReqV2 = 18;
   385    ApplyUploadReqV3 applyUploadReqV3 = 19;
   386    //ApplyUploadHitReqV2 applyUploadHitReqV2 = 20;
   387    //ApplyUploadHitReqV3 applyUploadHitReqV3 = 21;
   388    int32 businessId = 101;
   389    int32 clientType = 102;
   390    uint32 flagSupportMediaplatform = 200;
   391    //ApplyCopyToReq applyCopyToReq = 90000;
   392    //ApplyCleanTrafficReq applyCleanTrafficReq = 90001; empty message
   393    //ApplyGetTrafficReq applyGetTrafficReq = 90002;
   394    ExtensionReq extensionReq = 99999;
   395  }
   396  message C346RspBody {
   397    int32 cmd = 1;
   398    int32 seq = 2;
   399    /*
   400    RecvListQueryRsp recvListQueryRsp = 3;
   401    SendListQueryRsp sendListQueryRsp = 4;
   402    RenewFileRsp renewFileRsp = 5;
   403    RecallFileRsp recallFileRsp = 6;
   404    */
   405    ApplyUploadRsp applyUploadRsp = 7;
   406    /*
   407    ApplyUploadHitRsp applyUploadHitRsp = 8;
   408    ApplyForwardFileRsp applyForwardFileRsp = 9;
   409    UploadSuccRsp uploadSuccRsp = 10;
   410    DeleteFileRsp deleteFileRsp = 11;
   411    DownloadSuccRsp downloadSuccRsp = 12;
   412    ApplyDownloadAbsRsp applyDownloadAbsRsp = 13;
   413    */
   414    ApplyDownloadRsp applyDownloadRsp = 14;
   415    // ApplyListDownloadRsp applyListDownloadRsp = 15;
   416    // FileQueryRsp fileQueryRsp = 16;
   417    // ApplyCopyFromRsp applyCopyFromRsp = 17;
   418    // ApplyUploadRspV2 applyUploadRspV2 = 18;
   419    ApplyUploadRspV3 applyUploadRspV3 = 19;
   420    // ApplyUploadHitRspV2 applyUploadHitRspV2 = 20;
   421    // ApplyUploadHitRspV3 applyUploadHitRspV3 = 21;
   422    int32 businessId = 101;
   423    int32 clientType = 102;
   424    /*
   425    ApplyCopyToRsp applyCopyToRsp = 90000;
   426    ApplyCleanTrafficRsp applyCleanTrafficRsp = 90001;
   427    ApplyGetTrafficRsp applyGetTrafficRsp = 90002;
   428    ExtensionRsp extensionRsp = 99999;
   429     */
   430  }
   431  message SendListQueryReq {
   432    int64 uin = 1;
   433    int32 beginIndex = 2;
   434    int32 reqCount = 3;
   435  }
   436  message SendListQueryRsp {
   437    int32 retCode = 1;
   438    string retMsg = 2;
   439    int32 fileTotCount = 3;
   440    int32 beginIndex = 4;
   441    int32 rspFileCount = 5;
   442    int32 isEnd = 6;
   443    int64 totLimit = 7;
   444    int64 usedLimit = 8;
   445    repeated FileInfo fileList = 9;
   446  }
   447  message UploadSuccReq {
   448    int64 senderUin = 10;
   449    int64 recverUin = 20;
   450    bytes uuid = 30;
   451  }
   452  message UploadSuccRsp {
   453    int32 retCode = 10;
   454    string retMsg = 20;
   455    FileInfo fileInfo = 30;
   456  }