github.com/Mrs4s/MiraiGo@v0.0.0-20240226124653-54bdd873e3fe/client/pb/channel/synclogic.pb.go (about) 1 // Code generated by protoc-gen-golite. DO NOT EDIT. 2 // source: pb/channel/synclogic.proto 3 4 package channel 5 6 import ( 7 proto "github.com/RomiChan/protobuf/proto" 8 ) 9 10 type ChannelMsg struct { 11 GuildId proto.Option[uint64] `protobuf:"varint,1,opt"` 12 ChannelId proto.Option[uint64] `protobuf:"varint,2,opt"` 13 Result proto.Option[uint32] `protobuf:"varint,3,opt"` 14 RspBeginSeq proto.Option[uint64] `protobuf:"varint,4,opt"` 15 RspEndSeq proto.Option[uint64] `protobuf:"varint,5,opt"` 16 Msgs []*ChannelMsgContent `protobuf:"bytes,6,rep"` 17 } 18 19 type ChannelMsgReq struct { 20 ChannelParam *ChannelParam `protobuf:"bytes,1,opt"` 21 WithVersionFlag proto.Option[uint32] `protobuf:"varint,2,opt"` 22 DirectMessageFlag proto.Option[uint32] `protobuf:"varint,3,opt"` 23 _ [0]func() 24 } 25 26 type ChannelMsgRsp struct { 27 Result proto.Option[uint32] `protobuf:"varint,1,opt"` 28 ErrMsg []byte `protobuf:"bytes,2,opt"` 29 ChannelMsg *ChannelMsg `protobuf:"bytes,3,opt"` 30 WithVersionFlag proto.Option[uint32] `protobuf:"varint,4,opt"` 31 GetMsgTime proto.Option[uint64] `protobuf:"varint,5,opt"` 32 } 33 34 type ChannelNode struct { 35 ChannelId proto.Option[uint64] `protobuf:"varint,1,opt"` 36 Seq proto.Option[uint64] `protobuf:"varint,2,opt"` 37 CntSeq proto.Option[uint64] `protobuf:"varint,3,opt"` 38 Time proto.Option[uint64] `protobuf:"varint,4,opt"` 39 MemberReadMsgSeq proto.Option[uint64] `protobuf:"varint,5,opt"` 40 MemberReadCntSeq proto.Option[uint64] `protobuf:"varint,6,opt"` 41 NotifyType proto.Option[uint32] `protobuf:"varint,7,opt"` 42 ChannelName []byte `protobuf:"bytes,8,opt"` 43 ChannelType proto.Option[uint32] `protobuf:"varint,9,opt"` 44 Meta []byte `protobuf:"bytes,10,opt"` 45 ReadMsgMeta []byte `protobuf:"bytes,11,opt"` 46 EventTime proto.Option[uint32] `protobuf:"varint,12,opt"` 47 } 48 49 type ChannelParam struct { 50 GuildId proto.Option[uint64] `protobuf:"varint,1,opt"` 51 ChannelId proto.Option[uint64] `protobuf:"varint,2,opt"` 52 BeginSeq proto.Option[uint64] `protobuf:"varint,3,opt"` 53 EndSeq proto.Option[uint64] `protobuf:"varint,4,opt"` 54 Time proto.Option[uint64] `protobuf:"varint,5,opt"` 55 Version []uint64 `protobuf:"varint,6,rep"` 56 Seqs []*MsgCond `protobuf:"bytes,7,rep"` 57 } 58 59 type DirectMessageSource struct { 60 TinyId proto.Option[uint64] `protobuf:"varint,1,opt"` 61 GuildId proto.Option[uint64] `protobuf:"varint,2,opt"` 62 GuildName []byte `protobuf:"bytes,3,opt"` 63 MemberName []byte `protobuf:"bytes,4,opt"` 64 NickName []byte `protobuf:"bytes,5,opt"` 65 } 66 67 type FirstViewMsg struct { 68 PushFlag proto.Option[uint32] `protobuf:"varint,1,opt"` 69 Seq proto.Option[uint32] `protobuf:"varint,2,opt"` 70 GuildNodes []*GuildNode `protobuf:"bytes,3,rep"` 71 ChannelMsgs []*ChannelMsg `protobuf:"bytes,4,rep"` 72 GetMsgTime proto.Option[uint64] `protobuf:"varint,5,opt"` 73 DirectMessageGuildNodes []*GuildNode `protobuf:"bytes,6,rep"` 74 } 75 76 type FirstViewReq struct { 77 LastMsgTime proto.Option[uint64] `protobuf:"varint,1,opt"` 78 UdcFlag proto.Option[uint32] `protobuf:"varint,2,opt"` 79 Seq proto.Option[uint32] `protobuf:"varint,3,opt"` 80 DirectMessageFlag proto.Option[uint32] `protobuf:"varint,4,opt"` 81 _ [0]func() 82 } 83 84 type FirstViewRsp struct { 85 Result proto.Option[uint32] `protobuf:"varint,1,opt"` 86 ErrMsg []byte `protobuf:"bytes,2,opt"` 87 Seq proto.Option[uint32] `protobuf:"varint,3,opt"` 88 UdcFlag proto.Option[uint32] `protobuf:"varint,4,opt"` 89 GuildCount proto.Option[uint32] `protobuf:"varint,5,opt"` 90 SelfTinyid proto.Option[uint64] `protobuf:"varint,6,opt"` 91 DirectMessageSwitch proto.Option[uint32] `protobuf:"varint,7,opt"` 92 DirectMessageGuildCount proto.Option[uint32] `protobuf:"varint,8,opt"` 93 } 94 95 type GuildNode struct { 96 GuildId proto.Option[uint64] `protobuf:"varint,1,opt"` 97 GuildCode proto.Option[uint64] `protobuf:"varint,2,opt"` 98 ChannelNodes []*ChannelNode `protobuf:"bytes,3,rep"` 99 GuildName []byte `protobuf:"bytes,4,opt"` 100 PeerSource *DirectMessageSource `protobuf:"bytes,5,opt"` 101 } 102 103 type MsgCond struct { 104 Seq proto.Option[uint64] `protobuf:"varint,1,opt"` 105 EventVersion proto.Option[uint64] `protobuf:"varint,2,opt"` 106 _ [0]func() 107 } 108 109 type MultiChannelMsg struct { 110 PushFlag proto.Option[uint32] `protobuf:"varint,1,opt"` 111 Seq proto.Option[uint32] `protobuf:"varint,2,opt"` 112 ChannelMsgs []*ChannelMsg `protobuf:"bytes,3,rep"` 113 GetMsgTime proto.Option[uint64] `protobuf:"varint,4,opt"` 114 } 115 116 type MultiChannelMsgReq struct { 117 ChannelParams []*ChannelParam `protobuf:"bytes,1,rep"` 118 Seq proto.Option[uint32] `protobuf:"varint,2,opt"` 119 DirectMessageFlag proto.Option[uint32] `protobuf:"varint,3,opt"` 120 } 121 122 type MultiChannelMsgRsp struct { 123 Result proto.Option[uint32] `protobuf:"varint,1,opt"` 124 ErrMsg []byte `protobuf:"bytes,2,opt"` 125 Seq proto.Option[uint32] `protobuf:"varint,3,opt"` 126 } 127 128 type ReqBody struct { 129 ChannelParam *ChannelParam `protobuf:"bytes,1,opt"` 130 DirectMessageFlag proto.Option[uint32] `protobuf:"varint,2,opt"` 131 _ [0]func() 132 } 133 134 type RspBody struct { 135 Result proto.Option[uint32] `protobuf:"varint,1,opt"` 136 ErrMsg []byte `protobuf:"bytes,2,opt"` 137 ChannelMsg *ChannelMsg `protobuf:"bytes,3,opt"` 138 }