slidge-whatsapp 0.2.6__cp313-cp313-manylinux_2_36_aarch64.whl → 0.2.7__cp313-cp313-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-313-aarch64-linux-gnu.h +166 -166
- slidge_whatsapp/generated/_whatsapp.cpython-313-aarch64-linux-gnu.so +0 -0
- slidge_whatsapp/generated/build.py +146 -146
- slidge_whatsapp/generated/whatsapp.c +1486 -1486
- slidge_whatsapp/generated/whatsapp.go +730 -730
- slidge_whatsapp/generated/whatsapp.py +1053 -1053
- slidge_whatsapp/generated/whatsapp_go.h +166 -166
- 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
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
syntax = "proto2";
|
|
2
|
+
package InstamadilloSupplementMessage;
|
|
3
|
+
option go_package = "go.mau.fi/whatsmeow/proto/instamadilloSupplementMessage";
|
|
4
|
+
|
|
5
|
+
import "instamadilloCoreTypeMedia/InstamadilloCoreTypeMedia.proto";
|
|
6
|
+
|
|
7
|
+
message SupplementMessagePayload {
|
|
8
|
+
optional string targetMessageOtid = 1;
|
|
9
|
+
optional string uniquingKeyForSupplementalData = 2;
|
|
10
|
+
optional SupplementMessageContent content = 3;
|
|
11
|
+
optional string targetMessageWaServerTimeSec = 4;
|
|
12
|
+
optional string targetWaThreadID = 5;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
message SupplementMessageContent {
|
|
16
|
+
oneof supplementMessageContent {
|
|
17
|
+
Reaction reaction = 1;
|
|
18
|
+
ContentView contentView = 2;
|
|
19
|
+
EditText editText = 3;
|
|
20
|
+
MediaReaction mediaReaction = 4;
|
|
21
|
+
OriginalTransportPayload originalTransportPayload = 5;
|
|
22
|
+
MediaInterventions mediaInterventions = 6;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
message MediaReaction {
|
|
27
|
+
optional string mediaID = 1;
|
|
28
|
+
optional Reaction reaction = 2;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
message Reaction {
|
|
32
|
+
optional string reactionType = 1;
|
|
33
|
+
optional string reactionStatus = 2;
|
|
34
|
+
optional string emoji = 3;
|
|
35
|
+
optional string superReactType = 4;
|
|
36
|
+
optional string actionLogOtid = 5;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
message ContentView {
|
|
40
|
+
optional bool seen = 1;
|
|
41
|
+
optional bool screenshotted = 2;
|
|
42
|
+
optional bool replayed = 3;
|
|
43
|
+
optional string mimetype = 4;
|
|
44
|
+
optional string objectID = 5;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
message EditText {
|
|
48
|
+
optional string newContent = 1;
|
|
49
|
+
optional int32 editCount = 2;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
message OriginalTransportPayload {
|
|
53
|
+
optional bytes originalTransportPayload = 1;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
message MediaInterventions {
|
|
57
|
+
optional string mediaID = 1;
|
|
58
|
+
optional InstamadilloCoreTypeMedia.Media.InterventionType interventionType = 2;
|
|
59
|
+
}
|
|
@@ -0,0 +1,365 @@
|
|
|
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: instamadilloTransportPayload/InstamadilloTransportPayload.proto
|
|
6
|
+
|
|
7
|
+
package instamadilloTransportPayload
|
|
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
|
+
instamadilloAddMessage "go.mau.fi/whatsmeow/proto/instamadilloAddMessage"
|
|
18
|
+
instamadilloDeleteMessage "go.mau.fi/whatsmeow/proto/instamadilloDeleteMessage"
|
|
19
|
+
instamadilloSupplementMessage "go.mau.fi/whatsmeow/proto/instamadilloSupplementMessage"
|
|
20
|
+
)
|
|
21
|
+
|
|
22
|
+
const (
|
|
23
|
+
// Verify that this generated code is sufficiently up-to-date.
|
|
24
|
+
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
25
|
+
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
26
|
+
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
27
|
+
)
|
|
28
|
+
|
|
29
|
+
type PayloadCreator int32
|
|
30
|
+
|
|
31
|
+
const (
|
|
32
|
+
PayloadCreator_PAYLOAD_CREATOR_UNSPECIFIED PayloadCreator = 0
|
|
33
|
+
PayloadCreator_PAYLOAD_CREATOR_IGIOS PayloadCreator = 1
|
|
34
|
+
PayloadCreator_PAYLOAD_CREATOR_IG4A PayloadCreator = 2
|
|
35
|
+
PayloadCreator_PAYLOAD_CREATOR_WWW PayloadCreator = 3
|
|
36
|
+
PayloadCreator_PAYLOAD_CREATOR_IGLITE PayloadCreator = 4
|
|
37
|
+
)
|
|
38
|
+
|
|
39
|
+
// Enum value maps for PayloadCreator.
|
|
40
|
+
var (
|
|
41
|
+
PayloadCreator_name = map[int32]string{
|
|
42
|
+
0: "PAYLOAD_CREATOR_UNSPECIFIED",
|
|
43
|
+
1: "PAYLOAD_CREATOR_IGIOS",
|
|
44
|
+
2: "PAYLOAD_CREATOR_IG4A",
|
|
45
|
+
3: "PAYLOAD_CREATOR_WWW",
|
|
46
|
+
4: "PAYLOAD_CREATOR_IGLITE",
|
|
47
|
+
}
|
|
48
|
+
PayloadCreator_value = map[string]int32{
|
|
49
|
+
"PAYLOAD_CREATOR_UNSPECIFIED": 0,
|
|
50
|
+
"PAYLOAD_CREATOR_IGIOS": 1,
|
|
51
|
+
"PAYLOAD_CREATOR_IG4A": 2,
|
|
52
|
+
"PAYLOAD_CREATOR_WWW": 3,
|
|
53
|
+
"PAYLOAD_CREATOR_IGLITE": 4,
|
|
54
|
+
}
|
|
55
|
+
)
|
|
56
|
+
|
|
57
|
+
func (x PayloadCreator) Enum() *PayloadCreator {
|
|
58
|
+
p := new(PayloadCreator)
|
|
59
|
+
*p = x
|
|
60
|
+
return p
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
func (x PayloadCreator) String() string {
|
|
64
|
+
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
func (PayloadCreator) Descriptor() protoreflect.EnumDescriptor {
|
|
68
|
+
return file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_enumTypes[0].Descriptor()
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
func (PayloadCreator) Type() protoreflect.EnumType {
|
|
72
|
+
return &file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_enumTypes[0]
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
func (x PayloadCreator) Number() protoreflect.EnumNumber {
|
|
76
|
+
return protoreflect.EnumNumber(x)
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// Deprecated: Do not use.
|
|
80
|
+
func (x *PayloadCreator) UnmarshalJSON(b []byte) error {
|
|
81
|
+
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
|
82
|
+
if err != nil {
|
|
83
|
+
return err
|
|
84
|
+
}
|
|
85
|
+
*x = PayloadCreator(num)
|
|
86
|
+
return nil
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
// Deprecated: Use PayloadCreator.Descriptor instead.
|
|
90
|
+
func (PayloadCreator) EnumDescriptor() ([]byte, []int) {
|
|
91
|
+
return file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_rawDescGZIP(), []int{0}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
type TransportPayload struct {
|
|
95
|
+
state protoimpl.MessageState `protogen:"open.v1"`
|
|
96
|
+
// Types that are valid to be assigned to TransportPayload:
|
|
97
|
+
//
|
|
98
|
+
// *TransportPayload_Add
|
|
99
|
+
// *TransportPayload_Delete
|
|
100
|
+
// *TransportPayload_Supplement
|
|
101
|
+
TransportPayload isTransportPayload_TransportPayload `protobuf_oneof:"transportPayload"`
|
|
102
|
+
Franking *Franking `protobuf:"bytes,4,opt,name=franking" json:"franking,omitempty"`
|
|
103
|
+
OpenEb *bool `protobuf:"varint,5,opt,name=openEb" json:"openEb,omitempty"`
|
|
104
|
+
IsE2EeAttributed *bool `protobuf:"varint,6,opt,name=isE2EeAttributed" json:"isE2EeAttributed,omitempty"`
|
|
105
|
+
PayloadCreator *PayloadCreator `protobuf:"varint,7,opt,name=payloadCreator,enum=InstamadilloTransportPayload.PayloadCreator" json:"payloadCreator,omitempty"`
|
|
106
|
+
unknownFields protoimpl.UnknownFields
|
|
107
|
+
sizeCache protoimpl.SizeCache
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
func (x *TransportPayload) Reset() {
|
|
111
|
+
*x = TransportPayload{}
|
|
112
|
+
mi := &file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_msgTypes[0]
|
|
113
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
114
|
+
ms.StoreMessageInfo(mi)
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
func (x *TransportPayload) String() string {
|
|
118
|
+
return protoimpl.X.MessageStringOf(x)
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
func (*TransportPayload) ProtoMessage() {}
|
|
122
|
+
|
|
123
|
+
func (x *TransportPayload) ProtoReflect() protoreflect.Message {
|
|
124
|
+
mi := &file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_msgTypes[0]
|
|
125
|
+
if x != nil {
|
|
126
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
127
|
+
if ms.LoadMessageInfo() == nil {
|
|
128
|
+
ms.StoreMessageInfo(mi)
|
|
129
|
+
}
|
|
130
|
+
return ms
|
|
131
|
+
}
|
|
132
|
+
return mi.MessageOf(x)
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
// Deprecated: Use TransportPayload.ProtoReflect.Descriptor instead.
|
|
136
|
+
func (*TransportPayload) Descriptor() ([]byte, []int) {
|
|
137
|
+
return file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_rawDescGZIP(), []int{0}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
func (x *TransportPayload) GetTransportPayload() isTransportPayload_TransportPayload {
|
|
141
|
+
if x != nil {
|
|
142
|
+
return x.TransportPayload
|
|
143
|
+
}
|
|
144
|
+
return nil
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
func (x *TransportPayload) GetAdd() *instamadilloAddMessage.AddMessagePayload {
|
|
148
|
+
if x != nil {
|
|
149
|
+
if x, ok := x.TransportPayload.(*TransportPayload_Add); ok {
|
|
150
|
+
return x.Add
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
return nil
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
func (x *TransportPayload) GetDelete() *instamadilloDeleteMessage.DeleteMessagePayload {
|
|
157
|
+
if x != nil {
|
|
158
|
+
if x, ok := x.TransportPayload.(*TransportPayload_Delete); ok {
|
|
159
|
+
return x.Delete
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
return nil
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
func (x *TransportPayload) GetSupplement() *instamadilloSupplementMessage.SupplementMessagePayload {
|
|
166
|
+
if x != nil {
|
|
167
|
+
if x, ok := x.TransportPayload.(*TransportPayload_Supplement); ok {
|
|
168
|
+
return x.Supplement
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
return nil
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
func (x *TransportPayload) GetFranking() *Franking {
|
|
175
|
+
if x != nil {
|
|
176
|
+
return x.Franking
|
|
177
|
+
}
|
|
178
|
+
return nil
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
func (x *TransportPayload) GetOpenEb() bool {
|
|
182
|
+
if x != nil && x.OpenEb != nil {
|
|
183
|
+
return *x.OpenEb
|
|
184
|
+
}
|
|
185
|
+
return false
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
func (x *TransportPayload) GetIsE2EeAttributed() bool {
|
|
189
|
+
if x != nil && x.IsE2EeAttributed != nil {
|
|
190
|
+
return *x.IsE2EeAttributed
|
|
191
|
+
}
|
|
192
|
+
return false
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
func (x *TransportPayload) GetPayloadCreator() PayloadCreator {
|
|
196
|
+
if x != nil && x.PayloadCreator != nil {
|
|
197
|
+
return *x.PayloadCreator
|
|
198
|
+
}
|
|
199
|
+
return PayloadCreator_PAYLOAD_CREATOR_UNSPECIFIED
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
type isTransportPayload_TransportPayload interface {
|
|
203
|
+
isTransportPayload_TransportPayload()
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
type TransportPayload_Add struct {
|
|
207
|
+
Add *instamadilloAddMessage.AddMessagePayload `protobuf:"bytes,1,opt,name=add,oneof"`
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
type TransportPayload_Delete struct {
|
|
211
|
+
Delete *instamadilloDeleteMessage.DeleteMessagePayload `protobuf:"bytes,2,opt,name=delete,oneof"`
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
type TransportPayload_Supplement struct {
|
|
215
|
+
Supplement *instamadilloSupplementMessage.SupplementMessagePayload `protobuf:"bytes,3,opt,name=supplement,oneof"`
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
func (*TransportPayload_Add) isTransportPayload_TransportPayload() {}
|
|
219
|
+
|
|
220
|
+
func (*TransportPayload_Delete) isTransportPayload_TransportPayload() {}
|
|
221
|
+
|
|
222
|
+
func (*TransportPayload_Supplement) isTransportPayload_TransportPayload() {}
|
|
223
|
+
|
|
224
|
+
type Franking struct {
|
|
225
|
+
state protoimpl.MessageState `protogen:"open.v1"`
|
|
226
|
+
FrankingKey []byte `protobuf:"bytes,1,opt,name=frankingKey" json:"frankingKey,omitempty"`
|
|
227
|
+
FrankingVersion *int32 `protobuf:"varint,2,opt,name=frankingVersion" json:"frankingVersion,omitempty"`
|
|
228
|
+
unknownFields protoimpl.UnknownFields
|
|
229
|
+
sizeCache protoimpl.SizeCache
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
func (x *Franking) Reset() {
|
|
233
|
+
*x = Franking{}
|
|
234
|
+
mi := &file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_msgTypes[1]
|
|
235
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
236
|
+
ms.StoreMessageInfo(mi)
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
func (x *Franking) String() string {
|
|
240
|
+
return protoimpl.X.MessageStringOf(x)
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
func (*Franking) ProtoMessage() {}
|
|
244
|
+
|
|
245
|
+
func (x *Franking) ProtoReflect() protoreflect.Message {
|
|
246
|
+
mi := &file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_msgTypes[1]
|
|
247
|
+
if x != nil {
|
|
248
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
249
|
+
if ms.LoadMessageInfo() == nil {
|
|
250
|
+
ms.StoreMessageInfo(mi)
|
|
251
|
+
}
|
|
252
|
+
return ms
|
|
253
|
+
}
|
|
254
|
+
return mi.MessageOf(x)
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
// Deprecated: Use Franking.ProtoReflect.Descriptor instead.
|
|
258
|
+
func (*Franking) Descriptor() ([]byte, []int) {
|
|
259
|
+
return file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_rawDescGZIP(), []int{1}
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
func (x *Franking) GetFrankingKey() []byte {
|
|
263
|
+
if x != nil {
|
|
264
|
+
return x.FrankingKey
|
|
265
|
+
}
|
|
266
|
+
return nil
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
func (x *Franking) GetFrankingVersion() int32 {
|
|
270
|
+
if x != nil && x.FrankingVersion != nil {
|
|
271
|
+
return *x.FrankingVersion
|
|
272
|
+
}
|
|
273
|
+
return 0
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
var File_instamadilloTransportPayload_InstamadilloTransportPayload_proto protoreflect.FileDescriptor
|
|
277
|
+
|
|
278
|
+
const file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_rawDesc = "" +
|
|
279
|
+
"\n" +
|
|
280
|
+
"?instamadilloTransportPayload/InstamadilloTransportPayload.proto\x12\x1cInstamadilloTransportPayload\x1a3instamadilloAddMessage/InstamadilloAddMessage.proto\x1a9instamadilloDeleteMessage/InstamadilloDeleteMessage.proto\x1aAinstamadilloSupplementMessage/InstamadilloSupplementMessage.proto\"\xe9\x03\n" +
|
|
281
|
+
"\x10TransportPayload\x12=\n" +
|
|
282
|
+
"\x03add\x18\x01 \x01(\v2).InstamadilloAddMessage.AddMessagePayloadH\x00R\x03add\x12I\n" +
|
|
283
|
+
"\x06delete\x18\x02 \x01(\v2/.InstamadilloDeleteMessage.DeleteMessagePayloadH\x00R\x06delete\x12Y\n" +
|
|
284
|
+
"\n" +
|
|
285
|
+
"supplement\x18\x03 \x01(\v27.InstamadilloSupplementMessage.SupplementMessagePayloadH\x00R\n" +
|
|
286
|
+
"supplement\x12B\n" +
|
|
287
|
+
"\bfranking\x18\x04 \x01(\v2&.InstamadilloTransportPayload.FrankingR\bfranking\x12\x16\n" +
|
|
288
|
+
"\x06openEb\x18\x05 \x01(\bR\x06openEb\x12*\n" +
|
|
289
|
+
"\x10isE2EeAttributed\x18\x06 \x01(\bR\x10isE2EeAttributed\x12T\n" +
|
|
290
|
+
"\x0epayloadCreator\x18\a \x01(\x0e2,.InstamadilloTransportPayload.PayloadCreatorR\x0epayloadCreatorB\x12\n" +
|
|
291
|
+
"\x10transportPayload\"V\n" +
|
|
292
|
+
"\bFranking\x12 \n" +
|
|
293
|
+
"\vfrankingKey\x18\x01 \x01(\fR\vfrankingKey\x12(\n" +
|
|
294
|
+
"\x0ffrankingVersion\x18\x02 \x01(\x05R\x0ffrankingVersion*\x9b\x01\n" +
|
|
295
|
+
"\x0ePayloadCreator\x12\x1f\n" +
|
|
296
|
+
"\x1bPAYLOAD_CREATOR_UNSPECIFIED\x10\x00\x12\x19\n" +
|
|
297
|
+
"\x15PAYLOAD_CREATOR_IGIOS\x10\x01\x12\x18\n" +
|
|
298
|
+
"\x14PAYLOAD_CREATOR_IG4A\x10\x02\x12\x17\n" +
|
|
299
|
+
"\x13PAYLOAD_CREATOR_WWW\x10\x03\x12\x1a\n" +
|
|
300
|
+
"\x16PAYLOAD_CREATOR_IGLITE\x10\x04B8Z6go.mau.fi/whatsmeow/proto/instamadilloTransportPayload"
|
|
301
|
+
|
|
302
|
+
var (
|
|
303
|
+
file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_rawDescOnce sync.Once
|
|
304
|
+
file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_rawDescData []byte
|
|
305
|
+
)
|
|
306
|
+
|
|
307
|
+
func file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_rawDescGZIP() []byte {
|
|
308
|
+
file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_rawDescOnce.Do(func() {
|
|
309
|
+
file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_rawDesc), len(file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_rawDesc)))
|
|
310
|
+
})
|
|
311
|
+
return file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_rawDescData
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
var file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
315
|
+
var file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
|
316
|
+
var file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_goTypes = []any{
|
|
317
|
+
(PayloadCreator)(0), // 0: InstamadilloTransportPayload.PayloadCreator
|
|
318
|
+
(*TransportPayload)(nil), // 1: InstamadilloTransportPayload.TransportPayload
|
|
319
|
+
(*Franking)(nil), // 2: InstamadilloTransportPayload.Franking
|
|
320
|
+
(*instamadilloAddMessage.AddMessagePayload)(nil), // 3: InstamadilloAddMessage.AddMessagePayload
|
|
321
|
+
(*instamadilloDeleteMessage.DeleteMessagePayload)(nil), // 4: InstamadilloDeleteMessage.DeleteMessagePayload
|
|
322
|
+
(*instamadilloSupplementMessage.SupplementMessagePayload)(nil), // 5: InstamadilloSupplementMessage.SupplementMessagePayload
|
|
323
|
+
}
|
|
324
|
+
var file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_depIdxs = []int32{
|
|
325
|
+
3, // 0: InstamadilloTransportPayload.TransportPayload.add:type_name -> InstamadilloAddMessage.AddMessagePayload
|
|
326
|
+
4, // 1: InstamadilloTransportPayload.TransportPayload.delete:type_name -> InstamadilloDeleteMessage.DeleteMessagePayload
|
|
327
|
+
5, // 2: InstamadilloTransportPayload.TransportPayload.supplement:type_name -> InstamadilloSupplementMessage.SupplementMessagePayload
|
|
328
|
+
2, // 3: InstamadilloTransportPayload.TransportPayload.franking:type_name -> InstamadilloTransportPayload.Franking
|
|
329
|
+
0, // 4: InstamadilloTransportPayload.TransportPayload.payloadCreator:type_name -> InstamadilloTransportPayload.PayloadCreator
|
|
330
|
+
5, // [5:5] is the sub-list for method output_type
|
|
331
|
+
5, // [5:5] is the sub-list for method input_type
|
|
332
|
+
5, // [5:5] is the sub-list for extension type_name
|
|
333
|
+
5, // [5:5] is the sub-list for extension extendee
|
|
334
|
+
0, // [0:5] is the sub-list for field type_name
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
func init() { file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_init() }
|
|
338
|
+
func file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_init() {
|
|
339
|
+
if File_instamadilloTransportPayload_InstamadilloTransportPayload_proto != nil {
|
|
340
|
+
return
|
|
341
|
+
}
|
|
342
|
+
file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_msgTypes[0].OneofWrappers = []any{
|
|
343
|
+
(*TransportPayload_Add)(nil),
|
|
344
|
+
(*TransportPayload_Delete)(nil),
|
|
345
|
+
(*TransportPayload_Supplement)(nil),
|
|
346
|
+
}
|
|
347
|
+
type x struct{}
|
|
348
|
+
out := protoimpl.TypeBuilder{
|
|
349
|
+
File: protoimpl.DescBuilder{
|
|
350
|
+
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
351
|
+
RawDescriptor: unsafe.Slice(unsafe.StringData(file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_rawDesc), len(file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_rawDesc)),
|
|
352
|
+
NumEnums: 1,
|
|
353
|
+
NumMessages: 2,
|
|
354
|
+
NumExtensions: 0,
|
|
355
|
+
NumServices: 0,
|
|
356
|
+
},
|
|
357
|
+
GoTypes: file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_goTypes,
|
|
358
|
+
DependencyIndexes: file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_depIdxs,
|
|
359
|
+
EnumInfos: file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_enumTypes,
|
|
360
|
+
MessageInfos: file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_msgTypes,
|
|
361
|
+
}.Build()
|
|
362
|
+
File_instamadilloTransportPayload_InstamadilloTransportPayload_proto = out.File
|
|
363
|
+
file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_goTypes = nil
|
|
364
|
+
file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_depIdxs = nil
|
|
365
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
syntax = "proto2";
|
|
2
|
+
package InstamadilloTransportPayload;
|
|
3
|
+
option go_package = "go.mau.fi/whatsmeow/proto/instamadilloTransportPayload";
|
|
4
|
+
|
|
5
|
+
import "instamadilloAddMessage/InstamadilloAddMessage.proto";
|
|
6
|
+
import "instamadilloDeleteMessage/InstamadilloDeleteMessage.proto";
|
|
7
|
+
import "instamadilloSupplementMessage/InstamadilloSupplementMessage.proto";
|
|
8
|
+
|
|
9
|
+
enum PayloadCreator {
|
|
10
|
+
PAYLOAD_CREATOR_UNSPECIFIED = 0;
|
|
11
|
+
PAYLOAD_CREATOR_IGIOS = 1;
|
|
12
|
+
PAYLOAD_CREATOR_IG4A = 2;
|
|
13
|
+
PAYLOAD_CREATOR_WWW = 3;
|
|
14
|
+
PAYLOAD_CREATOR_IGLITE = 4;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
message TransportPayload {
|
|
18
|
+
oneof transportPayload {
|
|
19
|
+
InstamadilloAddMessage.AddMessagePayload add = 1;
|
|
20
|
+
InstamadilloDeleteMessage.DeleteMessagePayload delete = 2;
|
|
21
|
+
InstamadilloSupplementMessage.SupplementMessagePayload supplement = 3;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
optional Franking franking = 4;
|
|
25
|
+
optional bool openEb = 5;
|
|
26
|
+
optional bool isE2EeAttributed = 6;
|
|
27
|
+
optional PayloadCreator payloadCreator = 7;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
message Franking {
|
|
31
|
+
optional bytes frankingKey = 1;
|
|
32
|
+
optional int32 frankingVersion = 2;
|
|
33
|
+
}
|