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,137 @@
|
|
|
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: instamadilloCoreTypeCollection/InstamadilloCoreTypeCollection.proto
|
|
6
|
+
|
|
7
|
+
package instamadilloCoreTypeCollection
|
|
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
|
+
instamadilloCoreTypeMedia "go.mau.fi/whatsmeow/proto/instamadilloCoreTypeMedia"
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
const (
|
|
21
|
+
// Verify that this generated code is sufficiently up-to-date.
|
|
22
|
+
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
23
|
+
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
24
|
+
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
25
|
+
)
|
|
26
|
+
|
|
27
|
+
type Collection struct {
|
|
28
|
+
state protoimpl.MessageState `protogen:"open.v1"`
|
|
29
|
+
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
|
30
|
+
Media []*instamadilloCoreTypeMedia.Media `protobuf:"bytes,2,rep,name=media" json:"media,omitempty"`
|
|
31
|
+
unknownFields protoimpl.UnknownFields
|
|
32
|
+
sizeCache protoimpl.SizeCache
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
func (x *Collection) Reset() {
|
|
36
|
+
*x = Collection{}
|
|
37
|
+
mi := &file_instamadilloCoreTypeCollection_InstamadilloCoreTypeCollection_proto_msgTypes[0]
|
|
38
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
39
|
+
ms.StoreMessageInfo(mi)
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
func (x *Collection) String() string {
|
|
43
|
+
return protoimpl.X.MessageStringOf(x)
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
func (*Collection) ProtoMessage() {}
|
|
47
|
+
|
|
48
|
+
func (x *Collection) ProtoReflect() protoreflect.Message {
|
|
49
|
+
mi := &file_instamadilloCoreTypeCollection_InstamadilloCoreTypeCollection_proto_msgTypes[0]
|
|
50
|
+
if x != nil {
|
|
51
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
52
|
+
if ms.LoadMessageInfo() == nil {
|
|
53
|
+
ms.StoreMessageInfo(mi)
|
|
54
|
+
}
|
|
55
|
+
return ms
|
|
56
|
+
}
|
|
57
|
+
return mi.MessageOf(x)
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// Deprecated: Use Collection.ProtoReflect.Descriptor instead.
|
|
61
|
+
func (*Collection) Descriptor() ([]byte, []int) {
|
|
62
|
+
return file_instamadilloCoreTypeCollection_InstamadilloCoreTypeCollection_proto_rawDescGZIP(), []int{0}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
func (x *Collection) GetName() string {
|
|
66
|
+
if x != nil && x.Name != nil {
|
|
67
|
+
return *x.Name
|
|
68
|
+
}
|
|
69
|
+
return ""
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
func (x *Collection) GetMedia() []*instamadilloCoreTypeMedia.Media {
|
|
73
|
+
if x != nil {
|
|
74
|
+
return x.Media
|
|
75
|
+
}
|
|
76
|
+
return nil
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
var File_instamadilloCoreTypeCollection_InstamadilloCoreTypeCollection_proto protoreflect.FileDescriptor
|
|
80
|
+
|
|
81
|
+
const file_instamadilloCoreTypeCollection_InstamadilloCoreTypeCollection_proto_rawDesc = "" +
|
|
82
|
+
"\n" +
|
|
83
|
+
"CinstamadilloCoreTypeCollection/InstamadilloCoreTypeCollection.proto\x12\x1eInstamadilloCoreTypeCollection\x1a9instamadilloCoreTypeMedia/InstamadilloCoreTypeMedia.proto\"X\n" +
|
|
84
|
+
"\n" +
|
|
85
|
+
"Collection\x12\x12\n" +
|
|
86
|
+
"\x04name\x18\x01 \x01(\tR\x04name\x126\n" +
|
|
87
|
+
"\x05media\x18\x02 \x03(\v2 .InstamadilloCoreTypeMedia.MediaR\x05mediaB:Z8go.mau.fi/whatsmeow/proto/instamadilloCoreTypeCollection"
|
|
88
|
+
|
|
89
|
+
var (
|
|
90
|
+
file_instamadilloCoreTypeCollection_InstamadilloCoreTypeCollection_proto_rawDescOnce sync.Once
|
|
91
|
+
file_instamadilloCoreTypeCollection_InstamadilloCoreTypeCollection_proto_rawDescData []byte
|
|
92
|
+
)
|
|
93
|
+
|
|
94
|
+
func file_instamadilloCoreTypeCollection_InstamadilloCoreTypeCollection_proto_rawDescGZIP() []byte {
|
|
95
|
+
file_instamadilloCoreTypeCollection_InstamadilloCoreTypeCollection_proto_rawDescOnce.Do(func() {
|
|
96
|
+
file_instamadilloCoreTypeCollection_InstamadilloCoreTypeCollection_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_instamadilloCoreTypeCollection_InstamadilloCoreTypeCollection_proto_rawDesc), len(file_instamadilloCoreTypeCollection_InstamadilloCoreTypeCollection_proto_rawDesc)))
|
|
97
|
+
})
|
|
98
|
+
return file_instamadilloCoreTypeCollection_InstamadilloCoreTypeCollection_proto_rawDescData
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
var file_instamadilloCoreTypeCollection_InstamadilloCoreTypeCollection_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
|
|
102
|
+
var file_instamadilloCoreTypeCollection_InstamadilloCoreTypeCollection_proto_goTypes = []any{
|
|
103
|
+
(*Collection)(nil), // 0: InstamadilloCoreTypeCollection.Collection
|
|
104
|
+
(*instamadilloCoreTypeMedia.Media)(nil), // 1: InstamadilloCoreTypeMedia.Media
|
|
105
|
+
}
|
|
106
|
+
var file_instamadilloCoreTypeCollection_InstamadilloCoreTypeCollection_proto_depIdxs = []int32{
|
|
107
|
+
1, // 0: InstamadilloCoreTypeCollection.Collection.media:type_name -> InstamadilloCoreTypeMedia.Media
|
|
108
|
+
1, // [1:1] is the sub-list for method output_type
|
|
109
|
+
1, // [1:1] is the sub-list for method input_type
|
|
110
|
+
1, // [1:1] is the sub-list for extension type_name
|
|
111
|
+
1, // [1:1] is the sub-list for extension extendee
|
|
112
|
+
0, // [0:1] is the sub-list for field type_name
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
func init() { file_instamadilloCoreTypeCollection_InstamadilloCoreTypeCollection_proto_init() }
|
|
116
|
+
func file_instamadilloCoreTypeCollection_InstamadilloCoreTypeCollection_proto_init() {
|
|
117
|
+
if File_instamadilloCoreTypeCollection_InstamadilloCoreTypeCollection_proto != nil {
|
|
118
|
+
return
|
|
119
|
+
}
|
|
120
|
+
type x struct{}
|
|
121
|
+
out := protoimpl.TypeBuilder{
|
|
122
|
+
File: protoimpl.DescBuilder{
|
|
123
|
+
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
124
|
+
RawDescriptor: unsafe.Slice(unsafe.StringData(file_instamadilloCoreTypeCollection_InstamadilloCoreTypeCollection_proto_rawDesc), len(file_instamadilloCoreTypeCollection_InstamadilloCoreTypeCollection_proto_rawDesc)),
|
|
125
|
+
NumEnums: 0,
|
|
126
|
+
NumMessages: 1,
|
|
127
|
+
NumExtensions: 0,
|
|
128
|
+
NumServices: 0,
|
|
129
|
+
},
|
|
130
|
+
GoTypes: file_instamadilloCoreTypeCollection_InstamadilloCoreTypeCollection_proto_goTypes,
|
|
131
|
+
DependencyIndexes: file_instamadilloCoreTypeCollection_InstamadilloCoreTypeCollection_proto_depIdxs,
|
|
132
|
+
MessageInfos: file_instamadilloCoreTypeCollection_InstamadilloCoreTypeCollection_proto_msgTypes,
|
|
133
|
+
}.Build()
|
|
134
|
+
File_instamadilloCoreTypeCollection_InstamadilloCoreTypeCollection_proto = out.File
|
|
135
|
+
file_instamadilloCoreTypeCollection_InstamadilloCoreTypeCollection_proto_goTypes = nil
|
|
136
|
+
file_instamadilloCoreTypeCollection_InstamadilloCoreTypeCollection_proto_depIdxs = nil
|
|
137
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
syntax = "proto2";
|
|
2
|
+
package InstamadilloCoreTypeCollection;
|
|
3
|
+
option go_package = "go.mau.fi/whatsmeow/proto/instamadilloCoreTypeCollection";
|
|
4
|
+
|
|
5
|
+
import "instamadilloCoreTypeMedia/InstamadilloCoreTypeMedia.proto";
|
|
6
|
+
|
|
7
|
+
message Collection {
|
|
8
|
+
optional string name = 1;
|
|
9
|
+
repeated InstamadilloCoreTypeMedia.Media media = 2;
|
|
10
|
+
}
|
|
@@ -0,0 +1,313 @@
|
|
|
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: instamadilloCoreTypeLink/InstamadilloCoreTypeLink.proto
|
|
6
|
+
|
|
7
|
+
package instamadilloCoreTypeLink
|
|
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
|
+
instamadilloCoreTypeMedia "go.mau.fi/whatsmeow/proto/instamadilloCoreTypeMedia"
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
const (
|
|
21
|
+
// Verify that this generated code is sufficiently up-to-date.
|
|
22
|
+
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
23
|
+
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
24
|
+
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
25
|
+
)
|
|
26
|
+
|
|
27
|
+
type Link struct {
|
|
28
|
+
state protoimpl.MessageState `protogen:"open.v1"`
|
|
29
|
+
Text *string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"`
|
|
30
|
+
LinkContext *LinkContext `protobuf:"bytes,2,opt,name=linkContext" json:"linkContext,omitempty"`
|
|
31
|
+
unknownFields protoimpl.UnknownFields
|
|
32
|
+
sizeCache protoimpl.SizeCache
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
func (x *Link) Reset() {
|
|
36
|
+
*x = Link{}
|
|
37
|
+
mi := &file_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto_msgTypes[0]
|
|
38
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
39
|
+
ms.StoreMessageInfo(mi)
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
func (x *Link) String() string {
|
|
43
|
+
return protoimpl.X.MessageStringOf(x)
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
func (*Link) ProtoMessage() {}
|
|
47
|
+
|
|
48
|
+
func (x *Link) ProtoReflect() protoreflect.Message {
|
|
49
|
+
mi := &file_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto_msgTypes[0]
|
|
50
|
+
if x != nil {
|
|
51
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
52
|
+
if ms.LoadMessageInfo() == nil {
|
|
53
|
+
ms.StoreMessageInfo(mi)
|
|
54
|
+
}
|
|
55
|
+
return ms
|
|
56
|
+
}
|
|
57
|
+
return mi.MessageOf(x)
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// Deprecated: Use Link.ProtoReflect.Descriptor instead.
|
|
61
|
+
func (*Link) Descriptor() ([]byte, []int) {
|
|
62
|
+
return file_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto_rawDescGZIP(), []int{0}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
func (x *Link) GetText() string {
|
|
66
|
+
if x != nil && x.Text != nil {
|
|
67
|
+
return *x.Text
|
|
68
|
+
}
|
|
69
|
+
return ""
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
func (x *Link) GetLinkContext() *LinkContext {
|
|
73
|
+
if x != nil {
|
|
74
|
+
return x.LinkContext
|
|
75
|
+
}
|
|
76
|
+
return nil
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
type LinkContext struct {
|
|
80
|
+
state protoimpl.MessageState `protogen:"open.v1"`
|
|
81
|
+
LinkImageURL *ImageUrl `protobuf:"bytes,1,opt,name=linkImageURL" json:"linkImageURL,omitempty"`
|
|
82
|
+
LinkPreviewTitle *string `protobuf:"bytes,2,opt,name=linkPreviewTitle" json:"linkPreviewTitle,omitempty"`
|
|
83
|
+
LinkURL *string `protobuf:"bytes,3,opt,name=linkURL" json:"linkURL,omitempty"`
|
|
84
|
+
LinkSummary *string `protobuf:"bytes,4,opt,name=linkSummary" json:"linkSummary,omitempty"`
|
|
85
|
+
LinkMusicPreviewURL *string `protobuf:"bytes,5,opt,name=linkMusicPreviewURL" json:"linkMusicPreviewURL,omitempty"`
|
|
86
|
+
LinkMusicPreviewCountriesAllowed []string `protobuf:"bytes,6,rep,name=linkMusicPreviewCountriesAllowed" json:"linkMusicPreviewCountriesAllowed,omitempty"`
|
|
87
|
+
LinkPreviewThumbnail *instamadilloCoreTypeMedia.Thumbnail `protobuf:"bytes,7,opt,name=linkPreviewThumbnail" json:"linkPreviewThumbnail,omitempty"`
|
|
88
|
+
LinkPreviewBody *string `protobuf:"bytes,8,opt,name=linkPreviewBody" json:"linkPreviewBody,omitempty"`
|
|
89
|
+
unknownFields protoimpl.UnknownFields
|
|
90
|
+
sizeCache protoimpl.SizeCache
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
func (x *LinkContext) Reset() {
|
|
94
|
+
*x = LinkContext{}
|
|
95
|
+
mi := &file_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto_msgTypes[1]
|
|
96
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
97
|
+
ms.StoreMessageInfo(mi)
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
func (x *LinkContext) String() string {
|
|
101
|
+
return protoimpl.X.MessageStringOf(x)
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
func (*LinkContext) ProtoMessage() {}
|
|
105
|
+
|
|
106
|
+
func (x *LinkContext) ProtoReflect() protoreflect.Message {
|
|
107
|
+
mi := &file_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto_msgTypes[1]
|
|
108
|
+
if x != nil {
|
|
109
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
110
|
+
if ms.LoadMessageInfo() == nil {
|
|
111
|
+
ms.StoreMessageInfo(mi)
|
|
112
|
+
}
|
|
113
|
+
return ms
|
|
114
|
+
}
|
|
115
|
+
return mi.MessageOf(x)
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
// Deprecated: Use LinkContext.ProtoReflect.Descriptor instead.
|
|
119
|
+
func (*LinkContext) Descriptor() ([]byte, []int) {
|
|
120
|
+
return file_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto_rawDescGZIP(), []int{1}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
func (x *LinkContext) GetLinkImageURL() *ImageUrl {
|
|
124
|
+
if x != nil {
|
|
125
|
+
return x.LinkImageURL
|
|
126
|
+
}
|
|
127
|
+
return nil
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
func (x *LinkContext) GetLinkPreviewTitle() string {
|
|
131
|
+
if x != nil && x.LinkPreviewTitle != nil {
|
|
132
|
+
return *x.LinkPreviewTitle
|
|
133
|
+
}
|
|
134
|
+
return ""
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
func (x *LinkContext) GetLinkURL() string {
|
|
138
|
+
if x != nil && x.LinkURL != nil {
|
|
139
|
+
return *x.LinkURL
|
|
140
|
+
}
|
|
141
|
+
return ""
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
func (x *LinkContext) GetLinkSummary() string {
|
|
145
|
+
if x != nil && x.LinkSummary != nil {
|
|
146
|
+
return *x.LinkSummary
|
|
147
|
+
}
|
|
148
|
+
return ""
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
func (x *LinkContext) GetLinkMusicPreviewURL() string {
|
|
152
|
+
if x != nil && x.LinkMusicPreviewURL != nil {
|
|
153
|
+
return *x.LinkMusicPreviewURL
|
|
154
|
+
}
|
|
155
|
+
return ""
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
func (x *LinkContext) GetLinkMusicPreviewCountriesAllowed() []string {
|
|
159
|
+
if x != nil {
|
|
160
|
+
return x.LinkMusicPreviewCountriesAllowed
|
|
161
|
+
}
|
|
162
|
+
return nil
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
func (x *LinkContext) GetLinkPreviewThumbnail() *instamadilloCoreTypeMedia.Thumbnail {
|
|
166
|
+
if x != nil {
|
|
167
|
+
return x.LinkPreviewThumbnail
|
|
168
|
+
}
|
|
169
|
+
return nil
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
func (x *LinkContext) GetLinkPreviewBody() string {
|
|
173
|
+
if x != nil && x.LinkPreviewBody != nil {
|
|
174
|
+
return *x.LinkPreviewBody
|
|
175
|
+
}
|
|
176
|
+
return ""
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
type ImageUrl struct {
|
|
180
|
+
state protoimpl.MessageState `protogen:"open.v1"`
|
|
181
|
+
URL *string `protobuf:"bytes,1,opt,name=URL" json:"URL,omitempty"`
|
|
182
|
+
Width *int32 `protobuf:"varint,2,opt,name=width" json:"width,omitempty"`
|
|
183
|
+
Height *int32 `protobuf:"varint,3,opt,name=height" json:"height,omitempty"`
|
|
184
|
+
unknownFields protoimpl.UnknownFields
|
|
185
|
+
sizeCache protoimpl.SizeCache
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
func (x *ImageUrl) Reset() {
|
|
189
|
+
*x = ImageUrl{}
|
|
190
|
+
mi := &file_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto_msgTypes[2]
|
|
191
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
192
|
+
ms.StoreMessageInfo(mi)
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
func (x *ImageUrl) String() string {
|
|
196
|
+
return protoimpl.X.MessageStringOf(x)
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
func (*ImageUrl) ProtoMessage() {}
|
|
200
|
+
|
|
201
|
+
func (x *ImageUrl) ProtoReflect() protoreflect.Message {
|
|
202
|
+
mi := &file_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto_msgTypes[2]
|
|
203
|
+
if x != nil {
|
|
204
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
205
|
+
if ms.LoadMessageInfo() == nil {
|
|
206
|
+
ms.StoreMessageInfo(mi)
|
|
207
|
+
}
|
|
208
|
+
return ms
|
|
209
|
+
}
|
|
210
|
+
return mi.MessageOf(x)
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
// Deprecated: Use ImageUrl.ProtoReflect.Descriptor instead.
|
|
214
|
+
func (*ImageUrl) Descriptor() ([]byte, []int) {
|
|
215
|
+
return file_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto_rawDescGZIP(), []int{2}
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
func (x *ImageUrl) GetURL() string {
|
|
219
|
+
if x != nil && x.URL != nil {
|
|
220
|
+
return *x.URL
|
|
221
|
+
}
|
|
222
|
+
return ""
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
func (x *ImageUrl) GetWidth() int32 {
|
|
226
|
+
if x != nil && x.Width != nil {
|
|
227
|
+
return *x.Width
|
|
228
|
+
}
|
|
229
|
+
return 0
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
func (x *ImageUrl) GetHeight() int32 {
|
|
233
|
+
if x != nil && x.Height != nil {
|
|
234
|
+
return *x.Height
|
|
235
|
+
}
|
|
236
|
+
return 0
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
var File_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto protoreflect.FileDescriptor
|
|
240
|
+
|
|
241
|
+
const file_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto_rawDesc = "" +
|
|
242
|
+
"\n" +
|
|
243
|
+
"7instamadilloCoreTypeLink/InstamadilloCoreTypeLink.proto\x12\x18InstamadilloCoreTypeLink\x1a9instamadilloCoreTypeMedia/InstamadilloCoreTypeMedia.proto\"c\n" +
|
|
244
|
+
"\x04Link\x12\x12\n" +
|
|
245
|
+
"\x04text\x18\x01 \x01(\tR\x04text\x12G\n" +
|
|
246
|
+
"\vlinkContext\x18\x02 \x01(\v2%.InstamadilloCoreTypeLink.LinkContextR\vlinkContext\"\xbf\x03\n" +
|
|
247
|
+
"\vLinkContext\x12F\n" +
|
|
248
|
+
"\flinkImageURL\x18\x01 \x01(\v2\".InstamadilloCoreTypeLink.ImageUrlR\flinkImageURL\x12*\n" +
|
|
249
|
+
"\x10linkPreviewTitle\x18\x02 \x01(\tR\x10linkPreviewTitle\x12\x18\n" +
|
|
250
|
+
"\alinkURL\x18\x03 \x01(\tR\alinkURL\x12 \n" +
|
|
251
|
+
"\vlinkSummary\x18\x04 \x01(\tR\vlinkSummary\x120\n" +
|
|
252
|
+
"\x13linkMusicPreviewURL\x18\x05 \x01(\tR\x13linkMusicPreviewURL\x12J\n" +
|
|
253
|
+
" linkMusicPreviewCountriesAllowed\x18\x06 \x03(\tR linkMusicPreviewCountriesAllowed\x12X\n" +
|
|
254
|
+
"\x14linkPreviewThumbnail\x18\a \x01(\v2$.InstamadilloCoreTypeMedia.ThumbnailR\x14linkPreviewThumbnail\x12(\n" +
|
|
255
|
+
"\x0flinkPreviewBody\x18\b \x01(\tR\x0flinkPreviewBody\"J\n" +
|
|
256
|
+
"\bImageUrl\x12\x10\n" +
|
|
257
|
+
"\x03URL\x18\x01 \x01(\tR\x03URL\x12\x14\n" +
|
|
258
|
+
"\x05width\x18\x02 \x01(\x05R\x05width\x12\x16\n" +
|
|
259
|
+
"\x06height\x18\x03 \x01(\x05R\x06heightB4Z2go.mau.fi/whatsmeow/proto/instamadilloCoreTypeLink"
|
|
260
|
+
|
|
261
|
+
var (
|
|
262
|
+
file_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto_rawDescOnce sync.Once
|
|
263
|
+
file_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto_rawDescData []byte
|
|
264
|
+
)
|
|
265
|
+
|
|
266
|
+
func file_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto_rawDescGZIP() []byte {
|
|
267
|
+
file_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto_rawDescOnce.Do(func() {
|
|
268
|
+
file_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto_rawDesc), len(file_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto_rawDesc)))
|
|
269
|
+
})
|
|
270
|
+
return file_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto_rawDescData
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
var file_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
|
|
274
|
+
var file_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto_goTypes = []any{
|
|
275
|
+
(*Link)(nil), // 0: InstamadilloCoreTypeLink.Link
|
|
276
|
+
(*LinkContext)(nil), // 1: InstamadilloCoreTypeLink.LinkContext
|
|
277
|
+
(*ImageUrl)(nil), // 2: InstamadilloCoreTypeLink.ImageUrl
|
|
278
|
+
(*instamadilloCoreTypeMedia.Thumbnail)(nil), // 3: InstamadilloCoreTypeMedia.Thumbnail
|
|
279
|
+
}
|
|
280
|
+
var file_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto_depIdxs = []int32{
|
|
281
|
+
1, // 0: InstamadilloCoreTypeLink.Link.linkContext:type_name -> InstamadilloCoreTypeLink.LinkContext
|
|
282
|
+
2, // 1: InstamadilloCoreTypeLink.LinkContext.linkImageURL:type_name -> InstamadilloCoreTypeLink.ImageUrl
|
|
283
|
+
3, // 2: InstamadilloCoreTypeLink.LinkContext.linkPreviewThumbnail:type_name -> InstamadilloCoreTypeMedia.Thumbnail
|
|
284
|
+
3, // [3:3] is the sub-list for method output_type
|
|
285
|
+
3, // [3:3] is the sub-list for method input_type
|
|
286
|
+
3, // [3:3] is the sub-list for extension type_name
|
|
287
|
+
3, // [3:3] is the sub-list for extension extendee
|
|
288
|
+
0, // [0:3] is the sub-list for field type_name
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
func init() { file_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto_init() }
|
|
292
|
+
func file_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto_init() {
|
|
293
|
+
if File_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto != nil {
|
|
294
|
+
return
|
|
295
|
+
}
|
|
296
|
+
type x struct{}
|
|
297
|
+
out := protoimpl.TypeBuilder{
|
|
298
|
+
File: protoimpl.DescBuilder{
|
|
299
|
+
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
300
|
+
RawDescriptor: unsafe.Slice(unsafe.StringData(file_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto_rawDesc), len(file_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto_rawDesc)),
|
|
301
|
+
NumEnums: 0,
|
|
302
|
+
NumMessages: 3,
|
|
303
|
+
NumExtensions: 0,
|
|
304
|
+
NumServices: 0,
|
|
305
|
+
},
|
|
306
|
+
GoTypes: file_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto_goTypes,
|
|
307
|
+
DependencyIndexes: file_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto_depIdxs,
|
|
308
|
+
MessageInfos: file_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto_msgTypes,
|
|
309
|
+
}.Build()
|
|
310
|
+
File_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto = out.File
|
|
311
|
+
file_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto_goTypes = nil
|
|
312
|
+
file_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto_depIdxs = nil
|
|
313
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
syntax = "proto2";
|
|
2
|
+
package InstamadilloCoreTypeLink;
|
|
3
|
+
option go_package = "go.mau.fi/whatsmeow/proto/instamadilloCoreTypeLink";
|
|
4
|
+
|
|
5
|
+
import "instamadilloCoreTypeMedia/InstamadilloCoreTypeMedia.proto";
|
|
6
|
+
|
|
7
|
+
message Link {
|
|
8
|
+
optional string text = 1;
|
|
9
|
+
optional LinkContext linkContext = 2;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
message LinkContext {
|
|
13
|
+
optional ImageUrl linkImageURL = 1;
|
|
14
|
+
optional string linkPreviewTitle = 2;
|
|
15
|
+
optional string linkURL = 3;
|
|
16
|
+
optional string linkSummary = 4;
|
|
17
|
+
optional string linkMusicPreviewURL = 5;
|
|
18
|
+
repeated string linkMusicPreviewCountriesAllowed = 6;
|
|
19
|
+
optional InstamadilloCoreTypeMedia.Thumbnail linkPreviewThumbnail = 7;
|
|
20
|
+
optional string linkPreviewBody = 8;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
message ImageUrl {
|
|
24
|
+
optional string URL = 1;
|
|
25
|
+
optional int32 width = 2;
|
|
26
|
+
optional int32 height = 3;
|
|
27
|
+
}
|