github.com/Mrs4s/MiraiGo@v0.0.0-20240226124653-54bdd873e3fe/client/pb/channel/servtype.pb.go (about) 1 // Code generated by protoc-gen-golite. DO NOT EDIT. 2 // source: pb/channel/servtype.proto 3 4 package channel 5 6 import ( 7 proto "github.com/RomiChan/protobuf/proto" 8 ) 9 10 type AppChannelMsg struct { 11 Summary proto.Option[string] `protobuf:"bytes,1,opt"` 12 Msg proto.Option[string] `protobuf:"bytes,2,opt"` 13 ExpireTimeMs proto.Option[uint64] `protobuf:"varint,3,opt"` 14 SchemaType proto.Option[uint32] `protobuf:"varint,4,opt"` 15 Schema proto.Option[string] `protobuf:"bytes,5,opt"` 16 _ [0]func() 17 } 18 19 type CategoryChannelInfo struct { 20 ChannelIndex proto.Option[uint32] `protobuf:"varint,1,opt"` 21 ChannelId proto.Option[uint64] `protobuf:"varint,2,opt"` 22 _ [0]func() 23 } 24 25 type CategoryInfo struct { 26 CategoryIndex proto.Option[uint32] `protobuf:"varint,1,opt"` 27 ChannelInfo []*CategoryChannelInfo `protobuf:"bytes,2,rep"` 28 CategoryName []byte `protobuf:"bytes,3,opt"` 29 CategoryId proto.Option[uint64] `protobuf:"varint,4,opt"` 30 } 31 32 type ChanInfoFilter struct { 33 ChannelName proto.Option[uint32] `protobuf:"varint,2,opt"` 34 CreatorId proto.Option[uint32] `protobuf:"varint,3,opt"` 35 CreateTime proto.Option[uint32] `protobuf:"varint,4,opt"` 36 GuildId proto.Option[uint32] `protobuf:"varint,5,opt"` 37 MsgNotifyType proto.Option[uint32] `protobuf:"varint,6,opt"` 38 ChannelType proto.Option[uint32] `protobuf:"varint,7,opt"` 39 SpeakPermission proto.Option[uint32] `protobuf:"varint,8,opt"` 40 LastMsgSeq proto.Option[uint32] `protobuf:"varint,11,opt"` 41 LastCntMsgSeq proto.Option[uint32] `protobuf:"varint,12,opt"` 42 VoiceChannelInfoFilter *VoiceChannelInfoFilter `protobuf:"bytes,14,opt"` 43 LiveChannelInfoFilter *LiveChannelInfoFilter `protobuf:"bytes,15,opt"` 44 BannedSpeak proto.Option[uint32] `protobuf:"varint,16,opt"` 45 _ [0]func() 46 } 47 48 type ChangeChanInfo struct { 49 GuildId proto.Option[uint64] `protobuf:"varint,1,opt"` 50 ChanId proto.Option[uint64] `protobuf:"varint,2,opt"` 51 OperatorId proto.Option[uint64] `protobuf:"varint,3,opt"` 52 InfoSeq *MsgSeq `protobuf:"bytes,4,opt"` 53 UpdateType proto.Option[uint32] `protobuf:"varint,5,opt"` 54 ChanInfoFilter *ChanInfoFilter `protobuf:"bytes,6,opt"` 55 ChanInfo *ServChannelInfo `protobuf:"bytes,7,opt"` 56 _ [0]func() 57 } 58 59 type ChangeGuildInfo struct { 60 GuildId proto.Option[uint64] `protobuf:"varint,1,opt"` 61 OperatorId proto.Option[uint64] `protobuf:"varint,2,opt"` 62 InfoSeq *MsgSeq `protobuf:"bytes,3,opt"` 63 FaceSeq *MsgSeq `protobuf:"bytes,4,opt"` 64 UpdateType proto.Option[uint32] `protobuf:"varint,5,opt"` 65 GuildInfoFilter *GuildInfoFilter `protobuf:"bytes,6,opt"` 66 GuildInfo *GuildInfo `protobuf:"bytes,7,opt"` 67 _ [0]func() 68 } 69 70 type ChannelID struct { 71 ChanId proto.Option[uint64] `protobuf:"varint,1,opt"` 72 _ [0]func() 73 } 74 75 type ServChannelInfo struct { 76 ChannelId proto.Option[uint64] `protobuf:"varint,1,opt"` 77 ChannelName []byte `protobuf:"bytes,2,opt"` 78 CreatorId proto.Option[uint64] `protobuf:"varint,3,opt"` 79 CreateTime proto.Option[uint64] `protobuf:"varint,4,opt"` 80 GuildId proto.Option[uint64] `protobuf:"varint,5,opt"` 81 MsgNotifyType proto.Option[uint32] `protobuf:"varint,6,opt"` 82 ChannelType proto.Option[uint32] `protobuf:"varint,7,opt"` 83 SpeakPermission proto.Option[uint32] `protobuf:"varint,8,opt"` 84 LastMsgSeq *MsgSeq `protobuf:"bytes,11,opt"` 85 LastCntMsgSeq *MsgSeq `protobuf:"bytes,12,opt"` 86 VoiceChannelInfo *VoiceChannelInfo `protobuf:"bytes,14,opt"` 87 LiveChannelInfo *LiveChannelInfo `protobuf:"bytes,15,opt"` 88 BannedSpeak proto.Option[uint32] `protobuf:"varint,16,opt"` 89 } 90 91 type CommGrayTips struct { 92 BusiType proto.Option[uint64] `protobuf:"varint,1,opt"` 93 BusiId proto.Option[uint64] `protobuf:"varint,2,opt"` 94 CtrlFlag proto.Option[uint32] `protobuf:"varint,3,opt"` 95 TemplId proto.Option[uint64] `protobuf:"varint,4,opt"` 96 TemplParam []*CommGrayTips_TemplParam `protobuf:"bytes,5,rep"` 97 Content []byte `protobuf:"bytes,6,opt"` 98 TipsSeqId proto.Option[uint64] `protobuf:"varint,10,opt"` 99 PbReserv []byte `protobuf:"bytes,100,opt"` 100 } 101 102 type CreateChan struct { 103 GuildId proto.Option[uint64] `protobuf:"varint,1,opt"` 104 OperatorId proto.Option[uint64] `protobuf:"varint,3,opt"` 105 CreateId []*ChannelID `protobuf:"bytes,4,rep"` 106 } 107 108 type CreateGuild struct { 109 OperatorId proto.Option[uint64] `protobuf:"varint,1,opt"` 110 GuildId proto.Option[uint64] `protobuf:"varint,2,opt"` 111 _ [0]func() 112 } 113 114 type DestroyChan struct { 115 GuildId proto.Option[uint64] `protobuf:"varint,1,opt"` 116 OperatorId proto.Option[uint64] `protobuf:"varint,3,opt"` 117 DeleteId []*ChannelID `protobuf:"bytes,4,rep"` 118 } 119 120 type DestroyGuild struct { 121 OperatorId proto.Option[uint64] `protobuf:"varint,1,opt"` 122 GuildId proto.Option[uint64] `protobuf:"varint,2,opt"` 123 _ [0]func() 124 } 125 126 type EventBody struct { 127 ReadNotify *ReadNotify `protobuf:"bytes,1,opt"` 128 CommGrayTips *CommGrayTips `protobuf:"bytes,2,opt"` 129 CreateGuild *CreateGuild `protobuf:"bytes,3,opt"` 130 DestroyGuild *DestroyGuild `protobuf:"bytes,4,opt"` 131 JoinGuild *JoinGuild `protobuf:"bytes,5,opt"` 132 KickOffGuild *KickOffGuild `protobuf:"bytes,6,opt"` 133 QuitGuild *QuitGuild `protobuf:"bytes,7,opt"` 134 ChangeGuildInfo *ChangeGuildInfo `protobuf:"bytes,8,opt"` 135 CreateChan *CreateChan `protobuf:"bytes,9,opt"` 136 DestroyChan *DestroyChan `protobuf:"bytes,10,opt"` 137 ChangeChanInfo *ChangeChanInfo `protobuf:"bytes,11,opt"` 138 SetAdmin *SetAdmin `protobuf:"bytes,12,opt"` 139 SetMsgRecvType *SetMsgRecvType `protobuf:"bytes,13,opt"` 140 UpdateMsg *UpdateMsg `protobuf:"bytes,14,opt"` 141 SetTop *SetTop `protobuf:"bytes,17,opt"` 142 SwitchChannel *SwitchVoiceChannel `protobuf:"bytes,18,opt"` 143 UpdateCategory *UpdateCategory `protobuf:"bytes,21,opt"` 144 UpdateVoiceBlockList *UpdateVoiceBlockList `protobuf:"bytes,22,opt"` 145 SetMute *SetMute `protobuf:"bytes,23,opt"` 146 LiveStatusChangeRoom *LiveRoomStatusChangeMsg `protobuf:"bytes,24,opt"` 147 SwitchLiveRoom *SwitchLiveRoom `protobuf:"bytes,25,opt"` 148 Events []*MsgEvent `protobuf:"bytes,39,rep"` 149 Scheduler *SchedulerMsg `protobuf:"bytes,40,opt"` 150 AppChannel *AppChannelMsg `protobuf:"bytes,41,opt"` 151 FeedEvent *FeedEvent `protobuf:"bytes,44,opt"` 152 WeakMsgAppChannel *AppChannelMsg `protobuf:"bytes,46,opt"` 153 ReadFeedNotify *ReadFeedNotify `protobuf:"bytes,48,opt"` 154 } 155 156 type FeedEvent struct { 157 GuildId proto.Option[uint64] `protobuf:"varint,1,opt"` 158 ChannelId proto.Option[uint64] `protobuf:"varint,2,opt"` 159 FeedId proto.Option[string] `protobuf:"bytes,3,opt"` 160 MsgSummary proto.Option[string] `protobuf:"bytes,4,opt"` 161 EventTime proto.Option[uint64] `protobuf:"varint,5,opt"` 162 _ [0]func() 163 } 164 165 type ReadFeedNotify struct { 166 ReportTime proto.Option[uint64] `protobuf:"varint,2,opt"` 167 _ [0]func() 168 } 169 170 type GroupProStatus struct { 171 IsEnable proto.Option[uint32] `protobuf:"varint,1,opt"` 172 IsBanned proto.Option[uint32] `protobuf:"varint,2,opt"` 173 IsFrozen proto.Option[uint32] `protobuf:"varint,3,opt"` 174 _ [0]func() 175 } 176 177 type GuildInfo struct { 178 GuildCode proto.Option[uint64] `protobuf:"varint,2,opt"` 179 OwnerId proto.Option[uint64] `protobuf:"varint,3,opt"` 180 CreateTime proto.Option[uint64] `protobuf:"varint,4,opt"` 181 MemberMaxNum proto.Option[uint32] `protobuf:"varint,5,opt"` 182 MemberNum proto.Option[uint32] `protobuf:"varint,6,opt"` 183 GuildType proto.Option[uint32] `protobuf:"varint,7,opt"` 184 GuildName []byte `protobuf:"bytes,8,opt"` 185 RobotList []uint64 `protobuf:"varint,9,rep"` 186 AdminList []uint64 `protobuf:"varint,10,rep"` 187 RobotMaxNum proto.Option[uint32] `protobuf:"varint,11,opt"` 188 AdminMaxNum proto.Option[uint32] `protobuf:"varint,12,opt"` 189 Profile []byte `protobuf:"bytes,13,opt"` 190 FaceSeq proto.Option[uint64] `protobuf:"varint,14,opt"` 191 GuildStatus *GroupProStatus `protobuf:"bytes,15,opt"` 192 ChannelNum proto.Option[uint32] `protobuf:"varint,16,opt"` 193 MemberChangeSeq *MsgSeq `protobuf:"bytes,5002,opt"` 194 GuildInfoChangeSeq *MsgSeq `protobuf:"bytes,5003,opt"` 195 ChannelChangeSeq *MsgSeq `protobuf:"bytes,5004,opt"` 196 } 197 198 type GuildInfoFilter struct { 199 GuildCode proto.Option[uint32] `protobuf:"varint,2,opt"` 200 OwnerId proto.Option[uint32] `protobuf:"varint,3,opt"` 201 CreateTime proto.Option[uint32] `protobuf:"varint,4,opt"` 202 MemberMaxNum proto.Option[uint32] `protobuf:"varint,5,opt"` 203 MemberNum proto.Option[uint32] `protobuf:"varint,6,opt"` 204 GuildType proto.Option[uint32] `protobuf:"varint,7,opt"` 205 GuildName proto.Option[uint32] `protobuf:"varint,8,opt"` 206 RobotList proto.Option[uint32] `protobuf:"varint,9,opt"` 207 AdminList proto.Option[uint32] `protobuf:"varint,10,opt"` 208 RobotMaxNum proto.Option[uint32] `protobuf:"varint,11,opt"` 209 AdminMaxNum proto.Option[uint32] `protobuf:"varint,12,opt"` 210 Profile proto.Option[uint32] `protobuf:"varint,13,opt"` 211 FaceSeq proto.Option[uint32] `protobuf:"varint,14,opt"` 212 GuildStatus proto.Option[uint32] `protobuf:"varint,15,opt"` 213 ChannelNum proto.Option[uint32] `protobuf:"varint,16,opt"` 214 MemberChangeSeq proto.Option[uint32] `protobuf:"varint,5002,opt"` 215 GuildInfoChangeSeq proto.Option[uint32] `protobuf:"varint,5003,opt"` 216 ChannelChangeSeq proto.Option[uint32] `protobuf:"varint,5004,opt"` 217 _ [0]func() 218 } 219 220 type JoinGuild struct { 221 MemberId proto.Option[uint64] `protobuf:"varint,3,opt"` 222 MemberType proto.Option[uint32] `protobuf:"varint,4,opt"` 223 MemberTinyid proto.Option[uint64] `protobuf:"varint,5,opt"` 224 _ [0]func() 225 } 226 227 type KickOffGuild struct { 228 MemberId proto.Option[uint64] `protobuf:"varint,3,opt"` 229 SetBlack proto.Option[uint32] `protobuf:"varint,4,opt"` 230 MemberTinyid proto.Option[uint64] `protobuf:"varint,5,opt"` 231 _ [0]func() 232 } 233 234 type LiveChannelInfo struct { 235 RoomId proto.Option[uint64] `protobuf:"varint,1,opt"` 236 AnchorUin proto.Option[uint64] `protobuf:"varint,2,opt"` 237 Name []byte `protobuf:"bytes,3,opt"` 238 } 239 240 type LiveChannelInfoFilter struct { 241 IsNeedRoomId proto.Option[uint32] `protobuf:"varint,1,opt"` 242 IsNeedAnchorUin proto.Option[uint32] `protobuf:"varint,2,opt"` 243 IsNeedName proto.Option[uint32] `protobuf:"varint,3,opt"` 244 _ [0]func() 245 } 246 247 type LiveRoomStatusChangeMsg struct { 248 GuildId proto.Option[uint64] `protobuf:"varint,1,opt"` 249 ChannelId proto.Option[uint64] `protobuf:"varint,2,opt"` 250 RoomId proto.Option[uint64] `protobuf:"varint,3,opt"` 251 AnchorTinyid proto.Option[uint64] `protobuf:"varint,4,opt"` 252 Action proto.Option[uint32] `protobuf:"varint,5,opt"` 253 _ [0]func() 254 } 255 256 type MsgEvent struct { 257 Seq proto.Option[uint64] `protobuf:"varint,1,opt"` 258 EventType proto.Option[uint64] `protobuf:"varint,2,opt"` 259 EventVersion proto.Option[uint64] `protobuf:"varint,3,opt"` 260 _ [0]func() 261 } 262 263 type MsgSeq struct { 264 Seq proto.Option[uint64] `protobuf:"varint,1,opt"` 265 Time proto.Option[uint64] `protobuf:"varint,2,opt"` 266 _ [0]func() 267 } 268 269 type QuitGuild struct { 270 _ [0]func() 271 } 272 273 type ReadNotify struct { 274 ChannelId proto.Option[uint64] `protobuf:"varint,1,opt"` 275 GuildId proto.Option[uint64] `protobuf:"varint,2,opt"` 276 ReadMsgSeq *MsgSeq `protobuf:"bytes,3,opt"` 277 ReadCntMsgSeq *MsgSeq `protobuf:"bytes,4,opt"` 278 ReadMsgMeta []byte `protobuf:"bytes,5,opt"` 279 } 280 281 type SchedulerMsg struct { 282 CreatorHeadUrl []byte `protobuf:"bytes,1,opt"` 283 Wording proto.Option[string] `protobuf:"bytes,2,opt"` 284 ExpireTimeMs proto.Option[uint64] `protobuf:"varint,3,opt"` 285 } 286 287 type SetAdmin struct { 288 GuildId proto.Option[uint64] `protobuf:"varint,1,opt"` 289 ChanId proto.Option[uint64] `protobuf:"varint,2,opt"` 290 OperatorId proto.Option[uint64] `protobuf:"varint,3,opt"` 291 AdminId proto.Option[uint64] `protobuf:"varint,4,opt"` 292 AdminTinyid proto.Option[uint64] `protobuf:"varint,5,opt"` 293 OperateType proto.Option[uint32] `protobuf:"varint,6,opt"` 294 _ [0]func() 295 } 296 297 type SetMsgRecvType struct { 298 GuildId proto.Option[uint64] `protobuf:"varint,1,opt"` 299 ChanId proto.Option[uint64] `protobuf:"varint,2,opt"` 300 OperatorId proto.Option[uint64] `protobuf:"varint,3,opt"` 301 MsgNotifyType proto.Option[uint32] `protobuf:"varint,4,opt"` 302 _ [0]func() 303 } 304 305 type SetMute struct { 306 Action proto.Option[uint32] `protobuf:"varint,1,opt"` 307 TinyID proto.Option[uint64] `protobuf:"varint,2,opt"` 308 _ [0]func() 309 } 310 311 type SetTop struct { 312 Action proto.Option[uint32] `protobuf:"varint,1,opt"` 313 _ [0]func() 314 } 315 316 type SwitchDetail struct { 317 GuildId proto.Option[uint64] `protobuf:"varint,1,opt"` 318 ChannelId proto.Option[uint64] `protobuf:"varint,2,opt"` 319 Platform proto.Option[uint32] `protobuf:"varint,3,opt"` 320 _ [0]func() 321 } 322 323 type SwitchLiveRoom struct { 324 GuildId proto.Option[uint64] `protobuf:"varint,1,opt"` 325 ChannelId proto.Option[uint64] `protobuf:"varint,2,opt"` 326 // optional uint64 roomId = 3; 327 // optional uint64 tinyid = 4; 328 UserInfo *SwitchLiveRoomUserInfo `protobuf:"bytes,3,opt"` 329 Action proto.Option[uint32] `protobuf:"varint,4,opt"` // JOIN = 1 QUIT = 2 330 _ [0]func() 331 } 332 333 type SwitchLiveRoomUserInfo struct { 334 TinyId proto.Option[uint64] `protobuf:"varint,1,opt"` 335 Nickname proto.Option[string] `protobuf:"bytes,2,opt"` 336 _ [0]func() 337 } 338 339 type SwitchVoiceChannel struct { 340 MemberId proto.Option[uint64] `protobuf:"varint,1,opt"` 341 EnterDetail *SwitchDetail `protobuf:"bytes,2,opt"` 342 LeaveDetail *SwitchDetail `protobuf:"bytes,3,opt"` 343 _ [0]func() 344 } 345 346 type UpdateCategory struct { 347 CategoryInfo []*CategoryInfo `protobuf:"bytes,1,rep"` 348 NoClassifyCategoryInfo *CategoryInfo `protobuf:"bytes,2,opt"` 349 } 350 351 type UpdateMsg struct { 352 MsgSeq proto.Option[uint64] `protobuf:"varint,1,opt"` 353 OrigMsgUncountable proto.Option[bool] `protobuf:"varint,2,opt"` 354 EventType proto.Option[uint64] `protobuf:"varint,3,opt"` 355 EventVersion proto.Option[uint64] `protobuf:"varint,4,opt"` 356 OperatorTinyid proto.Option[uint64] `protobuf:"varint,5,opt"` 357 OperatorRole proto.Option[uint64] `protobuf:"varint,6,opt"` 358 Reason proto.Option[uint64] `protobuf:"varint,7,opt"` 359 Timestamp proto.Option[uint64] `protobuf:"varint,8,opt"` 360 _ [0]func() 361 } 362 363 type UpdateVoiceBlockList struct { 364 Action proto.Option[uint32] `protobuf:"varint,1,opt"` 365 ObjectTinyid proto.Option[uint64] `protobuf:"varint,2,opt"` 366 _ [0]func() 367 } 368 369 type VoiceChannelInfo struct { 370 MemberMaxNum proto.Option[uint32] `protobuf:"varint,1,opt"` 371 _ [0]func() 372 } 373 374 type VoiceChannelInfoFilter struct { 375 MemberMaxNum proto.Option[uint32] `protobuf:"varint,1,opt"` 376 _ [0]func() 377 } 378 379 type CommGrayTips_TemplParam struct { 380 Name []byte `protobuf:"bytes,1,opt"` 381 Value []byte `protobuf:"bytes,2,opt"` 382 }