slidge-whatsapp 0.2.6__cp312-cp312-manylinux_2_36_aarch64.whl → 0.2.7__cp312-cp312-manylinux_2_36_aarch64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of slidge-whatsapp might be problematic. Click here for more details.
- slidge_whatsapp/event.go +8 -2
- slidge_whatsapp/generated/_whatsapp.cpython-312-aarch64-linux-gnu.h +164 -164
- slidge_whatsapp/generated/_whatsapp.cpython-312-aarch64-linux-gnu.so +0 -0
- slidge_whatsapp/generated/build.py +130 -130
- slidge_whatsapp/generated/whatsapp.c +1504 -1504
- slidge_whatsapp/generated/whatsapp.go +1021 -1021
- slidge_whatsapp/generated/whatsapp.py +1209 -1209
- slidge_whatsapp/generated/whatsapp_go.h +164 -164
- slidge_whatsapp/go.mod +6 -6
- slidge_whatsapp/go.sum +12 -18
- slidge_whatsapp/media/media.go +5 -1
- slidge_whatsapp/vendor/go.mau.fi/util/exhttp/json.go +1 -6
- slidge_whatsapp/vendor/go.mau.fi/util/exstrings/stringutil.go +76 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/armadillomessage.go +38 -6
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/encoder.go +1 -1
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/call.go +1 -1
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/client.go +64 -27
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/connectionevents.go +8 -6
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/download-to-file.go +19 -12
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/download.go +22 -6
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/group.go +2 -2
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/internals.go +33 -17
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/keepalive.go +1 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/message.go +198 -48
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/notification.go +12 -7
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/extra.go +7 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloAddMessage/InstamadilloAddMessage.pb.go +983 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloAddMessage/InstamadilloAddMessage.proto +85 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloAddMessage/extra.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeActionLog/InstamadilloCoreTypeActionLog.pb.go +197 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeActionLog/InstamadilloCoreTypeActionLog.proto +13 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeAdminMessage/InstamadilloCoreTypeAdminMessage.pb.go +279 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeAdminMessage/InstamadilloCoreTypeAdminMessage.proto +21 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeCollection/InstamadilloCoreTypeCollection.pb.go +137 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeCollection/InstamadilloCoreTypeCollection.proto +10 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeLink/InstamadilloCoreTypeLink.pb.go +313 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeLink/InstamadilloCoreTypeLink.proto +27 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeMedia/InstamadilloCoreTypeMedia.pb.go +1299 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeMedia/InstamadilloCoreTypeMedia.proto +112 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeText/InstamadilloCoreTypeText.pb.go +514 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeText/InstamadilloCoreTypeText.proto +47 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloDeleteMessage/InstamadilloDeleteMessage.pb.go +123 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloDeleteMessage/InstamadilloDeleteMessage.proto +7 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloDeleteMessage/extra.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloSupplementMessage/InstamadilloSupplementMessage.pb.go +720 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloSupplementMessage/InstamadilloSupplementMessage.proto +59 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloSupplementMessage/extra.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloTransportPayload/InstamadilloTransportPayload.pb.go +365 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloTransportPayload/InstamadilloTransportPayload.proto +33 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloXmaContentRef/InstamadilloXmaContentRef.pb.go +1238 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloXmaContentRef/InstamadilloXmaContentRef.proto +105 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloXMA/WAArmadilloXMA.pb.go +16 -4
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloXMA/WAArmadilloXMA.proto +3 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WACompanionReg.pb.go +16 -7
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WACompanionReg.proto +1 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.pb.go +2436 -1676
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.proto +85 -7
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waLidMigrationSyncPayload/WAWebProtobufLidMigrationSyncPayload.pb.go +198 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waLidMigrationSyncPayload/WAWebProtobufLidMigrationSyncPayload.proto +14 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/extra.go +7 -6
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waStatusAttributions/WAStatusAttributions.pb.go +800 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waStatusAttributions/WAStatusAttributions.proto +72 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.pb.go +678 -441
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.proto +20 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.pb.go +11 -3
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.proto +2 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/receipt.go +13 -7
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/reportingfields.json +1 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/reportingtoken.go +176 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/retry.go +10 -2
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/send.go +32 -17
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/sendfb.go +1 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/clientpayload.go +1 -1
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/container.go +9 -6
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/00-latest-schema.sql +4 -2
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/10-chat-db-lid-migration-ts.sql +2 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/store.go +2 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/events/events.go +5 -2
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/message.go +1 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/user.go +2 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/frame.go +8 -8
- slidge_whatsapp/vendor/modules.txt +20 -6
- {slidge_whatsapp-0.2.6.dist-info → slidge_whatsapp-0.2.7.dist-info}/METADATA +1 -1
- {slidge_whatsapp-0.2.6.dist-info → slidge_whatsapp-0.2.7.dist-info}/RECORD +87 -54
- {slidge_whatsapp-0.2.6.dist-info → slidge_whatsapp-0.2.7.dist-info}/LICENSE +0 -0
- {slidge_whatsapp-0.2.6.dist-info → slidge_whatsapp-0.2.7.dist-info}/WHEEL +0 -0
- {slidge_whatsapp-0.2.6.dist-info → slidge_whatsapp-0.2.7.dist-info}/entry_points.txt +0 -0
slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waStatusAttributions/WAStatusAttributions.pb.go
ADDED
|
@@ -0,0 +1,800 @@
|
|
|
1
|
+
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
2
|
+
// versions:
|
|
3
|
+
// protoc-gen-go v1.36.6
|
|
4
|
+
// protoc v3.21.12
|
|
5
|
+
// source: waStatusAttributions/WAStatusAttributions.proto
|
|
6
|
+
|
|
7
|
+
package waStatusAttributions
|
|
8
|
+
|
|
9
|
+
import (
|
|
10
|
+
reflect "reflect"
|
|
11
|
+
sync "sync"
|
|
12
|
+
unsafe "unsafe"
|
|
13
|
+
|
|
14
|
+
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
15
|
+
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
16
|
+
)
|
|
17
|
+
|
|
18
|
+
const (
|
|
19
|
+
// Verify that this generated code is sufficiently up-to-date.
|
|
20
|
+
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
21
|
+
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
22
|
+
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
23
|
+
)
|
|
24
|
+
|
|
25
|
+
type StatusAttribution_Type int32
|
|
26
|
+
|
|
27
|
+
const (
|
|
28
|
+
StatusAttribution_RESHARE StatusAttribution_Type = 0
|
|
29
|
+
StatusAttribution_EXTERNAL_SHARE StatusAttribution_Type = 1
|
|
30
|
+
StatusAttribution_MUSIC StatusAttribution_Type = 2
|
|
31
|
+
StatusAttribution_STATUS_MENTION StatusAttribution_Type = 3
|
|
32
|
+
StatusAttribution_GROUP_STATUS StatusAttribution_Type = 4
|
|
33
|
+
)
|
|
34
|
+
|
|
35
|
+
// Enum value maps for StatusAttribution_Type.
|
|
36
|
+
var (
|
|
37
|
+
StatusAttribution_Type_name = map[int32]string{
|
|
38
|
+
0: "RESHARE",
|
|
39
|
+
1: "EXTERNAL_SHARE",
|
|
40
|
+
2: "MUSIC",
|
|
41
|
+
3: "STATUS_MENTION",
|
|
42
|
+
4: "GROUP_STATUS",
|
|
43
|
+
}
|
|
44
|
+
StatusAttribution_Type_value = map[string]int32{
|
|
45
|
+
"RESHARE": 0,
|
|
46
|
+
"EXTERNAL_SHARE": 1,
|
|
47
|
+
"MUSIC": 2,
|
|
48
|
+
"STATUS_MENTION": 3,
|
|
49
|
+
"GROUP_STATUS": 4,
|
|
50
|
+
}
|
|
51
|
+
)
|
|
52
|
+
|
|
53
|
+
func (x StatusAttribution_Type) Enum() *StatusAttribution_Type {
|
|
54
|
+
p := new(StatusAttribution_Type)
|
|
55
|
+
*p = x
|
|
56
|
+
return p
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
func (x StatusAttribution_Type) String() string {
|
|
60
|
+
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
func (StatusAttribution_Type) Descriptor() protoreflect.EnumDescriptor {
|
|
64
|
+
return file_waStatusAttributions_WAStatusAttributions_proto_enumTypes[0].Descriptor()
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
func (StatusAttribution_Type) Type() protoreflect.EnumType {
|
|
68
|
+
return &file_waStatusAttributions_WAStatusAttributions_proto_enumTypes[0]
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
func (x StatusAttribution_Type) Number() protoreflect.EnumNumber {
|
|
72
|
+
return protoreflect.EnumNumber(x)
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
// Deprecated: Do not use.
|
|
76
|
+
func (x *StatusAttribution_Type) UnmarshalJSON(b []byte) error {
|
|
77
|
+
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
|
78
|
+
if err != nil {
|
|
79
|
+
return err
|
|
80
|
+
}
|
|
81
|
+
*x = StatusAttribution_Type(num)
|
|
82
|
+
return nil
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
// Deprecated: Use StatusAttribution_Type.Descriptor instead.
|
|
86
|
+
func (StatusAttribution_Type) EnumDescriptor() ([]byte, []int) {
|
|
87
|
+
return file_waStatusAttributions_WAStatusAttributions_proto_rawDescGZIP(), []int{0, 0}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
type StatusAttribution_ExternalShare_Source int32
|
|
91
|
+
|
|
92
|
+
const (
|
|
93
|
+
StatusAttribution_ExternalShare_UNKNOWN StatusAttribution_ExternalShare_Source = 0
|
|
94
|
+
StatusAttribution_ExternalShare_INSTAGRAM StatusAttribution_ExternalShare_Source = 1
|
|
95
|
+
StatusAttribution_ExternalShare_FACEBOOK StatusAttribution_ExternalShare_Source = 2
|
|
96
|
+
StatusAttribution_ExternalShare_MESSENGER StatusAttribution_ExternalShare_Source = 3
|
|
97
|
+
StatusAttribution_ExternalShare_SPOTIFY StatusAttribution_ExternalShare_Source = 4
|
|
98
|
+
StatusAttribution_ExternalShare_YOUTUBE StatusAttribution_ExternalShare_Source = 5
|
|
99
|
+
StatusAttribution_ExternalShare_PINTEREST StatusAttribution_ExternalShare_Source = 6
|
|
100
|
+
)
|
|
101
|
+
|
|
102
|
+
// Enum value maps for StatusAttribution_ExternalShare_Source.
|
|
103
|
+
var (
|
|
104
|
+
StatusAttribution_ExternalShare_Source_name = map[int32]string{
|
|
105
|
+
0: "UNKNOWN",
|
|
106
|
+
1: "INSTAGRAM",
|
|
107
|
+
2: "FACEBOOK",
|
|
108
|
+
3: "MESSENGER",
|
|
109
|
+
4: "SPOTIFY",
|
|
110
|
+
5: "YOUTUBE",
|
|
111
|
+
6: "PINTEREST",
|
|
112
|
+
}
|
|
113
|
+
StatusAttribution_ExternalShare_Source_value = map[string]int32{
|
|
114
|
+
"UNKNOWN": 0,
|
|
115
|
+
"INSTAGRAM": 1,
|
|
116
|
+
"FACEBOOK": 2,
|
|
117
|
+
"MESSENGER": 3,
|
|
118
|
+
"SPOTIFY": 4,
|
|
119
|
+
"YOUTUBE": 5,
|
|
120
|
+
"PINTEREST": 6,
|
|
121
|
+
}
|
|
122
|
+
)
|
|
123
|
+
|
|
124
|
+
func (x StatusAttribution_ExternalShare_Source) Enum() *StatusAttribution_ExternalShare_Source {
|
|
125
|
+
p := new(StatusAttribution_ExternalShare_Source)
|
|
126
|
+
*p = x
|
|
127
|
+
return p
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
func (x StatusAttribution_ExternalShare_Source) String() string {
|
|
131
|
+
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
func (StatusAttribution_ExternalShare_Source) Descriptor() protoreflect.EnumDescriptor {
|
|
135
|
+
return file_waStatusAttributions_WAStatusAttributions_proto_enumTypes[1].Descriptor()
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
func (StatusAttribution_ExternalShare_Source) Type() protoreflect.EnumType {
|
|
139
|
+
return &file_waStatusAttributions_WAStatusAttributions_proto_enumTypes[1]
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
func (x StatusAttribution_ExternalShare_Source) Number() protoreflect.EnumNumber {
|
|
143
|
+
return protoreflect.EnumNumber(x)
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
// Deprecated: Do not use.
|
|
147
|
+
func (x *StatusAttribution_ExternalShare_Source) UnmarshalJSON(b []byte) error {
|
|
148
|
+
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
|
149
|
+
if err != nil {
|
|
150
|
+
return err
|
|
151
|
+
}
|
|
152
|
+
*x = StatusAttribution_ExternalShare_Source(num)
|
|
153
|
+
return nil
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
// Deprecated: Use StatusAttribution_ExternalShare_Source.Descriptor instead.
|
|
157
|
+
func (StatusAttribution_ExternalShare_Source) EnumDescriptor() ([]byte, []int) {
|
|
158
|
+
return file_waStatusAttributions_WAStatusAttributions_proto_rawDescGZIP(), []int{0, 0, 0}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
type StatusAttribution_StatusReshare_Source int32
|
|
162
|
+
|
|
163
|
+
const (
|
|
164
|
+
StatusAttribution_StatusReshare_UNKNOWN StatusAttribution_StatusReshare_Source = 0
|
|
165
|
+
StatusAttribution_StatusReshare_INTERNAL_RESHARE StatusAttribution_StatusReshare_Source = 1
|
|
166
|
+
StatusAttribution_StatusReshare_MENTION_RESHARE StatusAttribution_StatusReshare_Source = 2
|
|
167
|
+
StatusAttribution_StatusReshare_CHANNEL_RESHARE StatusAttribution_StatusReshare_Source = 3
|
|
168
|
+
)
|
|
169
|
+
|
|
170
|
+
// Enum value maps for StatusAttribution_StatusReshare_Source.
|
|
171
|
+
var (
|
|
172
|
+
StatusAttribution_StatusReshare_Source_name = map[int32]string{
|
|
173
|
+
0: "UNKNOWN",
|
|
174
|
+
1: "INTERNAL_RESHARE",
|
|
175
|
+
2: "MENTION_RESHARE",
|
|
176
|
+
3: "CHANNEL_RESHARE",
|
|
177
|
+
}
|
|
178
|
+
StatusAttribution_StatusReshare_Source_value = map[string]int32{
|
|
179
|
+
"UNKNOWN": 0,
|
|
180
|
+
"INTERNAL_RESHARE": 1,
|
|
181
|
+
"MENTION_RESHARE": 2,
|
|
182
|
+
"CHANNEL_RESHARE": 3,
|
|
183
|
+
}
|
|
184
|
+
)
|
|
185
|
+
|
|
186
|
+
func (x StatusAttribution_StatusReshare_Source) Enum() *StatusAttribution_StatusReshare_Source {
|
|
187
|
+
p := new(StatusAttribution_StatusReshare_Source)
|
|
188
|
+
*p = x
|
|
189
|
+
return p
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
func (x StatusAttribution_StatusReshare_Source) String() string {
|
|
193
|
+
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
func (StatusAttribution_StatusReshare_Source) Descriptor() protoreflect.EnumDescriptor {
|
|
197
|
+
return file_waStatusAttributions_WAStatusAttributions_proto_enumTypes[2].Descriptor()
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
func (StatusAttribution_StatusReshare_Source) Type() protoreflect.EnumType {
|
|
201
|
+
return &file_waStatusAttributions_WAStatusAttributions_proto_enumTypes[2]
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
func (x StatusAttribution_StatusReshare_Source) Number() protoreflect.EnumNumber {
|
|
205
|
+
return protoreflect.EnumNumber(x)
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
// Deprecated: Do not use.
|
|
209
|
+
func (x *StatusAttribution_StatusReshare_Source) UnmarshalJSON(b []byte) error {
|
|
210
|
+
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
|
211
|
+
if err != nil {
|
|
212
|
+
return err
|
|
213
|
+
}
|
|
214
|
+
*x = StatusAttribution_StatusReshare_Source(num)
|
|
215
|
+
return nil
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
// Deprecated: Use StatusAttribution_StatusReshare_Source.Descriptor instead.
|
|
219
|
+
func (StatusAttribution_StatusReshare_Source) EnumDescriptor() ([]byte, []int) {
|
|
220
|
+
return file_waStatusAttributions_WAStatusAttributions_proto_rawDescGZIP(), []int{0, 1, 0}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
type StatusAttribution struct {
|
|
224
|
+
state protoimpl.MessageState `protogen:"open.v1"`
|
|
225
|
+
// Types that are valid to be assigned to AttributionData:
|
|
226
|
+
//
|
|
227
|
+
// *StatusAttribution_StatusReshare_
|
|
228
|
+
// *StatusAttribution_ExternalShare_
|
|
229
|
+
// *StatusAttribution_Music_
|
|
230
|
+
// *StatusAttribution_GroupStatus_
|
|
231
|
+
AttributionData isStatusAttribution_AttributionData `protobuf_oneof:"attributionData"`
|
|
232
|
+
Type *StatusAttribution_Type `protobuf:"varint,1,opt,name=type,enum=WAStatusAttributions.StatusAttribution_Type" json:"type,omitempty"`
|
|
233
|
+
ActionURL *string `protobuf:"bytes,2,opt,name=actionURL" json:"actionURL,omitempty"`
|
|
234
|
+
unknownFields protoimpl.UnknownFields
|
|
235
|
+
sizeCache protoimpl.SizeCache
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
func (x *StatusAttribution) Reset() {
|
|
239
|
+
*x = StatusAttribution{}
|
|
240
|
+
mi := &file_waStatusAttributions_WAStatusAttributions_proto_msgTypes[0]
|
|
241
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
242
|
+
ms.StoreMessageInfo(mi)
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
func (x *StatusAttribution) String() string {
|
|
246
|
+
return protoimpl.X.MessageStringOf(x)
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
func (*StatusAttribution) ProtoMessage() {}
|
|
250
|
+
|
|
251
|
+
func (x *StatusAttribution) ProtoReflect() protoreflect.Message {
|
|
252
|
+
mi := &file_waStatusAttributions_WAStatusAttributions_proto_msgTypes[0]
|
|
253
|
+
if x != nil {
|
|
254
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
255
|
+
if ms.LoadMessageInfo() == nil {
|
|
256
|
+
ms.StoreMessageInfo(mi)
|
|
257
|
+
}
|
|
258
|
+
return ms
|
|
259
|
+
}
|
|
260
|
+
return mi.MessageOf(x)
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
// Deprecated: Use StatusAttribution.ProtoReflect.Descriptor instead.
|
|
264
|
+
func (*StatusAttribution) Descriptor() ([]byte, []int) {
|
|
265
|
+
return file_waStatusAttributions_WAStatusAttributions_proto_rawDescGZIP(), []int{0}
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
func (x *StatusAttribution) GetAttributionData() isStatusAttribution_AttributionData {
|
|
269
|
+
if x != nil {
|
|
270
|
+
return x.AttributionData
|
|
271
|
+
}
|
|
272
|
+
return nil
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
func (x *StatusAttribution) GetStatusReshare() *StatusAttribution_StatusReshare {
|
|
276
|
+
if x != nil {
|
|
277
|
+
if x, ok := x.AttributionData.(*StatusAttribution_StatusReshare_); ok {
|
|
278
|
+
return x.StatusReshare
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
return nil
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
func (x *StatusAttribution) GetExternalShare() *StatusAttribution_ExternalShare {
|
|
285
|
+
if x != nil {
|
|
286
|
+
if x, ok := x.AttributionData.(*StatusAttribution_ExternalShare_); ok {
|
|
287
|
+
return x.ExternalShare
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
return nil
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
func (x *StatusAttribution) GetMusic() *StatusAttribution_Music {
|
|
294
|
+
if x != nil {
|
|
295
|
+
if x, ok := x.AttributionData.(*StatusAttribution_Music_); ok {
|
|
296
|
+
return x.Music
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
return nil
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
func (x *StatusAttribution) GetGroupStatus() *StatusAttribution_GroupStatus {
|
|
303
|
+
if x != nil {
|
|
304
|
+
if x, ok := x.AttributionData.(*StatusAttribution_GroupStatus_); ok {
|
|
305
|
+
return x.GroupStatus
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
return nil
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
func (x *StatusAttribution) GetType() StatusAttribution_Type {
|
|
312
|
+
if x != nil && x.Type != nil {
|
|
313
|
+
return *x.Type
|
|
314
|
+
}
|
|
315
|
+
return StatusAttribution_RESHARE
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
func (x *StatusAttribution) GetActionURL() string {
|
|
319
|
+
if x != nil && x.ActionURL != nil {
|
|
320
|
+
return *x.ActionURL
|
|
321
|
+
}
|
|
322
|
+
return ""
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
type isStatusAttribution_AttributionData interface {
|
|
326
|
+
isStatusAttribution_AttributionData()
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
type StatusAttribution_StatusReshare_ struct {
|
|
330
|
+
StatusReshare *StatusAttribution_StatusReshare `protobuf:"bytes,3,opt,name=statusReshare,oneof"`
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
type StatusAttribution_ExternalShare_ struct {
|
|
334
|
+
ExternalShare *StatusAttribution_ExternalShare `protobuf:"bytes,4,opt,name=externalShare,oneof"`
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
type StatusAttribution_Music_ struct {
|
|
338
|
+
Music *StatusAttribution_Music `protobuf:"bytes,5,opt,name=music,oneof"`
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
type StatusAttribution_GroupStatus_ struct {
|
|
342
|
+
GroupStatus *StatusAttribution_GroupStatus `protobuf:"bytes,6,opt,name=groupStatus,oneof"`
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
func (*StatusAttribution_StatusReshare_) isStatusAttribution_AttributionData() {}
|
|
346
|
+
|
|
347
|
+
func (*StatusAttribution_ExternalShare_) isStatusAttribution_AttributionData() {}
|
|
348
|
+
|
|
349
|
+
func (*StatusAttribution_Music_) isStatusAttribution_AttributionData() {}
|
|
350
|
+
|
|
351
|
+
func (*StatusAttribution_GroupStatus_) isStatusAttribution_AttributionData() {}
|
|
352
|
+
|
|
353
|
+
type StatusAttribution_ExternalShare struct {
|
|
354
|
+
state protoimpl.MessageState `protogen:"open.v1"`
|
|
355
|
+
ActionURL *string `protobuf:"bytes,1,opt,name=actionURL" json:"actionURL,omitempty"`
|
|
356
|
+
Source *StatusAttribution_ExternalShare_Source `protobuf:"varint,2,opt,name=source,enum=WAStatusAttributions.StatusAttribution_ExternalShare_Source" json:"source,omitempty"`
|
|
357
|
+
Duration *int32 `protobuf:"varint,3,opt,name=duration" json:"duration,omitempty"`
|
|
358
|
+
ActionFallbackURL *string `protobuf:"bytes,4,opt,name=actionFallbackURL" json:"actionFallbackURL,omitempty"`
|
|
359
|
+
unknownFields protoimpl.UnknownFields
|
|
360
|
+
sizeCache protoimpl.SizeCache
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
func (x *StatusAttribution_ExternalShare) Reset() {
|
|
364
|
+
*x = StatusAttribution_ExternalShare{}
|
|
365
|
+
mi := &file_waStatusAttributions_WAStatusAttributions_proto_msgTypes[1]
|
|
366
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
367
|
+
ms.StoreMessageInfo(mi)
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
func (x *StatusAttribution_ExternalShare) String() string {
|
|
371
|
+
return protoimpl.X.MessageStringOf(x)
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
func (*StatusAttribution_ExternalShare) ProtoMessage() {}
|
|
375
|
+
|
|
376
|
+
func (x *StatusAttribution_ExternalShare) ProtoReflect() protoreflect.Message {
|
|
377
|
+
mi := &file_waStatusAttributions_WAStatusAttributions_proto_msgTypes[1]
|
|
378
|
+
if x != nil {
|
|
379
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
380
|
+
if ms.LoadMessageInfo() == nil {
|
|
381
|
+
ms.StoreMessageInfo(mi)
|
|
382
|
+
}
|
|
383
|
+
return ms
|
|
384
|
+
}
|
|
385
|
+
return mi.MessageOf(x)
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
// Deprecated: Use StatusAttribution_ExternalShare.ProtoReflect.Descriptor instead.
|
|
389
|
+
func (*StatusAttribution_ExternalShare) Descriptor() ([]byte, []int) {
|
|
390
|
+
return file_waStatusAttributions_WAStatusAttributions_proto_rawDescGZIP(), []int{0, 0}
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
func (x *StatusAttribution_ExternalShare) GetActionURL() string {
|
|
394
|
+
if x != nil && x.ActionURL != nil {
|
|
395
|
+
return *x.ActionURL
|
|
396
|
+
}
|
|
397
|
+
return ""
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
func (x *StatusAttribution_ExternalShare) GetSource() StatusAttribution_ExternalShare_Source {
|
|
401
|
+
if x != nil && x.Source != nil {
|
|
402
|
+
return *x.Source
|
|
403
|
+
}
|
|
404
|
+
return StatusAttribution_ExternalShare_UNKNOWN
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
func (x *StatusAttribution_ExternalShare) GetDuration() int32 {
|
|
408
|
+
if x != nil && x.Duration != nil {
|
|
409
|
+
return *x.Duration
|
|
410
|
+
}
|
|
411
|
+
return 0
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
func (x *StatusAttribution_ExternalShare) GetActionFallbackURL() string {
|
|
415
|
+
if x != nil && x.ActionFallbackURL != nil {
|
|
416
|
+
return *x.ActionFallbackURL
|
|
417
|
+
}
|
|
418
|
+
return ""
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
type StatusAttribution_StatusReshare struct {
|
|
422
|
+
state protoimpl.MessageState `protogen:"open.v1"`
|
|
423
|
+
Source *StatusAttribution_StatusReshare_Source `protobuf:"varint,1,opt,name=source,enum=WAStatusAttributions.StatusAttribution_StatusReshare_Source" json:"source,omitempty"`
|
|
424
|
+
Metadata *StatusAttribution_StatusReshare_Metadata `protobuf:"bytes,2,opt,name=metadata" json:"metadata,omitempty"`
|
|
425
|
+
unknownFields protoimpl.UnknownFields
|
|
426
|
+
sizeCache protoimpl.SizeCache
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
func (x *StatusAttribution_StatusReshare) Reset() {
|
|
430
|
+
*x = StatusAttribution_StatusReshare{}
|
|
431
|
+
mi := &file_waStatusAttributions_WAStatusAttributions_proto_msgTypes[2]
|
|
432
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
433
|
+
ms.StoreMessageInfo(mi)
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
func (x *StatusAttribution_StatusReshare) String() string {
|
|
437
|
+
return protoimpl.X.MessageStringOf(x)
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
func (*StatusAttribution_StatusReshare) ProtoMessage() {}
|
|
441
|
+
|
|
442
|
+
func (x *StatusAttribution_StatusReshare) ProtoReflect() protoreflect.Message {
|
|
443
|
+
mi := &file_waStatusAttributions_WAStatusAttributions_proto_msgTypes[2]
|
|
444
|
+
if x != nil {
|
|
445
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
446
|
+
if ms.LoadMessageInfo() == nil {
|
|
447
|
+
ms.StoreMessageInfo(mi)
|
|
448
|
+
}
|
|
449
|
+
return ms
|
|
450
|
+
}
|
|
451
|
+
return mi.MessageOf(x)
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
// Deprecated: Use StatusAttribution_StatusReshare.ProtoReflect.Descriptor instead.
|
|
455
|
+
func (*StatusAttribution_StatusReshare) Descriptor() ([]byte, []int) {
|
|
456
|
+
return file_waStatusAttributions_WAStatusAttributions_proto_rawDescGZIP(), []int{0, 1}
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
func (x *StatusAttribution_StatusReshare) GetSource() StatusAttribution_StatusReshare_Source {
|
|
460
|
+
if x != nil && x.Source != nil {
|
|
461
|
+
return *x.Source
|
|
462
|
+
}
|
|
463
|
+
return StatusAttribution_StatusReshare_UNKNOWN
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
func (x *StatusAttribution_StatusReshare) GetMetadata() *StatusAttribution_StatusReshare_Metadata {
|
|
467
|
+
if x != nil {
|
|
468
|
+
return x.Metadata
|
|
469
|
+
}
|
|
470
|
+
return nil
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
type StatusAttribution_GroupStatus struct {
|
|
474
|
+
state protoimpl.MessageState `protogen:"open.v1"`
|
|
475
|
+
AuthorJID *string `protobuf:"bytes,1,opt,name=authorJID" json:"authorJID,omitempty"`
|
|
476
|
+
unknownFields protoimpl.UnknownFields
|
|
477
|
+
sizeCache protoimpl.SizeCache
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
func (x *StatusAttribution_GroupStatus) Reset() {
|
|
481
|
+
*x = StatusAttribution_GroupStatus{}
|
|
482
|
+
mi := &file_waStatusAttributions_WAStatusAttributions_proto_msgTypes[3]
|
|
483
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
484
|
+
ms.StoreMessageInfo(mi)
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
func (x *StatusAttribution_GroupStatus) String() string {
|
|
488
|
+
return protoimpl.X.MessageStringOf(x)
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
func (*StatusAttribution_GroupStatus) ProtoMessage() {}
|
|
492
|
+
|
|
493
|
+
func (x *StatusAttribution_GroupStatus) ProtoReflect() protoreflect.Message {
|
|
494
|
+
mi := &file_waStatusAttributions_WAStatusAttributions_proto_msgTypes[3]
|
|
495
|
+
if x != nil {
|
|
496
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
497
|
+
if ms.LoadMessageInfo() == nil {
|
|
498
|
+
ms.StoreMessageInfo(mi)
|
|
499
|
+
}
|
|
500
|
+
return ms
|
|
501
|
+
}
|
|
502
|
+
return mi.MessageOf(x)
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
// Deprecated: Use StatusAttribution_GroupStatus.ProtoReflect.Descriptor instead.
|
|
506
|
+
func (*StatusAttribution_GroupStatus) Descriptor() ([]byte, []int) {
|
|
507
|
+
return file_waStatusAttributions_WAStatusAttributions_proto_rawDescGZIP(), []int{0, 2}
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
func (x *StatusAttribution_GroupStatus) GetAuthorJID() string {
|
|
511
|
+
if x != nil && x.AuthorJID != nil {
|
|
512
|
+
return *x.AuthorJID
|
|
513
|
+
}
|
|
514
|
+
return ""
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
type StatusAttribution_Music struct {
|
|
518
|
+
state protoimpl.MessageState `protogen:"open.v1"`
|
|
519
|
+
AuthorName *string `protobuf:"bytes,1,opt,name=authorName" json:"authorName,omitempty"`
|
|
520
|
+
SongID *string `protobuf:"bytes,2,opt,name=songID" json:"songID,omitempty"`
|
|
521
|
+
Title *string `protobuf:"bytes,3,opt,name=title" json:"title,omitempty"`
|
|
522
|
+
Author *string `protobuf:"bytes,4,opt,name=author" json:"author,omitempty"`
|
|
523
|
+
ArtistAttribution *string `protobuf:"bytes,5,opt,name=artistAttribution" json:"artistAttribution,omitempty"`
|
|
524
|
+
IsExplicit *bool `protobuf:"varint,6,opt,name=isExplicit" json:"isExplicit,omitempty"`
|
|
525
|
+
unknownFields protoimpl.UnknownFields
|
|
526
|
+
sizeCache protoimpl.SizeCache
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
func (x *StatusAttribution_Music) Reset() {
|
|
530
|
+
*x = StatusAttribution_Music{}
|
|
531
|
+
mi := &file_waStatusAttributions_WAStatusAttributions_proto_msgTypes[4]
|
|
532
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
533
|
+
ms.StoreMessageInfo(mi)
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
func (x *StatusAttribution_Music) String() string {
|
|
537
|
+
return protoimpl.X.MessageStringOf(x)
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
func (*StatusAttribution_Music) ProtoMessage() {}
|
|
541
|
+
|
|
542
|
+
func (x *StatusAttribution_Music) ProtoReflect() protoreflect.Message {
|
|
543
|
+
mi := &file_waStatusAttributions_WAStatusAttributions_proto_msgTypes[4]
|
|
544
|
+
if x != nil {
|
|
545
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
546
|
+
if ms.LoadMessageInfo() == nil {
|
|
547
|
+
ms.StoreMessageInfo(mi)
|
|
548
|
+
}
|
|
549
|
+
return ms
|
|
550
|
+
}
|
|
551
|
+
return mi.MessageOf(x)
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
// Deprecated: Use StatusAttribution_Music.ProtoReflect.Descriptor instead.
|
|
555
|
+
func (*StatusAttribution_Music) Descriptor() ([]byte, []int) {
|
|
556
|
+
return file_waStatusAttributions_WAStatusAttributions_proto_rawDescGZIP(), []int{0, 3}
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
func (x *StatusAttribution_Music) GetAuthorName() string {
|
|
560
|
+
if x != nil && x.AuthorName != nil {
|
|
561
|
+
return *x.AuthorName
|
|
562
|
+
}
|
|
563
|
+
return ""
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
func (x *StatusAttribution_Music) GetSongID() string {
|
|
567
|
+
if x != nil && x.SongID != nil {
|
|
568
|
+
return *x.SongID
|
|
569
|
+
}
|
|
570
|
+
return ""
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
func (x *StatusAttribution_Music) GetTitle() string {
|
|
574
|
+
if x != nil && x.Title != nil {
|
|
575
|
+
return *x.Title
|
|
576
|
+
}
|
|
577
|
+
return ""
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
func (x *StatusAttribution_Music) GetAuthor() string {
|
|
581
|
+
if x != nil && x.Author != nil {
|
|
582
|
+
return *x.Author
|
|
583
|
+
}
|
|
584
|
+
return ""
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
func (x *StatusAttribution_Music) GetArtistAttribution() string {
|
|
588
|
+
if x != nil && x.ArtistAttribution != nil {
|
|
589
|
+
return *x.ArtistAttribution
|
|
590
|
+
}
|
|
591
|
+
return ""
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
func (x *StatusAttribution_Music) GetIsExplicit() bool {
|
|
595
|
+
if x != nil && x.IsExplicit != nil {
|
|
596
|
+
return *x.IsExplicit
|
|
597
|
+
}
|
|
598
|
+
return false
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
type StatusAttribution_StatusReshare_Metadata struct {
|
|
602
|
+
state protoimpl.MessageState `protogen:"open.v1"`
|
|
603
|
+
Duration *int32 `protobuf:"varint,1,opt,name=duration" json:"duration,omitempty"`
|
|
604
|
+
ChannelJID *string `protobuf:"bytes,2,opt,name=channelJID" json:"channelJID,omitempty"`
|
|
605
|
+
ChannelMessageID *int32 `protobuf:"varint,3,opt,name=channelMessageID" json:"channelMessageID,omitempty"`
|
|
606
|
+
HasMultipleReshares *bool `protobuf:"varint,4,opt,name=hasMultipleReshares" json:"hasMultipleReshares,omitempty"`
|
|
607
|
+
unknownFields protoimpl.UnknownFields
|
|
608
|
+
sizeCache protoimpl.SizeCache
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
func (x *StatusAttribution_StatusReshare_Metadata) Reset() {
|
|
612
|
+
*x = StatusAttribution_StatusReshare_Metadata{}
|
|
613
|
+
mi := &file_waStatusAttributions_WAStatusAttributions_proto_msgTypes[5]
|
|
614
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
615
|
+
ms.StoreMessageInfo(mi)
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
func (x *StatusAttribution_StatusReshare_Metadata) String() string {
|
|
619
|
+
return protoimpl.X.MessageStringOf(x)
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
func (*StatusAttribution_StatusReshare_Metadata) ProtoMessage() {}
|
|
623
|
+
|
|
624
|
+
func (x *StatusAttribution_StatusReshare_Metadata) ProtoReflect() protoreflect.Message {
|
|
625
|
+
mi := &file_waStatusAttributions_WAStatusAttributions_proto_msgTypes[5]
|
|
626
|
+
if x != nil {
|
|
627
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
628
|
+
if ms.LoadMessageInfo() == nil {
|
|
629
|
+
ms.StoreMessageInfo(mi)
|
|
630
|
+
}
|
|
631
|
+
return ms
|
|
632
|
+
}
|
|
633
|
+
return mi.MessageOf(x)
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
// Deprecated: Use StatusAttribution_StatusReshare_Metadata.ProtoReflect.Descriptor instead.
|
|
637
|
+
func (*StatusAttribution_StatusReshare_Metadata) Descriptor() ([]byte, []int) {
|
|
638
|
+
return file_waStatusAttributions_WAStatusAttributions_proto_rawDescGZIP(), []int{0, 1, 0}
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
func (x *StatusAttribution_StatusReshare_Metadata) GetDuration() int32 {
|
|
642
|
+
if x != nil && x.Duration != nil {
|
|
643
|
+
return *x.Duration
|
|
644
|
+
}
|
|
645
|
+
return 0
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
func (x *StatusAttribution_StatusReshare_Metadata) GetChannelJID() string {
|
|
649
|
+
if x != nil && x.ChannelJID != nil {
|
|
650
|
+
return *x.ChannelJID
|
|
651
|
+
}
|
|
652
|
+
return ""
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
func (x *StatusAttribution_StatusReshare_Metadata) GetChannelMessageID() int32 {
|
|
656
|
+
if x != nil && x.ChannelMessageID != nil {
|
|
657
|
+
return *x.ChannelMessageID
|
|
658
|
+
}
|
|
659
|
+
return 0
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
func (x *StatusAttribution_StatusReshare_Metadata) GetHasMultipleReshares() bool {
|
|
663
|
+
if x != nil && x.HasMultipleReshares != nil {
|
|
664
|
+
return *x.HasMultipleReshares
|
|
665
|
+
}
|
|
666
|
+
return false
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
var File_waStatusAttributions_WAStatusAttributions_proto protoreflect.FileDescriptor
|
|
670
|
+
|
|
671
|
+
const file_waStatusAttributions_WAStatusAttributions_proto_rawDesc = "" +
|
|
672
|
+
"\n" +
|
|
673
|
+
"/waStatusAttributions/WAStatusAttributions.proto\x12\x14WAStatusAttributions\"\xa7\f\n" +
|
|
674
|
+
"\x11StatusAttribution\x12]\n" +
|
|
675
|
+
"\rstatusReshare\x18\x03 \x01(\v25.WAStatusAttributions.StatusAttribution.StatusReshareH\x00R\rstatusReshare\x12]\n" +
|
|
676
|
+
"\rexternalShare\x18\x04 \x01(\v25.WAStatusAttributions.StatusAttribution.ExternalShareH\x00R\rexternalShare\x12E\n" +
|
|
677
|
+
"\x05music\x18\x05 \x01(\v2-.WAStatusAttributions.StatusAttribution.MusicH\x00R\x05music\x12W\n" +
|
|
678
|
+
"\vgroupStatus\x18\x06 \x01(\v23.WAStatusAttributions.StatusAttribution.GroupStatusH\x00R\vgroupStatus\x12@\n" +
|
|
679
|
+
"\x04type\x18\x01 \x01(\x0e2,.WAStatusAttributions.StatusAttribution.TypeR\x04type\x12\x1c\n" +
|
|
680
|
+
"\tactionURL\x18\x02 \x01(\tR\tactionURL\x1a\xb9\x02\n" +
|
|
681
|
+
"\rExternalShare\x12\x1c\n" +
|
|
682
|
+
"\tactionURL\x18\x01 \x01(\tR\tactionURL\x12T\n" +
|
|
683
|
+
"\x06source\x18\x02 \x01(\x0e2<.WAStatusAttributions.StatusAttribution.ExternalShare.SourceR\x06source\x12\x1a\n" +
|
|
684
|
+
"\bduration\x18\x03 \x01(\x05R\bduration\x12,\n" +
|
|
685
|
+
"\x11actionFallbackURL\x18\x04 \x01(\tR\x11actionFallbackURL\"j\n" +
|
|
686
|
+
"\x06Source\x12\v\n" +
|
|
687
|
+
"\aUNKNOWN\x10\x00\x12\r\n" +
|
|
688
|
+
"\tINSTAGRAM\x10\x01\x12\f\n" +
|
|
689
|
+
"\bFACEBOOK\x10\x02\x12\r\n" +
|
|
690
|
+
"\tMESSENGER\x10\x03\x12\v\n" +
|
|
691
|
+
"\aSPOTIFY\x10\x04\x12\v\n" +
|
|
692
|
+
"\aYOUTUBE\x10\x05\x12\r\n" +
|
|
693
|
+
"\tPINTEREST\x10\x06\x1a\xbf\x03\n" +
|
|
694
|
+
"\rStatusReshare\x12T\n" +
|
|
695
|
+
"\x06source\x18\x01 \x01(\x0e2<.WAStatusAttributions.StatusAttribution.StatusReshare.SourceR\x06source\x12Z\n" +
|
|
696
|
+
"\bmetadata\x18\x02 \x01(\v2>.WAStatusAttributions.StatusAttribution.StatusReshare.MetadataR\bmetadata\x1a\xa4\x01\n" +
|
|
697
|
+
"\bMetadata\x12\x1a\n" +
|
|
698
|
+
"\bduration\x18\x01 \x01(\x05R\bduration\x12\x1e\n" +
|
|
699
|
+
"\n" +
|
|
700
|
+
"channelJID\x18\x02 \x01(\tR\n" +
|
|
701
|
+
"channelJID\x12*\n" +
|
|
702
|
+
"\x10channelMessageID\x18\x03 \x01(\x05R\x10channelMessageID\x120\n" +
|
|
703
|
+
"\x13hasMultipleReshares\x18\x04 \x01(\bR\x13hasMultipleReshares\"U\n" +
|
|
704
|
+
"\x06Source\x12\v\n" +
|
|
705
|
+
"\aUNKNOWN\x10\x00\x12\x14\n" +
|
|
706
|
+
"\x10INTERNAL_RESHARE\x10\x01\x12\x13\n" +
|
|
707
|
+
"\x0fMENTION_RESHARE\x10\x02\x12\x13\n" +
|
|
708
|
+
"\x0fCHANNEL_RESHARE\x10\x03\x1a+\n" +
|
|
709
|
+
"\vGroupStatus\x12\x1c\n" +
|
|
710
|
+
"\tauthorJID\x18\x01 \x01(\tR\tauthorJID\x1a\xbb\x01\n" +
|
|
711
|
+
"\x05Music\x12\x1e\n" +
|
|
712
|
+
"\n" +
|
|
713
|
+
"authorName\x18\x01 \x01(\tR\n" +
|
|
714
|
+
"authorName\x12\x16\n" +
|
|
715
|
+
"\x06songID\x18\x02 \x01(\tR\x06songID\x12\x14\n" +
|
|
716
|
+
"\x05title\x18\x03 \x01(\tR\x05title\x12\x16\n" +
|
|
717
|
+
"\x06author\x18\x04 \x01(\tR\x06author\x12,\n" +
|
|
718
|
+
"\x11artistAttribution\x18\x05 \x01(\tR\x11artistAttribution\x12\x1e\n" +
|
|
719
|
+
"\n" +
|
|
720
|
+
"isExplicit\x18\x06 \x01(\bR\n" +
|
|
721
|
+
"isExplicit\"X\n" +
|
|
722
|
+
"\x04Type\x12\v\n" +
|
|
723
|
+
"\aRESHARE\x10\x00\x12\x12\n" +
|
|
724
|
+
"\x0eEXTERNAL_SHARE\x10\x01\x12\t\n" +
|
|
725
|
+
"\x05MUSIC\x10\x02\x12\x12\n" +
|
|
726
|
+
"\x0eSTATUS_MENTION\x10\x03\x12\x10\n" +
|
|
727
|
+
"\fGROUP_STATUS\x10\x04B\x11\n" +
|
|
728
|
+
"\x0fattributionDataB0Z.go.mau.fi/whatsmeow/proto/waStatusAttributions"
|
|
729
|
+
|
|
730
|
+
var (
|
|
731
|
+
file_waStatusAttributions_WAStatusAttributions_proto_rawDescOnce sync.Once
|
|
732
|
+
file_waStatusAttributions_WAStatusAttributions_proto_rawDescData []byte
|
|
733
|
+
)
|
|
734
|
+
|
|
735
|
+
func file_waStatusAttributions_WAStatusAttributions_proto_rawDescGZIP() []byte {
|
|
736
|
+
file_waStatusAttributions_WAStatusAttributions_proto_rawDescOnce.Do(func() {
|
|
737
|
+
file_waStatusAttributions_WAStatusAttributions_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_waStatusAttributions_WAStatusAttributions_proto_rawDesc), len(file_waStatusAttributions_WAStatusAttributions_proto_rawDesc)))
|
|
738
|
+
})
|
|
739
|
+
return file_waStatusAttributions_WAStatusAttributions_proto_rawDescData
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
var file_waStatusAttributions_WAStatusAttributions_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
|
|
743
|
+
var file_waStatusAttributions_WAStatusAttributions_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
|
744
|
+
var file_waStatusAttributions_WAStatusAttributions_proto_goTypes = []any{
|
|
745
|
+
(StatusAttribution_Type)(0), // 0: WAStatusAttributions.StatusAttribution.Type
|
|
746
|
+
(StatusAttribution_ExternalShare_Source)(0), // 1: WAStatusAttributions.StatusAttribution.ExternalShare.Source
|
|
747
|
+
(StatusAttribution_StatusReshare_Source)(0), // 2: WAStatusAttributions.StatusAttribution.StatusReshare.Source
|
|
748
|
+
(*StatusAttribution)(nil), // 3: WAStatusAttributions.StatusAttribution
|
|
749
|
+
(*StatusAttribution_ExternalShare)(nil), // 4: WAStatusAttributions.StatusAttribution.ExternalShare
|
|
750
|
+
(*StatusAttribution_StatusReshare)(nil), // 5: WAStatusAttributions.StatusAttribution.StatusReshare
|
|
751
|
+
(*StatusAttribution_GroupStatus)(nil), // 6: WAStatusAttributions.StatusAttribution.GroupStatus
|
|
752
|
+
(*StatusAttribution_Music)(nil), // 7: WAStatusAttributions.StatusAttribution.Music
|
|
753
|
+
(*StatusAttribution_StatusReshare_Metadata)(nil), // 8: WAStatusAttributions.StatusAttribution.StatusReshare.Metadata
|
|
754
|
+
}
|
|
755
|
+
var file_waStatusAttributions_WAStatusAttributions_proto_depIdxs = []int32{
|
|
756
|
+
5, // 0: WAStatusAttributions.StatusAttribution.statusReshare:type_name -> WAStatusAttributions.StatusAttribution.StatusReshare
|
|
757
|
+
4, // 1: WAStatusAttributions.StatusAttribution.externalShare:type_name -> WAStatusAttributions.StatusAttribution.ExternalShare
|
|
758
|
+
7, // 2: WAStatusAttributions.StatusAttribution.music:type_name -> WAStatusAttributions.StatusAttribution.Music
|
|
759
|
+
6, // 3: WAStatusAttributions.StatusAttribution.groupStatus:type_name -> WAStatusAttributions.StatusAttribution.GroupStatus
|
|
760
|
+
0, // 4: WAStatusAttributions.StatusAttribution.type:type_name -> WAStatusAttributions.StatusAttribution.Type
|
|
761
|
+
1, // 5: WAStatusAttributions.StatusAttribution.ExternalShare.source:type_name -> WAStatusAttributions.StatusAttribution.ExternalShare.Source
|
|
762
|
+
2, // 6: WAStatusAttributions.StatusAttribution.StatusReshare.source:type_name -> WAStatusAttributions.StatusAttribution.StatusReshare.Source
|
|
763
|
+
8, // 7: WAStatusAttributions.StatusAttribution.StatusReshare.metadata:type_name -> WAStatusAttributions.StatusAttribution.StatusReshare.Metadata
|
|
764
|
+
8, // [8:8] is the sub-list for method output_type
|
|
765
|
+
8, // [8:8] is the sub-list for method input_type
|
|
766
|
+
8, // [8:8] is the sub-list for extension type_name
|
|
767
|
+
8, // [8:8] is the sub-list for extension extendee
|
|
768
|
+
0, // [0:8] is the sub-list for field type_name
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
func init() { file_waStatusAttributions_WAStatusAttributions_proto_init() }
|
|
772
|
+
func file_waStatusAttributions_WAStatusAttributions_proto_init() {
|
|
773
|
+
if File_waStatusAttributions_WAStatusAttributions_proto != nil {
|
|
774
|
+
return
|
|
775
|
+
}
|
|
776
|
+
file_waStatusAttributions_WAStatusAttributions_proto_msgTypes[0].OneofWrappers = []any{
|
|
777
|
+
(*StatusAttribution_StatusReshare_)(nil),
|
|
778
|
+
(*StatusAttribution_ExternalShare_)(nil),
|
|
779
|
+
(*StatusAttribution_Music_)(nil),
|
|
780
|
+
(*StatusAttribution_GroupStatus_)(nil),
|
|
781
|
+
}
|
|
782
|
+
type x struct{}
|
|
783
|
+
out := protoimpl.TypeBuilder{
|
|
784
|
+
File: protoimpl.DescBuilder{
|
|
785
|
+
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
786
|
+
RawDescriptor: unsafe.Slice(unsafe.StringData(file_waStatusAttributions_WAStatusAttributions_proto_rawDesc), len(file_waStatusAttributions_WAStatusAttributions_proto_rawDesc)),
|
|
787
|
+
NumEnums: 3,
|
|
788
|
+
NumMessages: 6,
|
|
789
|
+
NumExtensions: 0,
|
|
790
|
+
NumServices: 0,
|
|
791
|
+
},
|
|
792
|
+
GoTypes: file_waStatusAttributions_WAStatusAttributions_proto_goTypes,
|
|
793
|
+
DependencyIndexes: file_waStatusAttributions_WAStatusAttributions_proto_depIdxs,
|
|
794
|
+
EnumInfos: file_waStatusAttributions_WAStatusAttributions_proto_enumTypes,
|
|
795
|
+
MessageInfos: file_waStatusAttributions_WAStatusAttributions_proto_msgTypes,
|
|
796
|
+
}.Build()
|
|
797
|
+
File_waStatusAttributions_WAStatusAttributions_proto = out.File
|
|
798
|
+
file_waStatusAttributions_WAStatusAttributions_proto_goTypes = nil
|
|
799
|
+
file_waStatusAttributions_WAStatusAttributions_proto_depIdxs = nil
|
|
800
|
+
}
|