forked from Mrs4s/MiraiGo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
synclogic.pb.go
138 lines (120 loc) · 5.57 KB
/
synclogic.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
// Code generated by protoc-gen-golite. DO NOT EDIT.
// source: pb/channel/synclogic.proto
package channel
import (
proto "github.com/RomiChan/protobuf/proto"
)
type ChannelMsg struct {
GuildId proto.Option[uint64] `protobuf:"varint,1,opt"`
ChannelId proto.Option[uint64] `protobuf:"varint,2,opt"`
Result proto.Option[uint32] `protobuf:"varint,3,opt"`
RspBeginSeq proto.Option[uint64] `protobuf:"varint,4,opt"`
RspEndSeq proto.Option[uint64] `protobuf:"varint,5,opt"`
Msgs []*ChannelMsgContent `protobuf:"bytes,6,rep"`
}
type ChannelMsgReq struct {
ChannelParam *ChannelParam `protobuf:"bytes,1,opt"`
WithVersionFlag proto.Option[uint32] `protobuf:"varint,2,opt"`
DirectMessageFlag proto.Option[uint32] `protobuf:"varint,3,opt"`
_ [0]func()
}
type ChannelMsgRsp struct {
Result proto.Option[uint32] `protobuf:"varint,1,opt"`
ErrMsg []byte `protobuf:"bytes,2,opt"`
ChannelMsg *ChannelMsg `protobuf:"bytes,3,opt"`
WithVersionFlag proto.Option[uint32] `protobuf:"varint,4,opt"`
GetMsgTime proto.Option[uint64] `protobuf:"varint,5,opt"`
}
type ChannelNode struct {
ChannelId proto.Option[uint64] `protobuf:"varint,1,opt"`
Seq proto.Option[uint64] `protobuf:"varint,2,opt"`
CntSeq proto.Option[uint64] `protobuf:"varint,3,opt"`
Time proto.Option[uint64] `protobuf:"varint,4,opt"`
MemberReadMsgSeq proto.Option[uint64] `protobuf:"varint,5,opt"`
MemberReadCntSeq proto.Option[uint64] `protobuf:"varint,6,opt"`
NotifyType proto.Option[uint32] `protobuf:"varint,7,opt"`
ChannelName []byte `protobuf:"bytes,8,opt"`
ChannelType proto.Option[uint32] `protobuf:"varint,9,opt"`
Meta []byte `protobuf:"bytes,10,opt"`
ReadMsgMeta []byte `protobuf:"bytes,11,opt"`
EventTime proto.Option[uint32] `protobuf:"varint,12,opt"`
}
type ChannelParam struct {
GuildId proto.Option[uint64] `protobuf:"varint,1,opt"`
ChannelId proto.Option[uint64] `protobuf:"varint,2,opt"`
BeginSeq proto.Option[uint64] `protobuf:"varint,3,opt"`
EndSeq proto.Option[uint64] `protobuf:"varint,4,opt"`
Time proto.Option[uint64] `protobuf:"varint,5,opt"`
Version []uint64 `protobuf:"varint,6,rep"`
Seqs []*MsgCond `protobuf:"bytes,7,rep"`
}
type DirectMessageSource struct {
TinyId proto.Option[uint64] `protobuf:"varint,1,opt"`
GuildId proto.Option[uint64] `protobuf:"varint,2,opt"`
GuildName []byte `protobuf:"bytes,3,opt"`
MemberName []byte `protobuf:"bytes,4,opt"`
NickName []byte `protobuf:"bytes,5,opt"`
}
type FirstViewMsg struct {
PushFlag proto.Option[uint32] `protobuf:"varint,1,opt"`
Seq proto.Option[uint32] `protobuf:"varint,2,opt"`
GuildNodes []*GuildNode `protobuf:"bytes,3,rep"`
ChannelMsgs []*ChannelMsg `protobuf:"bytes,4,rep"`
GetMsgTime proto.Option[uint64] `protobuf:"varint,5,opt"`
DirectMessageGuildNodes []*GuildNode `protobuf:"bytes,6,rep"`
}
type FirstViewReq struct {
LastMsgTime proto.Option[uint64] `protobuf:"varint,1,opt"`
UdcFlag proto.Option[uint32] `protobuf:"varint,2,opt"`
Seq proto.Option[uint32] `protobuf:"varint,3,opt"`
DirectMessageFlag proto.Option[uint32] `protobuf:"varint,4,opt"`
_ [0]func()
}
type FirstViewRsp struct {
Result proto.Option[uint32] `protobuf:"varint,1,opt"`
ErrMsg []byte `protobuf:"bytes,2,opt"`
Seq proto.Option[uint32] `protobuf:"varint,3,opt"`
UdcFlag proto.Option[uint32] `protobuf:"varint,4,opt"`
GuildCount proto.Option[uint32] `protobuf:"varint,5,opt"`
SelfTinyid proto.Option[uint64] `protobuf:"varint,6,opt"`
DirectMessageSwitch proto.Option[uint32] `protobuf:"varint,7,opt"`
DirectMessageGuildCount proto.Option[uint32] `protobuf:"varint,8,opt"`
}
type GuildNode struct {
GuildId proto.Option[uint64] `protobuf:"varint,1,opt"`
GuildCode proto.Option[uint64] `protobuf:"varint,2,opt"`
ChannelNodes []*ChannelNode `protobuf:"bytes,3,rep"`
GuildName []byte `protobuf:"bytes,4,opt"`
PeerSource *DirectMessageSource `protobuf:"bytes,5,opt"`
}
type MsgCond struct {
Seq proto.Option[uint64] `protobuf:"varint,1,opt"`
EventVersion proto.Option[uint64] `protobuf:"varint,2,opt"`
_ [0]func()
}
type MultiChannelMsg struct {
PushFlag proto.Option[uint32] `protobuf:"varint,1,opt"`
Seq proto.Option[uint32] `protobuf:"varint,2,opt"`
ChannelMsgs []*ChannelMsg `protobuf:"bytes,3,rep"`
GetMsgTime proto.Option[uint64] `protobuf:"varint,4,opt"`
}
type MultiChannelMsgReq struct {
ChannelParams []*ChannelParam `protobuf:"bytes,1,rep"`
Seq proto.Option[uint32] `protobuf:"varint,2,opt"`
DirectMessageFlag proto.Option[uint32] `protobuf:"varint,3,opt"`
}
type MultiChannelMsgRsp struct {
Result proto.Option[uint32] `protobuf:"varint,1,opt"`
ErrMsg []byte `protobuf:"bytes,2,opt"`
Seq proto.Option[uint32] `protobuf:"varint,3,opt"`
}
type ReqBody struct {
ChannelParam *ChannelParam `protobuf:"bytes,1,opt"`
DirectMessageFlag proto.Option[uint32] `protobuf:"varint,2,opt"`
_ [0]func()
}
type RspBody struct {
Result proto.Option[uint32] `protobuf:"varint,1,opt"`
ErrMsg []byte `protobuf:"bytes,2,opt"`
ChannelMsg *ChannelMsg `protobuf:"bytes,3,opt"`
}