github.com/Mrs4s/MiraiGo@v0.0.0-20240226124653-54bdd873e3fe/client/pb/channel/GuildChannelBase.pb.go (about) 1 // Code generated by protoc-gen-golite. DO NOT EDIT. 2 // source: pb/channel/GuildChannelBase.proto 3 4 package channel 5 6 import ( 7 proto "github.com/RomiChan/protobuf/proto" 8 ) 9 10 type ChannelUserInfo struct { 11 ClientIdentity *ClientIdentity `protobuf:"bytes,1,opt"` 12 MemberType proto.Option[uint32] `protobuf:"varint,2,opt"` 13 Permission *ChannelUserPermission `protobuf:"bytes,3,opt"` 14 RoleGroups []*BaseRoleGroupInfo `protobuf:"bytes,4,rep"` 15 } 16 17 type ChannelUserPermission struct { 18 AllowReadFeed proto.Option[bool] `protobuf:"varint,1,opt"` 19 AllowWriteFeed proto.Option[bool] `protobuf:"varint,2,opt"` 20 _ [0]func() 21 } 22 23 type ClientIdentity struct { 24 ClientId proto.Option[uint32] `protobuf:"varint,1,opt"` 25 Desc proto.Option[string] `protobuf:"bytes,2,opt"` 26 _ [0]func() 27 } 28 29 type BaseGuildInfo struct { 30 GuildId proto.Option[uint64] `protobuf:"varint,1,opt"` 31 Name proto.Option[string] `protobuf:"bytes,2,opt"` 32 JoinTime proto.Option[uint64] `protobuf:"varint,3,opt"` 33 _ [0]func() 34 } 35 36 type BaseRoleGroupInfo struct { 37 RoleId proto.Option[uint64] `protobuf:"varint,1,opt"` 38 Name proto.Option[string] `protobuf:"bytes,2,opt"` 39 Color proto.Option[uint32] `protobuf:"varint,3,opt"` 40 _ [0]func() 41 } 42 43 type StChannelInfo struct { 44 Sign *StChannelSign `protobuf:"bytes,1,opt"` 45 Name proto.Option[string] `protobuf:"bytes,2,opt"` 46 IconUrl proto.Option[string] `protobuf:"bytes,3,opt"` 47 _ [0]func() 48 } 49 50 type StChannelSign struct { 51 GuildId proto.Option[uint64] `protobuf:"varint,1,opt"` 52 ChannelId proto.Option[uint64] `protobuf:"varint,2,opt"` 53 _ [0]func() 54 } 55 56 type StEmotionReactionInfo struct { 57 Id proto.Option[string] `protobuf:"bytes,1,opt"` 58 EmojiReactionList []*EmojiReaction `protobuf:"bytes,2,rep"` 59 } 60 61 type StCommonExt struct { 62 MapInfo []*CommonEntry `protobuf:"bytes,1,rep"` 63 AttachInfo proto.Option[string] `protobuf:"bytes,2,opt"` 64 MapBytesInfo []*BytesEntry `protobuf:"bytes,3,rep"` 65 } 66 67 type BytesEntry struct { 68 Key proto.Option[string] `protobuf:"bytes,1,opt"` 69 Value []byte `protobuf:"bytes,2,opt"` 70 } 71 72 type CommonEntry struct { 73 Key proto.Option[string] `protobuf:"bytes,1,opt"` 74 Value proto.Option[string] `protobuf:"bytes,2,opt"` 75 _ [0]func() 76 }