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

     1  syntax = "proto2";
     2  
     3  option go_package = "github.com/Mrs4s/MiraiGo/client/pb/channel";
     4  
     5  message BatchGetMsgRspCountReq {
     6    repeated GuildMsg guildMsgList = 1;
     7  }
     8  
     9  message BatchGetMsgRspCountRsp {
    10    repeated GuildMsgInfo guildMsgInfoList = 1;
    11  }
    12  
    13  message SvrChannelMsg {
    14    optional uint64 channelId = 1;
    15    repeated MsgId id = 2;
    16  }
    17  
    18  message ChannelMsgInfo {
    19    optional uint64 channelId = 1;
    20    repeated MsgRespData respData = 2;
    21  }
    22  
    23  message EmojiReaction {
    24    optional string emojiId = 1;
    25    optional uint64 emojiType = 2;
    26    optional uint64 cnt = 3;
    27    optional bool isClicked = 4;
    28    optional bool isDefaultEmoji = 10001;
    29  }
    30  
    31  message GuildMsg {
    32    optional uint64 guildId = 1;
    33    repeated SvrChannelMsg channelMsgList = 2;
    34  }
    35  
    36  message GuildMsgInfo {
    37    optional uint64 guildId = 1;
    38    repeated ChannelMsgInfo channelMsgInfoList = 2;
    39  }
    40  
    41  message MsgCnt {
    42    optional MsgId id = 1;
    43    repeated EmojiReaction emojiReaction = 2;
    44  }
    45  
    46  message MsgId {
    47    optional uint64 version = 1;
    48    optional uint64 seq = 2;
    49  }
    50  
    51  message MsgRespData {
    52    optional MsgId id = 1;
    53    optional bytes cnt = 2;
    54  }
    55  
    56