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

     1  syntax = "proto3";
     2  
     3  option go_package = "github.com/Mrs4s/MiraiGo/client/pb/multimsg";
     4  
     5  message ExternMsg {
     6    int32 channelType = 1;
     7  }
     8  message MultiMsgApplyDownReq {
     9    bytes msgResid = 1;
    10    int32 msgType = 2;
    11    int64 srcUin = 3;
    12  }
    13  message MultiMsgApplyDownRsp {
    14    int32 result = 1;
    15    bytes thumbDownPara = 2;
    16    bytes msgKey = 3;
    17    repeated int32 uint32DownIp = 4;
    18    repeated int32 uint32DownPort = 5;
    19    bytes msgResid = 6;
    20    ExternMsg msgExternInfo = 7;
    21    repeated bytes bytesDownIpV6 = 8;
    22    repeated int32 uint32DownV6Port = 9;
    23  }
    24  message MultiMsgApplyUpReq {
    25    int64 dstUin = 1;
    26    int64 msgSize = 2;
    27    bytes msgMd5 = 3;
    28    int32 msgType = 4;
    29    int32 applyId = 5;
    30  }
    31  message MultiMsgApplyUpRsp {
    32    int32 result = 1;
    33    string msgResid = 2;
    34    bytes msgUkey = 3;
    35    repeated int32 uint32UpIp = 4;
    36    repeated int32 uint32UpPort = 5;
    37    int64 blockSize = 6;
    38    int64 upOffset = 7;
    39    int32 applyId = 8;
    40    bytes msgKey = 9;
    41    bytes msgSig = 10;
    42    ExternMsg msgExternInfo = 11;
    43    repeated bytes bytesUpIpV6 = 12;
    44    repeated int32 uint32UpV6Port = 13;
    45  }
    46  message MultiReqBody {
    47    int32 subcmd = 1;
    48    int32 termType = 2;
    49    int32 platformType = 3;
    50    int32 netType = 4;
    51    string buildVer = 5;
    52    repeated MultiMsgApplyUpReq multimsgApplyupReq = 6;
    53    repeated MultiMsgApplyDownReq multimsgApplydownReq = 7;
    54    int32 buType = 8;
    55    int32 reqChannelType = 9;
    56  }
    57  message MultiRspBody {
    58    int32 subcmd = 1;
    59    repeated MultiMsgApplyUpRsp multimsgApplyupRsp = 2;
    60    repeated MultiMsgApplyDownRsp multimsgApplydownRsp = 3;
    61  }