github.com/Mrs4s/MiraiGo@v0.0.0-20240226124653-54bdd873e3fe/client/pb/structmsg/structmsg.proto (about) 1 syntax = "proto3"; 2 3 option go_package = "github.com/Mrs4s/MiraiGo/client/pb/structmsg"; 4 5 message AddFrdSNInfo { 6 int32 notSeeDynamic = 1; 7 int32 setSn = 2; 8 } 9 10 message FlagInfo { 11 int32 grpMsgKickAdmin = 1; 12 int32 grpMsgHiddenGrp = 2; 13 int32 grpMsgWordingDown = 3; 14 int32 frdMsgGetBusiCard = 4; 15 int32 grpMsgGetOfficialAccount = 5; 16 int32 grpMsgGetPayInGroup = 6; 17 int32 frdMsgDiscuss2ManyChat = 7; 18 int32 grpMsgNotAllowJoinGrpInviteNotFrd = 8; 19 int32 frdMsgNeedWaitingMsg = 9; 20 int32 frdMsgUint32NeedAllUnreadMsg = 10; 21 int32 grpMsgNeedAutoAdminWording = 11; 22 int32 grpMsgGetTransferGroupMsgFlag = 12; 23 int32 grpMsgGetQuitPayGroupMsgFlag = 13; 24 int32 grpMsgSupportInviteAutoJoin = 14; 25 int32 grpMsgMaskInviteAutoJoin = 15; 26 int32 grpMsgGetDisbandedByAdmin = 16; 27 int32 grpMsgGetC2cInviteJoinGroup = 17; 28 } 29 30 message FriendInfo { 31 string msgJointFriend = 1; 32 string msgBlacklist = 2; 33 } 34 35 message SGroupInfo { 36 int32 groupAuthType = 1; 37 int32 displayAction = 2; 38 string msgAlert = 3; 39 string msgDetailAlert = 4; 40 string msgOtherAdminDone = 5; 41 int32 appPrivilegeFlag = 6; 42 } 43 44 message MsgInviteExt { 45 int32 srcType = 1; 46 int64 srcCode = 2; 47 int32 waitState = 3; 48 } 49 50 message MsgPayGroupExt { 51 int64 joinGrpTime = 1; 52 int64 quitGrpTime = 2; 53 } 54 55 message ReqNextSystemMsg { 56 int32 msgNum = 1; 57 int64 followingFriendSeq = 2; 58 int64 followingGroupSeq = 3; 59 int32 checktype = 4; 60 FlagInfo flag = 5; 61 int32 language = 6; 62 int32 version = 7; 63 int64 friendMsgTypeFlag = 8; 64 } 65 66 message ReqSystemMsg { 67 int32 msgNum = 1; 68 int64 latestFriendSeq = 2; 69 int64 latestGroupSeq = 3; 70 int32 version = 4; 71 int32 language = 5; 72 } 73 74 message ReqSystemMsgAction { 75 int32 msgType = 1; 76 int64 msgSeq = 2; 77 int64 reqUin = 3; 78 int32 subType = 4; 79 int32 srcId = 5; 80 int32 subSrcId = 6; 81 int32 groupMsgType = 7; 82 SystemMsgActionInfo actionInfo = 8; 83 int32 language = 9; 84 } 85 86 message ReqSystemMsgNew { 87 int32 msgNum = 1; 88 int64 latestFriendSeq = 2; 89 int64 latestGroupSeq = 3; 90 int32 version = 4; 91 int32 checktype = 5; 92 FlagInfo flag = 6; 93 int32 language = 7; 94 bool isGetFrdRibbon = 8; 95 bool isGetGrpRibbon = 9; 96 int64 friendMsgTypeFlag = 10; 97 int32 reqMsgType = 11; 98 } 99 message ReqSystemMsgRead { 100 int64 latestFriendSeq = 1; 101 int64 latestGroupSeq = 2; 102 int32 type = 3; 103 int32 checktype = 4; 104 } 105 message RspHead { 106 int32 result = 1; 107 string msgFail = 2; 108 } 109 message RspNextSystemMsg { 110 RspHead head = 1; 111 repeated StructMsg msgs = 2; 112 int64 followingFriendSeq = 3; 113 int64 followingGroupSeq = 4; 114 int32 checktype = 5; 115 string gameNick = 100; 116 bytes undecidForQim = 101; 117 int32 unReadCount3 = 102; 118 } 119 message RspSystemMsg { 120 RspHead head = 1; 121 repeated StructMsg msgs = 2; 122 int32 unreadCount = 3; 123 int64 latestFriendSeq = 4; 124 int64 latestGroupSeq = 5; 125 int64 followingFriendSeq = 6; 126 int64 followingGroupSeq = 7; 127 string msgDisplay = 8; 128 } 129 130 message RspSystemMsgAction { 131 RspHead head = 1; 132 string msgDetail = 2; 133 int32 type = 3; 134 string msgInvalidDecided = 5; 135 int32 remarkResult = 6; 136 } 137 message RspSystemMsgNew { 138 RspHead head = 1; 139 int32 unreadFriendCount = 2; 140 int32 unreadGroupCount = 3; 141 int64 latestFriendSeq = 4; 142 int64 latestGroupSeq = 5; 143 int64 followingFriendSeq = 6; 144 int64 followingGroupSeq = 7; 145 repeated StructMsg friendmsgs = 9; 146 repeated StructMsg groupmsgs = 10; 147 StructMsg msgRibbonFriend = 11; 148 StructMsg msgRibbonGroup = 12; 149 string msgDisplay = 13; 150 string grpMsgDisplay = 14; 151 int32 over = 15; 152 int32 checktype = 20; 153 string gameNick = 100; 154 bytes undecidForQim = 101; 155 int32 unReadCount3 = 102; 156 } 157 message RspSystemMsgRead { 158 RspHead head = 1; 159 int32 type = 2; 160 int32 checktype = 3; 161 } 162 message StructMsg { 163 int32 version = 1; 164 int32 msgType = 2; 165 int64 msgSeq = 3; 166 int64 msgTime = 4; 167 int64 reqUin = 5; 168 int32 unreadFlag = 6; 169 SystemMsg msg = 50; 170 } 171 message SystemMsg { 172 int32 subType = 1; 173 string msgTitle = 2; 174 string msgDescribe = 3; 175 string msgAdditional = 4; 176 string msgSource = 5; 177 string msgDecided = 6; 178 int32 srcId = 7; 179 int32 subSrcId = 8; 180 // repeated SystemMsgAction actions = 9; 181 int64 groupCode = 10; 182 int64 actionUin = 11; 183 int32 groupMsgType = 12; 184 int32 groupInviterRole = 13; 185 // FriendInfo friendInfo = 14; 186 // SGroupInfo groupInfo = 15; 187 int64 actorUin = 16; 188 string msgActorDescribe = 17; 189 string msgAdditionalList = 18; 190 int32 relation = 19; 191 int32 reqsubtype = 20; 192 int64 cloneUin = 21; 193 int64 discussUin = 22; 194 int64 eimGroupId = 23; 195 // MsgInviteExt msgInviteExtinfo = 24; 196 // MsgPayGroupExt msgPayGroupExtinfo = 25; 197 int32 sourceFlag = 26; 198 bytes gameNick = 27; 199 bytes gameMsg = 28; 200 int32 groupFlagext3 = 29; 201 int64 groupOwnerUin = 30; 202 int32 doubtFlag = 31; 203 bytes warningTips = 32; 204 bytes nameMore = 33; 205 int32 reqUinFaceid = 50; 206 string reqUinNick = 51; 207 string groupName = 52; 208 string actionUinNick = 53; 209 string msgQna = 54; 210 string msgDetail = 55; 211 int32 groupExtFlag = 57; 212 string actorUinNick = 58; 213 string picUrl = 59; 214 string cloneUinNick = 60; 215 string reqUinBusinessCard = 61; 216 string eimGroupIdName = 63; 217 string reqUinPreRemark = 64; 218 string actionUinQqNick = 65; 219 string actionUinRemark = 66; 220 int32 reqUinGender = 67; 221 int32 reqUinAge = 68; 222 int32 c2cInviteJoinGroupFlag = 69; 223 int32 cardSwitch = 101; 224 } 225 226 message SystemMsgAction { 227 string name = 1; 228 string result = 2; 229 int32 action = 3; 230 SystemMsgActionInfo actionInfo = 4; 231 string detailName = 5; 232 } 233 message SystemMsgActionInfo { 234 int32 type = 1; 235 int64 groupCode = 2; 236 bytes sig = 3; 237 string msg = 50; 238 int32 groupId = 51; 239 string remark = 52; 240 bool blacklist = 53; 241 AddFrdSNInfo addFrdSNInfo = 54; 242 } 243