github.com/LagrangeDev/LagrangeGo@v0.0.0-20240512064304-ad4a85e10cb4/client/packets/pb/message/notify.pb.go (about) 1 // Code generated by protoc-gen-golite. DO NOT EDIT. 2 // source: pb/message/notify.proto 3 4 package message 5 6 import ( 7 proto "github.com/RomiChan/protobuf/proto" 8 ) 9 10 type FriendRecall struct { 11 Info *FriendRecallInfo `protobuf:"bytes,1,opt"` 12 InstId uint32 `protobuf:"varint,2,opt"` 13 AppId uint32 `protobuf:"varint,3,opt"` 14 LongMessageFlag uint32 `protobuf:"varint,4,opt"` 15 Reserved []byte `protobuf:"bytes,5,opt"` 16 } 17 18 type FriendRecallInfo struct { 19 FromUid string `protobuf:"bytes,1,opt"` 20 ToUid string `protobuf:"bytes,2,opt"` 21 Sequence uint32 `protobuf:"varint,3,opt"` 22 NewId uint64 `protobuf:"varint,4,opt"` 23 Time uint32 `protobuf:"varint,5,opt"` 24 Random uint32 `protobuf:"varint,6,opt"` 25 PkgNum uint32 `protobuf:"varint,7,opt"` 26 PkgIndex uint32 `protobuf:"varint,8,opt"` 27 DivSeq uint32 `protobuf:"varint,9,opt"` 28 _ [0]func() 29 } 30 31 type FriendRequest struct { 32 Info *FriendRequestInfo `protobuf:"bytes,1,opt"` 33 _ [0]func() 34 } 35 36 type FriendRequestInfo struct { 37 TargetUid string `protobuf:"bytes,1,opt"` 38 SourceUid string `protobuf:"bytes,2,opt"` 39 Message string `protobuf:"bytes,10,opt"` 40 Source string `protobuf:"bytes,11,opt"` 41 _ [0]func() 42 } 43 44 type GroupAdmin struct { 45 GroupUin uint32 `protobuf:"varint,1,opt"` 46 Flag uint32 `protobuf:"varint,2,opt"` 47 IsPromote bool `protobuf:"varint,3,opt"` 48 Body *GroupAdminBody `protobuf:"bytes,4,opt"` 49 _ [0]func() 50 } 51 52 type GroupAdminBody struct { 53 ExtraDisable *GroupAdminExtra `protobuf:"bytes,1,opt"` 54 ExtraEnable *GroupAdminExtra `protobuf:"bytes,2,opt"` 55 _ [0]func() 56 } 57 58 type GroupAdminExtra struct { 59 AdminUid string `protobuf:"bytes,1,opt"` 60 IsPromote bool `protobuf:"varint,2,opt"` 61 _ [0]func() 62 } 63 64 type GroupChange struct { 65 GroupUin uint32 `protobuf:"varint,1,opt"` 66 Flag uint32 `protobuf:"varint,2,opt"` 67 MemberUid string `protobuf:"bytes,3,opt"` 68 DecreaseType uint32 `protobuf:"varint,4,opt"` 69 Operator []byte `protobuf:"bytes,5,opt"` 70 IncreaseType uint32 `protobuf:"varint,6,opt"` 71 Field7 []byte `protobuf:"bytes,7,opt"` 72 } 73 74 type OperatorInfo struct { 75 OperatorField1 *OperatorField1 `protobuf:"bytes,1,opt"` 76 _ [0]func() 77 } 78 79 type OperatorField1 struct { 80 OperatorUid string `protobuf:"bytes,1,opt"` 81 Field2 uint32 `protobuf:"varint,2,opt"` 82 Field3 []byte `protobuf:"bytes,3,opt"` 83 Field4 uint32 `protobuf:"varint,4,opt"` 84 Field5 []byte `protobuf:"bytes,5,opt"` 85 } 86 87 type GroupInvitation struct { 88 Cmd int32 `protobuf:"varint,1,opt"` 89 Info *InvitationInfo `protobuf:"bytes,2,opt"` 90 _ [0]func() 91 } 92 93 type InvitationInfo struct { 94 Inner *InvitationInner `protobuf:"bytes,1,opt"` 95 _ [0]func() 96 } 97 98 type InvitationInner struct { 99 GroupUin uint32 `protobuf:"varint,1,opt"` 100 Field2 uint32 `protobuf:"varint,2,opt"` 101 Field3 uint32 `protobuf:"varint,3,opt"` 102 Field4 uint32 `protobuf:"varint,4,opt"` 103 TargetUid string `protobuf:"bytes,5,opt"` 104 InvitorUid string `protobuf:"bytes,6,opt"` 105 Field7 uint32 `protobuf:"varint,7,opt"` 106 Field9 uint32 `protobuf:"varint,9,opt"` 107 Field10 []byte `protobuf:"bytes,10,opt"` 108 Field11 uint32 `protobuf:"varint,11,opt"` 109 Field12 string `protobuf:"bytes,12,opt"` 110 } 111 112 type GroupInvite struct { 113 GroupUin uint32 `protobuf:"varint,1,opt"` 114 Field2 uint32 `protobuf:"varint,2,opt"` // 1 115 Field3 uint32 `protobuf:"varint,3,opt"` // 4 116 Field4 uint32 `protobuf:"varint,4,opt"` // 0 117 InvitorUid string `protobuf:"bytes,5,opt"` 118 Hashes []byte `protobuf:"bytes,6,opt"` 119 } 120 121 type GroupJoin struct { 122 GroupUin uint32 `protobuf:"varint,1,opt"` 123 Field2 uint32 `protobuf:"varint,2,opt"` 124 TargetUid string `protobuf:"bytes,3,opt"` 125 Field4 uint32 `protobuf:"varint,4,opt"` 126 RequestField proto.Option[string] `protobuf:"bytes,5,opt"` 127 Field6 uint32 `protobuf:"varint,6,opt"` 128 Field7 string `protobuf:"bytes,7,opt"` 129 Field8 uint32 `protobuf:"varint,8,opt"` 130 Field9 []byte `protobuf:"bytes,9,opt"` 131 } 132 133 type GroupMute struct { 134 GroupUin uint32 `protobuf:"varint,1,opt"` 135 SubType uint32 `protobuf:"varint,2,opt"` 136 Field3 uint32 `protobuf:"varint,3,opt"` 137 OperatorUid proto.Option[string] `protobuf:"bytes,4,opt"` 138 Data *GroupMuteData `protobuf:"bytes,5,opt"` 139 _ [0]func() 140 } 141 142 type GroupMuteData struct { 143 Timestamp uint32 `protobuf:"varint,1,opt"` 144 Type uint32 `protobuf:"varint,2,opt"` 145 State *GroupMuteState `protobuf:"bytes,3,opt"` 146 _ [0]func() 147 } 148 149 type GroupMuteState struct { 150 TargetUid proto.Option[string] `protobuf:"bytes,1,opt"` 151 Duration uint32 `protobuf:"varint,2,opt"` // uint.MaxValue = Mute else Lift 152 _ [0]func() 153 } 154 155 type GroupRecall struct { 156 OperatorUid proto.Option[string] `protobuf:"bytes,1,opt"` 157 RecallMessages []*RecallMessage `protobuf:"bytes,3,rep"` 158 UserDef []byte `protobuf:"bytes,5,opt"` 159 GroupType int32 `protobuf:"varint,6,opt"` 160 OpType int32 `protobuf:"varint,7,opt"` 161 } 162 163 type RecallMessage struct { 164 Sequence uint64 `protobuf:"varint,1,opt"` 165 Time uint32 `protobuf:"varint,2,opt"` 166 Random uint32 `protobuf:"varint,3,opt"` 167 Type uint32 `protobuf:"varint,4,opt"` 168 Flag uint32 `protobuf:"varint,5,opt"` 169 AuthorUid string `protobuf:"bytes,6,opt"` 170 _ [0]func() 171 } 172 173 type NotifyMessageBody struct { 174 Type uint32 `protobuf:"varint,1,opt"` 175 GroupUin uint32 `protobuf:"varint,4,opt"` 176 Recall *GroupRecall `protobuf:"bytes,11,opt"` 177 _ [0]func() 178 }