@wppconnect/wa-proto 2.3000.1049069450 → 2.3000.1049110567

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.
Files changed (4) hide show
  1. package/WAProto.proto +58 -397
  2. package/dist/index.d.ts +1004 -4519
  3. package/dist/index.js +35239 -46338
  4. package/package.json +1 -1
package/WAProto.proto CHANGED
@@ -1,7 +1,7 @@
1
1
  syntax = "proto3";
2
2
  package waproto;
3
3
 
4
- /// WhatsApp Version: 2.3000.1049069450
4
+ /// WhatsApp Version: 2.3000.1049110567
5
5
 
6
6
  message ACP2Setting {
7
7
  optional bool enabled = 1;
@@ -21,7 +21,6 @@ message ADVDeviceIdentity {
21
21
  enum ADVEncryptionType {
22
22
  E2EE = 0;
23
23
  HOSTED = 1;
24
- NON_E2EE = 2;
25
24
  }
26
25
  message ADVKeyIndexList {
27
26
  optional uint32 rawId = 1;
@@ -69,7 +68,6 @@ message AIHomeState {
69
68
  ANIMATE_PHOTO = 2;
70
69
  ANALYZE_FILE = 3;
71
70
  COLLABORATE = 4;
72
- OPEN_GREETING_CARD = 5;
73
71
  }
74
72
  }
75
73
 
@@ -134,7 +132,7 @@ message AIRichResponseContentItemsMetadata {
134
132
  repeated AIRichResponseContentItemMetadata itemsMetadata = 1;
135
133
  optional ContentType contentType = 2;
136
134
  message AIRichResponseContentItemMetadata {
137
- oneof aiRichResponseContentItem {
135
+ oneof aIRichResponseContentItem {
138
136
  AIRichResponseContentItemsMetadata.AIRichResponseReelItem reelItem = 1;
139
137
  }
140
138
  }
@@ -226,7 +224,6 @@ message AIRichResponseMessage {
226
224
  repeated AIRichResponseSubMessage submessages = 2;
227
225
  optional AIRichResponseUnifiedResponse unifiedResponse = 3;
228
226
  optional ContextInfo contextInfo = 4;
229
- optional AIRichResponseUnifiedResponse originalRecipientMetadata = 5;
230
227
  }
231
228
 
232
229
  enum AIRichResponseMessageType {
@@ -410,7 +407,6 @@ message BotAgeCollectionMetadata {
410
407
 
411
408
  message BotAgentDeepLinkMetadata {
412
409
  optional string token = 1;
413
- optional bytes clientPublicKey = 2;
414
410
  }
415
411
 
416
412
  message BotAgentMetadata {
@@ -482,17 +478,6 @@ message BotCapabilityMetadata {
482
478
  AI_TAB_FORCE_CLIPPY = 59;
483
479
  UNIFIED_RESPONSE_EMBEDDED_SCREENS = 60;
484
480
  AI_SUBSCRIPTION_ENABLED = 61;
485
- UNIFIED_RESPONSE_AI_CONTENT_SEARCH_ENABLED = 62;
486
- UNIFIED_RESPONSE_MARKDOWN_LINKS_ENABLED = 63;
487
- AI_RICH_RESPONSE_MAPS_V2_ENABLED = 64;
488
- AI_SUBSCRIPTION_METERING_ENABLED = 65;
489
- RICH_RESPONSE_SPORTS_WIDGET_ENABLED = 66;
490
- AI_RICH_RESPONSE_ARTIFACTS_ENABLED = 67;
491
- AI_RICH_RESPONSE_EMAIL_CALENDAR_ENABLED = 68;
492
- AI_RICH_RESPONSE_REMINDERS_ENABLED = 69;
493
- AI_STOP_GENERATION_ENABLED = 70;
494
- AI_RICH_RESPONSE_3P_LINKING_CARD_ENABLED = 71;
495
- HATCH_NOTIFICATION_METADATA_EVENT_ENABLED = 72;
496
481
  }
497
482
  }
498
483
 
@@ -738,11 +723,6 @@ message BotMetadata {
738
723
  optional BotInfrastructureDiagnostics botInfrastructureDiagnostics = 37;
739
724
  optional AIMediaCollectionMetadata aiMediaCollectionMetadata = 38;
740
725
  optional BotCommandMetadata commandMetadata = 39;
741
- optional BotResolvedToolCallMetadata resolvedToolCallMetadata = 40;
742
- optional AISubscriptionUpsellMetadata subscriptionUpsellMetadata = 41;
743
- optional BotPttPromptMetadata pttPromptMetadata = 42;
744
- optional BotHistoryShareMetadata botHistoryShareMetadata = 43;
745
- optional bool responseStoppedByUser = 44;
746
726
  optional bytes internalMetadata = 999;
747
727
  }
748
728
 
@@ -795,8 +775,6 @@ enum BotMetricsEntryPoint {
795
775
  GROUP_MEMBER = 54;
796
776
  CHATLIST_SEARCH = 55;
797
777
  NEW_CHAT_LIST = 56;
798
- CONTACTS_TAB = 57;
799
- NEW_3P_AGENT_CREATION = 58;
800
778
  }
801
779
  message BotMetricsMetadata {
802
780
  optional string destinationId = 1;
@@ -1016,20 +994,11 @@ message BotSignatureVerificationUseCaseProof {
1016
994
  optional BotSignatureUseCase useCase = 2;
1017
995
  optional bytes signature = 3;
1018
996
  repeated bytes certificateChain = 4;
1019
- repeated CertificateSKI certificateChainSki = 5;
1020
997
  enum BotSignatureUseCase {
1021
998
  UNSPECIFIED = 0;
1022
999
  WA_BOT_MSG = 1;
1023
1000
  WA_TEE_BOT_MSG = 2;
1024
- P2P_PILLS = 3;
1025
- WA_WAFFLE = 4;
1026
- WA_FEATURE_PKI = 5;
1027
1001
  }
1028
- message CertificateSKI {
1029
- optional BotSignatureVerificationUseCaseProof.BotSignatureUseCase useCase = 1;
1030
- optional bytes ski = 2;
1031
- }
1032
-
1033
1002
  }
1034
1003
 
1035
1004
  message BotSourcesMetadata {
@@ -1203,7 +1172,6 @@ message ClientPairingProps {
1203
1172
  optional bool isSyncdSnapshotRecoveryEnabled = 3;
1204
1173
  optional bool isHsThumbnailSyncEnabled = 4;
1205
1174
  optional bytes subscriptionSyncPayload = 5;
1206
- optional bool isBotJidDbMigrated = 6;
1207
1175
  }
1208
1176
 
1209
1177
  message ClientPayload {
@@ -1233,21 +1201,6 @@ message ClientPayload {
1233
1201
  optional bytes paddingBytes = 34;
1234
1202
  optional int32 yearClass = 36;
1235
1203
  optional int32 memClass = 37;
1236
- optional InteropData interopData = 38;
1237
- optional TrafficAnonymization trafficAnonymization = 40;
1238
- optional bool lidDbMigrated = 41;
1239
- optional AccountType accountType = 42;
1240
- optional sfixed32 connectionSequenceInfo = 43;
1241
- optional bool paaLink = 44;
1242
- optional int32 preacksCount = 45;
1243
- optional int32 processingQueueSize = 46;
1244
- repeated string pairedPeripherals = 47;
1245
- optional bytes testIsolationId = 48;
1246
- optional int64 messageSts = 49;
1247
- enum AccountType {
1248
- DEFAULT = 0;
1249
- GUEST = 1;
1250
- }
1251
1204
  enum ConnectReason {
1252
1205
  PUSH = 0;
1253
1206
  USER_ACTIVATED = 1;
@@ -1283,9 +1236,6 @@ message ClientPayload {
1283
1236
  HARDCODED = 2;
1284
1237
  OVERRIDE = 3;
1285
1238
  FALLBACK = 4;
1286
- MNS = 5;
1287
- MNS_SECONDARY = 6;
1288
- SOCKS_PROXY = 7;
1289
1239
  }
1290
1240
  }
1291
1241
 
@@ -1305,22 +1255,9 @@ message ClientPayload {
1305
1255
  SERVICE_EXTENSION = 1;
1306
1256
  INTENTS_EXTENSION = 2;
1307
1257
  }
1308
- message InteropData {
1309
- optional uint64 accountId = 1;
1310
- optional bytes token = 2;
1311
- optional bool enableReadReceipts = 3;
1312
- }
1313
-
1314
1258
  enum Product {
1315
1259
  WHATSAPP = 0;
1316
1260
  MESSENGER = 1;
1317
- INTEROP = 2;
1318
- INTEROP_MSGR = 3;
1319
- WHATSAPP_LID = 4;
1320
- }
1321
- enum TrafficAnonymization {
1322
- OFF = 0;
1323
- STANDARD = 1;
1324
1261
  }
1325
1262
  message UserAgent {
1326
1263
  optional Platform platform = 1;
@@ -1338,8 +1275,6 @@ message ClientPayload {
1338
1275
  optional string deviceBoard = 13;
1339
1276
  optional string deviceExpId = 14;
1340
1277
  optional DeviceType deviceType = 15;
1341
- optional string deviceModelType = 16;
1342
- optional DistributionChannel distributionChannel = 17;
1343
1278
  message AppVersion {
1344
1279
  optional uint32 primary = 1;
1345
1280
  optional uint32 secondary = 2;
@@ -1355,12 +1290,6 @@ message ClientPayload {
1355
1290
  WEARABLE = 3;
1356
1291
  VR = 4;
1357
1292
  }
1358
- enum DistributionChannel {
1359
- APPSTORE = 0;
1360
- WEBSITE = 1;
1361
- TESTFLIGHT = 2;
1362
- INTERNAL = 3;
1363
- }
1364
1293
  enum Platform {
1365
1294
  ANDROID = 0;
1366
1295
  IOS = 1;
@@ -1398,11 +1327,6 @@ message ClientPayload {
1398
1327
  IPAD = 33;
1399
1328
  TEST = 34;
1400
1329
  SMART_GLASSES = 35;
1401
- BLUE_VR = 36;
1402
- AR_WRIST = 37;
1403
- WAIL = 38;
1404
- WORK_ANDROID = 39;
1405
- WORK_IOS = 40;
1406
1330
  }
1407
1331
  enum ReleaseChannel {
1408
1332
  RELEASE = 0;
@@ -1417,15 +1341,12 @@ message ClientPayload {
1417
1341
  optional string version = 2;
1418
1342
  optional WebdPayload webdPayload = 3;
1419
1343
  optional WebSubPlatform webSubPlatform = 4;
1420
- optional string browser = 5;
1421
- optional string browserVersion = 6;
1422
1344
  enum WebSubPlatform {
1423
1345
  WEB_BROWSER = 0;
1424
1346
  APP_STORE = 1;
1425
1347
  WIN_STORE = 2;
1426
1348
  DARWIN = 3;
1427
1349
  WIN32 = 4;
1428
- WIN_HYBRID = 5;
1429
1350
  }
1430
1351
  message WebdPayload {
1431
1352
  optional bool usesParticipantInKey = 1;
@@ -1555,13 +1476,6 @@ message ContextInfo {
1555
1476
  optional MediaDomainInfo mediaDomainInfo = 74;
1556
1477
  optional PartiallySelectedContent partiallySelectedContent = 75;
1557
1478
  optional uint32 afterReadDuration = 76;
1558
- optional CrossAppSource crossAppSource = 77;
1559
- optional BusinessInteractionPills businessInteractionPills = 78;
1560
- optional string posterStatusId = 79;
1561
- optional InstagramThreadLink instagramThreadLink = 80;
1562
- optional AIProvenance aiProvenance = 81;
1563
- repeated uint32 experienceIds = 82 [packed=true];
1564
- optional string partnerDeepLinkToken = 83;
1565
1479
  message AdReplyInfo {
1566
1480
  optional string advertiserName = 1;
1567
1481
  optional MediaType mediaType = 2;
@@ -1574,64 +1488,10 @@ message ContextInfo {
1574
1488
  }
1575
1489
  }
1576
1490
 
1577
- message BusinessInteractionPills {
1578
- optional string businessJid = 1;
1579
- repeated Pill pills = 2;
1580
- optional EntryPoint entryPoint = 3;
1581
- optional bytes signedPayload = 4;
1582
- optional BotSignatureVerificationMetadata signatureEnvelope = 5;
1583
- optional UnauthenticatedBusinessMetadata unauthenticatedBusinessMetadata = 6;
1584
- enum EntryPoint {
1585
- ENTRY_POINT_UNKNOWN = 0;
1586
- P2P_LINK_SHARE = 1;
1587
- CONTACT_CARD_SHARING = 2;
1588
- PHONE_NUMBER = 3;
1589
- STATUS = 4;
1590
- IN_THREAD_CONTEXT_CARD = 5;
1591
- }
1592
- message Pill {
1593
- optional ContextInfo.BusinessInteractionPills.PillType pillType = 1;
1594
- optional string actionUrl = 2;
1595
- }
1596
-
1597
- enum PillType {
1598
- UNKNOWN = 0;
1599
- VIEW_BUSINESS = 1;
1600
- CHAT = 2;
1601
- CALL = 3;
1602
- CATALOG = 4;
1603
- CHANNEL = 5;
1604
- BOOK_APPOINTMENT = 6;
1605
- OFFERS = 7;
1606
- BESTSELLERS = 8;
1607
- MENU = 9;
1608
- ABOUT = 10;
1609
- SHOP = 11;
1610
- ORDER = 12;
1611
- }
1612
- message SignedPayload {
1613
- optional string verifiedName = 1;
1614
- repeated ContextInfo.BusinessInteractionPills.Pill pills = 2;
1615
- }
1616
-
1617
- message UnauthenticatedBusinessMetadata {
1618
- optional string businessName = 1;
1619
- optional string businessCategory = 2;
1620
- optional bool businessIsOpen = 3;
1621
- optional int64 businessIsOpenSnapshotMs = 4;
1622
- }
1623
-
1624
- }
1625
-
1626
1491
  message BusinessMessageForwardInfo {
1627
1492
  optional string businessOwnerJid = 1;
1628
1493
  }
1629
1494
 
1630
- enum CrossAppSource {
1631
- CROSS_APP_SOURCE_UNKNOWN = 0;
1632
- CROSS_APP_SOURCE_INSTAGRAM = 1;
1633
- CROSS_APP_SOURCE_FACEBOOK = 2;
1634
- }
1635
1495
  message DataSharingContext {
1636
1496
  optional bool showMmDisclosure = 1;
1637
1497
  optional string encryptedSignalTokenConsented = 2;
@@ -1684,8 +1544,6 @@ message ContextInfo {
1684
1544
  optional int32 agmTitleStrategy = 30;
1685
1545
  optional int32 agmSubtitleStrategy = 31;
1686
1546
  optional int32 agmHeaderInteractionStrategy = 32;
1687
- optional bool containsCtwaFlowsAutoLabel = 33;
1688
- optional string productId = 34;
1689
1547
  enum AdType {
1690
1548
  CTWA = 0;
1691
1549
  CAWC = 1;
@@ -1727,10 +1585,6 @@ message ContextInfo {
1727
1585
  }
1728
1586
  }
1729
1587
 
1730
- message InstagramThreadLink {
1731
- optional string url = 1;
1732
- }
1733
-
1734
1588
  enum PairedMediaType {
1735
1589
  NOT_PAIRED_MEDIA = 0;
1736
1590
  SD_VIDEO_PARENT = 1;
@@ -1983,7 +1837,6 @@ message DeviceProps {
1983
1837
  optional bool supportHatchHistory = 22;
1984
1838
  repeated string supportedBotChannelFbids = 23;
1985
1839
  optional bool supportInlineContacts = 24;
1986
- optional bool supportNewsletter = 25;
1987
1840
  }
1988
1841
 
1989
1842
  enum PlatformType {
@@ -2012,9 +1865,6 @@ message DeviceProps {
2012
1865
  VR = 22;
2013
1866
  CLOUD_API = 23;
2014
1867
  SMARTGLASSES = 24;
2015
- WAIL = 25;
2016
- WASS = 26;
2017
- BUSINESS_BACK_OFFICE = 27;
2018
1868
  }
2019
1869
  }
2020
1870
 
@@ -2207,7 +2057,6 @@ message GroupRootKeyShareEntry {
2207
2057
  optional bytes groupRootKey = 1;
2208
2058
  optional string keyId = 2;
2209
2059
  optional int64 expiryTimestampMs = 3;
2210
- optional int64 createdTimestampMs = 4;
2211
2060
  }
2212
2061
 
2213
2062
  message HandshakeMessage {
@@ -2217,43 +2066,18 @@ message HandshakeMessage {
2217
2066
  message ClientFinish {
2218
2067
  optional bytes static = 1;
2219
2068
  optional bytes payload = 2;
2220
- optional bytes extendedCiphertext = 3;
2221
- optional bytes paddedBytes = 4;
2222
- optional bool simulateXxkemFs = 5;
2223
2069
  }
2224
2070
 
2225
2071
  message ClientHello {
2226
2072
  optional bytes ephemeral = 1;
2227
2073
  optional bytes static = 2;
2228
2074
  optional bytes payload = 3;
2229
- optional bool useExtended = 4;
2230
- optional bytes extendedCiphertext = 5;
2231
- optional bytes paddedBytes = 6;
2232
- optional bool sendServerHelloPaddedBytes = 7;
2233
- optional bool simulateXxkemFs = 8;
2234
- optional HandshakeMessage.HandshakePqMode pqMode = 9;
2235
- optional bytes extendedEphemeral = 10;
2236
- }
2237
-
2238
- enum HandshakePqMode {
2239
- HANDSHAKE_PQ_MODE_UNKNOWN = 0;
2240
- XXKEM = 1;
2241
- XXKEM_FS = 2;
2242
- XXKEM_EPH = 9;
2243
- WA_CLASSICAL = 3;
2244
- WA_PQ = 4;
2245
- IKKEM = 5;
2246
- IKKEM_FS = 6;
2247
- XXKEM_2 = 7;
2248
- IKKEM_2 = 8;
2249
2075
  }
2076
+
2250
2077
  message ServerHello {
2251
2078
  optional bytes ephemeral = 1;
2252
2079
  optional bytes static = 2;
2253
2080
  optional bytes payload = 3;
2254
- optional bytes extendedStatic = 4;
2255
- optional bytes paddingBytes = 5;
2256
- optional bytes extendedCiphertext = 6;
2257
2081
  }
2258
2082
 
2259
2083
  }
@@ -2444,6 +2268,14 @@ message KeyId {
2444
2268
  optional bytes id = 1;
2445
2269
  }
2446
2270
 
2271
+ message KeyTransparencyCommand {
2272
+ oneof commandInput {
2273
+ VerifyKeyTransparencyForUserSignalCommand verifyKtForUserSignal = 5;
2274
+ VerifyKeyTransparencyForUserMinosCommand verifyKtForUserMinos = 6;
2275
+ VerifyKeyTransparencyForUserMandrakeCommand verifyKtForUserMandrake = 7;
2276
+ }
2277
+ }
2278
+
2447
2279
  message LIDMigrationMappingSyncMessage {
2448
2280
  optional bytes encodedMappingPayload = 1;
2449
2281
  }
@@ -2658,18 +2490,6 @@ message Message {
2658
2490
  optional PollAddOptionMessage pollAddOptionMessage = 121;
2659
2491
  optional EventInviteMessage eventInviteMessage = 122;
2660
2492
  optional GroupRootKeyShare groupRootKeyShare = 123;
2661
- optional PaymentReminderMessage paymentReminderMessage = 124;
2662
- optional SplitPaymentMessage splitPaymentMessage = 125;
2663
- optional FutureProofMessage newsletterAdminProfileStatusMessage = 126;
2664
- optional RootSecretDistributeMessage rootSecretDistributeMessage = 127;
2665
- optional SplitPaymentUpdateMessage splitPaymentUpdateMessage = 128;
2666
- optional MusicMessage musicMessage = 129;
2667
- optional StatusLinkPreviewMetadata statusLinkPreviewMetadata = 130;
2668
- optional FutureProofMessage botPlatformRegistrationSuccessMessage = 131;
2669
- optional FutureProofMessage newsletterScheduledMessage = 132;
2670
- optional FutureProofMessage acp2SettingMessage = 133;
2671
- optional FutureProofMessage audioStickerMessage = 134;
2672
- optional FutureProofMessage botGroupParticipantMessage = 137;
2673
2493
  message AlbumMessage {
2674
2494
  optional uint32 expectedImageCount = 2;
2675
2495
  optional uint32 expectedVideoCount = 3;
@@ -2741,12 +2561,6 @@ message Message {
2741
2561
  }
2742
2562
  }
2743
2563
 
2744
- message BotHistoryShareSyncMetadata {
2745
- optional string botJid = 1;
2746
- optional int64 historyShareCutoffTimestamp = 2;
2747
- repeated Message.HistoryShareMessageEntry historyShareMessages = 3;
2748
- }
2749
-
2750
2564
  message ButtonsMessage {
2751
2565
  optional string contentText = 6;
2752
2566
  optional string footerText = 7;
@@ -2817,7 +2631,6 @@ message Message {
2817
2631
  optional string deeplinkPayload = 9;
2818
2632
  optional MessageContextInfo messageContextInfo = 10;
2819
2633
  optional uint32 callEntryPoint = 11;
2820
- optional string callReason = 12;
2821
2634
  }
2822
2635
 
2823
2636
  message CallLogMessage {
@@ -2857,47 +2670,6 @@ message Message {
2857
2670
  optional string id = 2;
2858
2671
  }
2859
2672
 
2860
- message ChatAnimatedWallpaper {
2861
- optional string animatedWallpaperId = 1;
2862
- optional float dimLevel = 2;
2863
- }
2864
-
2865
- message ChatCustomImageWallpaper {
2866
- optional string directPath = 1;
2867
- optional bytes mediaKey = 2;
2868
- optional bytes fileEncSha256 = 3;
2869
- optional bytes fileSha256 = 4;
2870
- optional float dimLevel = 5;
2871
- }
2872
-
2873
- message ChatDefaultWallpaper {
2874
- optional bool isDoodleEnabled = 1;
2875
- }
2876
-
2877
- message ChatSolidColorWallpaper {
2878
- optional string colorLight = 1;
2879
- optional string colorDark = 2;
2880
- optional bool isDoodleEnabled = 3;
2881
- }
2882
-
2883
- message ChatStockImageWallpaper {
2884
- optional string stockImageId = 1;
2885
- optional float dimLevel = 2;
2886
- }
2887
-
2888
- message ChatThemeSetting {
2889
- optional int64 settingTimestampMs = 1;
2890
- optional bool clearTheme = 2;
2891
- optional string colorSchemeId = 3;
2892
- oneof wallpaper {
2893
- Message.ChatDefaultWallpaper defaultWallpaper = 10;
2894
- Message.ChatSolidColorWallpaper solidColor = 11;
2895
- Message.ChatStockImageWallpaper stockImage = 12;
2896
- Message.ChatCustomImageWallpaper customImage = 13;
2897
- Message.ChatAnimatedWallpaper animatedWallpaper = 14;
2898
- }
2899
- }
2900
-
2901
2673
  message CloudAPIThreadControlNotification {
2902
2674
  optional CloudAPIThreadControl status = 1;
2903
2675
  optional int64 senderNotificationTimestampMs = 2;
@@ -3007,8 +2779,6 @@ message Message {
3007
2779
  optional int64 startTime = 5;
3008
2780
  optional string caption = 6;
3009
2781
  optional bool isCanceled = 7;
3010
- optional int64 endTime = 8;
3011
- optional string callLink = 9;
3012
2782
  }
3013
2783
 
3014
2784
  message EventMessage {
@@ -3064,7 +2834,7 @@ message Message {
3064
2834
  optional bool viewOnce = 30;
3065
2835
  optional uint32 videoHeight = 31;
3066
2836
  optional uint32 videoWidth = 32;
3067
- optional Message.MMSThumbnailMetadata faviconMmsMetadata = 33;
2837
+ optional Message.MMSThumbnailMetadata faviconMMSMetadata = 33;
3068
2838
  optional Message.LinkPreviewMetadata linkPreviewMetadata = 34;
3069
2839
  optional Message.PaymentLinkMetadata paymentLinkMetadata = 35;
3070
2840
  repeated Message.VideoEndCard endCardTiles = 36;
@@ -3186,11 +2956,6 @@ message Message {
3186
2956
 
3187
2957
  }
3188
2958
 
3189
- message HistoryShareMessageEntry {
3190
- optional string stanzaId = 1;
3191
- optional bytes messageSecretProof = 2;
3192
- }
3193
-
3194
2959
  message HistorySyncMessageAccessStatus {
3195
2960
  optional bool completeAccessGranted = 1;
3196
2961
  }
@@ -3291,7 +3056,6 @@ message Message {
3291
3056
  optional string uuid = 1;
3292
3057
  optional string data = 2;
3293
3058
  optional string type = 3;
3294
- optional string fallback = 4;
3295
3059
  }
3296
3060
 
3297
3061
  message Body {
@@ -3530,13 +3294,6 @@ message Message {
3530
3294
  optional uint32 thumbnailWidth = 7;
3531
3295
  }
3532
3296
 
3533
- message MarkAsVerifiedAction {
3534
- optional string userJidString = 1;
3535
- optional bool verified = 2;
3536
- optional bytes verifiedIdentityKey = 3;
3537
- optional uint64 actionSeq = 4;
3538
- }
3539
-
3540
3297
  message MessageHistoryBundle {
3541
3298
  optional string mimetype = 1;
3542
3299
  optional bytes fileSha256 = 2;
@@ -3554,25 +3311,11 @@ message Message {
3554
3311
  optional int64 messageCount = 3;
3555
3312
  repeated string nonHistoryReceivers = 4;
3556
3313
  optional int64 oldestMessageTimestampInBundle = 5;
3557
- optional bool includesChatTheme = 6;
3558
3314
  }
3559
3315
 
3560
3316
  message MessageHistoryNotice {
3561
3317
  optional ContextInfo contextInfo = 1;
3562
3318
  optional Message.MessageHistoryMetadata messageHistoryMetadata = 2;
3563
- optional Message.BotHistoryShareSyncMetadata botHistoryShareSyncMetadata = 3;
3564
- }
3565
-
3566
- message MusicMessage {
3567
- optional EmbeddedMusic embeddedMusic = 1;
3568
- optional string songUri = 2;
3569
- optional string artworkUri = 3;
3570
- optional int32 style = 4;
3571
- optional ContextInfo contextInfo = 5;
3572
- enum MusicMessageStyle {
3573
- UNKNOWN = 0;
3574
- VINYL = 1;
3575
- }
3576
3319
  }
3577
3320
 
3578
3321
  message NewsletterAdminInviteMessage {
@@ -3621,7 +3364,6 @@ message Message {
3621
3364
  message PaymentExtendedMetadata {
3622
3365
  optional uint32 type = 1;
3623
3366
  optional string platform = 2;
3624
- optional string messageParamsJson = 3;
3625
3367
  }
3626
3368
 
3627
3369
  message PaymentInviteMessage {
@@ -3639,7 +3381,6 @@ message Message {
3639
3381
  FBPAY = 1;
3640
3382
  NOVI = 2;
3641
3383
  UPI = 3;
3642
- PIX = 4;
3643
3384
  }
3644
3385
  }
3645
3386
 
@@ -3665,33 +3406,6 @@ message Message {
3665
3406
 
3666
3407
  }
3667
3408
 
3668
- message PaymentReminderMessage {
3669
- optional string reminderId = 1;
3670
- optional string instanceId = 2;
3671
- optional string description = 3;
3672
- optional ReminderFrequency frequency = 4;
3673
- optional ReminderStatus status = 5;
3674
- optional string payeeVpa = 6;
3675
- optional string payeeJid = 7;
3676
- optional string payerJid = 8;
3677
- optional Money amount = 9;
3678
- enum ReminderFrequency {
3679
- REMINDER_FREQUENCY_UNKNOWN = 0;
3680
- WEEKLY = 1;
3681
- BI_WEEKLY = 2;
3682
- MONTHLY = 3;
3683
- QUARTERLY = 4;
3684
- }
3685
- enum ReminderStatus {
3686
- REMINDER_STATUS_UNKNOWN = 0;
3687
- ACTIVE = 1;
3688
- CANCELLED_BY_CREATOR = 2;
3689
- STOPPED_BY_RECEIVER = 3;
3690
- EXPIRED = 4;
3691
- PAID = 5;
3692
- }
3693
- }
3694
-
3695
3409
  message PeerDataOperationRequestMessage {
3696
3410
  optional Message.PeerDataOperationRequestType peerDataOperationRequestType = 1;
3697
3411
  repeated RequestStickerReupload requestStickerReupload = 2;
@@ -3749,7 +3463,6 @@ message Message {
3749
3463
  optional int32 onDemandMsgCount = 4;
3750
3464
  optional int64 oldestMsgTimestampMs = 5;
3751
3465
  optional string accountLid = 6;
3752
- optional bool supportInlineResponse = 7;
3753
3466
  }
3754
3467
 
3755
3468
  message PlaceholderMessageResendRequest {
@@ -3789,7 +3502,6 @@ message Message {
3789
3502
  optional HistorySyncChunkRetryResponse historySyncChunkRetryResponse = 10;
3790
3503
  optional FlowResponsesCsvBundle flowResponsesCsvBundle = 11;
3791
3504
  optional BizBroadcastInsightsContactListResponse bizBroadcastInsightsContactListResponse = 12;
3792
- optional ContactRefreshResponse contactRefreshResponse = 13;
3793
3505
  message BizBroadcastInsightsContactListResponse {
3794
3506
  optional string campaignId = 1;
3795
3507
  optional int64 timestampMs = 2;
@@ -3811,13 +3523,6 @@ message Message {
3811
3523
  optional string nonce = 1;
3812
3524
  }
3813
3525
 
3814
- message ContactRefreshResponse {
3815
- repeated string coveredRequestIds = 1;
3816
- optional uint64 collectionVersion = 2;
3817
- optional int64 primaryDurationMs = 3;
3818
- optional uint32 uniqueContactCount = 4;
3819
- }
3820
-
3821
3526
  message FlowResponsesCsvBundle {
3822
3527
  optional string flowId = 1;
3823
3528
  optional string galaxyFlowDownloadRequestId = 2;
@@ -3924,7 +3629,6 @@ message Message {
3924
3629
  GALAXY_FLOW_ACTION = 11;
3925
3630
  BUSINESS_BROADCAST_INSIGHTS_DELIVERED_TO = 12;
3926
3631
  BUSINESS_BROADCAST_INSIGHTS_REFRESH = 13;
3927
- CONTACT_REFRESH_REQUEST = 14;
3928
3632
  }
3929
3633
  message PinInChatMessage {
3930
3634
  optional MessageKey key = 1;
@@ -3947,7 +3651,6 @@ message Message {
3947
3651
  message PollAddOptionMessage {
3948
3652
  optional MessageKey pollCreationMessageKey = 1;
3949
3653
  optional Message.PollCreationMessage.Option addOption = 2;
3950
- optional Message.PollUpdateMessageMetadata metadata = 3;
3951
3654
  }
3952
3655
 
3953
3656
  enum PollContentType {
@@ -4003,8 +3706,6 @@ message Message {
4003
3706
  }
4004
3707
 
4005
3708
  message PollUpdateMessageMetadata {
4006
- optional bytes pollNameHash = 1;
4007
- optional string lastEditStanzaId = 2;
4008
3709
  }
4009
3710
 
4010
3711
  message PollVoteMessage {
@@ -4068,13 +3769,6 @@ message Message {
4068
3769
  optional MemberLabel memberLabel = 27;
4069
3770
  optional AIMediaCollectionMessage aiMediaCollectionMessage = 28;
4070
3771
  optional uint32 afterReadDuration = 29;
4071
- optional Message.ChatThemeSetting chatThemeSetting = 30;
4072
- optional AIMetadataOperation aiMetadataOperation = 31;
4073
- optional Message.MarkAsVerifiedAction markAsVerifiedAction = 32;
4074
- optional CoexStateSync coexStateSync = 33;
4075
- optional ACP2Setting acp2Setting = 35;
4076
- optional Message.SharedDeviceContactHashKeyShare sharedDeviceContactHashKeyShare = 36;
4077
- optional Message.SharedDeviceContactHashKeyRequest sharedDeviceContactHashKeyRequest = 37;
4078
3772
  enum Type {
4079
3773
  REVOKE = 0;
4080
3774
  EPHEMERAL_SETTING = 3;
@@ -4104,13 +3798,6 @@ message Message {
4104
3798
  GROUP_MEMBER_LABEL_CHANGE = 30;
4105
3799
  AI_MEDIA_COLLECTION_MESSAGE = 31;
4106
3800
  MESSAGE_UNSCHEDULE = 32;
4107
- CHAT_THEME_SETTING = 34;
4108
- AI_METADATA_OPERATION = 35;
4109
- MARK_AS_VERIFIED_ACTION = 36;
4110
- COEX_STATE_SYNC = 37;
4111
- ACP2_SETTING = 39;
4112
- SHARED_DEVICE_CONTACT_HASH_KEY_SHARE = 40;
4113
- SHARED_DEVICE_CONTACT_HASH_KEY_REQUEST = 41;
4114
3801
  }
4115
3802
  }
4116
3803
 
@@ -4154,10 +3841,6 @@ message Message {
4154
3841
  }
4155
3842
  }
4156
3843
 
4157
- message RootSecretDistributeMessage {
4158
- optional string chatJid = 1;
4159
- }
4160
-
4161
3844
  message ScheduledCallCreationMessage {
4162
3845
  optional int64 scheduledTimestampMs = 1;
4163
3846
  optional CallType callType = 2;
@@ -4206,60 +3889,6 @@ message Message {
4206
3889
  optional bytes axolotlSenderKeyDistributionMessage = 2;
4207
3890
  }
4208
3891
 
4209
- message SharedDeviceContactHashKey {
4210
- optional uint32 epoch = 1;
4211
- optional Kind kind = 2;
4212
- optional bytes keyData = 3;
4213
- enum Kind {
4214
- UNKNOWN = 0;
4215
- LID = 1;
4216
- PHONE_NUMBER = 2;
4217
- }
4218
- }
4219
-
4220
- message SharedDeviceContactHashKeyRequest {
4221
- optional uint32 knownEpoch = 1;
4222
- }
4223
-
4224
- message SharedDeviceContactHashKeyShare {
4225
- repeated Message.SharedDeviceContactHashKey keys = 1;
4226
- }
4227
-
4228
- message SplitPaymentMessage {
4229
- optional string splitId = 1;
4230
- optional Money totalAmount = 2;
4231
- optional string description = 3;
4232
- optional string requesterJid = 4;
4233
- repeated Message.SplitPaymentParticipant participants = 5;
4234
- optional int64 createdAtMs = 6;
4235
- optional ContextInfo contextInfo = 17;
4236
- }
4237
-
4238
- message SplitPaymentParticipant {
4239
- optional string jid = 1;
4240
- optional Money amount = 2;
4241
- optional SplitPaymentStatus status = 3;
4242
- enum SplitPaymentStatus {
4243
- PENDING = 0;
4244
- PAID = 1;
4245
- }
4246
- }
4247
-
4248
- message SplitPaymentUpdateMessage {
4249
- optional string splitId = 1;
4250
- optional string participantJid = 2;
4251
- }
4252
-
4253
- message StatusLinkPreviewMetadata {
4254
- optional Style style = 1;
4255
- enum Style {
4256
- AUTO = 0;
4257
- COMPACT = 1;
4258
- FULL = 2;
4259
- IMMERSIVE = 3;
4260
- }
4261
- }
4262
-
4263
3892
  message StatusNotificationMessage {
4264
3893
  optional MessageKey responseMessageKey = 1;
4265
3894
  optional MessageKey originalMessageKey = 2;
@@ -4269,7 +3898,6 @@ message Message {
4269
3898
  STATUS_ADD_YOURS = 1;
4270
3899
  STATUS_RESHARE = 2;
4271
3900
  STATUS_QUESTION_ANSWER_RESHARE = 3;
4272
- STATUS_GROUP_STATUS_REPLY = 4;
4273
3901
  }
4274
3902
  }
4275
3903
 
@@ -4321,9 +3949,6 @@ message Message {
4321
3949
  optional string accessibilityLabel = 22;
4322
3950
  optional int32 premium = 24;
4323
3951
  optional string emojis = 25;
4324
- oneof audio {
4325
- Message.AudioMessage audioMessage = 26;
4326
- }
4327
3952
  }
4328
3953
 
4329
3954
  message StickerPackMessage {
@@ -4461,8 +4086,6 @@ message Message {
4461
4086
  optional uint64 motionPhotoPresentationOffsetMs = 29;
4462
4087
  optional string metadataUrl = 30;
4463
4088
  optional VideoSourceType videoSourceType = 31;
4464
- optional string dashManifestUrl = 33;
4465
- optional int64 smartThumbnailTs = 34;
4466
4089
  enum Attribution {
4467
4090
  NONE = 0;
4468
4091
  GIPHY = 1;
@@ -4547,10 +4170,6 @@ message MessageContextInfo {
4547
4170
  repeated ThreadID threadId = 15;
4548
4171
  optional WebLinkRenderConfig weblinkRenderConfig = 16;
4549
4172
  optional bytes teeBotMetadata = 17;
4550
- optional NonE2EEAttestation accountEncryptionAttestation = 18;
4551
- optional bytes associatedPrimaryIdentityKey = 19;
4552
- optional string teeContextAnchorMessageId = 20;
4553
- optional ACP2Setting acp2Setting = 21;
4554
4173
  enum MessageAddonExpiryType {
4555
4174
  STATIC = 1;
4556
4175
  DEPENDENT_ON_PARENT = 2;
@@ -5307,8 +4926,6 @@ message StatusAttribution {
5307
4926
  SHARECHAT = 9;
5308
4927
  GOOGLE_PHOTOS = 10;
5309
4928
  SOUNDCLOUD = 11;
5310
- SHAZAM = 12;
5311
- PICSART = 13;
5312
4929
  }
5313
4930
  }
5314
4931
 
@@ -5366,8 +4983,6 @@ message StatusAttribution {
5366
4983
  LAYOUTS = 8;
5367
4984
  NEWSLETTER_STATUS = 9;
5368
4985
  STATUS_CLOSE_SHARING = 10;
5369
- PAID_PARTNERSHIP = 11;
5370
- USERNAME_STATUS = 12;
5371
4986
  }
5372
4987
  }
5373
4988
 
@@ -6386,6 +6001,52 @@ message VerifiedNameCertificate {
6386
6001
 
6387
6002
  }
6388
6003
 
6004
+ message VerifyKeyTransparencyForUserMandrakeCommand {
6005
+ required bytes lookupResponse = 1;
6006
+ required int64 userFbid = 2;
6007
+ required uint64 auditorSignatureTtlSecs = 3;
6008
+ repeated string requestedAuditorList = 4;
6009
+ required bool isProductionBuild = 5;
6010
+ required bytes localMailboxHead = 6;
6011
+ }
6012
+
6013
+ message VerifyKeyTransparencyForUserMandrakeResult {
6014
+ optional bool success = 1;
6015
+ optional string error = 2;
6016
+ }
6017
+
6018
+ message VerifyKeyTransparencyForUserMinosCommand {
6019
+ required bytes lookupResponse = 1;
6020
+ required int64 userFbid = 2;
6021
+ required uint64 auditorSignatureTtlSecs = 3;
6022
+ repeated string requestedAuditorList = 4;
6023
+ required bool isProductionBuild = 5;
6024
+ required bytes localEpochHead = 6;
6025
+ }
6026
+
6027
+ message VerifyKeyTransparencyForUserMinosResult {
6028
+ optional bool success = 1;
6029
+ optional string error = 2;
6030
+ }
6031
+
6032
+ message VerifyKeyTransparencyForUserSignalCommand {
6033
+ required bytes rootHash = 1;
6034
+ required uint64 currentEpoch = 2;
6035
+ required int64 userFbid = 3;
6036
+ required bytes historyProof = 4;
6037
+ required bytes metaSignature = 5;
6038
+ required bytes cloudflareSignature = 6;
6039
+ required bytes cloudflareMessage = 7;
6040
+ required bytes cloudflarePubKey = 8;
6041
+ required uint64 auditorSignatureTtlSecs = 9;
6042
+ map<uint64, bytes> local_device_keys = 10;
6043
+ }
6044
+
6045
+ message VerifyKeyTransparencyForUserSignalResult {
6046
+ optional bool success = 1;
6047
+ optional string error = 2;
6048
+ }
6049
+
6389
6050
  message WallpaperSettings {
6390
6051
  optional string filename = 1;
6391
6052
  optional uint32 opacity = 2;