@badzz88/baileys 8.4.2 → 8.4.4

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.
@@ -1,7 +1,7 @@
1
1
  syntax = "proto3";
2
- package proto;
2
+ package waproto;
3
3
 
4
- /// WhatsApp Version: 2.3000.1041467552
4
+ /// WhatsApp Version: 2.3000.1043359815
5
5
 
6
6
  message ADVDeviceIdentity {
7
7
  optional uint32 rawId = 1;
@@ -83,6 +83,16 @@ message AIMetadataOperation {
83
83
  optional HatchMetadataSync hatchMetadataSync = 1;
84
84
  }
85
85
 
86
+ message AIProvenance {
87
+ optional Metadata c2PaMetadata = 1;
88
+ optional Metadata iptcMetadata = 2;
89
+ message Metadata {
90
+ optional bool createdWithGenAi = 1;
91
+ optional bool editedWithGenAi = 2;
92
+ }
93
+
94
+ }
95
+
86
96
  message AIQueryFanout {
87
97
  optional MessageKey messageKey = 1;
88
98
  optional Message message = 2;
@@ -116,7 +126,7 @@ message AIRichResponseContentItemsMetadata {
116
126
  repeated AIRichResponseContentItemMetadata itemsMetadata = 1;
117
127
  optional ContentType contentType = 2;
118
128
  message AIRichResponseContentItemMetadata {
119
- oneof aIRichResponseContentItem {
129
+ oneof aiRichResponseContentItem {
120
130
  AIRichResponseContentItemsMetadata.AIRichResponseReelItem reelItem = 1;
121
131
  }
122
132
  }
@@ -290,13 +300,6 @@ message Account {
290
300
  optional bool isUsernameDeleted = 4;
291
301
  }
292
302
 
293
- message AccountLinkingOpaqueData {
294
- optional string accesstoken = 1;
295
- optional string fbid = 2;
296
- optional string nonce = 3;
297
- optional string encryptedPassword = 4;
298
- }
299
-
300
303
  message ActionLink {
301
304
  optional string url = 1;
302
305
  optional string buttonTitle = 2;
@@ -370,6 +373,7 @@ message BotAgeCollectionMetadata {
370
373
 
371
374
  message BotAgentDeepLinkMetadata {
372
375
  optional string token = 1;
376
+ optional bytes clientPublicKey = 2;
373
377
  }
374
378
 
375
379
  message BotAgentMetadata {
@@ -445,6 +449,7 @@ message BotCapabilityMetadata {
445
449
  UNIFIED_RESPONSE_MARKDOWN_LINKS_ENABLED = 63;
446
450
  AI_RICH_RESPONSE_MAPS_V2_ENABLED = 64;
447
451
  AI_SUBSCRIPTION_METERING_ENABLED = 65;
452
+ RICH_RESPONSE_SPORTS_WIDGET_ENABLED = 66;
448
453
  }
449
454
  }
450
455
 
@@ -566,6 +571,10 @@ message BotGroupParticipantMetadata {
566
571
  optional string botFbid = 1;
567
572
  }
568
573
 
574
+ message BotHistoryShareMetadata {
575
+ repeated BotGroupParticipantMetadata participantsMetadata = 1;
576
+ }
577
+
569
578
  message BotImagineMetadata {
570
579
  optional ImagineType imagineType = 1;
571
580
  optional string shortPrompt = 2;
@@ -689,6 +698,7 @@ message BotMetadata {
689
698
  optional BotResolvedToolCallMetadata resolvedToolCallMetadata = 40;
690
699
  optional AISubscriptionUpsellMetadata subscriptionUpsellMetadata = 41;
691
700
  optional BotPttPromptMetadata pttPromptMetadata = 42;
701
+ optional BotHistoryShareMetadata botHistoryShareMetadata = 43;
692
702
  optional bytes internalMetadata = 999;
693
703
  }
694
704
 
@@ -741,6 +751,7 @@ enum BotMetricsEntryPoint {
741
751
  GROUP_MEMBER = 54;
742
752
  CHATLIST_SEARCH = 55;
743
753
  NEW_CHAT_LIST = 56;
754
+ CONTACTS_TAB = 57;
744
755
  }
745
756
  message BotMetricsMetadata {
746
757
  optional string destinationId = 1;
@@ -1012,29 +1023,6 @@ message BotUnifiedResponseMutation {
1012
1023
 
1013
1024
  }
1014
1025
 
1015
- enum COMMAND_COMMAND_TYPE {
1016
- EVERYONE = 1;
1017
- SILENT = 2;
1018
- AI = 3;
1019
- AI_IMAGINE = 4;
1020
- }
1021
- enum CONSUMER_APPLICATION_EXTENDED_TEXT_MESSAGE_PREVIEW_TYPE {
1022
- NONE = 0;
1023
- VIDEO = 1;
1024
- }
1025
- enum CONSUMER_APPLICATION_METADATA_SPECIAL_TEXT_SIZE {
1026
- SMALL = 1;
1027
- MEDIUM = 2;
1028
- LARGE = 3;
1029
- }
1030
- enum CONSUMER_APPLICATION_STATUS_TEXT_MESAGE_FONT_TYPE {
1031
- SANS_SERIF = 0;
1032
- SERIF = 1;
1033
- NORICAN_REGULAR = 2;
1034
- BRYNDAN_WRITE = 3;
1035
- BEBASNEUE_REGULAR = 4;
1036
- OSWALD_HEAVY = 5;
1037
- }
1038
1026
  message CallLogRecord {
1039
1027
  optional CallResult callResult = 1;
1040
1028
  optional bool isDndMode = 2;
@@ -1145,10 +1133,10 @@ message ChatRowOpaqueData {
1145
1133
  }
1146
1134
 
1147
1135
  message Citation {
1148
- optional string title = 1;
1149
- optional string subtitle = 2;
1150
- optional string cmsId = 3;
1151
- optional string imageUrl = 4;
1136
+ required string title = 1;
1137
+ required string subtitle = 2;
1138
+ required string cmsId = 3;
1139
+ required string imageUrl = 4;
1152
1140
  }
1153
1141
 
1154
1142
  message ClientPairingProps {
@@ -1352,6 +1340,7 @@ message ClientPayload {
1352
1340
  SMART_GLASSES = 35;
1353
1341
  BLUE_VR = 36;
1354
1342
  AR_WRIST = 37;
1343
+ WAIL = 38;
1355
1344
  }
1356
1345
  enum ReleaseChannel {
1357
1346
  RELEASE = 0;
@@ -1394,6 +1383,22 @@ message ClientPayload {
1394
1383
 
1395
1384
  }
1396
1385
 
1386
+ message CoexStateSync {
1387
+ repeated CollectionMutations collectionMutations = 1;
1388
+ message CollectionMutations {
1389
+ optional string collection = 1;
1390
+ repeated CoexStateSync.Mutation mutations = 2;
1391
+ }
1392
+
1393
+ message Mutation {
1394
+ optional SyncdIndex index = 1;
1395
+ optional SyncdValue value = 2;
1396
+ optional uint64 dirtyVersion = 3;
1397
+ optional SyncdMutation.SyncdOperation operation = 4;
1398
+ }
1399
+
1400
+ }
1401
+
1397
1402
  enum CollectionName {
1398
1403
  COLLECTION_NAME_UNKNOWN = 0;
1399
1404
  REGULAR = 1;
@@ -1402,19 +1407,6 @@ enum CollectionName {
1402
1407
  CRITICAL_BLOCK = 4;
1403
1408
  CRITICAL_UNBLOCK_LOW = 5;
1404
1409
  }
1405
- message CombinedFingerprint {
1406
- optional uint32 version = 1;
1407
- optional FingerprintData localFingerprint = 2;
1408
- optional FingerprintData remoteFingerprint = 3;
1409
- }
1410
-
1411
- message Command {
1412
- optional COMMAND_COMMAND_TYPE commandType = 1;
1413
- optional uint32 offset = 2;
1414
- optional uint32 length = 3;
1415
- optional string validationToken = 4;
1416
- }
1417
-
1418
1410
  message CommentMetadata {
1419
1411
  optional MessageKey commentParentKey = 1;
1420
1412
  optional uint32 replyCount = 2;
@@ -1435,213 +1427,6 @@ message Config {
1435
1427
  optional uint32 version = 2;
1436
1428
  }
1437
1429
 
1438
- message ConsumerApplication {
1439
- optional Payload payload = 1;
1440
- optional Metadata metadata = 2;
1441
- message ApplicationData {
1442
- oneof applicationContent {
1443
- ConsumerApplication.RevokeMessage revoke = 1;
1444
- }
1445
- }
1446
-
1447
- message AudioMessage {
1448
- optional SubProtocol audio = 1;
1449
- optional bool ptt = 2;
1450
- }
1451
-
1452
- message ContactMessage {
1453
- optional SubProtocol contact = 1;
1454
- }
1455
-
1456
- message ContactsArrayMessage {
1457
- optional string displayName = 1;
1458
- repeated ConsumerApplication.ContactMessage contacts = 2;
1459
- }
1460
-
1461
- message Content {
1462
- oneof content {
1463
- MessageText messageText = 1;
1464
- ConsumerApplication.ImageMessage imageMessage = 2;
1465
- ConsumerApplication.ContactMessage contactMessage = 3;
1466
- ConsumerApplication.LocationMessage locationMessage = 4;
1467
- ConsumerApplication.ExtendedTextMessage extendedTextMessage = 5;
1468
- ConsumerApplication.StatusTextMesage statusTextMessage = 6;
1469
- ConsumerApplication.DocumentMessage documentMessage = 7;
1470
- ConsumerApplication.AudioMessage audioMessage = 8;
1471
- ConsumerApplication.VideoMessage videoMessage = 9;
1472
- ConsumerApplication.ContactsArrayMessage contactsArrayMessage = 10;
1473
- ConsumerApplication.LiveLocationMessage liveLocationMessage = 11;
1474
- ConsumerApplication.StickerMessage stickerMessage = 12;
1475
- ConsumerApplication.GroupInviteMessage groupInviteMessage = 13;
1476
- ConsumerApplication.ViewOnceMessage viewOnceMessage = 14;
1477
- ConsumerApplication.ReactionMessage reactionMessage = 16;
1478
- ConsumerApplication.PollCreationMessage pollCreationMessage = 17;
1479
- ConsumerApplication.PollUpdateMessage pollUpdateMessage = 18;
1480
- ConsumerApplication.EditMessage editMessage = 19;
1481
- }
1482
- }
1483
-
1484
- message DocumentMessage {
1485
- optional SubProtocol document = 1;
1486
- optional string fileName = 2;
1487
- }
1488
-
1489
- message EditMessage {
1490
- optional MessageKey key = 1;
1491
- optional MessageText message = 2;
1492
- optional int64 timestampMs = 3;
1493
- }
1494
-
1495
- message ExtendedTextMessage {
1496
- optional MessageText text = 1;
1497
- optional string matchedText = 2;
1498
- optional string canonicalUrl = 3;
1499
- optional string description = 4;
1500
- optional string title = 5;
1501
- optional SubProtocol thumbnail = 6;
1502
- optional CONSUMER_APPLICATION_EXTENDED_TEXT_MESSAGE_PREVIEW_TYPE previewType = 7;
1503
- }
1504
-
1505
- message GroupInviteMessage {
1506
- optional string groupJid = 1;
1507
- optional string inviteCode = 2;
1508
- optional int64 inviteExpiration = 3;
1509
- optional string groupName = 4;
1510
- optional bytes jpegThumbnail = 5;
1511
- optional MessageText caption = 6;
1512
- }
1513
-
1514
- message ImageMessage {
1515
- optional SubProtocol image = 1;
1516
- optional MessageText caption = 2;
1517
- }
1518
-
1519
- message InteractiveAnnotation {
1520
- repeated ConsumerApplication.Point polygonVertices = 1;
1521
- oneof action {
1522
- ConsumerApplication.Location location = 2;
1523
- }
1524
- }
1525
-
1526
- message LiveLocationMessage {
1527
- optional ConsumerApplication.Location location = 1;
1528
- optional uint32 accuracyInMeters = 2;
1529
- optional float speedInMps = 3;
1530
- optional uint32 degreesClockwiseFromMagneticNorth = 4;
1531
- optional MessageText caption = 5;
1532
- optional int64 sequenceNumber = 6;
1533
- optional uint32 timeOffset = 7;
1534
- }
1535
-
1536
- message Location {
1537
- optional double degreesLatitude = 1;
1538
- optional double degreesLongitude = 2;
1539
- optional string name = 3;
1540
- }
1541
-
1542
- message LocationMessage {
1543
- optional ConsumerApplication.Location location = 1;
1544
- optional string address = 2;
1545
- }
1546
-
1547
- message MediaPayload {
1548
- optional SubProtocol protocol = 1;
1549
- }
1550
-
1551
- message Metadata {
1552
- optional CONSUMER_APPLICATION_METADATA_SPECIAL_TEXT_SIZE specialTextSize = 1;
1553
- }
1554
-
1555
- message Option {
1556
- optional string optionName = 1;
1557
- }
1558
-
1559
- message Payload {
1560
- oneof payload {
1561
- ConsumerApplication.Content content = 1;
1562
- ConsumerApplication.ApplicationData applicationData = 2;
1563
- ConsumerApplication.Signal signal = 3;
1564
- ConsumerApplication.SubProtocolPayload subProtocol = 4;
1565
- }
1566
- }
1567
-
1568
- message Point {
1569
- optional double x = 1;
1570
- optional double y = 2;
1571
- }
1572
-
1573
- message PollAddOptionMessage {
1574
- repeated ConsumerApplication.Option pollOption = 1;
1575
- }
1576
-
1577
- message PollCreationMessage {
1578
- optional bytes encKey = 1;
1579
- optional string name = 2;
1580
- repeated ConsumerApplication.Option options = 3;
1581
- optional uint32 selectableOptionsCount = 4;
1582
- }
1583
-
1584
- message PollEncValue {
1585
- optional bytes encPayload = 1;
1586
- optional bytes encIv = 2;
1587
- }
1588
-
1589
- message PollUpdateMessage {
1590
- optional MessageKey pollCreationMessageKey = 1;
1591
- optional ConsumerApplication.PollEncValue vote = 2;
1592
- optional ConsumerApplication.PollEncValue addOption = 3;
1593
- }
1594
-
1595
- message PollVoteMessage {
1596
- repeated bytes selectedOptions = 1;
1597
- optional int64 senderTimestampMs = 2;
1598
- }
1599
-
1600
- message ReactionMessage {
1601
- optional MessageKey key = 1;
1602
- optional string text = 2;
1603
- optional string groupingKey = 3;
1604
- optional int64 senderTimestampMs = 4;
1605
- optional string reactionMetadataDataclassData = 5;
1606
- optional int32 style = 6;
1607
- }
1608
-
1609
- message RevokeMessage {
1610
- optional MessageKey key = 1;
1611
- }
1612
-
1613
- message Signal {
1614
- }
1615
-
1616
- message StatusTextMesage {
1617
- optional ConsumerApplication.ExtendedTextMessage text = 1;
1618
- optional fixed32 textArgb = 6;
1619
- optional fixed32 backgroundArgb = 7;
1620
- optional CONSUMER_APPLICATION_STATUS_TEXT_MESAGE_FONT_TYPE font = 8;
1621
- }
1622
-
1623
- message StickerMessage {
1624
- optional SubProtocol sticker = 1;
1625
- }
1626
-
1627
- message SubProtocolPayload {
1628
- optional FUTURE_PROOF_BEHAVIOR futureProof = 1;
1629
- }
1630
-
1631
- message VideoMessage {
1632
- optional SubProtocol video = 1;
1633
- optional MessageText caption = 2;
1634
- }
1635
-
1636
- message ViewOnceMessage {
1637
- oneof viewOnceContent {
1638
- ConsumerApplication.ImageMessage imageMessage = 1;
1639
- ConsumerApplication.VideoMessage videoMessage = 2;
1640
- }
1641
- }
1642
-
1643
- }
1644
-
1645
1430
  message ContextInfo {
1646
1431
  optional string stanzaId = 1;
1647
1432
  optional string participant = 2;
@@ -1705,6 +1490,8 @@ message ContextInfo {
1705
1490
  optional CrossAppSource crossAppSource = 77;
1706
1491
  optional BusinessInteractionPills businessInteractionPills = 78;
1707
1492
  optional string posterStatusId = 79;
1493
+ optional InstagramThreadLink instagramThreadLink = 80;
1494
+ optional AIProvenance aiProvenance = 81;
1708
1495
  message AdReplyInfo {
1709
1496
  optional string advertiserName = 1;
1710
1497
  optional MediaType mediaType = 2;
@@ -1723,6 +1510,7 @@ message ContextInfo {
1723
1510
  optional EntryPoint entryPoint = 3;
1724
1511
  optional bytes signedPayload = 4;
1725
1512
  optional BotSignatureVerificationMetadata signatureEnvelope = 5;
1513
+ optional UnauthenticatedBusinessMetadata unauthenticatedBusinessMetadata = 6;
1726
1514
  enum EntryPoint {
1727
1515
  ENTRY_POINT_UNKNOWN = 0;
1728
1516
  P2P_LINK_SHARE = 1;
@@ -1756,6 +1544,13 @@ message ContextInfo {
1756
1544
  repeated ContextInfo.BusinessInteractionPills.Pill pills = 2;
1757
1545
  }
1758
1546
 
1547
+ message UnauthenticatedBusinessMetadata {
1548
+ optional string businessName = 1;
1549
+ optional string businessCategory = 2;
1550
+ optional bool businessIsOpen = 3;
1551
+ optional int64 businessIsOpenSnapshotMs = 4;
1552
+ }
1553
+
1759
1554
  }
1760
1555
 
1761
1556
  message BusinessMessageForwardInfo {
@@ -1860,6 +1655,10 @@ message ContextInfo {
1860
1655
  }
1861
1656
  }
1862
1657
 
1658
+ message InstagramThreadLink {
1659
+ optional string url = 1;
1660
+ }
1661
+
1863
1662
  enum PairedMediaType {
1864
1663
  NOT_PAIRED_MEDIA = 0;
1865
1664
  SD_VIDEO_PARENT = 1;
@@ -1918,7 +1717,7 @@ message ContextInfo {
1918
1717
  }
1919
1718
 
1920
1719
  message Conversation {
1921
- optional string id = 1;
1720
+ required string id = 1;
1922
1721
  repeated HistorySyncMsg messages = 2;
1923
1722
  optional string newJid = 3;
1924
1723
  optional string oldJid = 4;
@@ -1980,6 +1779,7 @@ message Conversation {
1980
1779
  optional uint64 appealUpdateTime = 60;
1981
1780
  optional string authAgentParentCompanyName = 61;
1982
1781
  optional string authAgentObaPhoneNumber = 62;
1782
+ optional IdentityVerificationState identityVerification = 63;
1983
1783
  enum EndOfHistoryTransferType {
1984
1784
  COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0;
1985
1785
  COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1;
@@ -2001,6 +1801,11 @@ message DeviceCapabilities {
2001
1801
  optional UserHasAvatar userHasAvatar = 4;
2002
1802
  optional MemberNameTagPrimarySupport memberNameTagPrimarySupport = 5;
2003
1803
  optional AiThread aiThread = 6;
1804
+ optional AiFbidMigration aiFbidMigration = 7;
1805
+ message AiFbidMigration {
1806
+ optional uint64 chatDbMigrationTimestamp = 1;
1807
+ }
1808
+
2004
1809
  message AiThread {
2005
1810
  optional SupportLevel supportLevel = 1;
2006
1811
  enum SupportLevel {
@@ -2093,6 +1898,7 @@ message DeviceProps {
2093
1898
  optional bool supportHatchHistory = 22;
2094
1899
  repeated string supportedBotChannelFbids = 23;
2095
1900
  optional bool supportInlineContacts = 24;
1901
+ optional bool supportNewsletter = 25;
2096
1902
  }
2097
1903
 
2098
1904
  enum PlatformType {
@@ -2209,11 +2015,6 @@ message ExternalBlobReference {
2209
2015
  optional bytes fileEncSha256 = 6;
2210
2016
  }
2211
2017
 
2212
- enum FUTURE_PROOF_BEHAVIOR {
2213
- PLACEHOLDER = 0;
2214
- NO_PLACEHOLDER = 1;
2215
- IGNORE = 2;
2216
- }
2217
2018
  message Field {
2218
2019
  optional uint32 minVersion = 1;
2219
2020
  optional uint32 maxVersion = 2;
@@ -2222,15 +2023,6 @@ message Field {
2222
2023
  map<uint32, Field> subfield = 5;
2223
2024
  }
2224
2025
 
2225
- message FingerprintData {
2226
- optional bytes publicKey = 1;
2227
- optional bytes pnIdentifier = 2;
2228
- optional bytes lidIdentifier = 3;
2229
- optional bytes usernameIdentifier = 4;
2230
- optional HostedState hostedState = 5;
2231
- optional bytes hashedPublicKey = 6;
2232
- }
2233
-
2234
2026
  message ForwardedAIBotMessageInfo {
2235
2027
  optional string botName = 1;
2236
2028
  optional string botJid = 2;
@@ -2260,13 +2052,6 @@ message GlobalSettings {
2260
2052
  optional int64 chatDbLidMigrationTimestamp = 20;
2261
2053
  }
2262
2054
 
2263
- message GroupHistory {
2264
- repeated WebMessageInfo messages = 1;
2265
- repeated UnCountedAssociatedMessageList uncountedAssociatedMessageLists = 2;
2266
- repeated WebMessageInfo commentMessages = 3;
2267
- repeated WebMessageInfo outOfWindowPinnedMessages = 4;
2268
- }
2269
-
2270
2055
  message GroupHistoryBundleInfo {
2271
2056
  optional Message.MessageHistoryBundle deprecatedMessageHistoryBundle = 1;
2272
2057
  optional ProcessState processState = 2;
@@ -2285,20 +2070,13 @@ message GroupHistoryIndividualMessageInfo {
2285
2070
  optional bool editedAfterReceivedAsHistory = 2;
2286
2071
  }
2287
2072
 
2288
- message GroupHistoryWithMessageBytes {
2289
- repeated WebMessageInfoWithMessageBytes messages = 1;
2290
- repeated UnCountedAssociatedMessageListWithMessageBytes uncountedAssociatedMessageLists = 2;
2291
- repeated WebMessageInfoWithMessageBytes commentMessages = 3;
2292
- repeated WebMessageInfoWithMessageBytes outOfWindowPinnedMessages = 4;
2293
- }
2294
-
2295
2073
  message GroupMention {
2296
2074
  optional string groupJid = 1;
2297
2075
  optional string groupSubject = 2;
2298
2076
  }
2299
2077
 
2300
2078
  message GroupParticipant {
2301
- optional string userJid = 1;
2079
+ required string userJid = 1;
2302
2080
  optional Rank rank = 2;
2303
2081
  optional MemberLabel memberLabel = 3;
2304
2082
  enum Rank {
@@ -2373,7 +2151,7 @@ message HatchMetadataSync {
2373
2151
  }
2374
2152
 
2375
2153
  message HistorySync {
2376
- optional HistorySyncType syncType = 1;
2154
+ required HistorySyncType syncType = 1;
2377
2155
  repeated Conversation conversations = 2;
2378
2156
  repeated WebMessageInfo statusV3Messages = 3;
2379
2157
  optional uint32 chunkOrder = 5;
@@ -2413,10 +2191,6 @@ message HistorySyncMsg {
2413
2191
  optional uint64 msgOrderId = 2;
2414
2192
  }
2415
2193
 
2416
- enum HostedState {
2417
- E2EE = 0;
2418
- HOSTED = 1;
2419
- }
2420
2194
  message HydratedTemplateButton {
2421
2195
  optional uint32 index = 4;
2422
2196
  oneof hydratedButton {
@@ -2453,6 +2227,11 @@ message IdentityKeyPairStructure {
2453
2227
  optional bytes privateKey = 2;
2454
2228
  }
2455
2229
 
2230
+ message IdentityVerificationState {
2231
+ optional bool verified = 1;
2232
+ optional uint64 actionSeq = 2;
2233
+ }
2234
+
2456
2235
  message InThreadSurveyMetadata {
2457
2236
  optional string tessaSessionId = 1;
2458
2237
  optional string simonSessionId = 2;
@@ -2547,21 +2326,10 @@ message KeyId {
2547
2326
  optional bytes id = 1;
2548
2327
  }
2549
2328
 
2550
- message LIDMigrationMapping {
2551
- optional uint64 pn = 1;
2552
- optional uint64 assignedLid = 2;
2553
- optional uint64 latestLid = 3;
2554
- }
2555
-
2556
2329
  message LIDMigrationMappingSyncMessage {
2557
2330
  optional bytes encodedMappingPayload = 1;
2558
2331
  }
2559
2332
 
2560
- message LIDMigrationMappingSyncPayload {
2561
- repeated LIDMigrationMapping pnToLidMappings = 1;
2562
- optional uint64 chatDbMigrationTimestamp = 2;
2563
- }
2564
-
2565
2333
  message LegacyMessage {
2566
2334
  optional Message.EventResponseMessage eventResponseMessage = 1;
2567
2335
  optional Message.PollVoteMessage pollVote = 2;
@@ -2592,9 +2360,6 @@ message Location {
2592
2360
  optional string name = 3;
2593
2361
  }
2594
2362
 
2595
- enum MENTION_MENTION_TYPE {
2596
- PROFILE = 0;
2597
- }
2598
2363
  message MediaData {
2599
2364
  optional string localPath = 1;
2600
2365
  }
@@ -2604,40 +2369,6 @@ message MediaDomainInfo {
2604
2369
  optional bytes e2EeMediaKey = 2;
2605
2370
  }
2606
2371
 
2607
- message MediaEntry {
2608
- optional bytes fileSha256 = 1;
2609
- optional bytes mediaKey = 2;
2610
- optional bytes fileEncSha256 = 3;
2611
- optional string directPath = 4;
2612
- optional int64 mediaKeyTimestamp = 5;
2613
- optional string serverMediaType = 6;
2614
- optional bytes uploadToken = 7;
2615
- optional bytes validatedTimestamp = 8;
2616
- optional bytes sidecar = 9;
2617
- optional string objectId = 10;
2618
- optional string fbid = 11;
2619
- optional DownloadableThumbnail downloadableThumbnail = 12;
2620
- optional string handle = 13;
2621
- optional string filename = 14;
2622
- optional ProgressiveJpegDetails progressiveJpegDetails = 15;
2623
- optional int64 size = 16;
2624
- optional int64 lastDownloadAttemptTimestamp = 17;
2625
- message DownloadableThumbnail {
2626
- optional bytes fileSha256 = 1;
2627
- optional bytes fileEncSha256 = 2;
2628
- optional string directPath = 3;
2629
- optional bytes mediaKey = 4;
2630
- optional int64 mediaKeyTimestamp = 5;
2631
- optional string objectId = 6;
2632
- }
2633
-
2634
- message ProgressiveJpegDetails {
2635
- repeated uint32 scanLengths = 1;
2636
- optional bytes sidecar = 2;
2637
- }
2638
-
2639
- }
2640
-
2641
2372
  enum MediaKeyDomain {
2642
2373
  MEDIA_KEY_DOMAIN_UNKNOWN = 0;
2643
2374
  MEDIA_KEY_DOMAIN_E2EE = 1;
@@ -2672,13 +2403,6 @@ message MemberLabel {
2672
2403
  optional int64 labelTimestamp = 2;
2673
2404
  }
2674
2405
 
2675
- message Mention {
2676
- optional MENTION_MENTION_TYPE mentionType = 1;
2677
- optional string mentionedJid = 2;
2678
- optional uint32 offset = 3;
2679
- optional uint32 length = 4;
2680
- }
2681
-
2682
2406
  message Message {
2683
2407
  optional string conversation = 1;
2684
2408
  optional SenderKeyDistributionMessage senderKeyDistributionMessage = 2;
@@ -2787,6 +2511,7 @@ message Message {
2787
2511
  optional SplitPaymentMessage splitPaymentMessage = 125;
2788
2512
  optional FutureProofMessage newsletterAdminProfileStatusMessage = 126;
2789
2513
  optional RootSecretDistributeMessage rootSecretDistributeMessage = 127;
2514
+ optional SplitPaymentUpdateMessage splitPaymentUpdateMessage = 128;
2790
2515
  message AlbumMessage {
2791
2516
  optional uint32 expectedImageCount = 2;
2792
2517
  optional uint32 expectedVideoCount = 3;
@@ -2858,6 +2583,12 @@ message Message {
2858
2583
  }
2859
2584
  }
2860
2585
 
2586
+ message BotHistoryShareSyncMetadata {
2587
+ optional string botJid = 1;
2588
+ optional int64 historyShareCutoffTimestamp = 2;
2589
+ repeated Message.HistoryShareMessageEntry historyShareMessages = 3;
2590
+ }
2591
+
2861
2592
  message ButtonsMessage {
2862
2593
  optional string contentText = 6;
2863
2594
  optional string footerText = 7;
@@ -2928,6 +2659,7 @@ message Message {
2928
2659
  optional string deeplinkPayload = 9;
2929
2660
  optional MessageContextInfo messageContextInfo = 10;
2930
2661
  optional uint32 callEntryPoint = 11;
2662
+ optional string callReason = 12;
2931
2663
  }
2932
2664
 
2933
2665
  message CallLogMessage {
@@ -3168,7 +2900,7 @@ message Message {
3168
2900
  optional bool viewOnce = 30;
3169
2901
  optional uint32 videoHeight = 31;
3170
2902
  optional uint32 videoWidth = 32;
3171
- optional Message.MMSThumbnailMetadata faviconMMSMetadata = 33;
2903
+ optional Message.MMSThumbnailMetadata faviconMmsMetadata = 33;
3172
2904
  optional Message.LinkPreviewMetadata linkPreviewMetadata = 34;
3173
2905
  optional Message.PaymentLinkMetadata paymentLinkMetadata = 35;
3174
2906
  repeated Message.VideoEndCard endCardTiles = 36;
@@ -3290,6 +3022,11 @@ message Message {
3290
3022
 
3291
3023
  }
3292
3024
 
3025
+ message HistoryShareMessageEntry {
3026
+ optional string stanzaId = 1;
3027
+ optional bytes messageSecretProof = 2;
3028
+ }
3029
+
3293
3030
  message HistorySyncMessageAccessStatus {
3294
3031
  optional bool completeAccessGranted = 1;
3295
3032
  }
@@ -3629,6 +3366,13 @@ message Message {
3629
3366
  optional uint32 thumbnailWidth = 7;
3630
3367
  }
3631
3368
 
3369
+ message MarkAsVerifiedAction {
3370
+ optional string userJidString = 1;
3371
+ optional bool verified = 2;
3372
+ optional bytes verifiedIdentityKey = 3;
3373
+ optional uint64 actionSeq = 4;
3374
+ }
3375
+
3632
3376
  message MessageHistoryBundle {
3633
3377
  optional string mimetype = 1;
3634
3378
  optional bytes fileSha256 = 2;
@@ -3651,6 +3395,7 @@ message Message {
3651
3395
  message MessageHistoryNotice {
3652
3396
  optional ContextInfo contextInfo = 1;
3653
3397
  optional Message.MessageHistoryMetadata messageHistoryMetadata = 2;
3398
+ optional Message.BotHistoryShareSyncMetadata botHistoryShareSyncMetadata = 3;
3654
3399
  }
3655
3400
 
3656
3401
  message NewsletterAdminInviteMessage {
@@ -3699,6 +3444,7 @@ message Message {
3699
3444
  message PaymentExtendedMetadata {
3700
3445
  optional uint32 type = 1;
3701
3446
  optional string platform = 2;
3447
+ optional string messageParamsJson = 3;
3702
3448
  }
3703
3449
 
3704
3450
  message PaymentInviteMessage {
@@ -4137,6 +3883,9 @@ message Message {
4137
3883
  optional uint32 afterReadDuration = 29;
4138
3884
  optional Message.ChatThemeSetting chatThemeSetting = 30;
4139
3885
  optional AIMetadataOperation aiMetadataOperation = 31;
3886
+ optional Message.MarkAsVerifiedAction markAsVerifiedAction = 32;
3887
+ optional CoexStateSync coexStateSync = 33;
3888
+ optional Message.SyncRequestMutationRetry syncRequestMutationRetry = 34;
4140
3889
  enum Type {
4141
3890
  REVOKE = 0;
4142
3891
  EPHEMERAL_SETTING = 3;
@@ -4168,6 +3917,9 @@ message Message {
4168
3917
  MESSAGE_UNSCHEDULE = 32;
4169
3918
  CHAT_THEME_SETTING = 34;
4170
3919
  AI_METADATA_OPERATION = 35;
3920
+ MARK_AS_VERIFIED_ACTION = 36;
3921
+ COEX_STATE_SYNC = 37;
3922
+ SYNC_REQUEST_MUTATION_RETRY = 38;
4171
3923
  }
4172
3924
  }
4173
3925
 
@@ -4283,6 +4035,11 @@ message Message {
4283
4035
  }
4284
4036
  }
4285
4037
 
4038
+ message SplitPaymentUpdateMessage {
4039
+ optional string splitId = 1;
4040
+ optional string participantJid = 2;
4041
+ }
4042
+
4286
4043
  message StatusNotificationMessage {
4287
4044
  optional MessageKey responseMessageKey = 1;
4288
4045
  optional MessageKey originalMessageKey = 2;
@@ -4391,6 +4148,16 @@ message Message {
4391
4148
  optional int64 requestTimestamp = 3;
4392
4149
  }
4393
4150
 
4151
+ message SyncRequestMutationRetry {
4152
+ repeated Collection collections = 1;
4153
+ optional uint32 count = 2;
4154
+ message Collection {
4155
+ optional string name = 1;
4156
+ optional uint64 storedSyncdVersion = 2;
4157
+ }
4158
+
4159
+ }
4160
+
4394
4161
  message TemplateButtonReplyMessage {
4395
4162
  optional string selectedId = 1;
4396
4163
  optional string selectedDisplayText = 2;
@@ -4443,10 +4210,10 @@ message Message {
4443
4210
  }
4444
4211
 
4445
4212
  message VideoEndCard {
4446
- optional string username = 1;
4447
- optional string caption = 2;
4448
- optional string thumbnailImageUrl = 3;
4449
- optional string profilePictureUrl = 4;
4213
+ required string username = 1;
4214
+ required string caption = 2;
4215
+ required string thumbnailImageUrl = 3;
4216
+ required string profilePictureUrl = 4;
4450
4217
  }
4451
4218
 
4452
4219
  message VideoMessage {
@@ -4564,6 +4331,8 @@ message MessageContextInfo {
4564
4331
  repeated ThreadID threadId = 15;
4565
4332
  optional WebLinkRenderConfig weblinkRenderConfig = 16;
4566
4333
  optional bytes teeBotMetadata = 17;
4334
+ optional NonE2EEAttestation accountEncryptionAttestation = 18;
4335
+ optional bytes associatedPrimaryIdentityKey = 19;
4567
4336
  enum MessageAddonExpiryType {
4568
4337
  STATIC = 1;
4569
4338
  DEPENDENT_ON_PARENT = 2;
@@ -4583,13 +4352,6 @@ message MessageSecretMessage {
4583
4352
  optional bytes encPayload = 3;
4584
4353
  }
4585
4354
 
4586
- message MessageText {
4587
- optional string text = 1;
4588
- repeated string mentionedJid = 2;
4589
- repeated Command commands = 3;
4590
- repeated Mention mentions = 4;
4591
- }
4592
-
4593
4355
  message Money {
4594
4356
  optional int64 value = 1;
4595
4357
  optional uint32 offset = 2;
@@ -4773,6 +4535,10 @@ enum MutationProps {
4773
4535
  THREAD_PIN_ACTION = 85;
4774
4536
  AUTO_ORGANIZE_BUSINESS_CHAT_SETTING = 86;
4775
4537
  BIZ_AI_SETTINGS_NUDGE_ACTION = 87;
4538
+ COEX_V2_VERSION_ACTION = 88;
4539
+ WASA_ROOT_SECRET_ACTION = 89;
4540
+ BUBBLE_LOCK_MESSAGE_ACTION = 90;
4541
+ LABEL_SUBLIST_ACTION = 91;
4776
4542
  SHARE_OWN_PN = 10001;
4777
4543
  BUSINESS_BROADCAST_ACTION = 10002;
4778
4544
  AI_THREAD_DELETE_ACTION = 10003;
@@ -4790,6 +4556,15 @@ message NoiseCertificate {
4790
4556
 
4791
4557
  }
4792
4558
 
4559
+ message NonE2EEAttestation {
4560
+ optional AccountType accountType = 1;
4561
+ enum AccountType {
4562
+ E2EE = 0;
4563
+ HYBRID_E2EE = 1;
4564
+ NON_E2EE = 2;
4565
+ }
4566
+ }
4567
+
4793
4568
  message NotificationMessageInfo {
4794
4569
  optional MessageKey key = 1;
4795
4570
  optional Message message = 2;
@@ -5016,6 +4791,8 @@ message PreKeySignalMessage {
5016
4791
  optional bytes baseKey = 2;
5017
4792
  optional bytes identityKey = 3;
5018
4793
  optional bytes message = 4;
4794
+ optional uint32 kyberPreKeyId = 7;
4795
+ optional bytes kyberCiphertext = 8;
5019
4796
  }
5020
4797
 
5021
4798
  message PremiumMessageInfo {
@@ -5059,41 +4836,6 @@ message Pushname {
5059
4836
  optional string pushname = 2;
5060
4837
  }
5061
4838
 
5062
- message QP {
5063
- enum ClauseType {
5064
- AND = 1;
5065
- OR = 2;
5066
- NOR = 3;
5067
- }
5068
- message Filter {
5069
- optional string filterName = 1;
5070
- repeated QP.FilterParameters parameters = 2;
5071
- optional QP.FilterResult filterResult = 3;
5072
- optional QP.FilterClientNotSupportedConfig clientNotSupportedConfig = 4;
5073
- }
5074
-
5075
- message FilterClause {
5076
- optional QP.ClauseType clauseType = 1;
5077
- repeated QP.FilterClause clauses = 2;
5078
- repeated QP.Filter filters = 3;
5079
- }
5080
-
5081
- enum FilterClientNotSupportedConfig {
5082
- PASS_BY_DEFAULT = 1;
5083
- FAIL_BY_DEFAULT = 2;
5084
- }
5085
- message FilterParameters {
5086
- optional string key = 1;
5087
- optional string value = 2;
5088
- }
5089
-
5090
- enum FilterResult {
5091
- TRUE = 1;
5092
- FALSE = 2;
5093
- UNKNOWN = 3;
5094
- }
5095
- }
5096
-
5097
4839
  message QuarantinedMessage {
5098
4840
  optional bytes originalData = 1;
5099
4841
  optional string extractedText = 2;
@@ -5126,15 +4868,7 @@ message Reportable {
5126
4868
 
5127
4869
  message ReportingTokenInfo {
5128
4870
  optional bytes reportingTag = 1;
5129
- }
5130
-
5131
- message RoutingInfo {
5132
- repeated int32 regionId = 1;
5133
- repeated int32 clusterId = 2;
5134
- optional int32 taskId = 3;
5135
- optional bool debug = 4;
5136
- optional bool tcpBbr = 5;
5137
- optional bool tcpKeepalive = 6;
4871
+ optional uint64 reportingTagTimestamp = 2;
5138
4872
  }
5139
4873
 
5140
4874
  message ScheduledMessageMetadata {
@@ -5233,6 +4967,8 @@ message SessionStructure {
5233
4967
  optional uint32 preKeyId = 1;
5234
4968
  optional int32 signedPreKeyId = 3;
5235
4969
  optional bytes baseKey = 2;
4970
+ optional uint32 kyberPreKeyId = 4;
4971
+ optional bytes kyberCiphertext = 5;
5236
4972
  }
5237
4973
 
5238
4974
  }
@@ -5300,6 +5036,7 @@ message StatusAttribution {
5300
5036
  GOOGLE_PHOTOS = 10;
5301
5037
  SOUNDCLOUD = 11;
5302
5038
  SHAZAM = 12;
5039
+ PICSART = 13;
5303
5040
  }
5304
5041
  }
5305
5042
 
@@ -5366,7 +5103,7 @@ message StatusMentionMessage {
5366
5103
  }
5367
5104
 
5368
5105
  message StatusPSA {
5369
- optional uint64 campaignId = 44;
5106
+ required uint64 campaignId = 44;
5370
5107
  optional uint64 campaignExpirationTimestamp = 45;
5371
5108
  }
5372
5109
 
@@ -5387,11 +5124,6 @@ message StickerMetadata {
5387
5124
  optional bool isAvatarSticker = 14;
5388
5125
  }
5389
5126
 
5390
- message SubProtocol {
5391
- optional bytes payload = 1;
5392
- optional int32 version = 2;
5393
- }
5394
-
5395
5127
  message SyncActionData {
5396
5128
  optional bytes index = 1;
5397
5129
  optional SyncActionValue value = 2;
@@ -5478,9 +5210,13 @@ message SyncActionValue {
5478
5210
  optional ThreadPinAction threadPinAction = 85;
5479
5211
  optional AutoOrganizeBusinessChatSetting autoOrganizeBusinessChatSetting = 86;
5480
5212
  optional BizAISettingsNudgeAction bizAiSettingsNudgeAction = 87;
5213
+ optional CoexV2VersionAction coexV2VersionAction = 88;
5214
+ optional WASARootSecretAction wasaRootSecretAction = 89;
5215
+ optional BubbleLockMessageAction bubbleLockMessageAction = 90;
5216
+ optional LabelSublistAction labelSublistAction = 91;
5481
5217
  message AgentAction {
5482
5218
  optional string name = 1;
5483
- optional int32 deviceID = 2;
5219
+ optional int32 deviceId = 2;
5484
5220
  optional bool isDeleted = 3;
5485
5221
  }
5486
5222
 
@@ -5530,10 +5266,14 @@ message SyncActionValue {
5530
5266
  }
5531
5267
 
5532
5268
  message BroadcastListParticipant {
5533
- optional string lidJid = 1;
5269
+ required string lidJid = 1;
5534
5270
  optional string pnJid = 2;
5535
5271
  }
5536
5272
 
5273
+ message BubbleLockMessageAction {
5274
+ optional bool locked = 1;
5275
+ }
5276
+
5537
5277
  message BusinessBroadcastAssociationAction {
5538
5278
  optional bool deleted = 1;
5539
5279
  }
@@ -5571,6 +5311,7 @@ message SyncActionValue {
5571
5311
  optional string listName = 3;
5572
5312
  repeated string labelIds = 4;
5573
5313
  optional string audienceExpression = 5;
5314
+ optional string customAudienceFbid = 6;
5574
5315
  }
5575
5316
 
5576
5317
  message CallLogAction {
@@ -5578,7 +5319,7 @@ message SyncActionValue {
5578
5319
  }
5579
5320
 
5580
5321
  message ChatAssignmentAction {
5581
- optional string deviceAgentID = 1;
5322
+ optional string deviceAgentId = 1;
5582
5323
  }
5583
5324
 
5584
5325
  message ChatAssignmentOpenedStatusAction {
@@ -5589,6 +5330,10 @@ message SyncActionValue {
5589
5330
  optional SyncActionValue.SyncActionMessageRange messageRange = 1;
5590
5331
  }
5591
5332
 
5333
+ message CoexV2VersionAction {
5334
+ optional uint64 version = 1;
5335
+ }
5336
+
5592
5337
  message ContactAction {
5593
5338
  optional string fullName = 1;
5594
5339
  optional string firstName = 2;
@@ -5603,15 +5348,15 @@ message SyncActionValue {
5603
5348
  }
5604
5349
 
5605
5350
  message CustomPaymentMethod {
5606
- optional string credentialId = 1;
5607
- optional string country = 2;
5608
- optional string type = 3;
5351
+ required string credentialId = 1;
5352
+ required string country = 2;
5353
+ required string type = 3;
5609
5354
  repeated SyncActionValue.CustomPaymentMethodMetadata metadata = 4;
5610
5355
  }
5611
5356
 
5612
5357
  message CustomPaymentMethodMetadata {
5613
- optional string key = 1;
5614
- optional string value = 2;
5358
+ required string key = 1;
5359
+ required string value = 2;
5615
5360
  }
5616
5361
 
5617
5362
  message CustomPaymentMethodsAction {
@@ -5663,7 +5408,7 @@ message SyncActionValue {
5663
5408
  }
5664
5409
 
5665
5410
  message InteractiveMessageAction {
5666
- optional InteractiveMessageActionMode type = 1;
5411
+ required InteractiveMessageActionMode type = 1;
5667
5412
  optional string agmId = 2;
5668
5413
  enum InteractiveMessageActionMode {
5669
5414
  DISABLE_CTA = 1;
@@ -5713,6 +5458,10 @@ message SyncActionValue {
5713
5458
  repeated int32 sortedLabelIds = 1;
5714
5459
  }
5715
5460
 
5461
+ message LabelSublistAction {
5462
+ optional int32 subListId = 1;
5463
+ }
5464
+
5716
5465
  message LidContactAction {
5717
5466
  optional string fullName = 1;
5718
5467
  optional string firstName = 2;
@@ -5765,8 +5514,8 @@ message SyncActionValue {
5765
5514
  }
5766
5515
 
5767
5516
  message MerchantPaymentPartnerAction {
5768
- optional Status status = 1;
5769
- optional string country = 2;
5517
+ required Status status = 1;
5518
+ required string country = 2;
5770
5519
  optional string gatewayName = 3;
5771
5520
  optional string credentialId = 4;
5772
5521
  enum Status {
@@ -5831,8 +5580,8 @@ message SyncActionValue {
5831
5580
  }
5832
5581
 
5833
5582
  message PaymentTosAction {
5834
- optional PaymentNotice paymentNotice = 1;
5835
- optional bool accepted = 2;
5583
+ required PaymentNotice paymentNotice = 1;
5584
+ required bool accepted = 2;
5836
5585
  enum PaymentNotice {
5837
5586
  BR_PAY_PRIVACY_POLICY = 0;
5838
5587
  }
@@ -5997,8 +5746,8 @@ message SyncActionValue {
5997
5746
  message StatusPrivacyAction {
5998
5747
  optional StatusDistributionMode mode = 1;
5999
5748
  repeated string userJid = 2;
6000
- optional bool shareToFB = 3;
6001
- optional bool shareToIG = 4;
5749
+ optional bool shareToFb = 3;
5750
+ optional bool shareToIg = 4;
6002
5751
  repeated CustomList customLists = 5;
6003
5752
  repeated StatusDistributionMode modes = 6;
6004
5753
  message CustomList {
@@ -6102,6 +5851,21 @@ message SyncActionValue {
6102
5851
  }
6103
5852
  }
6104
5853
 
5854
+ message WASARootSecretAction {
5855
+ repeated RootSecretEntry secrets = 1;
5856
+ message RootSecretEntry {
5857
+ optional string id = 1;
5858
+ optional bytes rootSecret = 2;
5859
+ optional int64 epoch = 3;
5860
+ optional Status status = 4;
5861
+ enum Status {
5862
+ INACTIVE = 0;
5863
+ ACTIVE = 1;
5864
+ }
5865
+ }
5866
+
5867
+ }
5868
+
6105
5869
  message WaffleAccountLinkStateAction {
6106
5870
  optional AccountLinkState linkState = 2;
6107
5871
  enum AccountLinkState {
@@ -6146,12 +5910,6 @@ message SyncdPatch {
6146
5910
  optional bytes clientDebugData = 9;
6147
5911
  }
6148
5912
 
6149
- message SyncdPlainTextRecord {
6150
- optional SyncActionData value = 1;
6151
- optional bytes keyId = 2;
6152
- optional bytes mac = 3;
6153
- }
6154
-
6155
5913
  message SyncdRecord {
6156
5914
  optional SyncdIndex index = 1;
6157
5915
  optional SyncdValue value = 2;
@@ -6165,13 +5923,6 @@ message SyncdSnapshot {
6165
5923
  optional KeyId keyId = 4;
6166
5924
  }
6167
5925
 
6168
- message SyncdSnapshotRecovery {
6169
- optional SyncdVersion version = 1;
6170
- optional string collectionName = 2;
6171
- repeated SyncdPlainTextRecord mutationRecords = 3;
6172
- optional bytes collectionLthash = 4;
6173
- }
6174
-
6175
5926
  message SyncdValue {
6176
5927
  optional bytes blob = 1;
6177
5928
  }
@@ -6219,17 +5970,6 @@ message ThreadID {
6219
5970
  }
6220
5971
  }
6221
5972
 
6222
- message UnCountedAssociatedMessageList {
6223
- repeated WebMessageInfo messages = 1;
6224
- optional MessageKey parentMessage = 2;
6225
- optional MessageAssociation.AssociationType associationType = 3;
6226
- }
6227
-
6228
- message UnCountedAssociatedMessageListWithMessageBytes {
6229
- repeated WebMessageInfoWithMessageBytes messages = 1;
6230
- optional MessageKey parentMessage = 2;
6231
- }
6232
-
6233
5973
  message UrlTrackingMap {
6234
5974
  repeated UrlTrackingMapElement urlTrackingMapElements = 1;
6235
5975
  message UrlTrackingMapElement {
@@ -6270,7 +6010,7 @@ message UserPassword {
6270
6010
  }
6271
6011
 
6272
6012
  message UserReceipt {
6273
- optional string userJid = 1;
6013
+ required string userJid = 1;
6274
6014
  optional int64 receiptTimestamp = 2;
6275
6015
  optional int64 readTimestamp = 3;
6276
6016
  optional int64 playedTimestamp = 4;
@@ -6357,7 +6097,7 @@ enum WebLinkRenderConfig {
6357
6097
  SYSTEM = 1;
6358
6098
  }
6359
6099
  message WebMessageInfo {
6360
- optional MessageKey key = 1;
6100
+ required MessageKey key = 1;
6361
6101
  optional Message message = 2;
6362
6102
  optional uint64 messageTimestamp = 3;
6363
6103
  optional Status status = 4;
@@ -6670,233 +6410,16 @@ message WebMessageInfo {
6670
6410
  GROUP_TEE_BOT_ADDED = 223;
6671
6411
  CONTACT_INFO = 224;
6672
6412
  SCHEDULED_MESSAGE_CREATED = 225;
6413
+ IDENTITY_TRUST_MARKED = 226;
6414
+ IDENTITY_TRUST_UNMARKED = 227;
6415
+ IDENTITY_TRUST_REVOKED = 228;
6416
+ CTWA_CONSUMER_DISCLOSURE = 230;
6673
6417
  }
6674
6418
  }
6675
6419
 
6676
- message WebMessageInfoWithMessageBytes {
6677
- optional MessageKey key = 1;
6678
- optional bytes messageBytes = 2;
6679
- }
6680
-
6681
6420
  message WebNotificationsInfo {
6682
6421
  optional uint64 timestamp = 2;
6683
6422
  optional uint32 unreadChats = 3;
6684
6423
  optional uint32 notifyMessageCount = 4;
6685
6424
  repeated WebMessageInfo notifyMessages = 5;
6686
6425
  }
6687
-
6688
- // >>> wa.voip (VoIP engine, generated by decode-voip-wasm.js) >>>
6689
- enum RekeyKeyType {
6690
- REKEY_KEY_AUDIO = 0;
6691
- REKEY_KEY_VIDEO = 1;
6692
- REKEY_KEY_APPDATA = 2;
6693
- }
6694
-
6695
- enum RxVidSubscriptionInfo_VideoQuality {
6696
- DEFAULT = 0;
6697
- LOW = 1;
6698
- MEDIUM = 2;
6699
- HIGH = 3;
6700
- HD = 4;
6701
- }
6702
-
6703
- enum SenderSubscriptionExt_TemporalLayer {
6704
- BASE = 0;
6705
- ENHANCEMENT = 1;
6706
- }
6707
-
6708
- enum StreamDescriptor_PayloadType {
6709
- Media = 0;
6710
- Fec = 1;
6711
- Nack = 2;
6712
- HbhFec = 3;
6713
- AppData = 4;
6714
- }
6715
-
6716
- enum StreamDescriptor_StreamLayer {
6717
- Audio = 0;
6718
- VideoStream0 = 1;
6719
- VideoStream1 = 2;
6720
- HbhFecClientToServer = 3;
6721
- HbhFecServerToClient = 4;
6722
- AppDataStream0 = 5;
6723
- LiveTranscriptionStream0 = 6;
6724
- IMUDataStream0 = 7;
6725
- ScreenShareVideoStream0 = 8;
6726
- ScreenShareVideoStream1 = 9;
6727
- }
6728
-
6729
- // original: wa.voip.appDataMessage
6730
- message appDataMessage {
6731
- reactionInfo reaction_info = 1;
6732
- liveTranscriptionInfo transcription_info = 2;
6733
- }
6734
-
6735
- // original: wa.voip.appDataPayloads
6736
- message appDataPayloads {
6737
- repeated appDataMessage messages = 1;
6738
- }
6739
-
6740
- // original: wa.voip.AQSStats
6741
- message AQSStats {
6742
- optional int32 aqs = 1;
6743
- }
6744
-
6745
- // original: wa.voip.BackupRelayLatency
6746
- message BackupRelayLatency {
6747
- uint32 ipv4 = 1;
6748
- bytes ipv6 = 2;
6749
- uint32 port = 3;
6750
- sint32 latency_ms = 4;
6751
- uint32 tx_bitrate = 5;
6752
- uint32 rx_bitrate = 6;
6753
- uint64 conn_id = 7;
6754
- bool is_xpop_relay = 8;
6755
- bool is_favored = 9;
6756
- string relay_name = 10;
6757
- }
6758
-
6759
- // original: wa.voip.BackupRelayLatencyReport
6760
- message BackupRelayLatencyReport {
6761
- int32 relay_transaction_id = 1;
6762
- repeated BackupRelayLatency relays = 2;
6763
- }
6764
-
6765
- // original: wa.voip.BackupSignalEnvelope
6766
- message BackupSignalEnvelope {
6767
- BackupRelayLatencyReport relay_latency = 1;
6768
- }
6769
-
6770
- // original: wa.voip.BwaInfo
6771
- message BwaInfo {
6772
- uint32 id = 1;
6773
- uint32 num_participants = 2;
6774
- }
6775
-
6776
- // original: wa.voip.BwaStream
6777
- message BwaStream {
6778
- uint32 bitrate = 1;
6779
- uint64 subscribed_pids_bitmap_0_63 = 2;
6780
- uint64 subscribed_pids_bitmap_64_127 = 3;
6781
- }
6782
-
6783
- // original: wa.voip.E2eRekeyPayload
6784
- message E2eRekeyPayload {
6785
- repeated RekeyKeyEntry keys = 1;
6786
- }
6787
-
6788
- // original: wa.voip.liveTranscriptionInfo
6789
- message liveTranscriptionInfo {
6790
- uint64 transcript_id = 1;
6791
- string caption = 2;
6792
- string language = 3;
6793
- }
6794
-
6795
- // original: wa.voip.PeerFeedback
6796
- message PeerFeedback {
6797
- optional VideoSenderStats video_sender_stats = 1;
6798
- optional VideoFeedbackMessage video_fb_msg = 2;
6799
- optional AQSStats aqs_stats = 3;
6800
- optional bool noise_suppression_ui_status = 4;
6801
- }
6802
-
6803
- // original: wa.voip.reactionInfo
6804
- message reactionInfo {
6805
- uint64 transaction_id = 1;
6806
- string reaction = 2;
6807
- }
6808
-
6809
- // original: wa.voip.RekeyKeyEntry
6810
- message RekeyKeyEntry {
6811
- RekeyKeyType type = 1;
6812
- bytes key = 2;
6813
- }
6814
-
6815
- // original: wa.voip.RtcpRxSubscriptions
6816
- message RtcpRxSubscriptions {
6817
- repeated RtcpRxSubscriptionsPerParticipant rx_subscriptions = 1;
6818
- }
6819
-
6820
- // original: wa.voip.RtcpRxSubscriptionsPerParticipant
6821
- message RtcpRxSubscriptionsPerParticipant {
6822
- uint32 tx_pid = 1;
6823
- RxSubscriptions rx_subscriptions = 2;
6824
- }
6825
-
6826
- // original: wa.voip.RxSubscriptions
6827
- message RxSubscriptions {
6828
- repeated uint32 vid_rx_pids = 1;
6829
- repeated RxVidSubscriptionInfo vid_subscriptions = 2;
6830
- }
6831
-
6832
- // original: wa.voip.RxVidSubscriptionInfo
6833
- message RxVidSubscriptionInfo {
6834
- uint32 pid = 1;
6835
- RxVidSubscriptionInfo_VideoQuality vid_quality = 2;
6836
- }
6837
-
6838
- // original: wa.voip.SenderSubscriptionExt
6839
- message SenderSubscriptionExt {
6840
- SenderSubscriptionExt_SSrcsToPidAssignments ssrcLayers = 1;
6841
- }
6842
-
6843
- // original: wa.voip.SenderSubscriptionExt.PidTemporalLayer
6844
- message SenderSubscriptionExt_PidTemporalLayer {
6845
- uint32 pid = 1;
6846
- SenderSubscriptionExt_TemporalLayer layerId = 2;
6847
- }
6848
-
6849
- // original: wa.voip.SenderSubscriptionExt.SSrcsToPidAssignments
6850
- message SenderSubscriptionExt_SSrcsToPidAssignments {
6851
- repeated uint32 ssrcs = 1;
6852
- repeated SenderSubscriptionExt_PidTemporalLayer pids = 2;
6853
- }
6854
-
6855
- // original: wa.voip.SenderSubscriptions
6856
- message SenderSubscriptions {
6857
- repeated SenderSubscriptionExt subscriptions = 1;
6858
- }
6859
-
6860
- // original: wa.voip.SimulcastBwaResults
6861
- message SimulcastBwaResults {
6862
- BwaInfo info = 1;
6863
- BwaStream stream1 = 2;
6864
- BwaStream stream2 = 3;
6865
- }
6866
-
6867
- // original: wa.voip.SrtpAfbStreamInfo
6868
- message SrtpAfbStreamInfo {
6869
- bool is_valid = 1;
6870
- uint32 ssrc = 2;
6871
- uint32 rtcp_index = 3;
6872
- uint64 rtp_index = 4;
6873
- }
6874
-
6875
- // original: wa.voip.SrtpAfbStreams
6876
- message SrtpAfbStreams {
6877
- repeated SrtpAfbStreamInfo srtp_afb = 1;
6878
- }
6879
-
6880
- // original: wa.voip.StreamDescriptor
6881
- message StreamDescriptor {
6882
- StreamDescriptor_StreamLayer stream_layer = 1;
6883
- StreamDescriptor_PayloadType payload_type = 2;
6884
- uint32 ssrc = 3;
6885
- bool is_uplink_prefetch_enabled = 4;
6886
- }
6887
-
6888
- // original: wa.voip.StreamDescriptors
6889
- message StreamDescriptors {
6890
- repeated StreamDescriptor stream_descriptors = 1;
6891
- }
6892
-
6893
- // original: wa.voip.VideoFeedbackMessage
6894
- message VideoFeedbackMessage {
6895
- optional int32 freeze_state = 1;
6896
- }
6897
-
6898
- // original: wa.voip.VideoSenderStats
6899
- message VideoSenderStats {
6900
- optional int32 sender_bwe = 1;
6901
- }
6902
- // <<< wa.voip <<<