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
|
@@ -6,6 +6,7 @@ import "waAdv/WAAdv.proto";
|
|
|
6
6
|
import "waCompanionReg/WACompanionReg.proto";
|
|
7
7
|
import "waMmsRetry/WAMmsRetry.proto";
|
|
8
8
|
import "waCommon/WACommon.proto";
|
|
9
|
+
import "waStatusAttributions/WAStatusAttributions.proto";
|
|
9
10
|
|
|
10
11
|
enum PollContentType {
|
|
11
12
|
UNKNOWN_POLL_CONTENT_TYPE = 0;
|
|
@@ -23,6 +24,7 @@ enum PeerDataOperationRequestType {
|
|
|
23
24
|
FULL_HISTORY_SYNC_ON_DEMAND = 6;
|
|
24
25
|
COMPANION_META_NONCE_FETCH = 7;
|
|
25
26
|
COMPANION_SYNCD_SNAPSHOT_FATAL_RECOVERY = 8;
|
|
27
|
+
COMPANION_CANONICAL_USER_NONCE_FETCH = 9;
|
|
26
28
|
}
|
|
27
29
|
|
|
28
30
|
enum BotMetricsEntryPoint {
|
|
@@ -50,6 +52,8 @@ enum BotMetricsEntryPoint {
|
|
|
50
52
|
META_AI_CHAT_SHORTCUT_AI_STUDIO = 22;
|
|
51
53
|
UGC_CHAT_SHORTCUT_AI_STUDIO = 23;
|
|
52
54
|
NEW_CHAT_AI_STUDIO = 24;
|
|
55
|
+
AIVOICE_FAVICON_CALL_HISTORY = 25;
|
|
56
|
+
ASK_META_AI_CONTEXT_MENU = 26;
|
|
53
57
|
}
|
|
54
58
|
|
|
55
59
|
enum BotMetricsThreadEntryPoint {
|
|
@@ -57,6 +61,7 @@ enum BotMetricsThreadEntryPoint {
|
|
|
57
61
|
AI_HOME_THREAD = 2;
|
|
58
62
|
AI_DEEPLINK_IMMERSIVE_THREAD = 3;
|
|
59
63
|
AI_DEEPLINK_THREAD = 4;
|
|
64
|
+
ASK_META_AI_CONTEXT_MENU_THREAD = 5;
|
|
60
65
|
}
|
|
61
66
|
|
|
62
67
|
enum BotSessionSource {
|
|
@@ -608,6 +613,10 @@ message PeerDataOperationRequestResponseMessage {
|
|
|
608
613
|
optional bool isCompressed = 2;
|
|
609
614
|
}
|
|
610
615
|
|
|
616
|
+
message CompanionCanonicalUserNonceFetchResponse {
|
|
617
|
+
optional string nonce = 1;
|
|
618
|
+
}
|
|
619
|
+
|
|
611
620
|
message CompanionMetaNonceFetchResponse {
|
|
612
621
|
optional string nonce = 1;
|
|
613
622
|
}
|
|
@@ -654,6 +663,7 @@ message PeerDataOperationRequestResponseMessage {
|
|
|
654
663
|
optional FullHistorySyncOnDemandRequestResponse fullHistorySyncOnDemandRequestResponse = 6;
|
|
655
664
|
optional CompanionMetaNonceFetchResponse companionMetaNonceFetchRequestResponse = 7;
|
|
656
665
|
optional SyncDSnapshotFatalRecoveryResponse syncdSnapshotFatalRecoveryResponse = 8;
|
|
666
|
+
optional CompanionCanonicalUserNonceFetchResponse companionCanonicalUserNonceFetchRequestResponse = 9;
|
|
657
667
|
}
|
|
658
668
|
|
|
659
669
|
optional PeerDataOperationRequestType peerDataOperationRequestType = 1;
|
|
@@ -775,7 +785,8 @@ message CloudAPIThreadControlNotification {
|
|
|
775
785
|
|
|
776
786
|
message BotFeedbackMessage {
|
|
777
787
|
enum ReportKind {
|
|
778
|
-
|
|
788
|
+
NONE = 0;
|
|
789
|
+
GENERIC = 1;
|
|
779
790
|
}
|
|
780
791
|
|
|
781
792
|
enum BotFeedbackKindMultiplePositive {
|
|
@@ -808,6 +819,8 @@ message BotFeedbackMessage {
|
|
|
808
819
|
BOT_FEEDBACK_NEGATIVE_PERSONALIZED = 10;
|
|
809
820
|
BOT_FEEDBACK_NEGATIVE_CLARITY = 11;
|
|
810
821
|
BOT_FEEDBACK_NEGATIVE_DOESNT_LOOK_LIKE_THE_PERSON = 12;
|
|
822
|
+
BOT_FEEDBACK_NEGATIVE_HALLUCINATION_INTERNAL_ONLY = 13;
|
|
823
|
+
BOT_FEEDBACK_NEGATIVE = 14;
|
|
811
824
|
}
|
|
812
825
|
|
|
813
826
|
optional WACommon.MessageKey messageKey = 1;
|
|
@@ -819,6 +832,11 @@ message BotFeedbackMessage {
|
|
|
819
832
|
}
|
|
820
833
|
|
|
821
834
|
message VideoMessage {
|
|
835
|
+
enum VideoSourceType {
|
|
836
|
+
USER_VIDEO = 0;
|
|
837
|
+
AI_GENERATED = 1;
|
|
838
|
+
}
|
|
839
|
+
|
|
822
840
|
enum Attribution {
|
|
823
841
|
NONE = 0;
|
|
824
842
|
GIPHY = 1;
|
|
@@ -852,6 +870,9 @@ message VideoMessage {
|
|
|
852
870
|
optional string accessibilityLabel = 26;
|
|
853
871
|
repeated ProcessedVideo processedVideos = 27;
|
|
854
872
|
optional uint32 externalShareFullVideoDurationInSeconds = 28;
|
|
873
|
+
optional uint64 motionPhotoPresentationOffsetMS = 29;
|
|
874
|
+
optional string metadataURL = 30;
|
|
875
|
+
optional VideoSourceType videoSourceType = 31;
|
|
855
876
|
}
|
|
856
877
|
|
|
857
878
|
message ExtendedTextMessage {
|
|
@@ -912,6 +933,23 @@ message ExtendedTextMessage {
|
|
|
912
933
|
optional PaymentLinkMetadata paymentLinkMetadata = 35;
|
|
913
934
|
}
|
|
914
935
|
|
|
936
|
+
message LinkPreviewMetadata {
|
|
937
|
+
enum SocialMediaPostType {
|
|
938
|
+
NONE = 0;
|
|
939
|
+
REEL = 1;
|
|
940
|
+
LIVE_VIDEO = 2;
|
|
941
|
+
LONG_VIDEO = 3;
|
|
942
|
+
SINGLE_IMAGE = 4;
|
|
943
|
+
CAROUSEL = 5;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
optional PaymentLinkMetadata paymentLinkMetadata = 1;
|
|
947
|
+
optional URLMetadata urlMetadata = 2;
|
|
948
|
+
optional uint32 fbExperimentID = 3;
|
|
949
|
+
optional uint32 linkMediaDuration = 4;
|
|
950
|
+
optional SocialMediaPostType socialMediaPostType = 5;
|
|
951
|
+
}
|
|
952
|
+
|
|
915
953
|
message PaymentLinkMetadata {
|
|
916
954
|
message PaymentLinkHeader {
|
|
917
955
|
enum PaymentLinkHeaderType {
|
|
@@ -922,12 +960,17 @@ message PaymentLinkMetadata {
|
|
|
922
960
|
optional PaymentLinkHeaderType headerType = 1;
|
|
923
961
|
}
|
|
924
962
|
|
|
963
|
+
message PaymentLinkProvider {
|
|
964
|
+
optional string paramsJSON = 1;
|
|
965
|
+
}
|
|
966
|
+
|
|
925
967
|
message PaymentLinkButton {
|
|
926
968
|
optional string displayText = 1;
|
|
927
969
|
}
|
|
928
970
|
|
|
929
971
|
optional PaymentLinkButton button = 1;
|
|
930
972
|
optional PaymentLinkHeader header = 2;
|
|
973
|
+
optional PaymentLinkProvider provider = 3;
|
|
931
974
|
}
|
|
932
975
|
|
|
933
976
|
message StatusNotificationMessage {
|
|
@@ -1015,6 +1058,8 @@ message ContextInfo {
|
|
|
1015
1058
|
HD_VIDEO_CHILD = 2;
|
|
1016
1059
|
SD_IMAGE_PARENT = 3;
|
|
1017
1060
|
HD_IMAGE_CHILD = 4;
|
|
1061
|
+
MOTION_PHOTO_PARENT = 5;
|
|
1062
|
+
MOTION_PHOTO_CHILD = 6;
|
|
1018
1063
|
}
|
|
1019
1064
|
|
|
1020
1065
|
enum StatusAttributionType {
|
|
@@ -1172,6 +1217,7 @@ message ContextInfo {
|
|
|
1172
1217
|
optional MemberLabel memberLabel = 62;
|
|
1173
1218
|
optional bool isQuestion = 63;
|
|
1174
1219
|
optional StatusSourceType statusSourceType = 64;
|
|
1220
|
+
repeated WAStatusAttributions.StatusAttribution statusAttributions = 65;
|
|
1175
1221
|
}
|
|
1176
1222
|
|
|
1177
1223
|
message BotPluginMetadata {
|
|
@@ -1210,6 +1256,17 @@ message BotLinkedAccount {
|
|
|
1210
1256
|
optional BotLinkedAccountType type = 1;
|
|
1211
1257
|
}
|
|
1212
1258
|
|
|
1259
|
+
message BotSignatureVerificationUseCaseProof {
|
|
1260
|
+
enum BotSignatureUseCase {
|
|
1261
|
+
WA_BOT_MSG = 0;
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
optional int32 version = 1;
|
|
1265
|
+
optional BotSignatureUseCase useCase = 2;
|
|
1266
|
+
optional bytes signature = 3;
|
|
1267
|
+
optional bytes certificateChain = 4;
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1213
1270
|
message AIRichResponseMessage {
|
|
1214
1271
|
enum AIRichResponseSubMessageType {
|
|
1215
1272
|
AI_RICH_RESPONSE_UNKNOWN = 0;
|
|
@@ -1355,6 +1412,7 @@ message AIRichResponseMessage {
|
|
|
1355
1412
|
}
|
|
1356
1413
|
|
|
1357
1414
|
repeated AIRichResponseTableRow rows = 1;
|
|
1415
|
+
optional string title = 2;
|
|
1358
1416
|
}
|
|
1359
1417
|
|
|
1360
1418
|
message AIRichResponseGridImageMetadata {
|
|
@@ -1371,6 +1429,7 @@ message AIRichResponseMessage {
|
|
|
1371
1429
|
optional AIRichResponseMessageType messageType = 1;
|
|
1372
1430
|
repeated AIRichResponseSubMessage submessages = 2;
|
|
1373
1431
|
optional AIRichResponseUnifiedResponse unifiedResponse = 3;
|
|
1432
|
+
optional ContextInfo contextInfo = 4;
|
|
1374
1433
|
}
|
|
1375
1434
|
|
|
1376
1435
|
message BotPromotionMessageMetadata {
|
|
@@ -1532,6 +1591,8 @@ message BotCapabilityMetadata {
|
|
|
1532
1591
|
PROACTIVE_MESSAGE = 33;
|
|
1533
1592
|
RICH_RESPONSE_UNIFIED_RESPONSE = 34;
|
|
1534
1593
|
PROMOTION_MESSAGE = 35;
|
|
1594
|
+
SIMPLIFIED_PROFILE_PAGE = 36;
|
|
1595
|
+
RICH_RESPONSE_SOURCES_IN_MESSAGE = 37;
|
|
1535
1596
|
}
|
|
1536
1597
|
|
|
1537
1598
|
repeated BotCapabilityType capabilities = 1;
|
|
@@ -1588,6 +1649,7 @@ message BotSourcesMetadata {
|
|
|
1588
1649
|
optional string sourceQuery = 4;
|
|
1589
1650
|
optional string faviconCDNURL = 5;
|
|
1590
1651
|
optional uint32 citationNumber = 6;
|
|
1652
|
+
optional string sourceTitle = 7;
|
|
1591
1653
|
}
|
|
1592
1654
|
|
|
1593
1655
|
repeated BotSourceItem sources = 1;
|
|
@@ -1610,6 +1672,7 @@ message MessageAssociation {
|
|
|
1610
1672
|
MOTION_PHOTO = 12;
|
|
1611
1673
|
STATUS_LINK_ACTION = 13;
|
|
1612
1674
|
VIEW_ALL_REPLIES = 14;
|
|
1675
|
+
STATUS_ADD_YOURS_AI_IMAGINE = 15;
|
|
1613
1676
|
}
|
|
1614
1677
|
|
|
1615
1678
|
optional AssociationType associationType = 1;
|
|
@@ -1617,6 +1680,16 @@ message MessageAssociation {
|
|
|
1617
1680
|
optional int32 messageIndex = 3;
|
|
1618
1681
|
}
|
|
1619
1682
|
|
|
1683
|
+
message ThreadID {
|
|
1684
|
+
enum ThreadType {
|
|
1685
|
+
UNKNOWN = 0;
|
|
1686
|
+
VIEW_REPLIES = 1;
|
|
1687
|
+
}
|
|
1688
|
+
|
|
1689
|
+
optional ThreadType threadType = 1;
|
|
1690
|
+
optional WACommon.MessageKey threadKey = 2;
|
|
1691
|
+
}
|
|
1692
|
+
|
|
1620
1693
|
message MessageContextInfo {
|
|
1621
1694
|
enum MessageAddonExpiryType {
|
|
1622
1695
|
STATIC = 1;
|
|
@@ -1637,6 +1710,7 @@ message MessageContextInfo {
|
|
|
1637
1710
|
optional string supportPayload = 12;
|
|
1638
1711
|
optional WACommon.LimitSharing limitSharing = 13;
|
|
1639
1712
|
optional WACommon.LimitSharing limitSharingV2 = 14;
|
|
1713
|
+
repeated ThreadID threadID = 15;
|
|
1640
1714
|
}
|
|
1641
1715
|
|
|
1642
1716
|
message InteractiveAnnotation {
|
|
@@ -1846,6 +1920,8 @@ message Message {
|
|
|
1846
1920
|
optional FutureProofMessage botTaskMessage = 100;
|
|
1847
1921
|
optional FutureProofMessage questionMessage = 101;
|
|
1848
1922
|
optional MessageHistoryNotice messageHistoryNotice = 102;
|
|
1923
|
+
optional FutureProofMessage groupStatusMessageV2 = 103;
|
|
1924
|
+
optional FutureProofMessage botForwardedMessage = 104;
|
|
1849
1925
|
}
|
|
1850
1926
|
|
|
1851
1927
|
message AlbumMessage {
|
|
@@ -2227,6 +2303,7 @@ message Call {
|
|
|
2227
2303
|
optional string ctwaSignals = 5;
|
|
2228
2304
|
optional bytes ctwaPayload = 6;
|
|
2229
2305
|
optional ContextInfo contextInfo = 7;
|
|
2306
|
+
optional string nativeFlowCallButtonPayload = 8;
|
|
2230
2307
|
}
|
|
2231
2308
|
|
|
2232
2309
|
message AudioMessage {
|
|
@@ -2272,12 +2349,6 @@ message DocumentMessage {
|
|
|
2272
2349
|
optional string accessibilityLabel = 21;
|
|
2273
2350
|
}
|
|
2274
2351
|
|
|
2275
|
-
message LinkPreviewMetadata {
|
|
2276
|
-
optional PaymentLinkMetadata paymentLinkMetadata = 1;
|
|
2277
|
-
optional URLMetadata urlMetadata = 2;
|
|
2278
|
-
optional uint32 fbExperimentID = 3;
|
|
2279
|
-
}
|
|
2280
|
-
|
|
2281
2352
|
message URLMetadata {
|
|
2282
2353
|
optional uint32 fbExperimentID = 1;
|
|
2283
2354
|
}
|
|
@@ -2359,6 +2430,10 @@ message BotMemoryFact {
|
|
|
2359
2430
|
optional string factID = 2;
|
|
2360
2431
|
}
|
|
2361
2432
|
|
|
2433
|
+
message BotSignatureVerificationMetadata {
|
|
2434
|
+
repeated BotSignatureVerificationUseCaseProof proofs = 1;
|
|
2435
|
+
}
|
|
2436
|
+
|
|
2362
2437
|
message BotRenderingMetadata {
|
|
2363
2438
|
message Keyword {
|
|
2364
2439
|
optional string value = 1;
|
|
@@ -2413,6 +2488,9 @@ message BotMetadata {
|
|
|
2413
2488
|
optional BotModeSelectionMetadata botModeSelectionMetadata = 22;
|
|
2414
2489
|
optional BotQuotaMetadata botQuotaMetadata = 23;
|
|
2415
2490
|
optional BotAgeCollectionMetadata botAgeCollectionMetadata = 24;
|
|
2491
|
+
optional string conversationStarterPromptID = 25;
|
|
2492
|
+
optional string botResponseID = 26;
|
|
2493
|
+
optional BotSignatureVerificationMetadata verificationMetadata = 27;
|
|
2416
2494
|
}
|
|
2417
2495
|
|
|
2418
2496
|
message DeviceListMetadata {
|
|
@@ -0,0 +1,198 @@
|
|
|
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: waLidMigrationSyncPayload/WAWebProtobufLidMigrationSyncPayload.proto
|
|
6
|
+
|
|
7
|
+
package waLidMigrationSyncPayload
|
|
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 LIDMigrationMapping struct {
|
|
26
|
+
state protoimpl.MessageState `protogen:"open.v1"`
|
|
27
|
+
Pn *uint64 `protobuf:"varint,1,req,name=pn" json:"pn,omitempty"`
|
|
28
|
+
AssignedLid *uint64 `protobuf:"varint,2,req,name=assignedLid" json:"assignedLid,omitempty"`
|
|
29
|
+
LatestLid *uint64 `protobuf:"varint,3,opt,name=latestLid" json:"latestLid,omitempty"`
|
|
30
|
+
unknownFields protoimpl.UnknownFields
|
|
31
|
+
sizeCache protoimpl.SizeCache
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
func (x *LIDMigrationMapping) Reset() {
|
|
35
|
+
*x = LIDMigrationMapping{}
|
|
36
|
+
mi := &file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_msgTypes[0]
|
|
37
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
38
|
+
ms.StoreMessageInfo(mi)
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
func (x *LIDMigrationMapping) String() string {
|
|
42
|
+
return protoimpl.X.MessageStringOf(x)
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
func (*LIDMigrationMapping) ProtoMessage() {}
|
|
46
|
+
|
|
47
|
+
func (x *LIDMigrationMapping) ProtoReflect() protoreflect.Message {
|
|
48
|
+
mi := &file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_msgTypes[0]
|
|
49
|
+
if x != nil {
|
|
50
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
51
|
+
if ms.LoadMessageInfo() == nil {
|
|
52
|
+
ms.StoreMessageInfo(mi)
|
|
53
|
+
}
|
|
54
|
+
return ms
|
|
55
|
+
}
|
|
56
|
+
return mi.MessageOf(x)
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
// Deprecated: Use LIDMigrationMapping.ProtoReflect.Descriptor instead.
|
|
60
|
+
func (*LIDMigrationMapping) Descriptor() ([]byte, []int) {
|
|
61
|
+
return file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_rawDescGZIP(), []int{0}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
func (x *LIDMigrationMapping) GetPn() uint64 {
|
|
65
|
+
if x != nil && x.Pn != nil {
|
|
66
|
+
return *x.Pn
|
|
67
|
+
}
|
|
68
|
+
return 0
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
func (x *LIDMigrationMapping) GetAssignedLid() uint64 {
|
|
72
|
+
if x != nil && x.AssignedLid != nil {
|
|
73
|
+
return *x.AssignedLid
|
|
74
|
+
}
|
|
75
|
+
return 0
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
func (x *LIDMigrationMapping) GetLatestLid() uint64 {
|
|
79
|
+
if x != nil && x.LatestLid != nil {
|
|
80
|
+
return *x.LatestLid
|
|
81
|
+
}
|
|
82
|
+
return 0
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
type LIDMigrationMappingSyncPayload struct {
|
|
86
|
+
state protoimpl.MessageState `protogen:"open.v1"`
|
|
87
|
+
PnToLidMappings []*LIDMigrationMapping `protobuf:"bytes,1,rep,name=pnToLidMappings" json:"pnToLidMappings,omitempty"`
|
|
88
|
+
ChatDbMigrationTimestamp *uint64 `protobuf:"varint,2,opt,name=chatDbMigrationTimestamp" json:"chatDbMigrationTimestamp,omitempty"`
|
|
89
|
+
unknownFields protoimpl.UnknownFields
|
|
90
|
+
sizeCache protoimpl.SizeCache
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
func (x *LIDMigrationMappingSyncPayload) Reset() {
|
|
94
|
+
*x = LIDMigrationMappingSyncPayload{}
|
|
95
|
+
mi := &file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_msgTypes[1]
|
|
96
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
97
|
+
ms.StoreMessageInfo(mi)
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
func (x *LIDMigrationMappingSyncPayload) String() string {
|
|
101
|
+
return protoimpl.X.MessageStringOf(x)
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
func (*LIDMigrationMappingSyncPayload) ProtoMessage() {}
|
|
105
|
+
|
|
106
|
+
func (x *LIDMigrationMappingSyncPayload) ProtoReflect() protoreflect.Message {
|
|
107
|
+
mi := &file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_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 LIDMigrationMappingSyncPayload.ProtoReflect.Descriptor instead.
|
|
119
|
+
func (*LIDMigrationMappingSyncPayload) Descriptor() ([]byte, []int) {
|
|
120
|
+
return file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_rawDescGZIP(), []int{1}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
func (x *LIDMigrationMappingSyncPayload) GetPnToLidMappings() []*LIDMigrationMapping {
|
|
124
|
+
if x != nil {
|
|
125
|
+
return x.PnToLidMappings
|
|
126
|
+
}
|
|
127
|
+
return nil
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
func (x *LIDMigrationMappingSyncPayload) GetChatDbMigrationTimestamp() uint64 {
|
|
131
|
+
if x != nil && x.ChatDbMigrationTimestamp != nil {
|
|
132
|
+
return *x.ChatDbMigrationTimestamp
|
|
133
|
+
}
|
|
134
|
+
return 0
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
var File_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto protoreflect.FileDescriptor
|
|
138
|
+
|
|
139
|
+
const file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_rawDesc = "" +
|
|
140
|
+
"\n" +
|
|
141
|
+
"DwaLidMigrationSyncPayload/WAWebProtobufLidMigrationSyncPayload.proto\x12$WAWebProtobufLidMigrationSyncPayload\"e\n" +
|
|
142
|
+
"\x13LIDMigrationMapping\x12\x0e\n" +
|
|
143
|
+
"\x02pn\x18\x01 \x02(\x04R\x02pn\x12 \n" +
|
|
144
|
+
"\vassignedLid\x18\x02 \x02(\x04R\vassignedLid\x12\x1c\n" +
|
|
145
|
+
"\tlatestLid\x18\x03 \x01(\x04R\tlatestLid\"\xc1\x01\n" +
|
|
146
|
+
"\x1eLIDMigrationMappingSyncPayload\x12c\n" +
|
|
147
|
+
"\x0fpnToLidMappings\x18\x01 \x03(\v29.WAWebProtobufLidMigrationSyncPayload.LIDMigrationMappingR\x0fpnToLidMappings\x12:\n" +
|
|
148
|
+
"\x18chatDbMigrationTimestamp\x18\x02 \x01(\x04R\x18chatDbMigrationTimestampB5Z3go.mau.fi/whatsmeow/proto/waLidMigrationSyncPayload"
|
|
149
|
+
|
|
150
|
+
var (
|
|
151
|
+
file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_rawDescOnce sync.Once
|
|
152
|
+
file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_rawDescData []byte
|
|
153
|
+
)
|
|
154
|
+
|
|
155
|
+
func file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_rawDescGZIP() []byte {
|
|
156
|
+
file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_rawDescOnce.Do(func() {
|
|
157
|
+
file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_rawDesc), len(file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_rawDesc)))
|
|
158
|
+
})
|
|
159
|
+
return file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_rawDescData
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
var file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
|
163
|
+
var file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_goTypes = []any{
|
|
164
|
+
(*LIDMigrationMapping)(nil), // 0: WAWebProtobufLidMigrationSyncPayload.LIDMigrationMapping
|
|
165
|
+
(*LIDMigrationMappingSyncPayload)(nil), // 1: WAWebProtobufLidMigrationSyncPayload.LIDMigrationMappingSyncPayload
|
|
166
|
+
}
|
|
167
|
+
var file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_depIdxs = []int32{
|
|
168
|
+
0, // 0: WAWebProtobufLidMigrationSyncPayload.LIDMigrationMappingSyncPayload.pnToLidMappings:type_name -> WAWebProtobufLidMigrationSyncPayload.LIDMigrationMapping
|
|
169
|
+
1, // [1:1] is the sub-list for method output_type
|
|
170
|
+
1, // [1:1] is the sub-list for method input_type
|
|
171
|
+
1, // [1:1] is the sub-list for extension type_name
|
|
172
|
+
1, // [1:1] is the sub-list for extension extendee
|
|
173
|
+
0, // [0:1] is the sub-list for field type_name
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
func init() { file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_init() }
|
|
177
|
+
func file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_init() {
|
|
178
|
+
if File_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto != nil {
|
|
179
|
+
return
|
|
180
|
+
}
|
|
181
|
+
type x struct{}
|
|
182
|
+
out := protoimpl.TypeBuilder{
|
|
183
|
+
File: protoimpl.DescBuilder{
|
|
184
|
+
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
185
|
+
RawDescriptor: unsafe.Slice(unsafe.StringData(file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_rawDesc), len(file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_rawDesc)),
|
|
186
|
+
NumEnums: 0,
|
|
187
|
+
NumMessages: 2,
|
|
188
|
+
NumExtensions: 0,
|
|
189
|
+
NumServices: 0,
|
|
190
|
+
},
|
|
191
|
+
GoTypes: file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_goTypes,
|
|
192
|
+
DependencyIndexes: file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_depIdxs,
|
|
193
|
+
MessageInfos: file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_msgTypes,
|
|
194
|
+
}.Build()
|
|
195
|
+
File_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto = out.File
|
|
196
|
+
file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_goTypes = nil
|
|
197
|
+
file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_depIdxs = nil
|
|
198
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
syntax = "proto2";
|
|
2
|
+
package WAWebProtobufLidMigrationSyncPayload;
|
|
3
|
+
option go_package = "go.mau.fi/whatsmeow/proto/waLidMigrationSyncPayload";
|
|
4
|
+
|
|
5
|
+
message LIDMigrationMapping {
|
|
6
|
+
required uint64 pn = 1;
|
|
7
|
+
required uint64 assignedLid = 2;
|
|
8
|
+
optional uint64 latestLid = 3;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
message LIDMigrationMappingSyncPayload {
|
|
12
|
+
repeated LIDMigrationMapping pnToLidMappings = 1;
|
|
13
|
+
optional uint64 chatDbMigrationTimestamp = 2;
|
|
14
|
+
}
|
|
@@ -2,18 +2,19 @@ package waMsgTransport
|
|
|
2
2
|
|
|
3
3
|
import (
|
|
4
4
|
"go.mau.fi/whatsmeow/proto/armadilloutil"
|
|
5
|
+
"go.mau.fi/whatsmeow/proto/instamadilloTransportPayload"
|
|
5
6
|
"go.mau.fi/whatsmeow/proto/waMsgApplication"
|
|
6
7
|
)
|
|
7
8
|
|
|
8
9
|
const (
|
|
9
|
-
|
|
10
|
+
FBMessageApplicationVersion = 2
|
|
11
|
+
IGMessageApplicationVersion = 3
|
|
10
12
|
)
|
|
11
13
|
|
|
12
|
-
func (msg *MessageTransport_Payload)
|
|
13
|
-
return armadilloutil.Unmarshal(&waMsgApplication.MessageApplication{}, msg.GetApplicationPayload(),
|
|
14
|
+
func (msg *MessageTransport_Payload) DecodeFB() (*waMsgApplication.MessageApplication, error) {
|
|
15
|
+
return armadilloutil.Unmarshal(&waMsgApplication.MessageApplication{}, msg.GetApplicationPayload(), FBMessageApplicationVersion)
|
|
14
16
|
}
|
|
15
17
|
|
|
16
|
-
func (msg *MessageTransport_Payload)
|
|
17
|
-
|
|
18
|
-
return
|
|
18
|
+
func (msg *MessageTransport_Payload) DecodeIG() (*instamadilloTransportPayload.TransportPayload, error) {
|
|
19
|
+
return armadilloutil.Unmarshal(&instamadilloTransportPayload.TransportPayload{}, msg.GetApplicationPayload(), IGMessageApplicationVersion)
|
|
19
20
|
}
|