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