@wppconnect/wa-proto 2.3000.1050947775 → 2.3000.1050968285

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 +4 -483
  2. package/dist/index.d.ts +11521 -16782
  3. package/dist/index.js +40422 -56876
  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.1050947775
4
+ /// WhatsApp Version: 2.3000.1050968285
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 {
@@ -293,7 +290,6 @@ message AIThreadInfo {
293
290
  DEFAULT = 1;
294
291
  INCOGNITO = 2;
295
292
  SIDE_CHAT = 3;
296
- PRIVATE_SEARCH_CHAT = 4;
297
293
  }
298
294
  }
299
295
 
@@ -411,7 +407,6 @@ message BotAgeCollectionMetadata {
411
407
 
412
408
  message BotAgentDeepLinkMetadata {
413
409
  optional string token = 1;
414
- optional bytes clientPublicKey = 2;
415
410
  }
416
411
 
417
412
  message BotAgentMetadata {
@@ -483,27 +478,6 @@ message BotCapabilityMetadata {
483
478
  AI_TAB_FORCE_CLIPPY = 59;
484
479
  UNIFIED_RESPONSE_EMBEDDED_SCREENS = 60;
485
480
  AI_SUBSCRIPTION_ENABLED = 61;
486
- UNIFIED_RESPONSE_AI_CONTENT_SEARCH_ENABLED = 62;
487
- UNIFIED_RESPONSE_MARKDOWN_LINKS_ENABLED = 63;
488
- AI_RICH_RESPONSE_MAPS_V2_ENABLED = 64;
489
- AI_SUBSCRIPTION_METERING_ENABLED = 65;
490
- RICH_RESPONSE_SPORTS_WIDGET_ENABLED = 66;
491
- AI_RICH_RESPONSE_ARTIFACTS_ENABLED = 67;
492
- AI_RICH_RESPONSE_EMAIL_CALENDAR_ENABLED = 68;
493
- AI_RICH_RESPONSE_REMINDERS_ENABLED = 69;
494
- AI_STOP_GENERATION_ENABLED = 70;
495
- AI_RICH_RESPONSE_3P_LINKING_CARD_ENABLED = 71;
496
- HATCH_NOTIFICATION_METADATA_EVENT_ENABLED = 72;
497
- AI_SUGGESTED_REPLIES_ENABLED = 73;
498
- RICH_RESPONSE_IN_APP_SURVEY_BLOKS = 74;
499
- RICH_RESPONSE_IMAGE_SOURCE_ATTRIBUTION = 75;
500
- HATCH_CONNECTOR_ACTION_CARD_ENABLED = 76;
501
- HATCH_SECURE_CREDENTIAL_CARD_ENABLED = 77;
502
- HATCH_BROWSER_TASK_CARD_ENABLED = 78;
503
- HATCH_ARTIFACT_CARD_ENABLED = 79;
504
- AI_STUDY_CENTER_ENABLED = 80;
505
- AI_MUSE_JARVIS_SCHEMA_ENABLED = 81;
506
- AI_STUDY_QUIZ_ENABLED = 82;
507
481
  }
508
482
  }
509
483
 
@@ -698,7 +672,6 @@ message BotMessageOrigin {
698
672
  optional BotMessageOriginType type = 1;
699
673
  enum BotMessageOriginType {
700
674
  BOT_MESSAGE_ORIGIN_TYPE_AI_INITIATED = 0;
701
- BOT_MESSAGE_ORIGIN_TYPE_META_AI_THREAD_WELCOME = 1;
702
675
  }
703
676
  }
704
677
 
@@ -750,11 +723,6 @@ message BotMetadata {
750
723
  optional BotInfrastructureDiagnostics botInfrastructureDiagnostics = 37;
751
724
  optional AIMediaCollectionMetadata aiMediaCollectionMetadata = 38;
752
725
  optional BotCommandMetadata commandMetadata = 39;
753
- optional BotResolvedToolCallMetadata resolvedToolCallMetadata = 40;
754
- optional AISubscriptionUpsellMetadata subscriptionUpsellMetadata = 41;
755
- optional BotPttPromptMetadata pttPromptMetadata = 42;
756
- optional BotHistoryShareMetadata botHistoryShareMetadata = 43;
757
- optional bool responseStoppedByUser = 44;
758
726
  optional bytes internalMetadata = 999;
759
727
  }
760
728
 
@@ -807,9 +775,6 @@ enum BotMetricsEntryPoint {
807
775
  GROUP_MEMBER = 54;
808
776
  CHATLIST_SEARCH = 55;
809
777
  NEW_CHAT_LIST = 56;
810
- CONTACTS_TAB = 57;
811
- NEW_3P_AGENT_CREATION = 58;
812
- SHARE = 59;
813
778
  }
814
779
  message BotMetricsMetadata {
815
780
  optional string destinationId = 1;
@@ -1029,20 +994,11 @@ message BotSignatureVerificationUseCaseProof {
1029
994
  optional BotSignatureUseCase useCase = 2;
1030
995
  optional bytes signature = 3;
1031
996
  repeated bytes certificateChain = 4;
1032
- repeated CertificateSKI certificateChainSki = 5;
1033
997
  enum BotSignatureUseCase {
1034
998
  UNSPECIFIED = 0;
1035
999
  WA_BOT_MSG = 1;
1036
1000
  WA_TEE_BOT_MSG = 2;
1037
- P2P_PILLS = 3;
1038
- WA_WAFFLE = 4;
1039
- WA_FEATURE_PKI = 5;
1040
1001
  }
1041
- message CertificateSKI {
1042
- optional BotSignatureVerificationUseCaseProof.BotSignatureUseCase useCase = 1;
1043
- optional bytes ski = 2;
1044
- }
1045
-
1046
1002
  }
1047
1003
 
1048
1004
  message BotSourcesMetadata {
@@ -1216,7 +1172,6 @@ message ClientPairingProps {
1216
1172
  optional bool isSyncdSnapshotRecoveryEnabled = 3;
1217
1173
  optional bool isHsThumbnailSyncEnabled = 4;
1218
1174
  optional bytes subscriptionSyncPayload = 5;
1219
- optional bool isBotJidDbMigrated = 6;
1220
1175
  }
1221
1176
 
1222
1177
  message ClientPayload {
@@ -1246,21 +1201,6 @@ message ClientPayload {
1246
1201
  optional bytes paddingBytes = 34;
1247
1202
  optional int32 yearClass = 36;
1248
1203
  optional int32 memClass = 37;
1249
- optional InteropData interopData = 38;
1250
- optional TrafficAnonymization trafficAnonymization = 40;
1251
- optional bool lidDbMigrated = 41;
1252
- optional AccountType accountType = 42;
1253
- optional sfixed32 connectionSequenceInfo = 43;
1254
- optional bool paaLink = 44;
1255
- optional int32 preacksCount = 45;
1256
- optional int32 processingQueueSize = 46;
1257
- repeated string pairedPeripherals = 47;
1258
- optional bytes testIsolationId = 48;
1259
- optional int64 messageSts = 49;
1260
- enum AccountType {
1261
- DEFAULT = 0;
1262
- GUEST = 1;
1263
- }
1264
1204
  enum ConnectReason {
1265
1205
  PUSH = 0;
1266
1206
  USER_ACTIVATED = 1;
@@ -1296,9 +1236,6 @@ message ClientPayload {
1296
1236
  HARDCODED = 2;
1297
1237
  OVERRIDE = 3;
1298
1238
  FALLBACK = 4;
1299
- MNS = 5;
1300
- MNS_SECONDARY = 6;
1301
- SOCKS_PROXY = 7;
1302
1239
  }
1303
1240
  }
1304
1241
 
@@ -1318,22 +1255,9 @@ message ClientPayload {
1318
1255
  SERVICE_EXTENSION = 1;
1319
1256
  INTENTS_EXTENSION = 2;
1320
1257
  }
1321
- message InteropData {
1322
- optional uint64 accountId = 1;
1323
- optional bytes token = 2;
1324
- optional bool enableReadReceipts = 3;
1325
- }
1326
-
1327
1258
  enum Product {
1328
1259
  WHATSAPP = 0;
1329
1260
  MESSENGER = 1;
1330
- INTEROP = 2;
1331
- INTEROP_MSGR = 3;
1332
- WHATSAPP_LID = 4;
1333
- }
1334
- enum TrafficAnonymization {
1335
- OFF = 0;
1336
- STANDARD = 1;
1337
1261
  }
1338
1262
  message UserAgent {
1339
1263
  optional Platform platform = 1;
@@ -1351,8 +1275,6 @@ message ClientPayload {
1351
1275
  optional string deviceBoard = 13;
1352
1276
  optional string deviceExpId = 14;
1353
1277
  optional DeviceType deviceType = 15;
1354
- optional string deviceModelType = 16;
1355
- optional DistributionChannel distributionChannel = 17;
1356
1278
  message AppVersion {
1357
1279
  optional uint32 primary = 1;
1358
1280
  optional uint32 secondary = 2;
@@ -1368,12 +1290,6 @@ message ClientPayload {
1368
1290
  WEARABLE = 3;
1369
1291
  VR = 4;
1370
1292
  }
1371
- enum DistributionChannel {
1372
- APPSTORE = 0;
1373
- WEBSITE = 1;
1374
- TESTFLIGHT = 2;
1375
- INTERNAL = 3;
1376
- }
1377
1293
  enum Platform {
1378
1294
  ANDROID = 0;
1379
1295
  IOS = 1;
@@ -1411,12 +1327,6 @@ message ClientPayload {
1411
1327
  IPAD = 33;
1412
1328
  TEST = 34;
1413
1329
  SMART_GLASSES = 35;
1414
- BLUE_VR = 36;
1415
- AR_WRIST = 37;
1416
- WAIL = 38;
1417
- WORK_ANDROID = 39;
1418
- WORK_IOS = 40;
1419
- AUTOMOTIVE = 41;
1420
1330
  }
1421
1331
  enum ReleaseChannel {
1422
1332
  RELEASE = 0;
@@ -1431,15 +1341,12 @@ message ClientPayload {
1431
1341
  optional string version = 2;
1432
1342
  optional WebdPayload webdPayload = 3;
1433
1343
  optional WebSubPlatform webSubPlatform = 4;
1434
- optional string browser = 5;
1435
- optional string browserVersion = 6;
1436
1344
  enum WebSubPlatform {
1437
1345
  WEB_BROWSER = 0;
1438
1346
  APP_STORE = 1;
1439
1347
  WIN_STORE = 2;
1440
1348
  DARWIN = 3;
1441
1349
  WIN32 = 4;
1442
- WIN_HYBRID = 5;
1443
1350
  }
1444
1351
  message WebdPayload {
1445
1352
  optional bool usesParticipantInKey = 1;
@@ -1569,14 +1476,6 @@ message ContextInfo {
1569
1476
  optional MediaDomainInfo mediaDomainInfo = 74;
1570
1477
  optional PartiallySelectedContent partiallySelectedContent = 75;
1571
1478
  optional uint32 afterReadDuration = 76;
1572
- optional CrossAppSource crossAppSource = 77;
1573
- optional BusinessInteractionPills businessInteractionPills = 78;
1574
- optional string posterStatusId = 79;
1575
- optional InstagramThreadLink instagramThreadLink = 80;
1576
- optional AIProvenance aiProvenance = 81;
1577
- repeated uint32 experienceIds = 82 [packed=true];
1578
- optional string partnerDeepLinkToken = 83;
1579
- optional uint32 sourceExperienceId = 84;
1580
1479
  message AdReplyInfo {
1581
1480
  optional string advertiserName = 1;
1582
1481
  optional MediaType mediaType = 2;
@@ -1589,64 +1488,10 @@ message ContextInfo {
1589
1488
  }
1590
1489
  }
1591
1490
 
1592
- message BusinessInteractionPills {
1593
- optional string businessJid = 1;
1594
- repeated Pill pills = 2;
1595
- optional EntryPoint entryPoint = 3;
1596
- optional bytes signedPayload = 4;
1597
- optional BotSignatureVerificationMetadata signatureEnvelope = 5;
1598
- optional UnauthenticatedBusinessMetadata unauthenticatedBusinessMetadata = 6;
1599
- enum EntryPoint {
1600
- ENTRY_POINT_UNKNOWN = 0;
1601
- P2P_LINK_SHARE = 1;
1602
- CONTACT_CARD_SHARING = 2;
1603
- PHONE_NUMBER = 3;
1604
- STATUS = 4;
1605
- IN_THREAD_CONTEXT_CARD = 5;
1606
- }
1607
- message Pill {
1608
- optional ContextInfo.BusinessInteractionPills.PillType pillType = 1;
1609
- optional string actionUrl = 2;
1610
- }
1611
-
1612
- enum PillType {
1613
- UNKNOWN = 0;
1614
- VIEW_BUSINESS = 1;
1615
- CHAT = 2;
1616
- CALL = 3;
1617
- CATALOG = 4;
1618
- CHANNEL = 5;
1619
- BOOK_APPOINTMENT = 6;
1620
- OFFERS = 7;
1621
- BESTSELLERS = 8;
1622
- MENU = 9;
1623
- ABOUT = 10;
1624
- SHOP = 11;
1625
- ORDER = 12;
1626
- }
1627
- message SignedPayload {
1628
- optional string verifiedName = 1;
1629
- repeated ContextInfo.BusinessInteractionPills.Pill pills = 2;
1630
- }
1631
-
1632
- message UnauthenticatedBusinessMetadata {
1633
- optional string businessName = 1;
1634
- optional string businessCategory = 2;
1635
- optional bool businessIsOpen = 3;
1636
- optional int64 businessIsOpenSnapshotMs = 4;
1637
- }
1638
-
1639
- }
1640
-
1641
1491
  message BusinessMessageForwardInfo {
1642
1492
  optional string businessOwnerJid = 1;
1643
1493
  }
1644
1494
 
1645
- enum CrossAppSource {
1646
- CROSS_APP_SOURCE_UNKNOWN = 0;
1647
- CROSS_APP_SOURCE_INSTAGRAM = 1;
1648
- CROSS_APP_SOURCE_FACEBOOK = 2;
1649
- }
1650
1495
  message DataSharingContext {
1651
1496
  optional bool showMmDisclosure = 1;
1652
1497
  optional string encryptedSignalTokenConsented = 2;
@@ -1699,15 +1544,6 @@ message ContextInfo {
1699
1544
  optional int32 agmTitleStrategy = 30;
1700
1545
  optional int32 agmSubtitleStrategy = 31;
1701
1546
  optional int32 agmHeaderInteractionStrategy = 32;
1702
- optional bool containsCtwaFlowsAutoLabel = 33;
1703
- optional string productId = 34;
1704
- optional bool containsCtwaPromo = 35;
1705
- optional string ctwaPromoResponseId = 36;
1706
- optional string ctwaPromoOfferId = 37;
1707
- optional string ctwaPromoAdEntryId = 38;
1708
- optional uint64 ctwaPromoResponseExpiresAtSeconds = 39;
1709
- optional uint32 ctwaPromoSchemaVersion = 40;
1710
- optional string ctwaPromoAdgroupId = 41;
1711
1547
  enum AdType {
1712
1548
  CTWA = 0;
1713
1549
  CAWC = 1;
@@ -1749,10 +1585,6 @@ message ContextInfo {
1749
1585
  }
1750
1586
  }
1751
1587
 
1752
- message InstagramThreadLink {
1753
- optional string url = 1;
1754
- }
1755
-
1756
1588
  enum PairedMediaType {
1757
1589
  NOT_PAIRED_MEDIA = 0;
1758
1590
  SD_VIDEO_PARENT = 1;
@@ -1763,10 +1595,6 @@ message ContextInfo {
1763
1595
  MOTION_PHOTO_CHILD = 6;
1764
1596
  HEVC_VIDEO_PARENT = 7;
1765
1597
  HEVC_VIDEO_CHILD = 8;
1766
- AV1_VIDEO_PARENT = 9;
1767
- AV1_VIDEO_CHILD = 10;
1768
- STREAMED_VIDEO_PARENT = 11;
1769
- STREAMED_VIDEO_CHILD = 12;
1770
1598
  }
1771
1599
  message PartiallySelectedContent {
1772
1600
  optional string text = 1;
@@ -1793,12 +1621,9 @@ message ContextInfo {
1793
1621
  optional AudienceType audienceType = 1;
1794
1622
  optional string listName = 2;
1795
1623
  optional string listEmoji = 3;
1796
- optional string networkId = 4;
1797
1624
  enum AudienceType {
1798
1625
  UNKNOWN = 0;
1799
1626
  CLOSE_FRIENDS = 1;
1800
- CUSTOM_LIST = 2;
1801
- NETWORK = 3;
1802
1627
  }
1803
1628
  }
1804
1629
 
@@ -2034,9 +1859,6 @@ message DeviceProps {
2034
1859
  optional bool supportHatchHistory = 22;
2035
1860
  repeated string supportedBotChannelFbids = 23;
2036
1861
  optional bool supportInlineContacts = 24;
2037
- optional bool supportNewsletter = 25;
2038
- optional bool supportUniversalReachChat = 26;
2039
- optional bool supportOmittedConversationIndex = 27;
2040
1862
  }
2041
1863
 
2042
1864
  enum PlatformType {
@@ -2065,12 +1887,6 @@ message DeviceProps {
2065
1887
  VR = 22;
2066
1888
  CLOUD_API = 23;
2067
1889
  SMARTGLASSES = 24;
2068
- WAIL = 25;
2069
- WASS = 26;
2070
- BUSINESS_BACK_OFFICE = 27;
2071
- WAIL_WAI = 28;
2072
- WAIL_ALEXA = 29;
2073
- AUTOMOTIVE = 30;
2074
1890
  }
2075
1891
  }
2076
1892
 
@@ -2267,7 +2083,6 @@ message GroupRootKeyShareEntry {
2267
2083
  optional bytes groupRootKey = 1;
2268
2084
  optional string keyId = 2;
2269
2085
  optional int64 expiryTimestampMs = 3;
2270
- optional int64 createdTimestampMs = 4;
2271
2086
  }
2272
2087
 
2273
2088
  message HandshakeMessage {
@@ -2277,43 +2092,18 @@ message HandshakeMessage {
2277
2092
  message ClientFinish {
2278
2093
  optional bytes static = 1;
2279
2094
  optional bytes payload = 2;
2280
- optional bytes extendedCiphertext = 3;
2281
- optional bytes paddedBytes = 4;
2282
- optional bool simulateXxkemFs = 5;
2283
2095
  }
2284
2096
 
2285
2097
  message ClientHello {
2286
2098
  optional bytes ephemeral = 1;
2287
2099
  optional bytes static = 2;
2288
2100
  optional bytes payload = 3;
2289
- optional bool useExtended = 4;
2290
- optional bytes extendedCiphertext = 5;
2291
- optional bytes paddedBytes = 6;
2292
- optional bool sendServerHelloPaddedBytes = 7;
2293
- optional bool simulateXxkemFs = 8;
2294
- optional HandshakeMessage.HandshakePqMode pqMode = 9;
2295
- optional bytes extendedEphemeral = 10;
2296
- }
2297
-
2298
- enum HandshakePqMode {
2299
- HANDSHAKE_PQ_MODE_UNKNOWN = 0;
2300
- XXKEM = 1;
2301
- XXKEM_FS = 2;
2302
- XXKEM_EPH = 9;
2303
- WA_CLASSICAL = 3;
2304
- WA_PQ = 4;
2305
- IKKEM = 5;
2306
- IKKEM_FS = 6;
2307
- XXKEM_2 = 7;
2308
- IKKEM_2 = 8;
2309
2101
  }
2102
+
2310
2103
  message ServerHello {
2311
2104
  optional bytes ephemeral = 1;
2312
2105
  optional bytes static = 2;
2313
2106
  optional bytes payload = 3;
2314
- optional bytes extendedStatic = 4;
2315
- optional bytes paddingBytes = 5;
2316
- optional bytes extendedCiphertext = 6;
2317
2107
  }
2318
2108
 
2319
2109
  }
@@ -2730,21 +2520,6 @@ message Message {
2730
2520
  optional PollAddOptionMessage pollAddOptionMessage = 121;
2731
2521
  optional EventInviteMessage eventInviteMessage = 122;
2732
2522
  optional GroupRootKeyShare groupRootKeyShare = 123;
2733
- optional PaymentReminderMessage paymentReminderMessage = 124;
2734
- optional SplitPaymentMessage splitPaymentMessage = 125;
2735
- optional FutureProofMessage newsletterAdminProfileStatusMessage = 126;
2736
- optional RootSecretDistributeMessage rootSecretDistributeMessage = 127;
2737
- optional SplitPaymentUpdateMessage splitPaymentUpdateMessage = 128;
2738
- optional MusicMessage musicMessage = 129;
2739
- optional StatusLinkPreviewMetadata statusLinkPreviewMetadata = 130;
2740
- optional FutureProofMessage botPlatformRegistrationSuccessMessage = 131;
2741
- optional FutureProofMessage newsletterScheduledMessage = 132;
2742
- optional FutureProofMessage acp2SettingMessage = 133;
2743
- optional FutureProofMessage audioStickerMessage = 134;
2744
- optional ImageMessage instantImageMessage = 135;
2745
- optional RequestLocationMessage requestLocationMessage = 136;
2746
- optional FutureProofMessage botGroupParticipantMessage = 137;
2747
- optional RequestLocationUpdateMessage requestLocationUpdateMessage = 138;
2748
2523
  message AlbumMessage {
2749
2524
  optional uint32 expectedImageCount = 2;
2750
2525
  optional uint32 expectedVideoCount = 3;
@@ -2816,12 +2591,6 @@ message Message {
2816
2591
  }
2817
2592
  }
2818
2593
 
2819
- message BotHistoryShareSyncMetadata {
2820
- optional string botJid = 1;
2821
- optional int64 historyShareCutoffTimestamp = 2;
2822
- repeated Message.HistoryShareMessageEntry historyShareMessages = 3;
2823
- }
2824
-
2825
2594
  message ButtonsMessage {
2826
2595
  optional string contentText = 6;
2827
2596
  optional string footerText = 7;
@@ -2892,7 +2661,6 @@ message Message {
2892
2661
  optional string deeplinkPayload = 9;
2893
2662
  optional MessageContextInfo messageContextInfo = 10;
2894
2663
  optional uint32 callEntryPoint = 11;
2895
- optional string callReason = 12;
2896
2664
  }
2897
2665
 
2898
2666
  message CallLogMessage {
@@ -2932,49 +2700,6 @@ message Message {
2932
2700
  optional string id = 2;
2933
2701
  }
2934
2702
 
2935
- message ChatAnimatedWallpaper {
2936
- optional string animatedWallpaperId = 1;
2937
- optional float dimLevel = 2;
2938
- }
2939
-
2940
- message ChatCustomImageWallpaper {
2941
- optional string directPath = 1;
2942
- optional bytes mediaKey = 2;
2943
- optional bytes fileEncSha256 = 3;
2944
- optional bytes fileSha256 = 4;
2945
- optional float dimLevel = 5;
2946
- }
2947
-
2948
- message ChatDefaultWallpaper {
2949
- optional bool isDoodleEnabled = 1;
2950
- }
2951
-
2952
- message ChatSolidColorWallpaper {
2953
- optional fixed32 backgroundLightArgb = 1;
2954
- optional fixed32 backgroundDarkArgb = 2;
2955
- optional bool isDoodleEnabled = 3;
2956
- optional fixed32 doodleLightArgb = 4;
2957
- optional fixed32 doodleDarkArgb = 5;
2958
- }
2959
-
2960
- message ChatStockImageWallpaper {
2961
- optional string stockImageId = 1;
2962
- optional float dimLevel = 2;
2963
- }
2964
-
2965
- message ChatThemeSetting {
2966
- optional int64 settingTimestampMs = 1;
2967
- optional bool clearTheme = 2;
2968
- optional string colorSchemeId = 3;
2969
- oneof wallpaper {
2970
- Message.ChatDefaultWallpaper defaultWallpaper = 10;
2971
- Message.ChatSolidColorWallpaper solidColor = 11;
2972
- Message.ChatStockImageWallpaper stockImage = 12;
2973
- Message.ChatCustomImageWallpaper customImage = 13;
2974
- Message.ChatAnimatedWallpaper animatedWallpaper = 14;
2975
- }
2976
- }
2977
-
2978
2703
  message CloudAPIThreadControlNotification {
2979
2704
  optional CloudAPIThreadControl status = 1;
2980
2705
  optional int64 senderNotificationTimestampMs = 2;
@@ -2995,11 +2720,6 @@ message Message {
2995
2720
 
2996
2721
  }
2997
2722
 
2998
- message CoexConnectionDescriptor {
2999
- optional int64 providerId = 1;
3000
- optional string product = 2;
3001
- }
3002
-
3003
2723
  message CommentMessage {
3004
2724
  optional Message message = 1;
3005
2725
  optional MessageKey targetMessageKey = 2;
@@ -3089,21 +2809,6 @@ message Message {
3089
2809
  optional int64 startTime = 5;
3090
2810
  optional string caption = 6;
3091
2811
  optional bool isCanceled = 7;
3092
- optional int64 endTime = 8;
3093
- optional string callLink = 9;
3094
- optional string coverImageHandle = 10;
3095
- optional string locationName = 11;
3096
- optional int64 lastUpdatedTsUsec = 12;
3097
- optional EventStatus status = 13;
3098
- enum EventStatus {
3099
- UNKNOWN = 0;
3100
- ACTIVE = 1;
3101
- CANCELED = 2;
3102
- SUSPENDED = 3;
3103
- DELETED = 4;
3104
- LEFT_EVENT = 5;
3105
- REMOVED_FROM_INVITE_LIST = 6;
3106
- }
3107
2812
  }
3108
2813
 
3109
2814
  message EventMessage {
@@ -3159,7 +2864,7 @@ message Message {
3159
2864
  optional bool viewOnce = 30;
3160
2865
  optional uint32 videoHeight = 31;
3161
2866
  optional uint32 videoWidth = 32;
3162
- optional Message.MMSThumbnailMetadata faviconMmsMetadata = 33;
2867
+ optional Message.MMSThumbnailMetadata faviconMMSMetadata = 33;
3163
2868
  optional Message.LinkPreviewMetadata linkPreviewMetadata = 34;
3164
2869
  optional Message.PaymentLinkMetadata paymentLinkMetadata = 35;
3165
2870
  repeated Message.VideoEndCard endCardTiles = 36;
@@ -3201,7 +2906,6 @@ message Message {
3201
2906
  optional string requestId = 1;
3202
2907
  optional string businessProduct = 2;
3203
2908
  optional bytes opaqueClientData = 3;
3204
- optional Message.CoexConnectionDescriptor connection = 4;
3205
2909
  }
3206
2910
 
3207
2911
  message FutureProofMessage {
@@ -3282,11 +2986,6 @@ message Message {
3282
2986
 
3283
2987
  }
3284
2988
 
3285
- message HistoryShareMessageEntry {
3286
- optional string stanzaId = 1;
3287
- optional bytes messageSecretProof = 2;
3288
- }
3289
-
3290
2989
  message HistorySyncMessageAccessStatus {
3291
2990
  optional bool completeAccessGranted = 1;
3292
2991
  }
@@ -3319,7 +3018,6 @@ message Message {
3319
3018
  ON_DEMAND = 6;
3320
3019
  NO_HISTORY = 7;
3321
3020
  MESSAGE_ACCESS_STATUS = 8;
3322
- RECENT_CONVERSATIONS_ON_DEMAND = 9;
3323
3021
  }
3324
3022
  message ImageMessage {
3325
3023
  optional string url = 1;
@@ -3388,7 +3086,6 @@ message Message {
3388
3086
  optional string uuid = 1;
3389
3087
  optional string data = 2;
3390
3088
  optional string type = 3;
3391
- optional string fallback = 4;
3392
3089
  }
3393
3090
 
3394
3091
  message Body {
@@ -3627,13 +3324,6 @@ message Message {
3627
3324
  optional uint32 thumbnailWidth = 7;
3628
3325
  }
3629
3326
 
3630
- message MarkAsVerifiedAction {
3631
- optional string userJidString = 1;
3632
- optional bool verified = 2;
3633
- optional bytes verifiedIdentityKey = 3;
3634
- optional uint64 actionSeq = 4;
3635
- }
3636
-
3637
3327
  message MessageHistoryBundle {
3638
3328
  optional string mimetype = 1;
3639
3329
  optional bytes fileSha256 = 2;
@@ -3651,27 +3341,11 @@ message Message {
3651
3341
  optional int64 messageCount = 3;
3652
3342
  repeated string nonHistoryReceivers = 4;
3653
3343
  optional int64 oldestMessageTimestampInBundle = 5;
3654
- optional bool includesChatTheme = 6;
3655
3344
  }
3656
3345
 
3657
3346
  message MessageHistoryNotice {
3658
3347
  optional ContextInfo contextInfo = 1;
3659
3348
  optional Message.MessageHistoryMetadata messageHistoryMetadata = 2;
3660
- optional Message.BotHistoryShareSyncMetadata botHistoryShareSyncMetadata = 3;
3661
- }
3662
-
3663
- message MusicMessage {
3664
- optional EmbeddedMusic embeddedMusic = 1;
3665
- optional string songUri = 2;
3666
- optional string artworkUri = 3;
3667
- optional int32 style = 4;
3668
- optional ContextInfo contextInfo = 5;
3669
- enum MusicMessageStyle {
3670
- UNKNOWN = 0;
3671
- VINYL = 1;
3672
- MESSAGE_BUBBLE = 2;
3673
- LYRICS = 3;
3674
- }
3675
3349
  }
3676
3350
 
3677
3351
  message NewsletterAdminInviteMessage {
@@ -3720,7 +3394,6 @@ message Message {
3720
3394
  message PaymentExtendedMetadata {
3721
3395
  optional uint32 type = 1;
3722
3396
  optional string platform = 2;
3723
- optional string messageParamsJson = 3;
3724
3397
  }
3725
3398
 
3726
3399
  message PaymentInviteMessage {
@@ -3738,7 +3411,6 @@ message Message {
3738
3411
  FBPAY = 1;
3739
3412
  NOVI = 2;
3740
3413
  UPI = 3;
3741
- PIX = 4;
3742
3414
  }
3743
3415
  }
3744
3416
 
@@ -3764,33 +3436,6 @@ message Message {
3764
3436
 
3765
3437
  }
3766
3438
 
3767
- message PaymentReminderMessage {
3768
- optional string reminderId = 1;
3769
- optional string instanceId = 2;
3770
- optional string description = 3;
3771
- optional ReminderFrequency frequency = 4;
3772
- optional ReminderStatus status = 5;
3773
- optional string payeeVpa = 6;
3774
- optional string payeeJid = 7;
3775
- optional string payerJid = 8;
3776
- optional Money amount = 9;
3777
- enum ReminderFrequency {
3778
- REMINDER_FREQUENCY_UNKNOWN = 0;
3779
- WEEKLY = 1;
3780
- BI_WEEKLY = 2;
3781
- MONTHLY = 3;
3782
- QUARTERLY = 4;
3783
- }
3784
- enum ReminderStatus {
3785
- REMINDER_STATUS_UNKNOWN = 0;
3786
- ACTIVE = 1;
3787
- CANCELLED_BY_CREATOR = 2;
3788
- STOPPED_BY_RECEIVER = 3;
3789
- EXPIRED = 4;
3790
- PAID = 5;
3791
- }
3792
- }
3793
-
3794
3439
  message PeerDataOperationRequestMessage {
3795
3440
  optional Message.PeerDataOperationRequestType peerDataOperationRequestType = 1;
3796
3441
  repeated RequestStickerReupload requestStickerReupload = 2;
@@ -3804,7 +3449,6 @@ message Message {
3804
3449
  optional CompanionCanonicalUserNonceFetchRequest companionCanonicalUserNonceFetchRequest = 10;
3805
3450
  optional BizBroadcastInsightsContactListRequest bizBroadcastInsightsContactListRequest = 11;
3806
3451
  optional BizBroadcastInsightsRefreshRequest bizBroadcastInsightsRefreshRequest = 12;
3807
- optional RecentConversationsOnDemandRequest recentConversationsOnDemandRequest = 13;
3808
3452
  message BizBroadcastInsightsContactListRequest {
3809
3453
  optional string campaignId = 1;
3810
3454
  }
@@ -3849,18 +3493,12 @@ message Message {
3849
3493
  optional int32 onDemandMsgCount = 4;
3850
3494
  optional int64 oldestMsgTimestampMs = 5;
3851
3495
  optional string accountLid = 6;
3852
- optional bool supportInlineResponse = 7;
3853
3496
  }
3854
3497
 
3855
3498
  message PlaceholderMessageResendRequest {
3856
3499
  optional MessageKey messageKey = 1;
3857
3500
  }
3858
3501
 
3859
- message RecentConversationsOnDemandRequest {
3860
- optional uint32 conversationCount = 1;
3861
- optional uint32 messagesPerConversation = 2;
3862
- }
3863
-
3864
3502
  message RequestStickerReupload {
3865
3503
  optional string fileSha256 = 1;
3866
3504
  }
@@ -3894,7 +3532,6 @@ message Message {
3894
3532
  optional HistorySyncChunkRetryResponse historySyncChunkRetryResponse = 10;
3895
3533
  optional FlowResponsesCsvBundle flowResponsesCsvBundle = 11;
3896
3534
  optional BizBroadcastInsightsContactListResponse bizBroadcastInsightsContactListResponse = 12;
3897
- optional ContactRefreshResponse contactRefreshResponse = 13;
3898
3535
  message BizBroadcastInsightsContactListResponse {
3899
3536
  optional string campaignId = 1;
3900
3537
  optional int64 timestampMs = 2;
@@ -3916,13 +3553,6 @@ message Message {
3916
3553
  optional string nonce = 1;
3917
3554
  }
3918
3555
 
3919
- message ContactRefreshResponse {
3920
- repeated string coveredRequestIds = 1;
3921
- optional uint64 collectionVersion = 2;
3922
- optional int64 primaryDurationMs = 3;
3923
- optional uint32 uniqueContactCount = 4;
3924
- }
3925
-
3926
3556
  message FlowResponsesCsvBundle {
3927
3557
  optional string flowId = 1;
3928
3558
  optional string galaxyFlowDownloadRequestId = 2;
@@ -4029,8 +3659,6 @@ message Message {
4029
3659
  GALAXY_FLOW_ACTION = 11;
4030
3660
  BUSINESS_BROADCAST_INSIGHTS_DELIVERED_TO = 12;
4031
3661
  BUSINESS_BROADCAST_INSIGHTS_REFRESH = 13;
4032
- CONTACT_REFRESH_REQUEST = 14;
4033
- RECENT_CONVERSATIONS_ON_DEMAND_REQUEST = 15;
4034
3662
  }
4035
3663
  message PinInChatMessage {
4036
3664
  optional MessageKey key = 1;
@@ -4053,7 +3681,6 @@ message Message {
4053
3681
  message PollAddOptionMessage {
4054
3682
  optional MessageKey pollCreationMessageKey = 1;
4055
3683
  optional Message.PollCreationMessage.Option addOption = 2;
4056
- optional Message.PollUpdateMessageMetadata metadata = 3;
4057
3684
  }
4058
3685
 
4059
3686
  enum PollContentType {
@@ -4109,8 +3736,6 @@ message Message {
4109
3736
  }
4110
3737
 
4111
3738
  message PollUpdateMessageMetadata {
4112
- optional bytes pollNameHash = 1;
4113
- optional string lastEditStanzaId = 2;
4114
3739
  }
4115
3740
 
4116
3741
  message PollVoteMessage {
@@ -4174,14 +3799,6 @@ message Message {
4174
3799
  optional MemberLabel memberLabel = 27;
4175
3800
  optional AIMediaCollectionMessage aiMediaCollectionMessage = 28;
4176
3801
  optional uint32 afterReadDuration = 29;
4177
- optional Message.ChatThemeSetting chatThemeSetting = 30;
4178
- optional AIMetadataOperation aiMetadataOperation = 31;
4179
- optional Message.MarkAsVerifiedAction markAsVerifiedAction = 32;
4180
- optional CoexStateSync coexStateSync = 33;
4181
- optional ACP2Setting acp2Setting = 35;
4182
- optional Message.SharedDeviceContactHashKeyShare sharedDeviceContactHashKeyShare = 36;
4183
- optional Message.SharedDeviceContactHashKeyRequest sharedDeviceContactHashKeyRequest = 37;
4184
- repeated string additionalPromptIds = 38;
4185
3802
  enum Type {
4186
3803
  REVOKE = 0;
4187
3804
  EPHEMERAL_SETTING = 3;
@@ -4211,13 +3828,6 @@ message Message {
4211
3828
  GROUP_MEMBER_LABEL_CHANGE = 30;
4212
3829
  AI_MEDIA_COLLECTION_MESSAGE = 31;
4213
3830
  MESSAGE_UNSCHEDULE = 32;
4214
- CHAT_THEME_SETTING = 34;
4215
- AI_METADATA_OPERATION = 35;
4216
- MARK_AS_VERIFIED_ACTION = 36;
4217
- COEX_STATE_SYNC = 37;
4218
- ACP2_SETTING = 39;
4219
- SHARED_DEVICE_CONTACT_HASH_KEY_SHARE = 40;
4220
- SHARED_DEVICE_CONTACT_HASH_KEY_REQUEST = 41;
4221
3831
  }
4222
3832
  }
4223
3833
 
@@ -4233,20 +3843,6 @@ message Message {
4233
3843
  optional int64 senderTimestampMs = 4;
4234
3844
  }
4235
3845
 
4236
- message RequestLocationMessage {
4237
- optional ContextInfo contextInfo = 1;
4238
- }
4239
-
4240
- message RequestLocationUpdateMessage {
4241
- optional MessageKey key = 1;
4242
- optional UpdateType updateType = 2;
4243
- optional int64 senderTimestampMs = 3;
4244
- enum UpdateType {
4245
- UNKNOWN = 0;
4246
- CANCEL = 1;
4247
- }
4248
- }
4249
-
4250
3846
  message RequestPaymentMessage {
4251
3847
  optional Message noteMessage = 4;
4252
3848
  optional string currencyCodeIso4217 = 1;
@@ -4275,10 +3871,6 @@ message Message {
4275
3871
  }
4276
3872
  }
4277
3873
 
4278
- message RootSecretDistributeMessage {
4279
- optional string chatJid = 1;
4280
- }
4281
-
4282
3874
  message ScheduledCallCreationMessage {
4283
3875
  optional int64 scheduledTimestampMs = 1;
4284
3876
  optional CallType callType = 2;
@@ -4327,60 +3919,6 @@ message Message {
4327
3919
  optional bytes axolotlSenderKeyDistributionMessage = 2;
4328
3920
  }
4329
3921
 
4330
- message SharedDeviceContactHashKey {
4331
- optional uint32 epoch = 1;
4332
- optional Kind kind = 2;
4333
- optional bytes keyData = 3;
4334
- enum Kind {
4335
- UNKNOWN = 0;
4336
- LID = 1;
4337
- PHONE_NUMBER = 2;
4338
- }
4339
- }
4340
-
4341
- message SharedDeviceContactHashKeyRequest {
4342
- optional uint32 knownEpoch = 1;
4343
- }
4344
-
4345
- message SharedDeviceContactHashKeyShare {
4346
- repeated Message.SharedDeviceContactHashKey keys = 1;
4347
- }
4348
-
4349
- message SplitPaymentMessage {
4350
- optional string splitId = 1;
4351
- optional Money totalAmount = 2;
4352
- optional string description = 3;
4353
- optional string requesterJid = 4;
4354
- repeated Message.SplitPaymentParticipant participants = 5;
4355
- optional int64 createdAtMs = 6;
4356
- optional ContextInfo contextInfo = 17;
4357
- }
4358
-
4359
- message SplitPaymentParticipant {
4360
- optional string jid = 1;
4361
- optional Money amount = 2;
4362
- optional SplitPaymentStatus status = 3;
4363
- enum SplitPaymentStatus {
4364
- PENDING = 0;
4365
- PAID = 1;
4366
- }
4367
- }
4368
-
4369
- message SplitPaymentUpdateMessage {
4370
- optional string splitId = 1;
4371
- optional string participantJid = 2;
4372
- }
4373
-
4374
- message StatusLinkPreviewMetadata {
4375
- optional Style style = 1;
4376
- enum Style {
4377
- AUTO = 0;
4378
- COMPACT = 1;
4379
- FULL = 2;
4380
- IMMERSIVE = 3;
4381
- }
4382
- }
4383
-
4384
3922
  message StatusNotificationMessage {
4385
3923
  optional MessageKey responseMessageKey = 1;
4386
3924
  optional MessageKey originalMessageKey = 2;
@@ -4390,7 +3928,6 @@ message Message {
4390
3928
  STATUS_ADD_YOURS = 1;
4391
3929
  STATUS_RESHARE = 2;
4392
3930
  STATUS_QUESTION_ANSWER_RESHARE = 3;
4393
- STATUS_GROUP_STATUS_REPLY = 4;
4394
3931
  }
4395
3932
  }
4396
3933
 
@@ -4442,9 +3979,6 @@ message Message {
4442
3979
  optional string accessibilityLabel = 22;
4443
3980
  optional int32 premium = 24;
4444
3981
  optional string emojis = 25;
4445
- oneof audio {
4446
- Message.AudioMessage audioMessage = 26;
4447
- }
4448
3982
  }
4449
3983
 
4450
3984
  message StickerPackMessage {
@@ -4582,8 +4116,6 @@ message Message {
4582
4116
  optional uint64 motionPhotoPresentationOffsetMs = 29;
4583
4117
  optional string metadataUrl = 30;
4584
4118
  optional VideoSourceType videoSourceType = 31;
4585
- optional string dashManifestUrl = 33;
4586
- optional int64 smartThumbnailTs = 34;
4587
4119
  enum Attribution {
4588
4120
  NONE = 0;
4589
4121
  GIPHY = 1;
@@ -4648,8 +4180,6 @@ message MessageAssociation {
4648
4180
  STATUS_REACTION = 18;
4649
4181
  HEVC_VIDEO_DUAL_UPLOAD = 19;
4650
4182
  POLL_ADD_OPTION = 20;
4651
- AV1_VIDEO_DUAL_UPLOAD = 21;
4652
- STREAMED_HD_VIDEO_DUAL_UPLOAD = 22;
4653
4183
  }
4654
4184
  }
4655
4185
 
@@ -4671,11 +4201,6 @@ message MessageContextInfo {
4671
4201
  repeated ThreadID threadId = 15;
4672
4202
  optional WebLinkRenderConfig weblinkRenderConfig = 16;
4673
4203
  optional bytes teeBotMetadata = 17;
4674
- optional NonE2EEAttestation accountEncryptionAttestation = 18;
4675
- optional bytes associatedPrimaryIdentityKey = 19;
4676
- optional string teeContextAnchorMessageId = 20;
4677
- optional ACP2Setting acp2Setting = 21;
4678
- optional bool lightE2Ee = 22;
4679
4204
  enum MessageAddonExpiryType {
4680
4205
  STATIC = 1;
4681
4206
  DEPENDENT_ON_PARENT = 2;
@@ -5462,8 +4987,6 @@ message StatusAttribution {
5462
4987
  SHARECHAT = 9;
5463
4988
  GOOGLE_PHOTOS = 10;
5464
4989
  SOUNDCLOUD = 11;
5465
- SHAZAM = 12;
5466
- PICSART = 13;
5467
4990
  }
5468
4991
  }
5469
4992
 
@@ -5521,8 +5044,6 @@ message StatusAttribution {
5521
5044
  LAYOUTS = 8;
5522
5045
  NEWSLETTER_STATUS = 9;
5523
5046
  STATUS_CLOSE_SHARING = 10;
5524
- PAID_PARTNERSHIP = 11;
5525
- USERNAME_STATUS = 12;
5526
5047
  }
5527
5048
  }
5528
5049