@wppconnect/wa-proto 2.3000.1049110567 → 2.3000.1049192303

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 +397 -58
  2. package/dist/index.d.ts +4519 -1004
  3. package/dist/index.js +48827 -37728
  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.1049110567
4
+ /// WhatsApp Version: 2.3000.1049192303
5
5
 
6
6
  message ACP2Setting {
7
7
  optional bool enabled = 1;
@@ -21,6 +21,7 @@ message ADVDeviceIdentity {
21
21
  enum ADVEncryptionType {
22
22
  E2EE = 0;
23
23
  HOSTED = 1;
24
+ NON_E2EE = 2;
24
25
  }
25
26
  message ADVKeyIndexList {
26
27
  optional uint32 rawId = 1;
@@ -68,6 +69,7 @@ message AIHomeState {
68
69
  ANIMATE_PHOTO = 2;
69
70
  ANALYZE_FILE = 3;
70
71
  COLLABORATE = 4;
72
+ OPEN_GREETING_CARD = 5;
71
73
  }
72
74
  }
73
75
 
@@ -132,7 +134,7 @@ message AIRichResponseContentItemsMetadata {
132
134
  repeated AIRichResponseContentItemMetadata itemsMetadata = 1;
133
135
  optional ContentType contentType = 2;
134
136
  message AIRichResponseContentItemMetadata {
135
- oneof aIRichResponseContentItem {
137
+ oneof aiRichResponseContentItem {
136
138
  AIRichResponseContentItemsMetadata.AIRichResponseReelItem reelItem = 1;
137
139
  }
138
140
  }
@@ -224,6 +226,7 @@ message AIRichResponseMessage {
224
226
  repeated AIRichResponseSubMessage submessages = 2;
225
227
  optional AIRichResponseUnifiedResponse unifiedResponse = 3;
226
228
  optional ContextInfo contextInfo = 4;
229
+ optional AIRichResponseUnifiedResponse originalRecipientMetadata = 5;
227
230
  }
228
231
 
229
232
  enum AIRichResponseMessageType {
@@ -407,6 +410,7 @@ message BotAgeCollectionMetadata {
407
410
 
408
411
  message BotAgentDeepLinkMetadata {
409
412
  optional string token = 1;
413
+ optional bytes clientPublicKey = 2;
410
414
  }
411
415
 
412
416
  message BotAgentMetadata {
@@ -478,6 +482,17 @@ message BotCapabilityMetadata {
478
482
  AI_TAB_FORCE_CLIPPY = 59;
479
483
  UNIFIED_RESPONSE_EMBEDDED_SCREENS = 60;
480
484
  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;
481
496
  }
482
497
  }
483
498
 
@@ -723,6 +738,11 @@ message BotMetadata {
723
738
  optional BotInfrastructureDiagnostics botInfrastructureDiagnostics = 37;
724
739
  optional AIMediaCollectionMetadata aiMediaCollectionMetadata = 38;
725
740
  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;
726
746
  optional bytes internalMetadata = 999;
727
747
  }
728
748
 
@@ -775,6 +795,8 @@ enum BotMetricsEntryPoint {
775
795
  GROUP_MEMBER = 54;
776
796
  CHATLIST_SEARCH = 55;
777
797
  NEW_CHAT_LIST = 56;
798
+ CONTACTS_TAB = 57;
799
+ NEW_3P_AGENT_CREATION = 58;
778
800
  }
779
801
  message BotMetricsMetadata {
780
802
  optional string destinationId = 1;
@@ -994,11 +1016,20 @@ message BotSignatureVerificationUseCaseProof {
994
1016
  optional BotSignatureUseCase useCase = 2;
995
1017
  optional bytes signature = 3;
996
1018
  repeated bytes certificateChain = 4;
1019
+ repeated CertificateSKI certificateChainSki = 5;
997
1020
  enum BotSignatureUseCase {
998
1021
  UNSPECIFIED = 0;
999
1022
  WA_BOT_MSG = 1;
1000
1023
  WA_TEE_BOT_MSG = 2;
1024
+ P2P_PILLS = 3;
1025
+ WA_WAFFLE = 4;
1026
+ WA_FEATURE_PKI = 5;
1001
1027
  }
1028
+ message CertificateSKI {
1029
+ optional BotSignatureVerificationUseCaseProof.BotSignatureUseCase useCase = 1;
1030
+ optional bytes ski = 2;
1031
+ }
1032
+
1002
1033
  }
1003
1034
 
1004
1035
  message BotSourcesMetadata {
@@ -1172,6 +1203,7 @@ message ClientPairingProps {
1172
1203
  optional bool isSyncdSnapshotRecoveryEnabled = 3;
1173
1204
  optional bool isHsThumbnailSyncEnabled = 4;
1174
1205
  optional bytes subscriptionSyncPayload = 5;
1206
+ optional bool isBotJidDbMigrated = 6;
1175
1207
  }
1176
1208
 
1177
1209
  message ClientPayload {
@@ -1201,6 +1233,21 @@ message ClientPayload {
1201
1233
  optional bytes paddingBytes = 34;
1202
1234
  optional int32 yearClass = 36;
1203
1235
  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
+ }
1204
1251
  enum ConnectReason {
1205
1252
  PUSH = 0;
1206
1253
  USER_ACTIVATED = 1;
@@ -1236,6 +1283,9 @@ message ClientPayload {
1236
1283
  HARDCODED = 2;
1237
1284
  OVERRIDE = 3;
1238
1285
  FALLBACK = 4;
1286
+ MNS = 5;
1287
+ MNS_SECONDARY = 6;
1288
+ SOCKS_PROXY = 7;
1239
1289
  }
1240
1290
  }
1241
1291
 
@@ -1255,9 +1305,22 @@ message ClientPayload {
1255
1305
  SERVICE_EXTENSION = 1;
1256
1306
  INTENTS_EXTENSION = 2;
1257
1307
  }
1308
+ message InteropData {
1309
+ optional uint64 accountId = 1;
1310
+ optional bytes token = 2;
1311
+ optional bool enableReadReceipts = 3;
1312
+ }
1313
+
1258
1314
  enum Product {
1259
1315
  WHATSAPP = 0;
1260
1316
  MESSENGER = 1;
1317
+ INTEROP = 2;
1318
+ INTEROP_MSGR = 3;
1319
+ WHATSAPP_LID = 4;
1320
+ }
1321
+ enum TrafficAnonymization {
1322
+ OFF = 0;
1323
+ STANDARD = 1;
1261
1324
  }
1262
1325
  message UserAgent {
1263
1326
  optional Platform platform = 1;
@@ -1275,6 +1338,8 @@ message ClientPayload {
1275
1338
  optional string deviceBoard = 13;
1276
1339
  optional string deviceExpId = 14;
1277
1340
  optional DeviceType deviceType = 15;
1341
+ optional string deviceModelType = 16;
1342
+ optional DistributionChannel distributionChannel = 17;
1278
1343
  message AppVersion {
1279
1344
  optional uint32 primary = 1;
1280
1345
  optional uint32 secondary = 2;
@@ -1290,6 +1355,12 @@ message ClientPayload {
1290
1355
  WEARABLE = 3;
1291
1356
  VR = 4;
1292
1357
  }
1358
+ enum DistributionChannel {
1359
+ APPSTORE = 0;
1360
+ WEBSITE = 1;
1361
+ TESTFLIGHT = 2;
1362
+ INTERNAL = 3;
1363
+ }
1293
1364
  enum Platform {
1294
1365
  ANDROID = 0;
1295
1366
  IOS = 1;
@@ -1327,6 +1398,11 @@ message ClientPayload {
1327
1398
  IPAD = 33;
1328
1399
  TEST = 34;
1329
1400
  SMART_GLASSES = 35;
1401
+ BLUE_VR = 36;
1402
+ AR_WRIST = 37;
1403
+ WAIL = 38;
1404
+ WORK_ANDROID = 39;
1405
+ WORK_IOS = 40;
1330
1406
  }
1331
1407
  enum ReleaseChannel {
1332
1408
  RELEASE = 0;
@@ -1341,12 +1417,15 @@ message ClientPayload {
1341
1417
  optional string version = 2;
1342
1418
  optional WebdPayload webdPayload = 3;
1343
1419
  optional WebSubPlatform webSubPlatform = 4;
1420
+ optional string browser = 5;
1421
+ optional string browserVersion = 6;
1344
1422
  enum WebSubPlatform {
1345
1423
  WEB_BROWSER = 0;
1346
1424
  APP_STORE = 1;
1347
1425
  WIN_STORE = 2;
1348
1426
  DARWIN = 3;
1349
1427
  WIN32 = 4;
1428
+ WIN_HYBRID = 5;
1350
1429
  }
1351
1430
  message WebdPayload {
1352
1431
  optional bool usesParticipantInKey = 1;
@@ -1476,6 +1555,13 @@ message ContextInfo {
1476
1555
  optional MediaDomainInfo mediaDomainInfo = 74;
1477
1556
  optional PartiallySelectedContent partiallySelectedContent = 75;
1478
1557
  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;
1479
1565
  message AdReplyInfo {
1480
1566
  optional string advertiserName = 1;
1481
1567
  optional MediaType mediaType = 2;
@@ -1488,10 +1574,64 @@ message ContextInfo {
1488
1574
  }
1489
1575
  }
1490
1576
 
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
+
1491
1626
  message BusinessMessageForwardInfo {
1492
1627
  optional string businessOwnerJid = 1;
1493
1628
  }
1494
1629
 
1630
+ enum CrossAppSource {
1631
+ CROSS_APP_SOURCE_UNKNOWN = 0;
1632
+ CROSS_APP_SOURCE_INSTAGRAM = 1;
1633
+ CROSS_APP_SOURCE_FACEBOOK = 2;
1634
+ }
1495
1635
  message DataSharingContext {
1496
1636
  optional bool showMmDisclosure = 1;
1497
1637
  optional string encryptedSignalTokenConsented = 2;
@@ -1544,6 +1684,8 @@ message ContextInfo {
1544
1684
  optional int32 agmTitleStrategy = 30;
1545
1685
  optional int32 agmSubtitleStrategy = 31;
1546
1686
  optional int32 agmHeaderInteractionStrategy = 32;
1687
+ optional bool containsCtwaFlowsAutoLabel = 33;
1688
+ optional string productId = 34;
1547
1689
  enum AdType {
1548
1690
  CTWA = 0;
1549
1691
  CAWC = 1;
@@ -1585,6 +1727,10 @@ message ContextInfo {
1585
1727
  }
1586
1728
  }
1587
1729
 
1730
+ message InstagramThreadLink {
1731
+ optional string url = 1;
1732
+ }
1733
+
1588
1734
  enum PairedMediaType {
1589
1735
  NOT_PAIRED_MEDIA = 0;
1590
1736
  SD_VIDEO_PARENT = 1;
@@ -1837,6 +1983,7 @@ message DeviceProps {
1837
1983
  optional bool supportHatchHistory = 22;
1838
1984
  repeated string supportedBotChannelFbids = 23;
1839
1985
  optional bool supportInlineContacts = 24;
1986
+ optional bool supportNewsletter = 25;
1840
1987
  }
1841
1988
 
1842
1989
  enum PlatformType {
@@ -1865,6 +2012,9 @@ message DeviceProps {
1865
2012
  VR = 22;
1866
2013
  CLOUD_API = 23;
1867
2014
  SMARTGLASSES = 24;
2015
+ WAIL = 25;
2016
+ WASS = 26;
2017
+ BUSINESS_BACK_OFFICE = 27;
1868
2018
  }
1869
2019
  }
1870
2020
 
@@ -2057,6 +2207,7 @@ message GroupRootKeyShareEntry {
2057
2207
  optional bytes groupRootKey = 1;
2058
2208
  optional string keyId = 2;
2059
2209
  optional int64 expiryTimestampMs = 3;
2210
+ optional int64 createdTimestampMs = 4;
2060
2211
  }
2061
2212
 
2062
2213
  message HandshakeMessage {
@@ -2066,18 +2217,43 @@ message HandshakeMessage {
2066
2217
  message ClientFinish {
2067
2218
  optional bytes static = 1;
2068
2219
  optional bytes payload = 2;
2220
+ optional bytes extendedCiphertext = 3;
2221
+ optional bytes paddedBytes = 4;
2222
+ optional bool simulateXxkemFs = 5;
2069
2223
  }
2070
2224
 
2071
2225
  message ClientHello {
2072
2226
  optional bytes ephemeral = 1;
2073
2227
  optional bytes static = 2;
2074
2228
  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;
2075
2249
  }
2076
-
2077
2250
  message ServerHello {
2078
2251
  optional bytes ephemeral = 1;
2079
2252
  optional bytes static = 2;
2080
2253
  optional bytes payload = 3;
2254
+ optional bytes extendedStatic = 4;
2255
+ optional bytes paddingBytes = 5;
2256
+ optional bytes extendedCiphertext = 6;
2081
2257
  }
2082
2258
 
2083
2259
  }
@@ -2268,14 +2444,6 @@ message KeyId {
2268
2444
  optional bytes id = 1;
2269
2445
  }
2270
2446
 
2271
- message KeyTransparencyCommand {
2272
- oneof commandInput {
2273
- VerifyKeyTransparencyForUserSignalCommand verifyKtForUserSignal = 5;
2274
- VerifyKeyTransparencyForUserMinosCommand verifyKtForUserMinos = 6;
2275
- VerifyKeyTransparencyForUserMandrakeCommand verifyKtForUserMandrake = 7;
2276
- }
2277
- }
2278
-
2279
2447
  message LIDMigrationMappingSyncMessage {
2280
2448
  optional bytes encodedMappingPayload = 1;
2281
2449
  }
@@ -2490,6 +2658,18 @@ message Message {
2490
2658
  optional PollAddOptionMessage pollAddOptionMessage = 121;
2491
2659
  optional EventInviteMessage eventInviteMessage = 122;
2492
2660
  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;
2493
2673
  message AlbumMessage {
2494
2674
  optional uint32 expectedImageCount = 2;
2495
2675
  optional uint32 expectedVideoCount = 3;
@@ -2561,6 +2741,12 @@ message Message {
2561
2741
  }
2562
2742
  }
2563
2743
 
2744
+ message BotHistoryShareSyncMetadata {
2745
+ optional string botJid = 1;
2746
+ optional int64 historyShareCutoffTimestamp = 2;
2747
+ repeated Message.HistoryShareMessageEntry historyShareMessages = 3;
2748
+ }
2749
+
2564
2750
  message ButtonsMessage {
2565
2751
  optional string contentText = 6;
2566
2752
  optional string footerText = 7;
@@ -2631,6 +2817,7 @@ message Message {
2631
2817
  optional string deeplinkPayload = 9;
2632
2818
  optional MessageContextInfo messageContextInfo = 10;
2633
2819
  optional uint32 callEntryPoint = 11;
2820
+ optional string callReason = 12;
2634
2821
  }
2635
2822
 
2636
2823
  message CallLogMessage {
@@ -2670,6 +2857,47 @@ message Message {
2670
2857
  optional string id = 2;
2671
2858
  }
2672
2859
 
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
+
2673
2901
  message CloudAPIThreadControlNotification {
2674
2902
  optional CloudAPIThreadControl status = 1;
2675
2903
  optional int64 senderNotificationTimestampMs = 2;
@@ -2779,6 +3007,8 @@ message Message {
2779
3007
  optional int64 startTime = 5;
2780
3008
  optional string caption = 6;
2781
3009
  optional bool isCanceled = 7;
3010
+ optional int64 endTime = 8;
3011
+ optional string callLink = 9;
2782
3012
  }
2783
3013
 
2784
3014
  message EventMessage {
@@ -2834,7 +3064,7 @@ message Message {
2834
3064
  optional bool viewOnce = 30;
2835
3065
  optional uint32 videoHeight = 31;
2836
3066
  optional uint32 videoWidth = 32;
2837
- optional Message.MMSThumbnailMetadata faviconMMSMetadata = 33;
3067
+ optional Message.MMSThumbnailMetadata faviconMmsMetadata = 33;
2838
3068
  optional Message.LinkPreviewMetadata linkPreviewMetadata = 34;
2839
3069
  optional Message.PaymentLinkMetadata paymentLinkMetadata = 35;
2840
3070
  repeated Message.VideoEndCard endCardTiles = 36;
@@ -2956,6 +3186,11 @@ message Message {
2956
3186
 
2957
3187
  }
2958
3188
 
3189
+ message HistoryShareMessageEntry {
3190
+ optional string stanzaId = 1;
3191
+ optional bytes messageSecretProof = 2;
3192
+ }
3193
+
2959
3194
  message HistorySyncMessageAccessStatus {
2960
3195
  optional bool completeAccessGranted = 1;
2961
3196
  }
@@ -3056,6 +3291,7 @@ message Message {
3056
3291
  optional string uuid = 1;
3057
3292
  optional string data = 2;
3058
3293
  optional string type = 3;
3294
+ optional string fallback = 4;
3059
3295
  }
3060
3296
 
3061
3297
  message Body {
@@ -3294,6 +3530,13 @@ message Message {
3294
3530
  optional uint32 thumbnailWidth = 7;
3295
3531
  }
3296
3532
 
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
+
3297
3540
  message MessageHistoryBundle {
3298
3541
  optional string mimetype = 1;
3299
3542
  optional bytes fileSha256 = 2;
@@ -3311,11 +3554,25 @@ message Message {
3311
3554
  optional int64 messageCount = 3;
3312
3555
  repeated string nonHistoryReceivers = 4;
3313
3556
  optional int64 oldestMessageTimestampInBundle = 5;
3557
+ optional bool includesChatTheme = 6;
3314
3558
  }
3315
3559
 
3316
3560
  message MessageHistoryNotice {
3317
3561
  optional ContextInfo contextInfo = 1;
3318
3562
  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
+ }
3319
3576
  }
3320
3577
 
3321
3578
  message NewsletterAdminInviteMessage {
@@ -3364,6 +3621,7 @@ message Message {
3364
3621
  message PaymentExtendedMetadata {
3365
3622
  optional uint32 type = 1;
3366
3623
  optional string platform = 2;
3624
+ optional string messageParamsJson = 3;
3367
3625
  }
3368
3626
 
3369
3627
  message PaymentInviteMessage {
@@ -3381,6 +3639,7 @@ message Message {
3381
3639
  FBPAY = 1;
3382
3640
  NOVI = 2;
3383
3641
  UPI = 3;
3642
+ PIX = 4;
3384
3643
  }
3385
3644
  }
3386
3645
 
@@ -3406,6 +3665,33 @@ message Message {
3406
3665
 
3407
3666
  }
3408
3667
 
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
+
3409
3695
  message PeerDataOperationRequestMessage {
3410
3696
  optional Message.PeerDataOperationRequestType peerDataOperationRequestType = 1;
3411
3697
  repeated RequestStickerReupload requestStickerReupload = 2;
@@ -3463,6 +3749,7 @@ message Message {
3463
3749
  optional int32 onDemandMsgCount = 4;
3464
3750
  optional int64 oldestMsgTimestampMs = 5;
3465
3751
  optional string accountLid = 6;
3752
+ optional bool supportInlineResponse = 7;
3466
3753
  }
3467
3754
 
3468
3755
  message PlaceholderMessageResendRequest {
@@ -3502,6 +3789,7 @@ message Message {
3502
3789
  optional HistorySyncChunkRetryResponse historySyncChunkRetryResponse = 10;
3503
3790
  optional FlowResponsesCsvBundle flowResponsesCsvBundle = 11;
3504
3791
  optional BizBroadcastInsightsContactListResponse bizBroadcastInsightsContactListResponse = 12;
3792
+ optional ContactRefreshResponse contactRefreshResponse = 13;
3505
3793
  message BizBroadcastInsightsContactListResponse {
3506
3794
  optional string campaignId = 1;
3507
3795
  optional int64 timestampMs = 2;
@@ -3523,6 +3811,13 @@ message Message {
3523
3811
  optional string nonce = 1;
3524
3812
  }
3525
3813
 
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
+
3526
3821
  message FlowResponsesCsvBundle {
3527
3822
  optional string flowId = 1;
3528
3823
  optional string galaxyFlowDownloadRequestId = 2;
@@ -3629,6 +3924,7 @@ message Message {
3629
3924
  GALAXY_FLOW_ACTION = 11;
3630
3925
  BUSINESS_BROADCAST_INSIGHTS_DELIVERED_TO = 12;
3631
3926
  BUSINESS_BROADCAST_INSIGHTS_REFRESH = 13;
3927
+ CONTACT_REFRESH_REQUEST = 14;
3632
3928
  }
3633
3929
  message PinInChatMessage {
3634
3930
  optional MessageKey key = 1;
@@ -3651,6 +3947,7 @@ message Message {
3651
3947
  message PollAddOptionMessage {
3652
3948
  optional MessageKey pollCreationMessageKey = 1;
3653
3949
  optional Message.PollCreationMessage.Option addOption = 2;
3950
+ optional Message.PollUpdateMessageMetadata metadata = 3;
3654
3951
  }
3655
3952
 
3656
3953
  enum PollContentType {
@@ -3706,6 +4003,8 @@ message Message {
3706
4003
  }
3707
4004
 
3708
4005
  message PollUpdateMessageMetadata {
4006
+ optional bytes pollNameHash = 1;
4007
+ optional string lastEditStanzaId = 2;
3709
4008
  }
3710
4009
 
3711
4010
  message PollVoteMessage {
@@ -3769,6 +4068,13 @@ message Message {
3769
4068
  optional MemberLabel memberLabel = 27;
3770
4069
  optional AIMediaCollectionMessage aiMediaCollectionMessage = 28;
3771
4070
  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;
3772
4078
  enum Type {
3773
4079
  REVOKE = 0;
3774
4080
  EPHEMERAL_SETTING = 3;
@@ -3798,6 +4104,13 @@ message Message {
3798
4104
  GROUP_MEMBER_LABEL_CHANGE = 30;
3799
4105
  AI_MEDIA_COLLECTION_MESSAGE = 31;
3800
4106
  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;
3801
4114
  }
3802
4115
  }
3803
4116
 
@@ -3841,6 +4154,10 @@ message Message {
3841
4154
  }
3842
4155
  }
3843
4156
 
4157
+ message RootSecretDistributeMessage {
4158
+ optional string chatJid = 1;
4159
+ }
4160
+
3844
4161
  message ScheduledCallCreationMessage {
3845
4162
  optional int64 scheduledTimestampMs = 1;
3846
4163
  optional CallType callType = 2;
@@ -3889,6 +4206,60 @@ message Message {
3889
4206
  optional bytes axolotlSenderKeyDistributionMessage = 2;
3890
4207
  }
3891
4208
 
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
+
3892
4263
  message StatusNotificationMessage {
3893
4264
  optional MessageKey responseMessageKey = 1;
3894
4265
  optional MessageKey originalMessageKey = 2;
@@ -3898,6 +4269,7 @@ message Message {
3898
4269
  STATUS_ADD_YOURS = 1;
3899
4270
  STATUS_RESHARE = 2;
3900
4271
  STATUS_QUESTION_ANSWER_RESHARE = 3;
4272
+ STATUS_GROUP_STATUS_REPLY = 4;
3901
4273
  }
3902
4274
  }
3903
4275
 
@@ -3949,6 +4321,9 @@ message Message {
3949
4321
  optional string accessibilityLabel = 22;
3950
4322
  optional int32 premium = 24;
3951
4323
  optional string emojis = 25;
4324
+ oneof audio {
4325
+ Message.AudioMessage audioMessage = 26;
4326
+ }
3952
4327
  }
3953
4328
 
3954
4329
  message StickerPackMessage {
@@ -4086,6 +4461,8 @@ message Message {
4086
4461
  optional uint64 motionPhotoPresentationOffsetMs = 29;
4087
4462
  optional string metadataUrl = 30;
4088
4463
  optional VideoSourceType videoSourceType = 31;
4464
+ optional string dashManifestUrl = 33;
4465
+ optional int64 smartThumbnailTs = 34;
4089
4466
  enum Attribution {
4090
4467
  NONE = 0;
4091
4468
  GIPHY = 1;
@@ -4170,6 +4547,10 @@ message MessageContextInfo {
4170
4547
  repeated ThreadID threadId = 15;
4171
4548
  optional WebLinkRenderConfig weblinkRenderConfig = 16;
4172
4549
  optional bytes teeBotMetadata = 17;
4550
+ optional NonE2EEAttestation accountEncryptionAttestation = 18;
4551
+ optional bytes associatedPrimaryIdentityKey = 19;
4552
+ optional string teeContextAnchorMessageId = 20;
4553
+ optional ACP2Setting acp2Setting = 21;
4173
4554
  enum MessageAddonExpiryType {
4174
4555
  STATIC = 1;
4175
4556
  DEPENDENT_ON_PARENT = 2;
@@ -4926,6 +5307,8 @@ message StatusAttribution {
4926
5307
  SHARECHAT = 9;
4927
5308
  GOOGLE_PHOTOS = 10;
4928
5309
  SOUNDCLOUD = 11;
5310
+ SHAZAM = 12;
5311
+ PICSART = 13;
4929
5312
  }
4930
5313
  }
4931
5314
 
@@ -4983,6 +5366,8 @@ message StatusAttribution {
4983
5366
  LAYOUTS = 8;
4984
5367
  NEWSLETTER_STATUS = 9;
4985
5368
  STATUS_CLOSE_SHARING = 10;
5369
+ PAID_PARTNERSHIP = 11;
5370
+ USERNAME_STATUS = 12;
4986
5371
  }
4987
5372
  }
4988
5373
 
@@ -6001,52 +6386,6 @@ message VerifiedNameCertificate {
6001
6386
 
6002
6387
  }
6003
6388
 
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
-
6050
6389
  message WallpaperSettings {
6051
6390
  optional string filename = 1;
6052
6391
  optional uint32 opacity = 2;