@wppconnect/wa-proto 2.3000.1049092666 → 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 +4 -397
  2. package/dist/index.d.ts +6614 -11105
  3. package/dist/index.js +24391 -38400
  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.1049092666
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
  }
@@ -2666,18 +2490,6 @@ message Message {
2666
2490
  optional PollAddOptionMessage pollAddOptionMessage = 121;
2667
2491
  optional EventInviteMessage eventInviteMessage = 122;
2668
2492
  optional GroupRootKeyShare groupRootKeyShare = 123;
2669
- optional PaymentReminderMessage paymentReminderMessage = 124;
2670
- optional SplitPaymentMessage splitPaymentMessage = 125;
2671
- optional FutureProofMessage newsletterAdminProfileStatusMessage = 126;
2672
- optional RootSecretDistributeMessage rootSecretDistributeMessage = 127;
2673
- optional SplitPaymentUpdateMessage splitPaymentUpdateMessage = 128;
2674
- optional MusicMessage musicMessage = 129;
2675
- optional StatusLinkPreviewMetadata statusLinkPreviewMetadata = 130;
2676
- optional FutureProofMessage botPlatformRegistrationSuccessMessage = 131;
2677
- optional FutureProofMessage newsletterScheduledMessage = 132;
2678
- optional FutureProofMessage acp2SettingMessage = 133;
2679
- optional FutureProofMessage audioStickerMessage = 134;
2680
- optional FutureProofMessage botGroupParticipantMessage = 137;
2681
2493
  message AlbumMessage {
2682
2494
  optional uint32 expectedImageCount = 2;
2683
2495
  optional uint32 expectedVideoCount = 3;
@@ -2749,12 +2561,6 @@ message Message {
2749
2561
  }
2750
2562
  }
2751
2563
 
2752
- message BotHistoryShareSyncMetadata {
2753
- optional string botJid = 1;
2754
- optional int64 historyShareCutoffTimestamp = 2;
2755
- repeated Message.HistoryShareMessageEntry historyShareMessages = 3;
2756
- }
2757
-
2758
2564
  message ButtonsMessage {
2759
2565
  optional string contentText = 6;
2760
2566
  optional string footerText = 7;
@@ -2825,7 +2631,6 @@ message Message {
2825
2631
  optional string deeplinkPayload = 9;
2826
2632
  optional MessageContextInfo messageContextInfo = 10;
2827
2633
  optional uint32 callEntryPoint = 11;
2828
- optional string callReason = 12;
2829
2634
  }
2830
2635
 
2831
2636
  message CallLogMessage {
@@ -2865,47 +2670,6 @@ message Message {
2865
2670
  optional string id = 2;
2866
2671
  }
2867
2672
 
2868
- message ChatAnimatedWallpaper {
2869
- optional string animatedWallpaperId = 1;
2870
- optional float dimLevel = 2;
2871
- }
2872
-
2873
- message ChatCustomImageWallpaper {
2874
- optional string directPath = 1;
2875
- optional bytes mediaKey = 2;
2876
- optional bytes fileEncSha256 = 3;
2877
- optional bytes fileSha256 = 4;
2878
- optional float dimLevel = 5;
2879
- }
2880
-
2881
- message ChatDefaultWallpaper {
2882
- optional bool isDoodleEnabled = 1;
2883
- }
2884
-
2885
- message ChatSolidColorWallpaper {
2886
- optional string colorLight = 1;
2887
- optional string colorDark = 2;
2888
- optional bool isDoodleEnabled = 3;
2889
- }
2890
-
2891
- message ChatStockImageWallpaper {
2892
- optional string stockImageId = 1;
2893
- optional float dimLevel = 2;
2894
- }
2895
-
2896
- message ChatThemeSetting {
2897
- optional int64 settingTimestampMs = 1;
2898
- optional bool clearTheme = 2;
2899
- optional string colorSchemeId = 3;
2900
- oneof wallpaper {
2901
- Message.ChatDefaultWallpaper defaultWallpaper = 10;
2902
- Message.ChatSolidColorWallpaper solidColor = 11;
2903
- Message.ChatStockImageWallpaper stockImage = 12;
2904
- Message.ChatCustomImageWallpaper customImage = 13;
2905
- Message.ChatAnimatedWallpaper animatedWallpaper = 14;
2906
- }
2907
- }
2908
-
2909
2673
  message CloudAPIThreadControlNotification {
2910
2674
  optional CloudAPIThreadControl status = 1;
2911
2675
  optional int64 senderNotificationTimestampMs = 2;
@@ -3015,8 +2779,6 @@ message Message {
3015
2779
  optional int64 startTime = 5;
3016
2780
  optional string caption = 6;
3017
2781
  optional bool isCanceled = 7;
3018
- optional int64 endTime = 8;
3019
- optional string callLink = 9;
3020
2782
  }
3021
2783
 
3022
2784
  message EventMessage {
@@ -3072,7 +2834,7 @@ message Message {
3072
2834
  optional bool viewOnce = 30;
3073
2835
  optional uint32 videoHeight = 31;
3074
2836
  optional uint32 videoWidth = 32;
3075
- optional Message.MMSThumbnailMetadata faviconMmsMetadata = 33;
2837
+ optional Message.MMSThumbnailMetadata faviconMMSMetadata = 33;
3076
2838
  optional Message.LinkPreviewMetadata linkPreviewMetadata = 34;
3077
2839
  optional Message.PaymentLinkMetadata paymentLinkMetadata = 35;
3078
2840
  repeated Message.VideoEndCard endCardTiles = 36;
@@ -3194,11 +2956,6 @@ message Message {
3194
2956
 
3195
2957
  }
3196
2958
 
3197
- message HistoryShareMessageEntry {
3198
- optional string stanzaId = 1;
3199
- optional bytes messageSecretProof = 2;
3200
- }
3201
-
3202
2959
  message HistorySyncMessageAccessStatus {
3203
2960
  optional bool completeAccessGranted = 1;
3204
2961
  }
@@ -3299,7 +3056,6 @@ message Message {
3299
3056
  optional string uuid = 1;
3300
3057
  optional string data = 2;
3301
3058
  optional string type = 3;
3302
- optional string fallback = 4;
3303
3059
  }
3304
3060
 
3305
3061
  message Body {
@@ -3538,13 +3294,6 @@ message Message {
3538
3294
  optional uint32 thumbnailWidth = 7;
3539
3295
  }
3540
3296
 
3541
- message MarkAsVerifiedAction {
3542
- optional string userJidString = 1;
3543
- optional bool verified = 2;
3544
- optional bytes verifiedIdentityKey = 3;
3545
- optional uint64 actionSeq = 4;
3546
- }
3547
-
3548
3297
  message MessageHistoryBundle {
3549
3298
  optional string mimetype = 1;
3550
3299
  optional bytes fileSha256 = 2;
@@ -3562,25 +3311,11 @@ message Message {
3562
3311
  optional int64 messageCount = 3;
3563
3312
  repeated string nonHistoryReceivers = 4;
3564
3313
  optional int64 oldestMessageTimestampInBundle = 5;
3565
- optional bool includesChatTheme = 6;
3566
3314
  }
3567
3315
 
3568
3316
  message MessageHistoryNotice {
3569
3317
  optional ContextInfo contextInfo = 1;
3570
3318
  optional Message.MessageHistoryMetadata messageHistoryMetadata = 2;
3571
- optional Message.BotHistoryShareSyncMetadata botHistoryShareSyncMetadata = 3;
3572
- }
3573
-
3574
- message MusicMessage {
3575
- optional EmbeddedMusic embeddedMusic = 1;
3576
- optional string songUri = 2;
3577
- optional string artworkUri = 3;
3578
- optional int32 style = 4;
3579
- optional ContextInfo contextInfo = 5;
3580
- enum MusicMessageStyle {
3581
- UNKNOWN = 0;
3582
- VINYL = 1;
3583
- }
3584
3319
  }
3585
3320
 
3586
3321
  message NewsletterAdminInviteMessage {
@@ -3629,7 +3364,6 @@ message Message {
3629
3364
  message PaymentExtendedMetadata {
3630
3365
  optional uint32 type = 1;
3631
3366
  optional string platform = 2;
3632
- optional string messageParamsJson = 3;
3633
3367
  }
3634
3368
 
3635
3369
  message PaymentInviteMessage {
@@ -3647,7 +3381,6 @@ message Message {
3647
3381
  FBPAY = 1;
3648
3382
  NOVI = 2;
3649
3383
  UPI = 3;
3650
- PIX = 4;
3651
3384
  }
3652
3385
  }
3653
3386
 
@@ -3673,33 +3406,6 @@ message Message {
3673
3406
 
3674
3407
  }
3675
3408
 
3676
- message PaymentReminderMessage {
3677
- optional string reminderId = 1;
3678
- optional string instanceId = 2;
3679
- optional string description = 3;
3680
- optional ReminderFrequency frequency = 4;
3681
- optional ReminderStatus status = 5;
3682
- optional string payeeVpa = 6;
3683
- optional string payeeJid = 7;
3684
- optional string payerJid = 8;
3685
- optional Money amount = 9;
3686
- enum ReminderFrequency {
3687
- REMINDER_FREQUENCY_UNKNOWN = 0;
3688
- WEEKLY = 1;
3689
- BI_WEEKLY = 2;
3690
- MONTHLY = 3;
3691
- QUARTERLY = 4;
3692
- }
3693
- enum ReminderStatus {
3694
- REMINDER_STATUS_UNKNOWN = 0;
3695
- ACTIVE = 1;
3696
- CANCELLED_BY_CREATOR = 2;
3697
- STOPPED_BY_RECEIVER = 3;
3698
- EXPIRED = 4;
3699
- PAID = 5;
3700
- }
3701
- }
3702
-
3703
3409
  message PeerDataOperationRequestMessage {
3704
3410
  optional Message.PeerDataOperationRequestType peerDataOperationRequestType = 1;
3705
3411
  repeated RequestStickerReupload requestStickerReupload = 2;
@@ -3757,7 +3463,6 @@ message Message {
3757
3463
  optional int32 onDemandMsgCount = 4;
3758
3464
  optional int64 oldestMsgTimestampMs = 5;
3759
3465
  optional string accountLid = 6;
3760
- optional bool supportInlineResponse = 7;
3761
3466
  }
3762
3467
 
3763
3468
  message PlaceholderMessageResendRequest {
@@ -3797,7 +3502,6 @@ message Message {
3797
3502
  optional HistorySyncChunkRetryResponse historySyncChunkRetryResponse = 10;
3798
3503
  optional FlowResponsesCsvBundle flowResponsesCsvBundle = 11;
3799
3504
  optional BizBroadcastInsightsContactListResponse bizBroadcastInsightsContactListResponse = 12;
3800
- optional ContactRefreshResponse contactRefreshResponse = 13;
3801
3505
  message BizBroadcastInsightsContactListResponse {
3802
3506
  optional string campaignId = 1;
3803
3507
  optional int64 timestampMs = 2;
@@ -3819,13 +3523,6 @@ message Message {
3819
3523
  optional string nonce = 1;
3820
3524
  }
3821
3525
 
3822
- message ContactRefreshResponse {
3823
- repeated string coveredRequestIds = 1;
3824
- optional uint64 collectionVersion = 2;
3825
- optional int64 primaryDurationMs = 3;
3826
- optional uint32 uniqueContactCount = 4;
3827
- }
3828
-
3829
3526
  message FlowResponsesCsvBundle {
3830
3527
  optional string flowId = 1;
3831
3528
  optional string galaxyFlowDownloadRequestId = 2;
@@ -3932,7 +3629,6 @@ message Message {
3932
3629
  GALAXY_FLOW_ACTION = 11;
3933
3630
  BUSINESS_BROADCAST_INSIGHTS_DELIVERED_TO = 12;
3934
3631
  BUSINESS_BROADCAST_INSIGHTS_REFRESH = 13;
3935
- CONTACT_REFRESH_REQUEST = 14;
3936
3632
  }
3937
3633
  message PinInChatMessage {
3938
3634
  optional MessageKey key = 1;
@@ -3955,7 +3651,6 @@ message Message {
3955
3651
  message PollAddOptionMessage {
3956
3652
  optional MessageKey pollCreationMessageKey = 1;
3957
3653
  optional Message.PollCreationMessage.Option addOption = 2;
3958
- optional Message.PollUpdateMessageMetadata metadata = 3;
3959
3654
  }
3960
3655
 
3961
3656
  enum PollContentType {
@@ -4011,8 +3706,6 @@ message Message {
4011
3706
  }
4012
3707
 
4013
3708
  message PollUpdateMessageMetadata {
4014
- optional bytes pollNameHash = 1;
4015
- optional string lastEditStanzaId = 2;
4016
3709
  }
4017
3710
 
4018
3711
  message PollVoteMessage {
@@ -4076,13 +3769,6 @@ message Message {
4076
3769
  optional MemberLabel memberLabel = 27;
4077
3770
  optional AIMediaCollectionMessage aiMediaCollectionMessage = 28;
4078
3771
  optional uint32 afterReadDuration = 29;
4079
- optional Message.ChatThemeSetting chatThemeSetting = 30;
4080
- optional AIMetadataOperation aiMetadataOperation = 31;
4081
- optional Message.MarkAsVerifiedAction markAsVerifiedAction = 32;
4082
- optional CoexStateSync coexStateSync = 33;
4083
- optional ACP2Setting acp2Setting = 35;
4084
- optional Message.SharedDeviceContactHashKeyShare sharedDeviceContactHashKeyShare = 36;
4085
- optional Message.SharedDeviceContactHashKeyRequest sharedDeviceContactHashKeyRequest = 37;
4086
3772
  enum Type {
4087
3773
  REVOKE = 0;
4088
3774
  EPHEMERAL_SETTING = 3;
@@ -4112,13 +3798,6 @@ message Message {
4112
3798
  GROUP_MEMBER_LABEL_CHANGE = 30;
4113
3799
  AI_MEDIA_COLLECTION_MESSAGE = 31;
4114
3800
  MESSAGE_UNSCHEDULE = 32;
4115
- CHAT_THEME_SETTING = 34;
4116
- AI_METADATA_OPERATION = 35;
4117
- MARK_AS_VERIFIED_ACTION = 36;
4118
- COEX_STATE_SYNC = 37;
4119
- ACP2_SETTING = 39;
4120
- SHARED_DEVICE_CONTACT_HASH_KEY_SHARE = 40;
4121
- SHARED_DEVICE_CONTACT_HASH_KEY_REQUEST = 41;
4122
3801
  }
4123
3802
  }
4124
3803
 
@@ -4162,10 +3841,6 @@ message Message {
4162
3841
  }
4163
3842
  }
4164
3843
 
4165
- message RootSecretDistributeMessage {
4166
- optional string chatJid = 1;
4167
- }
4168
-
4169
3844
  message ScheduledCallCreationMessage {
4170
3845
  optional int64 scheduledTimestampMs = 1;
4171
3846
  optional CallType callType = 2;
@@ -4214,60 +3889,6 @@ message Message {
4214
3889
  optional bytes axolotlSenderKeyDistributionMessage = 2;
4215
3890
  }
4216
3891
 
4217
- message SharedDeviceContactHashKey {
4218
- optional uint32 epoch = 1;
4219
- optional Kind kind = 2;
4220
- optional bytes keyData = 3;
4221
- enum Kind {
4222
- UNKNOWN = 0;
4223
- LID = 1;
4224
- PHONE_NUMBER = 2;
4225
- }
4226
- }
4227
-
4228
- message SharedDeviceContactHashKeyRequest {
4229
- optional uint32 knownEpoch = 1;
4230
- }
4231
-
4232
- message SharedDeviceContactHashKeyShare {
4233
- repeated Message.SharedDeviceContactHashKey keys = 1;
4234
- }
4235
-
4236
- message SplitPaymentMessage {
4237
- optional string splitId = 1;
4238
- optional Money totalAmount = 2;
4239
- optional string description = 3;
4240
- optional string requesterJid = 4;
4241
- repeated Message.SplitPaymentParticipant participants = 5;
4242
- optional int64 createdAtMs = 6;
4243
- optional ContextInfo contextInfo = 17;
4244
- }
4245
-
4246
- message SplitPaymentParticipant {
4247
- optional string jid = 1;
4248
- optional Money amount = 2;
4249
- optional SplitPaymentStatus status = 3;
4250
- enum SplitPaymentStatus {
4251
- PENDING = 0;
4252
- PAID = 1;
4253
- }
4254
- }
4255
-
4256
- message SplitPaymentUpdateMessage {
4257
- optional string splitId = 1;
4258
- optional string participantJid = 2;
4259
- }
4260
-
4261
- message StatusLinkPreviewMetadata {
4262
- optional Style style = 1;
4263
- enum Style {
4264
- AUTO = 0;
4265
- COMPACT = 1;
4266
- FULL = 2;
4267
- IMMERSIVE = 3;
4268
- }
4269
- }
4270
-
4271
3892
  message StatusNotificationMessage {
4272
3893
  optional MessageKey responseMessageKey = 1;
4273
3894
  optional MessageKey originalMessageKey = 2;
@@ -4277,7 +3898,6 @@ message Message {
4277
3898
  STATUS_ADD_YOURS = 1;
4278
3899
  STATUS_RESHARE = 2;
4279
3900
  STATUS_QUESTION_ANSWER_RESHARE = 3;
4280
- STATUS_GROUP_STATUS_REPLY = 4;
4281
3901
  }
4282
3902
  }
4283
3903
 
@@ -4329,9 +3949,6 @@ message Message {
4329
3949
  optional string accessibilityLabel = 22;
4330
3950
  optional int32 premium = 24;
4331
3951
  optional string emojis = 25;
4332
- oneof audio {
4333
- Message.AudioMessage audioMessage = 26;
4334
- }
4335
3952
  }
4336
3953
 
4337
3954
  message StickerPackMessage {
@@ -4469,8 +4086,6 @@ message Message {
4469
4086
  optional uint64 motionPhotoPresentationOffsetMs = 29;
4470
4087
  optional string metadataUrl = 30;
4471
4088
  optional VideoSourceType videoSourceType = 31;
4472
- optional string dashManifestUrl = 33;
4473
- optional int64 smartThumbnailTs = 34;
4474
4089
  enum Attribution {
4475
4090
  NONE = 0;
4476
4091
  GIPHY = 1;
@@ -4555,10 +4170,6 @@ message MessageContextInfo {
4555
4170
  repeated ThreadID threadId = 15;
4556
4171
  optional WebLinkRenderConfig weblinkRenderConfig = 16;
4557
4172
  optional bytes teeBotMetadata = 17;
4558
- optional NonE2EEAttestation accountEncryptionAttestation = 18;
4559
- optional bytes associatedPrimaryIdentityKey = 19;
4560
- optional string teeContextAnchorMessageId = 20;
4561
- optional ACP2Setting acp2Setting = 21;
4562
4173
  enum MessageAddonExpiryType {
4563
4174
  STATIC = 1;
4564
4175
  DEPENDENT_ON_PARENT = 2;
@@ -5315,8 +4926,6 @@ message StatusAttribution {
5315
4926
  SHARECHAT = 9;
5316
4927
  GOOGLE_PHOTOS = 10;
5317
4928
  SOUNDCLOUD = 11;
5318
- SHAZAM = 12;
5319
- PICSART = 13;
5320
4929
  }
5321
4930
  }
5322
4931
 
@@ -5374,8 +4983,6 @@ message StatusAttribution {
5374
4983
  LAYOUTS = 8;
5375
4984
  NEWSLETTER_STATUS = 9;
5376
4985
  STATUS_CLOSE_SHARING = 10;
5377
- PAID_PARTNERSHIP = 11;
5378
- USERNAME_STATUS = 12;
5379
4986
  }
5380
4987
  }
5381
4988