@badzz88/baileys 8.5.7 → 8.5.8
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.
- package/README.md +337 -1055
- package/WAProto/WAProto.proto +284 -264
- package/WAProto/index.js +5 -5
- package/engine-requirements.js +7 -15
- package/lib/Defaults/index.js +130 -187
- package/lib/Signal/Group/ciphertext-message.js +11 -14
- package/lib/Signal/Group/group-session-builder.js +29 -91
- package/lib/Signal/Group/group_cipher.js +81 -88
- package/lib/Signal/Group/index.js +12 -136
- package/lib/Signal/Group/keyhelper.js +15 -70
- package/lib/Signal/Group/sender-chain-key.js +25 -31
- package/lib/Signal/Group/sender-key-distribution-message.js +62 -65
- package/lib/Signal/Group/sender-key-message.js +65 -68
- package/lib/Signal/Group/sender-key-name.js +41 -43
- package/lib/Signal/Group/sender-key-record.js +40 -43
- package/lib/Signal/Group/sender-key-state.js +83 -96
- package/lib/Signal/Group/sender-message-key.js +25 -29
- package/lib/Signal/libsignal.js +425 -453
- package/lib/Signal/lid-mapping.js +276 -259
- package/lib/Socket/Client/index.js +3 -30
- package/lib/Socket/Client/types.js +10 -12
- package/lib/Socket/Client/websocket.js +53 -61
- package/lib/Socket/business.js +379 -422
- package/lib/Socket/chats.js +1193 -1816
- package/lib/Socket/communities.js +431 -549
- package/lib/Socket/graphql.js +672 -612
- package/lib/Socket/groups.js +374 -764
- package/lib/Socket/index.js +17 -38
- package/lib/Socket/interop.js +417 -503
- package/lib/Socket/messages-recv.js +1915 -2441
- package/lib/Socket/messages-send.js +1213 -1630
- package/lib/Socket/mex.js +9 -15
- package/lib/Socket/newsletter.js +747 -808
- package/lib/Socket/privacy.js +310 -441
- package/lib/Socket/socket.js +1025 -1022
- package/lib/Socket/username.js +8 -15
- package/lib/Store/index.js +10 -36
- package/lib/Store/make-cache-manager-store.js +80 -85
- package/lib/Store/make-in-memory-store.js +231 -591
- package/lib/Store/make-ordered-dictionary.js +72 -78
- package/lib/Store/object-repository.js +28 -25
- package/lib/Types/Auth.js +2 -38
- package/lib/Types/Bussines.js +2 -2
- package/lib/Types/Call.js +2 -2
- package/lib/Types/Chat.js +8 -4
- package/lib/Types/Contact.js +2 -2
- package/lib/Types/Events.js +2 -2
- package/lib/Types/GroupMetadata.js +2 -2
- package/lib/Types/Label.js +24 -26
- package/lib/Types/LabelAssociation.js +6 -8
- package/lib/Types/Message.js +11 -95
- package/lib/Types/Mex.js +111 -112
- package/lib/Types/Product.js +2 -2
- package/lib/Types/Signal.js +2 -2
- package/lib/Types/Socket.js +3 -2
- package/lib/Types/State.js +56 -70
- package/lib/Types/USync.js +2 -2
- package/lib/Types/index.js +26 -55
- package/lib/Utils/auth-utils.js +288 -292
- package/lib/Utils/browser-utils.js +47 -113
- package/lib/Utils/business.js +224 -240
- package/lib/Utils/chat-utils.js +869 -1205
- package/lib/Utils/companion-reg-client-utils.js +34 -41
- package/lib/Utils/crypto.js +107 -144
- package/lib/Utils/decode-wa-message.js +308 -518
- package/lib/Utils/event-buffer.js +611 -596
- package/lib/Utils/generics.js +355 -515
- package/lib/Utils/history.js +134 -244
- package/lib/Utils/identity-change-handler.js +49 -51
- package/lib/Utils/index.js +23 -57
- package/lib/Utils/link-preview.js +77 -135
- package/lib/Utils/logger.js +3 -9
- package/lib/Utils/lt-hash.js +6 -37
- package/lib/Utils/make-mutex.js +33 -36
- package/lib/Utils/message-composer.js +233 -439
- package/lib/Utils/message-retry-manager.js +260 -265
- package/lib/Utils/messages-media.js +829 -855
- package/lib/Utils/messages.js +961 -2528
- package/lib/Utils/noise-handler.js +200 -195
- package/lib/Utils/offline-node-processor.js +33 -35
- package/lib/Utils/pre-key-manager.js +102 -103
- package/lib/Utils/process-message.js +560 -978
- package/lib/Utils/reporting-utils.js +253 -257
- package/lib/Utils/signal.js +195 -218
- package/lib/Utils/stanza-ack.js +29 -31
- package/lib/Utils/sticker.js +109 -144
- package/lib/Utils/sync-action-utils.js +45 -50
- package/lib/Utils/tc-token-utils.js +139 -137
- package/lib/Utils/use-multi-file-auth-state.js +109 -109
- package/lib/Utils/validate-connection.js +202 -218
- package/lib/WABinary/constants.js +1299 -1302
- package/lib/WABinary/decode.js +262 -343
- package/lib/WABinary/encode.js +4 -12
- package/lib/WABinary/generic-utils.js +187 -223
- package/lib/WABinary/index.js +6 -33
- package/lib/WABinary/jid-utils.js +88 -351
- package/lib/WABinary/types.js +2 -2
- package/lib/WAM/BinaryInfo.js +9 -12
- package/lib/WAM/constants.js +22853 -39486
- package/lib/WAM/encode.js +140 -132
- package/lib/WAM/index.js +4 -31
- package/lib/WAUSync/Protocols/USyncBotProfileProtocol.js +21 -23
- package/lib/WAUSync/Protocols/USyncBusinessProtocol.js +9 -9
- package/lib/WAUSync/Protocols/USyncContactProtocol.js +7 -7
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.js +10 -10
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js +7 -7
- package/lib/WAUSync/Protocols/USyncFeatureProtocol.js +11 -12
- package/lib/WAUSync/Protocols/USyncLIDProtocol.js +4 -5
- package/lib/WAUSync/Protocols/USyncPictureProtocol.js +7 -7
- package/lib/WAUSync/Protocols/USyncSidelistProtocol.js +7 -8
- package/lib/WAUSync/Protocols/USyncStatusProtocol.js +7 -7
- package/lib/WAUSync/Protocols/USyncTextStatusProtocol.js +8 -8
- package/lib/WAUSync/Protocols/USyncUsernameProtocol.js +7 -7
- package/lib/WAUSync/Protocols/index.js +12 -39
- package/lib/WAUSync/USyncQuery.js +67 -49
- package/lib/WAUSync/USyncUser.js +11 -5
- package/lib/WAUSync/index.js +3 -31
- package/lib/index.js +15 -48
- package/package.json +129 -99
- package/LICENSE +0 -21
- package/lib/Defaults/phonenumber-mcc.json +0 -223
- package/lib/Socket/aigroups.js +0 -240
- package/lib/Socket/interactive-handler.js +0 -522
- package/lib/Socket/managed-account.js +0 -183
- package/lib/Socket/registration.js +0 -427
- package/lib/Socket/text-router.js +0 -83
- package/lib/Types/Newsletter.js +0 -121
- package/lib/Utils/command-loader.d.ts +0 -31
- package/lib/Utils/command-loader.js +0 -100
- package/lib/Utils/consumer-application.js +0 -107
- package/lib/Utils/curve25519-js.js +0 -275
- package/lib/Utils/group-history.js +0 -60
- package/lib/Utils/jid-display-normalization.js +0 -218
- package/lib/Utils/meta-ai-msmsg.js +0 -262
- package/lib/Utils/native-bridge.js +0 -82
- package/lib/Utils/session-pool.d.ts +0 -16
- package/lib/Utils/session-pool.js +0 -94
- package/lib/Utils/sticker.d.ts +0 -17
- package/lib/Utils/view-once-cache.d.ts +0 -9
- package/lib/Utils/view-once-cache.js +0 -79
- package/lib/Utils/voip-rekey.js +0 -22
- package/lib/antiban.js +0 -4637
package/WAProto/WAProto.proto
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
syntax = "proto3";
|
|
2
|
-
package
|
|
2
|
+
package waproto;
|
|
3
3
|
|
|
4
|
-
/// WhatsApp Version: 2.3000.
|
|
4
|
+
/// WhatsApp Version: 2.3000.1046248368
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -83,6 +83,16 @@ message AIMetadataOperation {
|
|
|
83
83
|
optional HatchMetadataSync hatchMetadataSync = 1;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
+
message AIProvenance {
|
|
87
|
+
optional Metadata c2PaMetadata = 1;
|
|
88
|
+
optional Metadata iptcMetadata = 2;
|
|
89
|
+
message Metadata {
|
|
90
|
+
optional bool createdWithGenAi = 1;
|
|
91
|
+
optional bool editedWithGenAi = 2;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
}
|
|
95
|
+
|
|
86
96
|
message AIQueryFanout {
|
|
87
97
|
optional MessageKey messageKey = 1;
|
|
88
98
|
optional Message message = 2;
|
|
@@ -116,7 +126,7 @@ message AIRichResponseContentItemsMetadata {
|
|
|
116
126
|
repeated AIRichResponseContentItemMetadata itemsMetadata = 1;
|
|
117
127
|
optional ContentType contentType = 2;
|
|
118
128
|
message AIRichResponseContentItemMetadata {
|
|
119
|
-
oneof
|
|
129
|
+
oneof aiRichResponseContentItem {
|
|
120
130
|
AIRichResponseContentItemsMetadata.AIRichResponseReelItem reelItem = 1;
|
|
121
131
|
}
|
|
122
132
|
}
|
|
@@ -208,6 +218,7 @@ message AIRichResponseMessage {
|
|
|
208
218
|
repeated AIRichResponseSubMessage submessages = 2;
|
|
209
219
|
optional AIRichResponseUnifiedResponse unifiedResponse = 3;
|
|
210
220
|
optional ContextInfo contextInfo = 4;
|
|
221
|
+
optional AIRichResponseUnifiedResponse originalRecipientMetadata = 5;
|
|
211
222
|
}
|
|
212
223
|
|
|
213
224
|
enum AIRichResponseMessageType {
|
|
@@ -370,6 +381,7 @@ message BotAgeCollectionMetadata {
|
|
|
370
381
|
|
|
371
382
|
message BotAgentDeepLinkMetadata {
|
|
372
383
|
optional string token = 1;
|
|
384
|
+
optional bytes clientPublicKey = 2;
|
|
373
385
|
}
|
|
374
386
|
|
|
375
387
|
message BotAgentMetadata {
|
|
@@ -445,6 +457,11 @@ message BotCapabilityMetadata {
|
|
|
445
457
|
UNIFIED_RESPONSE_MARKDOWN_LINKS_ENABLED = 63;
|
|
446
458
|
AI_RICH_RESPONSE_MAPS_V2_ENABLED = 64;
|
|
447
459
|
AI_SUBSCRIPTION_METERING_ENABLED = 65;
|
|
460
|
+
RICH_RESPONSE_SPORTS_WIDGET_ENABLED = 66;
|
|
461
|
+
AI_RICH_RESPONSE_ARTIFACTS_ENABLED = 67;
|
|
462
|
+
AI_RICH_RESPONSE_EMAIL_CALENDAR_ENABLED = 68;
|
|
463
|
+
AI_RICH_RESPONSE_REMINDERS_ENABLED = 69;
|
|
464
|
+
AI_STOP_GENERATION_ENABLED = 70;
|
|
448
465
|
}
|
|
449
466
|
}
|
|
450
467
|
|
|
@@ -566,6 +583,10 @@ message BotGroupParticipantMetadata {
|
|
|
566
583
|
optional string botFbid = 1;
|
|
567
584
|
}
|
|
568
585
|
|
|
586
|
+
message BotHistoryShareMetadata {
|
|
587
|
+
repeated BotGroupParticipantMetadata participantsMetadata = 1;
|
|
588
|
+
}
|
|
589
|
+
|
|
569
590
|
message BotImagineMetadata {
|
|
570
591
|
optional ImagineType imagineType = 1;
|
|
571
592
|
optional string shortPrompt = 2;
|
|
@@ -689,6 +710,8 @@ message BotMetadata {
|
|
|
689
710
|
optional BotResolvedToolCallMetadata resolvedToolCallMetadata = 40;
|
|
690
711
|
optional AISubscriptionUpsellMetadata subscriptionUpsellMetadata = 41;
|
|
691
712
|
optional BotPttPromptMetadata pttPromptMetadata = 42;
|
|
713
|
+
optional BotHistoryShareMetadata botHistoryShareMetadata = 43;
|
|
714
|
+
optional bool responseStoppedByUser = 44;
|
|
692
715
|
optional bytes internalMetadata = 999;
|
|
693
716
|
}
|
|
694
717
|
|
|
@@ -741,6 +764,8 @@ enum BotMetricsEntryPoint {
|
|
|
741
764
|
GROUP_MEMBER = 54;
|
|
742
765
|
CHATLIST_SEARCH = 55;
|
|
743
766
|
NEW_CHAT_LIST = 56;
|
|
767
|
+
CONTACTS_TAB = 57;
|
|
768
|
+
NEW_3P_AGENT_CREATION = 58;
|
|
744
769
|
}
|
|
745
770
|
message BotMetricsMetadata {
|
|
746
771
|
optional string destinationId = 1;
|
|
@@ -960,12 +985,20 @@ message BotSignatureVerificationUseCaseProof {
|
|
|
960
985
|
optional BotSignatureUseCase useCase = 2;
|
|
961
986
|
optional bytes signature = 3;
|
|
962
987
|
repeated bytes certificateChain = 4;
|
|
988
|
+
repeated CertificateSKI certificateChainSki = 5;
|
|
963
989
|
enum BotSignatureUseCase {
|
|
964
990
|
UNSPECIFIED = 0;
|
|
965
991
|
WA_BOT_MSG = 1;
|
|
966
992
|
WA_TEE_BOT_MSG = 2;
|
|
967
993
|
P2P_PILLS = 3;
|
|
994
|
+
WA_WAFFLE = 4;
|
|
995
|
+
WA_FEATURE_PKI = 5;
|
|
968
996
|
}
|
|
997
|
+
message CertificateSKI {
|
|
998
|
+
optional BotSignatureVerificationUseCaseProof.BotSignatureUseCase useCase = 1;
|
|
999
|
+
optional bytes ski = 2;
|
|
1000
|
+
}
|
|
1001
|
+
|
|
969
1002
|
}
|
|
970
1003
|
|
|
971
1004
|
message BotSourcesMetadata {
|
|
@@ -1145,10 +1178,10 @@ message ChatRowOpaqueData {
|
|
|
1145
1178
|
}
|
|
1146
1179
|
|
|
1147
1180
|
message Citation {
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1181
|
+
required string title = 1;
|
|
1182
|
+
required string subtitle = 2;
|
|
1183
|
+
required string cmsId = 3;
|
|
1184
|
+
required string imageUrl = 4;
|
|
1152
1185
|
}
|
|
1153
1186
|
|
|
1154
1187
|
message ClientPairingProps {
|
|
@@ -1352,6 +1385,7 @@ message ClientPayload {
|
|
|
1352
1385
|
SMART_GLASSES = 35;
|
|
1353
1386
|
BLUE_VR = 36;
|
|
1354
1387
|
AR_WRIST = 37;
|
|
1388
|
+
WAIL = 38;
|
|
1355
1389
|
}
|
|
1356
1390
|
enum ReleaseChannel {
|
|
1357
1391
|
RELEASE = 0;
|
|
@@ -1394,6 +1428,22 @@ message ClientPayload {
|
|
|
1394
1428
|
|
|
1395
1429
|
}
|
|
1396
1430
|
|
|
1431
|
+
message CoexStateSync {
|
|
1432
|
+
repeated CollectionMutations collectionMutations = 1;
|
|
1433
|
+
message CollectionMutations {
|
|
1434
|
+
optional string collection = 1;
|
|
1435
|
+
repeated CoexStateSync.Mutation mutations = 2;
|
|
1436
|
+
}
|
|
1437
|
+
|
|
1438
|
+
message Mutation {
|
|
1439
|
+
optional SyncdIndex index = 1;
|
|
1440
|
+
optional SyncdValue value = 2;
|
|
1441
|
+
optional uint64 dirtyVersion = 3;
|
|
1442
|
+
optional SyncdMutation.SyncdOperation operation = 4;
|
|
1443
|
+
}
|
|
1444
|
+
|
|
1445
|
+
}
|
|
1446
|
+
|
|
1397
1447
|
enum CollectionName {
|
|
1398
1448
|
COLLECTION_NAME_UNKNOWN = 0;
|
|
1399
1449
|
REGULAR = 1;
|
|
@@ -1705,6 +1755,9 @@ message ContextInfo {
|
|
|
1705
1755
|
optional CrossAppSource crossAppSource = 77;
|
|
1706
1756
|
optional BusinessInteractionPills businessInteractionPills = 78;
|
|
1707
1757
|
optional string posterStatusId = 79;
|
|
1758
|
+
optional InstagramThreadLink instagramThreadLink = 80;
|
|
1759
|
+
optional AIProvenance aiProvenance = 81;
|
|
1760
|
+
repeated uint32 experienceIds = 82 [packed=true];
|
|
1708
1761
|
message AdReplyInfo {
|
|
1709
1762
|
optional string advertiserName = 1;
|
|
1710
1763
|
optional MediaType mediaType = 2;
|
|
@@ -1723,6 +1776,7 @@ message ContextInfo {
|
|
|
1723
1776
|
optional EntryPoint entryPoint = 3;
|
|
1724
1777
|
optional bytes signedPayload = 4;
|
|
1725
1778
|
optional BotSignatureVerificationMetadata signatureEnvelope = 5;
|
|
1779
|
+
optional UnauthenticatedBusinessMetadata unauthenticatedBusinessMetadata = 6;
|
|
1726
1780
|
enum EntryPoint {
|
|
1727
1781
|
ENTRY_POINT_UNKNOWN = 0;
|
|
1728
1782
|
P2P_LINK_SHARE = 1;
|
|
@@ -1756,6 +1810,13 @@ message ContextInfo {
|
|
|
1756
1810
|
repeated ContextInfo.BusinessInteractionPills.Pill pills = 2;
|
|
1757
1811
|
}
|
|
1758
1812
|
|
|
1813
|
+
message UnauthenticatedBusinessMetadata {
|
|
1814
|
+
optional string businessName = 1;
|
|
1815
|
+
optional string businessCategory = 2;
|
|
1816
|
+
optional bool businessIsOpen = 3;
|
|
1817
|
+
optional int64 businessIsOpenSnapshotMs = 4;
|
|
1818
|
+
}
|
|
1819
|
+
|
|
1759
1820
|
}
|
|
1760
1821
|
|
|
1761
1822
|
message BusinessMessageForwardInfo {
|
|
@@ -1860,6 +1921,10 @@ message ContextInfo {
|
|
|
1860
1921
|
}
|
|
1861
1922
|
}
|
|
1862
1923
|
|
|
1924
|
+
message InstagramThreadLink {
|
|
1925
|
+
optional string url = 1;
|
|
1926
|
+
}
|
|
1927
|
+
|
|
1863
1928
|
enum PairedMediaType {
|
|
1864
1929
|
NOT_PAIRED_MEDIA = 0;
|
|
1865
1930
|
SD_VIDEO_PARENT = 1;
|
|
@@ -1918,7 +1983,7 @@ message ContextInfo {
|
|
|
1918
1983
|
}
|
|
1919
1984
|
|
|
1920
1985
|
message Conversation {
|
|
1921
|
-
|
|
1986
|
+
required string id = 1;
|
|
1922
1987
|
repeated HistorySyncMsg messages = 2;
|
|
1923
1988
|
optional string newJid = 3;
|
|
1924
1989
|
optional string oldJid = 4;
|
|
@@ -1980,6 +2045,7 @@ message Conversation {
|
|
|
1980
2045
|
optional uint64 appealUpdateTime = 60;
|
|
1981
2046
|
optional string authAgentParentCompanyName = 61;
|
|
1982
2047
|
optional string authAgentObaPhoneNumber = 62;
|
|
2048
|
+
optional IdentityVerificationState identityVerification = 63;
|
|
1983
2049
|
enum EndOfHistoryTransferType {
|
|
1984
2050
|
COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0;
|
|
1985
2051
|
COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1;
|
|
@@ -2001,6 +2067,13 @@ message DeviceCapabilities {
|
|
|
2001
2067
|
optional UserHasAvatar userHasAvatar = 4;
|
|
2002
2068
|
optional MemberNameTagPrimarySupport memberNameTagPrimarySupport = 5;
|
|
2003
2069
|
optional AiThread aiThread = 6;
|
|
2070
|
+
optional AiFbidMigration aiFbidMigration = 7;
|
|
2071
|
+
optional BizAiSettingsSync bizAiSettingsSync = 8;
|
|
2072
|
+
optional ContactRefresh contactRefresh = 9;
|
|
2073
|
+
message AiFbidMigration {
|
|
2074
|
+
optional uint64 chatDbMigrationTimestamp = 1;
|
|
2075
|
+
}
|
|
2076
|
+
|
|
2004
2077
|
message AiThread {
|
|
2005
2078
|
optional SupportLevel supportLevel = 1;
|
|
2006
2079
|
enum SupportLevel {
|
|
@@ -2010,12 +2083,17 @@ message DeviceCapabilities {
|
|
|
2010
2083
|
}
|
|
2011
2084
|
}
|
|
2012
2085
|
|
|
2086
|
+
message BizAiSettingsSync {
|
|
2087
|
+
optional bool handoffRemovalTimingEnabled = 1;
|
|
2088
|
+
}
|
|
2089
|
+
|
|
2013
2090
|
message BusinessBroadcast {
|
|
2014
2091
|
optional bool importListEnabled = 1;
|
|
2015
2092
|
optional bool companionSupportEnabled = 2;
|
|
2016
2093
|
optional bool campaignSyncEnabled = 3;
|
|
2017
2094
|
optional bool insightsSyncEnabled = 4;
|
|
2018
2095
|
optional int32 recipientLimit = 5;
|
|
2096
|
+
optional bool proCompanionSupportEnabled = 6;
|
|
2019
2097
|
}
|
|
2020
2098
|
|
|
2021
2099
|
enum ChatLockSupportLevel {
|
|
@@ -2023,6 +2101,10 @@ message DeviceCapabilities {
|
|
|
2023
2101
|
MINIMAL = 1;
|
|
2024
2102
|
FULL = 2;
|
|
2025
2103
|
}
|
|
2104
|
+
message ContactRefresh {
|
|
2105
|
+
optional bool refreshSupported = 1;
|
|
2106
|
+
}
|
|
2107
|
+
|
|
2026
2108
|
message LIDMigration {
|
|
2027
2109
|
optional uint64 chatDbMigrationTimestamp = 1;
|
|
2028
2110
|
}
|
|
@@ -2093,6 +2175,7 @@ message DeviceProps {
|
|
|
2093
2175
|
optional bool supportHatchHistory = 22;
|
|
2094
2176
|
repeated string supportedBotChannelFbids = 23;
|
|
2095
2177
|
optional bool supportInlineContacts = 24;
|
|
2178
|
+
optional bool supportNewsletter = 25;
|
|
2096
2179
|
}
|
|
2097
2180
|
|
|
2098
2181
|
enum PlatformType {
|
|
@@ -2121,6 +2204,7 @@ message DeviceProps {
|
|
|
2121
2204
|
VR = 22;
|
|
2122
2205
|
CLOUD_API = 23;
|
|
2123
2206
|
SMARTGLASSES = 24;
|
|
2207
|
+
WAIL = 25;
|
|
2124
2208
|
}
|
|
2125
2209
|
}
|
|
2126
2210
|
|
|
@@ -2298,7 +2382,7 @@ message GroupMention {
|
|
|
2298
2382
|
}
|
|
2299
2383
|
|
|
2300
2384
|
message GroupParticipant {
|
|
2301
|
-
|
|
2385
|
+
required string userJid = 1;
|
|
2302
2386
|
optional Rank rank = 2;
|
|
2303
2387
|
optional MemberLabel memberLabel = 3;
|
|
2304
2388
|
enum Rank {
|
|
@@ -2348,6 +2432,7 @@ message HandshakeMessage {
|
|
|
2348
2432
|
HANDSHAKE_PQ_MODE_UNKNOWN = 0;
|
|
2349
2433
|
XXKEM = 1;
|
|
2350
2434
|
XXKEM_FS = 2;
|
|
2435
|
+
XXKEM_EPH = 9;
|
|
2351
2436
|
WA_CLASSICAL = 3;
|
|
2352
2437
|
WA_PQ = 4;
|
|
2353
2438
|
IKKEM = 5;
|
|
@@ -2373,7 +2458,7 @@ message HatchMetadataSync {
|
|
|
2373
2458
|
}
|
|
2374
2459
|
|
|
2375
2460
|
message HistorySync {
|
|
2376
|
-
|
|
2461
|
+
required HistorySyncType syncType = 1;
|
|
2377
2462
|
repeated Conversation conversations = 2;
|
|
2378
2463
|
repeated WebMessageInfo statusV3Messages = 3;
|
|
2379
2464
|
optional uint32 chunkOrder = 5;
|
|
@@ -2453,6 +2538,11 @@ message IdentityKeyPairStructure {
|
|
|
2453
2538
|
optional bytes privateKey = 2;
|
|
2454
2539
|
}
|
|
2455
2540
|
|
|
2541
|
+
message IdentityVerificationState {
|
|
2542
|
+
optional bool verified = 1;
|
|
2543
|
+
optional uint64 actionSeq = 2;
|
|
2544
|
+
}
|
|
2545
|
+
|
|
2456
2546
|
message InThreadSurveyMetadata {
|
|
2457
2547
|
optional string tessaSessionId = 1;
|
|
2458
2548
|
optional string simonSessionId = 2;
|
|
@@ -2547,21 +2637,10 @@ message KeyId {
|
|
|
2547
2637
|
optional bytes id = 1;
|
|
2548
2638
|
}
|
|
2549
2639
|
|
|
2550
|
-
message LIDMigrationMapping {
|
|
2551
|
-
optional uint64 pn = 1;
|
|
2552
|
-
optional uint64 assignedLid = 2;
|
|
2553
|
-
optional uint64 latestLid = 3;
|
|
2554
|
-
}
|
|
2555
|
-
|
|
2556
2640
|
message LIDMigrationMappingSyncMessage {
|
|
2557
2641
|
optional bytes encodedMappingPayload = 1;
|
|
2558
2642
|
}
|
|
2559
2643
|
|
|
2560
|
-
message LIDMigrationMappingSyncPayload {
|
|
2561
|
-
repeated LIDMigrationMapping pnToLidMappings = 1;
|
|
2562
|
-
optional uint64 chatDbMigrationTimestamp = 2;
|
|
2563
|
-
}
|
|
2564
|
-
|
|
2565
2644
|
message LegacyMessage {
|
|
2566
2645
|
optional Message.EventResponseMessage eventResponseMessage = 1;
|
|
2567
2646
|
optional Message.PollVoteMessage pollVote = 2;
|
|
@@ -2776,7 +2855,6 @@ message Message {
|
|
|
2776
2855
|
optional NewsletterFollowerInviteMessage newsletterFollowerInviteMessageV2 = 113;
|
|
2777
2856
|
optional PollResultSnapshotMessage pollResultSnapshotMessageV3 = 115;
|
|
2778
2857
|
optional FutureProofMessage newsletterAdminProfileMessage = 116;
|
|
2779
|
-
optional FutureProofMessage newsletterAdminProfileMessageV2 = 117;
|
|
2780
2858
|
optional FutureProofMessage spoilerMessage = 118;
|
|
2781
2859
|
optional PollCreationMessage pollCreationMessageV6 = 119;
|
|
2782
2860
|
optional ConditionalRevealMessage conditionalRevealMessage = 120;
|
|
@@ -2787,6 +2865,11 @@ message Message {
|
|
|
2787
2865
|
optional SplitPaymentMessage splitPaymentMessage = 125;
|
|
2788
2866
|
optional FutureProofMessage newsletterAdminProfileStatusMessage = 126;
|
|
2789
2867
|
optional RootSecretDistributeMessage rootSecretDistributeMessage = 127;
|
|
2868
|
+
optional SplitPaymentUpdateMessage splitPaymentUpdateMessage = 128;
|
|
2869
|
+
optional MusicMessage musicMessage = 129;
|
|
2870
|
+
optional StatusLinkPreviewMetadata statusLinkPreviewMetadata = 130;
|
|
2871
|
+
optional FutureProofMessage botPlatformRegistrationSuccessMessage = 131;
|
|
2872
|
+
optional FutureProofMessage newsletterScheduledMessage = 132;
|
|
2790
2873
|
message AlbumMessage {
|
|
2791
2874
|
optional uint32 expectedImageCount = 2;
|
|
2792
2875
|
optional uint32 expectedVideoCount = 3;
|
|
@@ -2858,6 +2941,12 @@ message Message {
|
|
|
2858
2941
|
}
|
|
2859
2942
|
}
|
|
2860
2943
|
|
|
2944
|
+
message BotHistoryShareSyncMetadata {
|
|
2945
|
+
optional string botJid = 1;
|
|
2946
|
+
optional int64 historyShareCutoffTimestamp = 2;
|
|
2947
|
+
repeated Message.HistoryShareMessageEntry historyShareMessages = 3;
|
|
2948
|
+
}
|
|
2949
|
+
|
|
2861
2950
|
message ButtonsMessage {
|
|
2862
2951
|
optional string contentText = 6;
|
|
2863
2952
|
optional string footerText = 7;
|
|
@@ -2928,6 +3017,7 @@ message Message {
|
|
|
2928
3017
|
optional string deeplinkPayload = 9;
|
|
2929
3018
|
optional MessageContextInfo messageContextInfo = 10;
|
|
2930
3019
|
optional uint32 callEntryPoint = 11;
|
|
3020
|
+
optional string callReason = 12;
|
|
2931
3021
|
}
|
|
2932
3022
|
|
|
2933
3023
|
message CallLogMessage {
|
|
@@ -3168,7 +3258,7 @@ message Message {
|
|
|
3168
3258
|
optional bool viewOnce = 30;
|
|
3169
3259
|
optional uint32 videoHeight = 31;
|
|
3170
3260
|
optional uint32 videoWidth = 32;
|
|
3171
|
-
optional Message.MMSThumbnailMetadata
|
|
3261
|
+
optional Message.MMSThumbnailMetadata faviconMmsMetadata = 33;
|
|
3172
3262
|
optional Message.LinkPreviewMetadata linkPreviewMetadata = 34;
|
|
3173
3263
|
optional Message.PaymentLinkMetadata paymentLinkMetadata = 35;
|
|
3174
3264
|
repeated Message.VideoEndCard endCardTiles = 36;
|
|
@@ -3290,6 +3380,11 @@ message Message {
|
|
|
3290
3380
|
|
|
3291
3381
|
}
|
|
3292
3382
|
|
|
3383
|
+
message HistoryShareMessageEntry {
|
|
3384
|
+
optional string stanzaId = 1;
|
|
3385
|
+
optional bytes messageSecretProof = 2;
|
|
3386
|
+
}
|
|
3387
|
+
|
|
3293
3388
|
message HistorySyncMessageAccessStatus {
|
|
3294
3389
|
optional bool completeAccessGranted = 1;
|
|
3295
3390
|
}
|
|
@@ -3629,6 +3724,13 @@ message Message {
|
|
|
3629
3724
|
optional uint32 thumbnailWidth = 7;
|
|
3630
3725
|
}
|
|
3631
3726
|
|
|
3727
|
+
message MarkAsVerifiedAction {
|
|
3728
|
+
optional string userJidString = 1;
|
|
3729
|
+
optional bool verified = 2;
|
|
3730
|
+
optional bytes verifiedIdentityKey = 3;
|
|
3731
|
+
optional uint64 actionSeq = 4;
|
|
3732
|
+
}
|
|
3733
|
+
|
|
3632
3734
|
message MessageHistoryBundle {
|
|
3633
3735
|
optional string mimetype = 1;
|
|
3634
3736
|
optional bytes fileSha256 = 2;
|
|
@@ -3651,6 +3753,19 @@ message Message {
|
|
|
3651
3753
|
message MessageHistoryNotice {
|
|
3652
3754
|
optional ContextInfo contextInfo = 1;
|
|
3653
3755
|
optional Message.MessageHistoryMetadata messageHistoryMetadata = 2;
|
|
3756
|
+
optional Message.BotHistoryShareSyncMetadata botHistoryShareSyncMetadata = 3;
|
|
3757
|
+
}
|
|
3758
|
+
|
|
3759
|
+
message MusicMessage {
|
|
3760
|
+
optional EmbeddedMusic embeddedMusic = 1;
|
|
3761
|
+
optional string songUri = 2;
|
|
3762
|
+
optional string artworkUri = 3;
|
|
3763
|
+
optional int32 style = 4;
|
|
3764
|
+
optional ContextInfo contextInfo = 5;
|
|
3765
|
+
enum MusicMessageStyle {
|
|
3766
|
+
UNKNOWN = 0;
|
|
3767
|
+
VINYL = 1;
|
|
3768
|
+
}
|
|
3654
3769
|
}
|
|
3655
3770
|
|
|
3656
3771
|
message NewsletterAdminInviteMessage {
|
|
@@ -3699,6 +3814,7 @@ message Message {
|
|
|
3699
3814
|
message PaymentExtendedMetadata {
|
|
3700
3815
|
optional uint32 type = 1;
|
|
3701
3816
|
optional string platform = 2;
|
|
3817
|
+
optional string messageParamsJson = 3;
|
|
3702
3818
|
}
|
|
3703
3819
|
|
|
3704
3820
|
message PaymentInviteMessage {
|
|
@@ -3716,6 +3832,7 @@ message Message {
|
|
|
3716
3832
|
FBPAY = 1;
|
|
3717
3833
|
NOVI = 2;
|
|
3718
3834
|
UPI = 3;
|
|
3835
|
+
PIX = 4;
|
|
3719
3836
|
}
|
|
3720
3837
|
}
|
|
3721
3838
|
|
|
@@ -3865,6 +3982,7 @@ message Message {
|
|
|
3865
3982
|
optional HistorySyncChunkRetryResponse historySyncChunkRetryResponse = 10;
|
|
3866
3983
|
optional FlowResponsesCsvBundle flowResponsesCsvBundle = 11;
|
|
3867
3984
|
optional BizBroadcastInsightsContactListResponse bizBroadcastInsightsContactListResponse = 12;
|
|
3985
|
+
optional ContactRefreshResponse contactRefreshResponse = 13;
|
|
3868
3986
|
message BizBroadcastInsightsContactListResponse {
|
|
3869
3987
|
optional string campaignId = 1;
|
|
3870
3988
|
optional int64 timestampMs = 2;
|
|
@@ -3886,6 +4004,13 @@ message Message {
|
|
|
3886
4004
|
optional string nonce = 1;
|
|
3887
4005
|
}
|
|
3888
4006
|
|
|
4007
|
+
message ContactRefreshResponse {
|
|
4008
|
+
repeated string coveredRequestIds = 1;
|
|
4009
|
+
optional uint64 collectionVersion = 2;
|
|
4010
|
+
optional int64 primaryDurationMs = 3;
|
|
4011
|
+
optional uint32 uniqueContactCount = 4;
|
|
4012
|
+
}
|
|
4013
|
+
|
|
3889
4014
|
message FlowResponsesCsvBundle {
|
|
3890
4015
|
optional string flowId = 1;
|
|
3891
4016
|
optional string galaxyFlowDownloadRequestId = 2;
|
|
@@ -3992,6 +4117,7 @@ message Message {
|
|
|
3992
4117
|
GALAXY_FLOW_ACTION = 11;
|
|
3993
4118
|
BUSINESS_BROADCAST_INSIGHTS_DELIVERED_TO = 12;
|
|
3994
4119
|
BUSINESS_BROADCAST_INSIGHTS_REFRESH = 13;
|
|
4120
|
+
CONTACT_REFRESH_REQUEST = 14;
|
|
3995
4121
|
}
|
|
3996
4122
|
message PinInChatMessage {
|
|
3997
4123
|
optional MessageKey key = 1;
|
|
@@ -4137,6 +4263,8 @@ message Message {
|
|
|
4137
4263
|
optional uint32 afterReadDuration = 29;
|
|
4138
4264
|
optional Message.ChatThemeSetting chatThemeSetting = 30;
|
|
4139
4265
|
optional AIMetadataOperation aiMetadataOperation = 31;
|
|
4266
|
+
optional Message.MarkAsVerifiedAction markAsVerifiedAction = 32;
|
|
4267
|
+
optional CoexStateSync coexStateSync = 33;
|
|
4140
4268
|
enum Type {
|
|
4141
4269
|
REVOKE = 0;
|
|
4142
4270
|
EPHEMERAL_SETTING = 3;
|
|
@@ -4168,6 +4296,8 @@ message Message {
|
|
|
4168
4296
|
MESSAGE_UNSCHEDULE = 32;
|
|
4169
4297
|
CHAT_THEME_SETTING = 34;
|
|
4170
4298
|
AI_METADATA_OPERATION = 35;
|
|
4299
|
+
MARK_AS_VERIFIED_ACTION = 36;
|
|
4300
|
+
COEX_STATE_SYNC = 37;
|
|
4171
4301
|
}
|
|
4172
4302
|
}
|
|
4173
4303
|
|
|
@@ -4283,6 +4413,21 @@ message Message {
|
|
|
4283
4413
|
}
|
|
4284
4414
|
}
|
|
4285
4415
|
|
|
4416
|
+
message SplitPaymentUpdateMessage {
|
|
4417
|
+
optional string splitId = 1;
|
|
4418
|
+
optional string participantJid = 2;
|
|
4419
|
+
}
|
|
4420
|
+
|
|
4421
|
+
message StatusLinkPreviewMetadata {
|
|
4422
|
+
optional Style style = 1;
|
|
4423
|
+
enum Style {
|
|
4424
|
+
AUTO = 0;
|
|
4425
|
+
COMPACT = 1;
|
|
4426
|
+
FULL = 2;
|
|
4427
|
+
IMMERSIVE = 3;
|
|
4428
|
+
}
|
|
4429
|
+
}
|
|
4430
|
+
|
|
4286
4431
|
message StatusNotificationMessage {
|
|
4287
4432
|
optional MessageKey responseMessageKey = 1;
|
|
4288
4433
|
optional MessageKey originalMessageKey = 2;
|
|
@@ -4292,6 +4437,7 @@ message Message {
|
|
|
4292
4437
|
STATUS_ADD_YOURS = 1;
|
|
4293
4438
|
STATUS_RESHARE = 2;
|
|
4294
4439
|
STATUS_QUESTION_ANSWER_RESHARE = 3;
|
|
4440
|
+
STATUS_GROUP_STATUS_REPLY = 4;
|
|
4295
4441
|
}
|
|
4296
4442
|
}
|
|
4297
4443
|
|
|
@@ -4443,10 +4589,10 @@ message Message {
|
|
|
4443
4589
|
}
|
|
4444
4590
|
|
|
4445
4591
|
message VideoEndCard {
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4592
|
+
required string username = 1;
|
|
4593
|
+
required string caption = 2;
|
|
4594
|
+
required string thumbnailImageUrl = 3;
|
|
4595
|
+
required string profilePictureUrl = 4;
|
|
4450
4596
|
}
|
|
4451
4597
|
|
|
4452
4598
|
message VideoMessage {
|
|
@@ -4480,6 +4626,7 @@ message Message {
|
|
|
4480
4626
|
optional uint64 motionPhotoPresentationOffsetMs = 29;
|
|
4481
4627
|
optional string metadataUrl = 30;
|
|
4482
4628
|
optional VideoSourceType videoSourceType = 31;
|
|
4629
|
+
optional string dashManifestUrl = 33;
|
|
4483
4630
|
enum Attribution {
|
|
4484
4631
|
NONE = 0;
|
|
4485
4632
|
GIPHY = 1;
|
|
@@ -4564,6 +4711,8 @@ message MessageContextInfo {
|
|
|
4564
4711
|
repeated ThreadID threadId = 15;
|
|
4565
4712
|
optional WebLinkRenderConfig weblinkRenderConfig = 16;
|
|
4566
4713
|
optional bytes teeBotMetadata = 17;
|
|
4714
|
+
optional NonE2EEAttestation accountEncryptionAttestation = 18;
|
|
4715
|
+
optional bytes associatedPrimaryIdentityKey = 19;
|
|
4567
4716
|
enum MessageAddonExpiryType {
|
|
4568
4717
|
STATIC = 1;
|
|
4569
4718
|
DEPENDENT_ON_PARENT = 2;
|
|
@@ -4773,6 +4922,15 @@ enum MutationProps {
|
|
|
4773
4922
|
THREAD_PIN_ACTION = 85;
|
|
4774
4923
|
AUTO_ORGANIZE_BUSINESS_CHAT_SETTING = 86;
|
|
4775
4924
|
BIZ_AI_SETTINGS_NUDGE_ACTION = 87;
|
|
4925
|
+
COEX_V2_VERSION_ACTION = 88;
|
|
4926
|
+
WASA_ROOT_SECRET_ACTION = 89;
|
|
4927
|
+
BUBBLE_LOCK_MESSAGE_ACTION = 90;
|
|
4928
|
+
LABEL_SUBLIST_ACTION = 91;
|
|
4929
|
+
DEVICE_CAPABILITIES_V2 = 92;
|
|
4930
|
+
CTWA_MESSAGE_RECEIVED_ACTION = 93;
|
|
4931
|
+
SHARED_DEVICE_ALLOWLIST_ACTION = 94;
|
|
4932
|
+
CONTACT_MANAGER_METADATA_ACTION = 95;
|
|
4933
|
+
BUSINESS_FOLDER_ACTIVATION_ACTION = 96;
|
|
4776
4934
|
SHARE_OWN_PN = 10001;
|
|
4777
4935
|
BUSINESS_BROADCAST_ACTION = 10002;
|
|
4778
4936
|
AI_THREAD_DELETE_ACTION = 10003;
|
|
@@ -4790,6 +4948,15 @@ message NoiseCertificate {
|
|
|
4790
4948
|
|
|
4791
4949
|
}
|
|
4792
4950
|
|
|
4951
|
+
message NonE2EEAttestation {
|
|
4952
|
+
optional AccountType accountType = 1;
|
|
4953
|
+
enum AccountType {
|
|
4954
|
+
E2EE = 0;
|
|
4955
|
+
HYBRID_E2EE = 1;
|
|
4956
|
+
NON_E2EE = 2;
|
|
4957
|
+
}
|
|
4958
|
+
}
|
|
4959
|
+
|
|
4793
4960
|
message NotificationMessageInfo {
|
|
4794
4961
|
optional MessageKey key = 1;
|
|
4795
4962
|
optional Message message = 2;
|
|
@@ -5016,6 +5183,8 @@ message PreKeySignalMessage {
|
|
|
5016
5183
|
optional bytes baseKey = 2;
|
|
5017
5184
|
optional bytes identityKey = 3;
|
|
5018
5185
|
optional bytes message = 4;
|
|
5186
|
+
optional uint32 kyberPreKeyId = 7;
|
|
5187
|
+
optional bytes kyberCiphertext = 8;
|
|
5019
5188
|
}
|
|
5020
5189
|
|
|
5021
5190
|
message PremiumMessageInfo {
|
|
@@ -5066,14 +5235,14 @@ message QP {
|
|
|
5066
5235
|
NOR = 3;
|
|
5067
5236
|
}
|
|
5068
5237
|
message Filter {
|
|
5069
|
-
|
|
5238
|
+
required string filterName = 1;
|
|
5070
5239
|
repeated QP.FilterParameters parameters = 2;
|
|
5071
5240
|
optional QP.FilterResult filterResult = 3;
|
|
5072
|
-
|
|
5241
|
+
required QP.FilterClientNotSupportedConfig clientNotSupportedConfig = 4;
|
|
5073
5242
|
}
|
|
5074
5243
|
|
|
5075
5244
|
message FilterClause {
|
|
5076
|
-
|
|
5245
|
+
required QP.ClauseType clauseType = 1;
|
|
5077
5246
|
repeated QP.FilterClause clauses = 2;
|
|
5078
5247
|
repeated QP.Filter filters = 3;
|
|
5079
5248
|
}
|
|
@@ -5126,6 +5295,7 @@ message Reportable {
|
|
|
5126
5295
|
|
|
5127
5296
|
message ReportingTokenInfo {
|
|
5128
5297
|
optional bytes reportingTag = 1;
|
|
5298
|
+
optional uint64 reportingTagTimestamp = 2;
|
|
5129
5299
|
}
|
|
5130
5300
|
|
|
5131
5301
|
message RoutingInfo {
|
|
@@ -5233,6 +5403,8 @@ message SessionStructure {
|
|
|
5233
5403
|
optional uint32 preKeyId = 1;
|
|
5234
5404
|
optional int32 signedPreKeyId = 3;
|
|
5235
5405
|
optional bytes baseKey = 2;
|
|
5406
|
+
optional uint32 kyberPreKeyId = 4;
|
|
5407
|
+
optional bytes kyberCiphertext = 5;
|
|
5236
5408
|
}
|
|
5237
5409
|
|
|
5238
5410
|
}
|
|
@@ -5300,6 +5472,7 @@ message StatusAttribution {
|
|
|
5300
5472
|
GOOGLE_PHOTOS = 10;
|
|
5301
5473
|
SOUNDCLOUD = 11;
|
|
5302
5474
|
SHAZAM = 12;
|
|
5475
|
+
PICSART = 13;
|
|
5303
5476
|
}
|
|
5304
5477
|
}
|
|
5305
5478
|
|
|
@@ -5358,6 +5531,7 @@ message StatusAttribution {
|
|
|
5358
5531
|
NEWSLETTER_STATUS = 9;
|
|
5359
5532
|
STATUS_CLOSE_SHARING = 10;
|
|
5360
5533
|
PAID_PARTNERSHIP = 11;
|
|
5534
|
+
USERNAME_STATUS = 12;
|
|
5361
5535
|
}
|
|
5362
5536
|
}
|
|
5363
5537
|
|
|
@@ -5366,7 +5540,7 @@ message StatusMentionMessage {
|
|
|
5366
5540
|
}
|
|
5367
5541
|
|
|
5368
5542
|
message StatusPSA {
|
|
5369
|
-
|
|
5543
|
+
required uint64 campaignId = 44;
|
|
5370
5544
|
optional uint64 campaignExpirationTimestamp = 45;
|
|
5371
5545
|
}
|
|
5372
5546
|
|
|
@@ -5478,9 +5652,18 @@ message SyncActionValue {
|
|
|
5478
5652
|
optional ThreadPinAction threadPinAction = 85;
|
|
5479
5653
|
optional AutoOrganizeBusinessChatSetting autoOrganizeBusinessChatSetting = 86;
|
|
5480
5654
|
optional BizAISettingsNudgeAction bizAiSettingsNudgeAction = 87;
|
|
5655
|
+
optional CoexV2VersionAction coexV2VersionAction = 88;
|
|
5656
|
+
optional WASARootSecretAction wasaRootSecretAction = 89;
|
|
5657
|
+
optional BubbleLockMessageAction bubbleLockMessageAction = 90;
|
|
5658
|
+
optional LabelSublistAction labelSublistAction = 91;
|
|
5659
|
+
optional DeviceCapabilities deviceCapabilitiesV2 = 92;
|
|
5660
|
+
optional CtwaMessageReceivedAction ctwaMessageReceivedAction = 93;
|
|
5661
|
+
optional SharedDeviceAllowlistAction sharedDeviceAllowlistAction = 94;
|
|
5662
|
+
optional ContactManagerMetadataAction contactManagerMetadataAction = 95;
|
|
5663
|
+
optional BusinessFolderActivationAction businessFolderActivationAction = 96;
|
|
5481
5664
|
message AgentAction {
|
|
5482
5665
|
optional string name = 1;
|
|
5483
|
-
optional int32
|
|
5666
|
+
optional int32 deviceId = 2;
|
|
5484
5667
|
optional bool isDeleted = 3;
|
|
5485
5668
|
}
|
|
5486
5669
|
|
|
@@ -5522,6 +5705,7 @@ message SyncActionValue {
|
|
|
5522
5705
|
EXAMPLE_RESPONSES = 3;
|
|
5523
5706
|
KNOWLEDGE = 4;
|
|
5524
5707
|
LEAD_GEN = 5;
|
|
5708
|
+
HANDOFF_REMOVAL_TIMING = 6;
|
|
5525
5709
|
}
|
|
5526
5710
|
}
|
|
5527
5711
|
|
|
@@ -5530,10 +5714,14 @@ message SyncActionValue {
|
|
|
5530
5714
|
}
|
|
5531
5715
|
|
|
5532
5716
|
message BroadcastListParticipant {
|
|
5533
|
-
|
|
5717
|
+
required string lidJid = 1;
|
|
5534
5718
|
optional string pnJid = 2;
|
|
5535
5719
|
}
|
|
5536
5720
|
|
|
5721
|
+
message BubbleLockMessageAction {
|
|
5722
|
+
optional bool locked = 1;
|
|
5723
|
+
}
|
|
5724
|
+
|
|
5537
5725
|
message BusinessBroadcastAssociationAction {
|
|
5538
5726
|
optional bool deleted = 1;
|
|
5539
5727
|
}
|
|
@@ -5571,6 +5759,11 @@ message SyncActionValue {
|
|
|
5571
5759
|
optional string listName = 3;
|
|
5572
5760
|
repeated string labelIds = 4;
|
|
5573
5761
|
optional string audienceExpression = 5;
|
|
5762
|
+
optional string customAudienceFbid = 6;
|
|
5763
|
+
}
|
|
5764
|
+
|
|
5765
|
+
message BusinessFolderActivationAction {
|
|
5766
|
+
optional bool activated = 1;
|
|
5574
5767
|
}
|
|
5575
5768
|
|
|
5576
5769
|
message CallLogAction {
|
|
@@ -5578,7 +5771,7 @@ message SyncActionValue {
|
|
|
5578
5771
|
}
|
|
5579
5772
|
|
|
5580
5773
|
message ChatAssignmentAction {
|
|
5581
|
-
optional string
|
|
5774
|
+
optional string deviceAgentId = 1;
|
|
5582
5775
|
}
|
|
5583
5776
|
|
|
5584
5777
|
message ChatAssignmentOpenedStatusAction {
|
|
@@ -5589,6 +5782,10 @@ message SyncActionValue {
|
|
|
5589
5782
|
optional SyncActionValue.SyncActionMessageRange messageRange = 1;
|
|
5590
5783
|
}
|
|
5591
5784
|
|
|
5785
|
+
message CoexV2VersionAction {
|
|
5786
|
+
optional uint64 version = 1;
|
|
5787
|
+
}
|
|
5788
|
+
|
|
5592
5789
|
message ContactAction {
|
|
5593
5790
|
optional string fullName = 1;
|
|
5594
5791
|
optional string firstName = 2;
|
|
@@ -5598,20 +5795,28 @@ message SyncActionValue {
|
|
|
5598
5795
|
optional string username = 6;
|
|
5599
5796
|
}
|
|
5600
5797
|
|
|
5798
|
+
message ContactManagerMetadataAction {
|
|
5799
|
+
optional bool isHidden = 1;
|
|
5800
|
+
}
|
|
5801
|
+
|
|
5802
|
+
message CtwaMessageReceivedAction {
|
|
5803
|
+
optional bool isCtwaMessageReceived = 1;
|
|
5804
|
+
}
|
|
5805
|
+
|
|
5601
5806
|
message CtwaPerCustomerDataSharingAction {
|
|
5602
5807
|
optional bool isCtwaPerCustomerDataSharingEnabled = 1;
|
|
5603
5808
|
}
|
|
5604
5809
|
|
|
5605
5810
|
message CustomPaymentMethod {
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5811
|
+
required string credentialId = 1;
|
|
5812
|
+
required string country = 2;
|
|
5813
|
+
required string type = 3;
|
|
5609
5814
|
repeated SyncActionValue.CustomPaymentMethodMetadata metadata = 4;
|
|
5610
5815
|
}
|
|
5611
5816
|
|
|
5612
5817
|
message CustomPaymentMethodMetadata {
|
|
5613
|
-
|
|
5614
|
-
|
|
5818
|
+
required string key = 1;
|
|
5819
|
+
required string value = 2;
|
|
5615
5820
|
}
|
|
5616
5821
|
|
|
5617
5822
|
message CustomPaymentMethodsAction {
|
|
@@ -5663,7 +5868,7 @@ message SyncActionValue {
|
|
|
5663
5868
|
}
|
|
5664
5869
|
|
|
5665
5870
|
message InteractiveMessageAction {
|
|
5666
|
-
|
|
5871
|
+
required InteractiveMessageActionMode type = 1;
|
|
5667
5872
|
optional string agmId = 2;
|
|
5668
5873
|
enum InteractiveMessageActionMode {
|
|
5669
5874
|
DISABLE_CTA = 1;
|
|
@@ -5706,6 +5911,8 @@ message SyncActionValue {
|
|
|
5706
5911
|
LOCKED = 13;
|
|
5707
5912
|
INVITES = 14;
|
|
5708
5913
|
THIRD_PARTY = 15;
|
|
5914
|
+
LEAD = 16;
|
|
5915
|
+
MENTIONS_AND_REPLIES = 17;
|
|
5709
5916
|
}
|
|
5710
5917
|
}
|
|
5711
5918
|
|
|
@@ -5713,6 +5920,10 @@ message SyncActionValue {
|
|
|
5713
5920
|
repeated int32 sortedLabelIds = 1;
|
|
5714
5921
|
}
|
|
5715
5922
|
|
|
5923
|
+
message LabelSublistAction {
|
|
5924
|
+
optional int32 subListId = 1;
|
|
5925
|
+
}
|
|
5926
|
+
|
|
5716
5927
|
message LidContactAction {
|
|
5717
5928
|
optional string fullName = 1;
|
|
5718
5929
|
optional string firstName = 2;
|
|
@@ -5765,8 +5976,8 @@ message SyncActionValue {
|
|
|
5765
5976
|
}
|
|
5766
5977
|
|
|
5767
5978
|
message MerchantPaymentPartnerAction {
|
|
5768
|
-
|
|
5769
|
-
|
|
5979
|
+
required Status status = 1;
|
|
5980
|
+
required string country = 2;
|
|
5770
5981
|
optional string gatewayName = 3;
|
|
5771
5982
|
optional string credentialId = 4;
|
|
5772
5983
|
enum Status {
|
|
@@ -5831,8 +6042,8 @@ message SyncActionValue {
|
|
|
5831
6042
|
}
|
|
5832
6043
|
|
|
5833
6044
|
message PaymentTosAction {
|
|
5834
|
-
|
|
5835
|
-
|
|
6045
|
+
required PaymentNotice paymentNotice = 1;
|
|
6046
|
+
required bool accepted = 2;
|
|
5836
6047
|
enum PaymentNotice {
|
|
5837
6048
|
BR_PAY_PRIVACY_POLICY = 0;
|
|
5838
6049
|
}
|
|
@@ -5930,6 +6141,7 @@ message SyncActionValue {
|
|
|
5930
6141
|
optional bool shouldPlaySoundForCallNotification = 31;
|
|
5931
6142
|
optional string chatThemeId = 32;
|
|
5932
6143
|
optional string colorSchemeId = 33;
|
|
6144
|
+
optional string stockWallpaperImageId = 34;
|
|
5933
6145
|
enum DisplayMode {
|
|
5934
6146
|
DISPLAY_MODE_UNKNOWN = 0;
|
|
5935
6147
|
ALWAYS = 1;
|
|
@@ -5976,6 +6188,7 @@ message SyncActionValue {
|
|
|
5976
6188
|
SHOULD_PLAY_SOUND_FOR_CALL_NOTIFICATION = 31;
|
|
5977
6189
|
CHAT_THEME_ID = 32;
|
|
5978
6190
|
COLOR_SCHEME_ID = 33;
|
|
6191
|
+
STOCK_WALLPAPER_IMAGE_ID = 34;
|
|
5979
6192
|
}
|
|
5980
6193
|
enum SettingPlatform {
|
|
5981
6194
|
PLATFORM_UNKNOWN = 0;
|
|
@@ -5986,6 +6199,10 @@ message SyncActionValue {
|
|
|
5986
6199
|
}
|
|
5987
6200
|
}
|
|
5988
6201
|
|
|
6202
|
+
message SharedDeviceAllowlistAction {
|
|
6203
|
+
optional bool allowed = 1;
|
|
6204
|
+
}
|
|
6205
|
+
|
|
5989
6206
|
message StarAction {
|
|
5990
6207
|
optional bool starred = 1;
|
|
5991
6208
|
}
|
|
@@ -5997,8 +6214,8 @@ message SyncActionValue {
|
|
|
5997
6214
|
message StatusPrivacyAction {
|
|
5998
6215
|
optional StatusDistributionMode mode = 1;
|
|
5999
6216
|
repeated string userJid = 2;
|
|
6000
|
-
optional bool
|
|
6001
|
-
optional bool
|
|
6217
|
+
optional bool shareToFb = 3;
|
|
6218
|
+
optional bool shareToIg = 4;
|
|
6002
6219
|
repeated CustomList customLists = 5;
|
|
6003
6220
|
repeated StatusDistributionMode modes = 6;
|
|
6004
6221
|
message CustomList {
|
|
@@ -6102,6 +6319,21 @@ message SyncActionValue {
|
|
|
6102
6319
|
}
|
|
6103
6320
|
}
|
|
6104
6321
|
|
|
6322
|
+
message WASARootSecretAction {
|
|
6323
|
+
repeated RootSecretEntry secrets = 1;
|
|
6324
|
+
message RootSecretEntry {
|
|
6325
|
+
optional string id = 1;
|
|
6326
|
+
optional bytes rootSecret = 2;
|
|
6327
|
+
optional int64 epoch = 3;
|
|
6328
|
+
optional Status status = 4;
|
|
6329
|
+
enum Status {
|
|
6330
|
+
INACTIVE = 0;
|
|
6331
|
+
ACTIVE = 1;
|
|
6332
|
+
}
|
|
6333
|
+
}
|
|
6334
|
+
|
|
6335
|
+
}
|
|
6336
|
+
|
|
6105
6337
|
message WaffleAccountLinkStateAction {
|
|
6106
6338
|
optional AccountLinkState linkState = 2;
|
|
6107
6339
|
enum AccountLinkState {
|
|
@@ -6270,7 +6502,7 @@ message UserPassword {
|
|
|
6270
6502
|
}
|
|
6271
6503
|
|
|
6272
6504
|
message UserReceipt {
|
|
6273
|
-
|
|
6505
|
+
required string userJid = 1;
|
|
6274
6506
|
optional int64 receiptTimestamp = 2;
|
|
6275
6507
|
optional int64 readTimestamp = 3;
|
|
6276
6508
|
optional int64 playedTimestamp = 4;
|
|
@@ -6357,7 +6589,7 @@ enum WebLinkRenderConfig {
|
|
|
6357
6589
|
SYSTEM = 1;
|
|
6358
6590
|
}
|
|
6359
6591
|
message WebMessageInfo {
|
|
6360
|
-
|
|
6592
|
+
required MessageKey key = 1;
|
|
6361
6593
|
optional Message message = 2;
|
|
6362
6594
|
optional uint64 messageTimestamp = 3;
|
|
6363
6595
|
optional Status status = 4;
|
|
@@ -6670,6 +6902,10 @@ message WebMessageInfo {
|
|
|
6670
6902
|
GROUP_TEE_BOT_ADDED = 223;
|
|
6671
6903
|
CONTACT_INFO = 224;
|
|
6672
6904
|
SCHEDULED_MESSAGE_CREATED = 225;
|
|
6905
|
+
IDENTITY_TRUST_MARKED = 226;
|
|
6906
|
+
IDENTITY_TRUST_UNMARKED = 227;
|
|
6907
|
+
IDENTITY_TRUST_REVOKED = 228;
|
|
6908
|
+
CTWA_CONSUMER_DISCLOSURE = 230;
|
|
6673
6909
|
}
|
|
6674
6910
|
}
|
|
6675
6911
|
|
|
@@ -6684,219 +6920,3 @@ message WebNotificationsInfo {
|
|
|
6684
6920
|
optional uint32 notifyMessageCount = 4;
|
|
6685
6921
|
repeated WebMessageInfo notifyMessages = 5;
|
|
6686
6922
|
}
|
|
6687
|
-
|
|
6688
|
-
// >>> wa.voip (VoIP engine, generated by decode-voip-wasm.js) >>>
|
|
6689
|
-
enum RekeyKeyType {
|
|
6690
|
-
REKEY_KEY_AUDIO = 0;
|
|
6691
|
-
REKEY_KEY_VIDEO = 1;
|
|
6692
|
-
REKEY_KEY_APPDATA = 2;
|
|
6693
|
-
}
|
|
6694
|
-
|
|
6695
|
-
enum RxVidSubscriptionInfo_VideoQuality {
|
|
6696
|
-
DEFAULT = 0;
|
|
6697
|
-
LOW = 1;
|
|
6698
|
-
MEDIUM = 2;
|
|
6699
|
-
HIGH = 3;
|
|
6700
|
-
HD = 4;
|
|
6701
|
-
}
|
|
6702
|
-
|
|
6703
|
-
enum SenderSubscriptionExt_TemporalLayer {
|
|
6704
|
-
BASE = 0;
|
|
6705
|
-
ENHANCEMENT = 1;
|
|
6706
|
-
}
|
|
6707
|
-
|
|
6708
|
-
enum StreamDescriptor_PayloadType {
|
|
6709
|
-
Media = 0;
|
|
6710
|
-
Fec = 1;
|
|
6711
|
-
Nack = 2;
|
|
6712
|
-
HbhFec = 3;
|
|
6713
|
-
AppData = 4;
|
|
6714
|
-
}
|
|
6715
|
-
|
|
6716
|
-
enum StreamDescriptor_StreamLayer {
|
|
6717
|
-
Audio = 0;
|
|
6718
|
-
VideoStream0 = 1;
|
|
6719
|
-
VideoStream1 = 2;
|
|
6720
|
-
HbhFecClientToServer = 3;
|
|
6721
|
-
HbhFecServerToClient = 4;
|
|
6722
|
-
AppDataStream0 = 5;
|
|
6723
|
-
LiveTranscriptionStream0 = 6;
|
|
6724
|
-
IMUDataStream0 = 7;
|
|
6725
|
-
ScreenShareVideoStream0 = 8;
|
|
6726
|
-
ScreenShareVideoStream1 = 9;
|
|
6727
|
-
}
|
|
6728
|
-
|
|
6729
|
-
// original: wa.voip.appDataMessage
|
|
6730
|
-
message appDataMessage {
|
|
6731
|
-
reactionInfo reaction_info = 1;
|
|
6732
|
-
liveTranscriptionInfo transcription_info = 2;
|
|
6733
|
-
}
|
|
6734
|
-
|
|
6735
|
-
// original: wa.voip.appDataPayloads
|
|
6736
|
-
message appDataPayloads {
|
|
6737
|
-
repeated appDataMessage messages = 1;
|
|
6738
|
-
}
|
|
6739
|
-
|
|
6740
|
-
// original: wa.voip.AQSStats
|
|
6741
|
-
message AQSStats {
|
|
6742
|
-
optional int32 aqs = 1;
|
|
6743
|
-
}
|
|
6744
|
-
|
|
6745
|
-
// original: wa.voip.BackupRelayLatency
|
|
6746
|
-
message BackupRelayLatency {
|
|
6747
|
-
uint32 ipv4 = 1;
|
|
6748
|
-
bytes ipv6 = 2;
|
|
6749
|
-
uint32 port = 3;
|
|
6750
|
-
sint32 latency_ms = 4;
|
|
6751
|
-
uint32 tx_bitrate = 5;
|
|
6752
|
-
uint32 rx_bitrate = 6;
|
|
6753
|
-
uint64 conn_id = 7;
|
|
6754
|
-
bool is_xpop_relay = 8;
|
|
6755
|
-
bool is_favored = 9;
|
|
6756
|
-
string relay_name = 10;
|
|
6757
|
-
}
|
|
6758
|
-
|
|
6759
|
-
// original: wa.voip.BackupRelayLatencyReport
|
|
6760
|
-
message BackupRelayLatencyReport {
|
|
6761
|
-
int32 relay_transaction_id = 1;
|
|
6762
|
-
repeated BackupRelayLatency relays = 2;
|
|
6763
|
-
}
|
|
6764
|
-
|
|
6765
|
-
// original: wa.voip.BackupSignalEnvelope
|
|
6766
|
-
message BackupSignalEnvelope {
|
|
6767
|
-
BackupRelayLatencyReport relay_latency = 1;
|
|
6768
|
-
}
|
|
6769
|
-
|
|
6770
|
-
// original: wa.voip.BwaInfo
|
|
6771
|
-
message BwaInfo {
|
|
6772
|
-
uint32 id = 1;
|
|
6773
|
-
uint32 num_participants = 2;
|
|
6774
|
-
}
|
|
6775
|
-
|
|
6776
|
-
// original: wa.voip.BwaStream
|
|
6777
|
-
message BwaStream {
|
|
6778
|
-
uint32 bitrate = 1;
|
|
6779
|
-
uint64 subscribed_pids_bitmap_0_63 = 2;
|
|
6780
|
-
uint64 subscribed_pids_bitmap_64_127 = 3;
|
|
6781
|
-
}
|
|
6782
|
-
|
|
6783
|
-
// original: wa.voip.E2eRekeyPayload
|
|
6784
|
-
message E2eRekeyPayload {
|
|
6785
|
-
repeated RekeyKeyEntry keys = 1;
|
|
6786
|
-
}
|
|
6787
|
-
|
|
6788
|
-
// original: wa.voip.liveTranscriptionInfo
|
|
6789
|
-
message liveTranscriptionInfo {
|
|
6790
|
-
uint64 transcript_id = 1;
|
|
6791
|
-
string caption = 2;
|
|
6792
|
-
string language = 3;
|
|
6793
|
-
}
|
|
6794
|
-
|
|
6795
|
-
// original: wa.voip.PeerFeedback
|
|
6796
|
-
message PeerFeedback {
|
|
6797
|
-
optional VideoSenderStats video_sender_stats = 1;
|
|
6798
|
-
optional VideoFeedbackMessage video_fb_msg = 2;
|
|
6799
|
-
optional AQSStats aqs_stats = 3;
|
|
6800
|
-
optional bool noise_suppression_ui_status = 4;
|
|
6801
|
-
}
|
|
6802
|
-
|
|
6803
|
-
// original: wa.voip.reactionInfo
|
|
6804
|
-
message reactionInfo {
|
|
6805
|
-
uint64 transaction_id = 1;
|
|
6806
|
-
string reaction = 2;
|
|
6807
|
-
}
|
|
6808
|
-
|
|
6809
|
-
// original: wa.voip.RekeyKeyEntry
|
|
6810
|
-
message RekeyKeyEntry {
|
|
6811
|
-
RekeyKeyType type = 1;
|
|
6812
|
-
bytes key = 2;
|
|
6813
|
-
}
|
|
6814
|
-
|
|
6815
|
-
// original: wa.voip.RtcpRxSubscriptions
|
|
6816
|
-
message RtcpRxSubscriptions {
|
|
6817
|
-
repeated RtcpRxSubscriptionsPerParticipant rx_subscriptions = 1;
|
|
6818
|
-
}
|
|
6819
|
-
|
|
6820
|
-
// original: wa.voip.RtcpRxSubscriptionsPerParticipant
|
|
6821
|
-
message RtcpRxSubscriptionsPerParticipant {
|
|
6822
|
-
uint32 tx_pid = 1;
|
|
6823
|
-
RxSubscriptions rx_subscriptions = 2;
|
|
6824
|
-
}
|
|
6825
|
-
|
|
6826
|
-
// original: wa.voip.RxSubscriptions
|
|
6827
|
-
message RxSubscriptions {
|
|
6828
|
-
repeated uint32 vid_rx_pids = 1;
|
|
6829
|
-
repeated RxVidSubscriptionInfo vid_subscriptions = 2;
|
|
6830
|
-
}
|
|
6831
|
-
|
|
6832
|
-
// original: wa.voip.RxVidSubscriptionInfo
|
|
6833
|
-
message RxVidSubscriptionInfo {
|
|
6834
|
-
uint32 pid = 1;
|
|
6835
|
-
RxVidSubscriptionInfo_VideoQuality vid_quality = 2;
|
|
6836
|
-
}
|
|
6837
|
-
|
|
6838
|
-
// original: wa.voip.SenderSubscriptionExt
|
|
6839
|
-
message SenderSubscriptionExt {
|
|
6840
|
-
SenderSubscriptionExt_SSrcsToPidAssignments ssrcLayers = 1;
|
|
6841
|
-
}
|
|
6842
|
-
|
|
6843
|
-
// original: wa.voip.SenderSubscriptionExt.PidTemporalLayer
|
|
6844
|
-
message SenderSubscriptionExt_PidTemporalLayer {
|
|
6845
|
-
uint32 pid = 1;
|
|
6846
|
-
SenderSubscriptionExt_TemporalLayer layerId = 2;
|
|
6847
|
-
}
|
|
6848
|
-
|
|
6849
|
-
// original: wa.voip.SenderSubscriptionExt.SSrcsToPidAssignments
|
|
6850
|
-
message SenderSubscriptionExt_SSrcsToPidAssignments {
|
|
6851
|
-
repeated uint32 ssrcs = 1;
|
|
6852
|
-
repeated SenderSubscriptionExt_PidTemporalLayer pids = 2;
|
|
6853
|
-
}
|
|
6854
|
-
|
|
6855
|
-
// original: wa.voip.SenderSubscriptions
|
|
6856
|
-
message SenderSubscriptions {
|
|
6857
|
-
repeated SenderSubscriptionExt subscriptions = 1;
|
|
6858
|
-
}
|
|
6859
|
-
|
|
6860
|
-
// original: wa.voip.SimulcastBwaResults
|
|
6861
|
-
message SimulcastBwaResults {
|
|
6862
|
-
BwaInfo info = 1;
|
|
6863
|
-
BwaStream stream1 = 2;
|
|
6864
|
-
BwaStream stream2 = 3;
|
|
6865
|
-
}
|
|
6866
|
-
|
|
6867
|
-
// original: wa.voip.SrtpAfbStreamInfo
|
|
6868
|
-
message SrtpAfbStreamInfo {
|
|
6869
|
-
bool is_valid = 1;
|
|
6870
|
-
uint32 ssrc = 2;
|
|
6871
|
-
uint32 rtcp_index = 3;
|
|
6872
|
-
uint64 rtp_index = 4;
|
|
6873
|
-
}
|
|
6874
|
-
|
|
6875
|
-
// original: wa.voip.SrtpAfbStreams
|
|
6876
|
-
message SrtpAfbStreams {
|
|
6877
|
-
repeated SrtpAfbStreamInfo srtp_afb = 1;
|
|
6878
|
-
}
|
|
6879
|
-
|
|
6880
|
-
// original: wa.voip.StreamDescriptor
|
|
6881
|
-
message StreamDescriptor {
|
|
6882
|
-
StreamDescriptor_StreamLayer stream_layer = 1;
|
|
6883
|
-
StreamDescriptor_PayloadType payload_type = 2;
|
|
6884
|
-
uint32 ssrc = 3;
|
|
6885
|
-
bool is_uplink_prefetch_enabled = 4;
|
|
6886
|
-
}
|
|
6887
|
-
|
|
6888
|
-
// original: wa.voip.StreamDescriptors
|
|
6889
|
-
message StreamDescriptors {
|
|
6890
|
-
repeated StreamDescriptor stream_descriptors = 1;
|
|
6891
|
-
}
|
|
6892
|
-
|
|
6893
|
-
// original: wa.voip.VideoFeedbackMessage
|
|
6894
|
-
message VideoFeedbackMessage {
|
|
6895
|
-
optional int32 freeze_state = 1;
|
|
6896
|
-
}
|
|
6897
|
-
|
|
6898
|
-
// original: wa.voip.VideoSenderStats
|
|
6899
|
-
message VideoSenderStats {
|
|
6900
|
-
optional int32 sender_bwe = 1;
|
|
6901
|
-
}
|
|
6902
|
-
// <<< wa.voip <<<
|