@badzz88/baileys 8.4.2 → 8.4.3

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.1042764204
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
 
@@ -1012,29 +1022,6 @@ message BotUnifiedResponseMutation {
1012
1022
 
1013
1023
  }
1014
1024
 
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
1025
  message CallLogRecord {
1039
1026
  optional CallResult callResult = 1;
1040
1027
  optional bool isDndMode = 2;
@@ -1145,10 +1132,10 @@ message ChatRowOpaqueData {
1145
1132
  }
1146
1133
 
1147
1134
  message Citation {
1148
- optional string title = 1;
1149
- optional string subtitle = 2;
1150
- optional string cmsId = 3;
1151
- optional string imageUrl = 4;
1135
+ required string title = 1;
1136
+ required string subtitle = 2;
1137
+ required string cmsId = 3;
1138
+ required string imageUrl = 4;
1152
1139
  }
1153
1140
 
1154
1141
  message ClientPairingProps {
@@ -1394,6 +1381,22 @@ message ClientPayload {
1394
1381
 
1395
1382
  }
1396
1383
 
1384
+ message CoexStateSync {
1385
+ repeated CollectionMutations collectionMutations = 1;
1386
+ message CollectionMutations {
1387
+ optional string collection = 1;
1388
+ repeated CoexStateSync.Mutation mutations = 2;
1389
+ }
1390
+
1391
+ message Mutation {
1392
+ optional SyncdIndex index = 1;
1393
+ optional SyncdValue value = 2;
1394
+ optional uint64 dirtyVersion = 3;
1395
+ optional SyncdMutation.SyncdOperation operation = 4;
1396
+ }
1397
+
1398
+ }
1399
+
1397
1400
  enum CollectionName {
1398
1401
  COLLECTION_NAME_UNKNOWN = 0;
1399
1402
  REGULAR = 1;
@@ -1402,19 +1405,6 @@ enum CollectionName {
1402
1405
  CRITICAL_BLOCK = 4;
1403
1406
  CRITICAL_UNBLOCK_LOW = 5;
1404
1407
  }
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
1408
  message CommentMetadata {
1419
1409
  optional MessageKey commentParentKey = 1;
1420
1410
  optional uint32 replyCount = 2;
@@ -1435,213 +1425,6 @@ message Config {
1435
1425
  optional uint32 version = 2;
1436
1426
  }
1437
1427
 
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
1428
  message ContextInfo {
1646
1429
  optional string stanzaId = 1;
1647
1430
  optional string participant = 2;
@@ -1705,6 +1488,8 @@ message ContextInfo {
1705
1488
  optional CrossAppSource crossAppSource = 77;
1706
1489
  optional BusinessInteractionPills businessInteractionPills = 78;
1707
1490
  optional string posterStatusId = 79;
1491
+ optional InstagramThreadLink instagramThreadLink = 80;
1492
+ optional AIProvenance aiProvenance = 81;
1708
1493
  message AdReplyInfo {
1709
1494
  optional string advertiserName = 1;
1710
1495
  optional MediaType mediaType = 2;
@@ -1723,6 +1508,7 @@ message ContextInfo {
1723
1508
  optional EntryPoint entryPoint = 3;
1724
1509
  optional bytes signedPayload = 4;
1725
1510
  optional BotSignatureVerificationMetadata signatureEnvelope = 5;
1511
+ optional UnauthenticatedBusinessMetadata unauthenticatedBusinessMetadata = 6;
1726
1512
  enum EntryPoint {
1727
1513
  ENTRY_POINT_UNKNOWN = 0;
1728
1514
  P2P_LINK_SHARE = 1;
@@ -1756,6 +1542,13 @@ message ContextInfo {
1756
1542
  repeated ContextInfo.BusinessInteractionPills.Pill pills = 2;
1757
1543
  }
1758
1544
 
1545
+ message UnauthenticatedBusinessMetadata {
1546
+ optional string businessName = 1;
1547
+ optional string businessCategory = 2;
1548
+ optional bool businessIsOpen = 3;
1549
+ optional int64 businessIsOpenSnapshotMs = 4;
1550
+ }
1551
+
1759
1552
  }
1760
1553
 
1761
1554
  message BusinessMessageForwardInfo {
@@ -1860,6 +1653,10 @@ message ContextInfo {
1860
1653
  }
1861
1654
  }
1862
1655
 
1656
+ message InstagramThreadLink {
1657
+ optional string url = 1;
1658
+ }
1659
+
1863
1660
  enum PairedMediaType {
1864
1661
  NOT_PAIRED_MEDIA = 0;
1865
1662
  SD_VIDEO_PARENT = 1;
@@ -1918,7 +1715,7 @@ message ContextInfo {
1918
1715
  }
1919
1716
 
1920
1717
  message Conversation {
1921
- optional string id = 1;
1718
+ required string id = 1;
1922
1719
  repeated HistorySyncMsg messages = 2;
1923
1720
  optional string newJid = 3;
1924
1721
  optional string oldJid = 4;
@@ -1980,6 +1777,7 @@ message Conversation {
1980
1777
  optional uint64 appealUpdateTime = 60;
1981
1778
  optional string authAgentParentCompanyName = 61;
1982
1779
  optional string authAgentObaPhoneNumber = 62;
1780
+ optional IdentityVerificationState identityVerification = 63;
1983
1781
  enum EndOfHistoryTransferType {
1984
1782
  COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0;
1985
1783
  COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1;
@@ -2001,6 +1799,11 @@ message DeviceCapabilities {
2001
1799
  optional UserHasAvatar userHasAvatar = 4;
2002
1800
  optional MemberNameTagPrimarySupport memberNameTagPrimarySupport = 5;
2003
1801
  optional AiThread aiThread = 6;
1802
+ optional AiFbidMigration aiFbidMigration = 7;
1803
+ message AiFbidMigration {
1804
+ optional uint64 chatDbMigrationTimestamp = 1;
1805
+ }
1806
+
2004
1807
  message AiThread {
2005
1808
  optional SupportLevel supportLevel = 1;
2006
1809
  enum SupportLevel {
@@ -2093,6 +1896,7 @@ message DeviceProps {
2093
1896
  optional bool supportHatchHistory = 22;
2094
1897
  repeated string supportedBotChannelFbids = 23;
2095
1898
  optional bool supportInlineContacts = 24;
1899
+ optional bool supportNewsletter = 25;
2096
1900
  }
2097
1901
 
2098
1902
  enum PlatformType {
@@ -2209,11 +2013,6 @@ message ExternalBlobReference {
2209
2013
  optional bytes fileEncSha256 = 6;
2210
2014
  }
2211
2015
 
2212
- enum FUTURE_PROOF_BEHAVIOR {
2213
- PLACEHOLDER = 0;
2214
- NO_PLACEHOLDER = 1;
2215
- IGNORE = 2;
2216
- }
2217
2016
  message Field {
2218
2017
  optional uint32 minVersion = 1;
2219
2018
  optional uint32 maxVersion = 2;
@@ -2222,15 +2021,6 @@ message Field {
2222
2021
  map<uint32, Field> subfield = 5;
2223
2022
  }
2224
2023
 
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
2024
  message ForwardedAIBotMessageInfo {
2235
2025
  optional string botName = 1;
2236
2026
  optional string botJid = 2;
@@ -2260,13 +2050,6 @@ message GlobalSettings {
2260
2050
  optional int64 chatDbLidMigrationTimestamp = 20;
2261
2051
  }
2262
2052
 
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
2053
  message GroupHistoryBundleInfo {
2271
2054
  optional Message.MessageHistoryBundle deprecatedMessageHistoryBundle = 1;
2272
2055
  optional ProcessState processState = 2;
@@ -2285,20 +2068,13 @@ message GroupHistoryIndividualMessageInfo {
2285
2068
  optional bool editedAfterReceivedAsHistory = 2;
2286
2069
  }
2287
2070
 
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
2071
  message GroupMention {
2296
2072
  optional string groupJid = 1;
2297
2073
  optional string groupSubject = 2;
2298
2074
  }
2299
2075
 
2300
2076
  message GroupParticipant {
2301
- optional string userJid = 1;
2077
+ required string userJid = 1;
2302
2078
  optional Rank rank = 2;
2303
2079
  optional MemberLabel memberLabel = 3;
2304
2080
  enum Rank {
@@ -2373,7 +2149,7 @@ message HatchMetadataSync {
2373
2149
  }
2374
2150
 
2375
2151
  message HistorySync {
2376
- optional HistorySyncType syncType = 1;
2152
+ required HistorySyncType syncType = 1;
2377
2153
  repeated Conversation conversations = 2;
2378
2154
  repeated WebMessageInfo statusV3Messages = 3;
2379
2155
  optional uint32 chunkOrder = 5;
@@ -2413,10 +2189,6 @@ message HistorySyncMsg {
2413
2189
  optional uint64 msgOrderId = 2;
2414
2190
  }
2415
2191
 
2416
- enum HostedState {
2417
- E2EE = 0;
2418
- HOSTED = 1;
2419
- }
2420
2192
  message HydratedTemplateButton {
2421
2193
  optional uint32 index = 4;
2422
2194
  oneof hydratedButton {
@@ -2453,6 +2225,11 @@ message IdentityKeyPairStructure {
2453
2225
  optional bytes privateKey = 2;
2454
2226
  }
2455
2227
 
2228
+ message IdentityVerificationState {
2229
+ optional bool verified = 1;
2230
+ optional uint64 actionSeq = 2;
2231
+ }
2232
+
2456
2233
  message InThreadSurveyMetadata {
2457
2234
  optional string tessaSessionId = 1;
2458
2235
  optional string simonSessionId = 2;
@@ -2547,21 +2324,10 @@ message KeyId {
2547
2324
  optional bytes id = 1;
2548
2325
  }
2549
2326
 
2550
- message LIDMigrationMapping {
2551
- optional uint64 pn = 1;
2552
- optional uint64 assignedLid = 2;
2553
- optional uint64 latestLid = 3;
2554
- }
2555
-
2556
2327
  message LIDMigrationMappingSyncMessage {
2557
2328
  optional bytes encodedMappingPayload = 1;
2558
2329
  }
2559
2330
 
2560
- message LIDMigrationMappingSyncPayload {
2561
- repeated LIDMigrationMapping pnToLidMappings = 1;
2562
- optional uint64 chatDbMigrationTimestamp = 2;
2563
- }
2564
-
2565
2331
  message LegacyMessage {
2566
2332
  optional Message.EventResponseMessage eventResponseMessage = 1;
2567
2333
  optional Message.PollVoteMessage pollVote = 2;
@@ -2592,9 +2358,6 @@ message Location {
2592
2358
  optional string name = 3;
2593
2359
  }
2594
2360
 
2595
- enum MENTION_MENTION_TYPE {
2596
- PROFILE = 0;
2597
- }
2598
2361
  message MediaData {
2599
2362
  optional string localPath = 1;
2600
2363
  }
@@ -2604,40 +2367,6 @@ message MediaDomainInfo {
2604
2367
  optional bytes e2EeMediaKey = 2;
2605
2368
  }
2606
2369
 
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
2370
  enum MediaKeyDomain {
2642
2371
  MEDIA_KEY_DOMAIN_UNKNOWN = 0;
2643
2372
  MEDIA_KEY_DOMAIN_E2EE = 1;
@@ -2672,13 +2401,6 @@ message MemberLabel {
2672
2401
  optional int64 labelTimestamp = 2;
2673
2402
  }
2674
2403
 
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
2404
  message Message {
2683
2405
  optional string conversation = 1;
2684
2406
  optional SenderKeyDistributionMessage senderKeyDistributionMessage = 2;
@@ -2787,6 +2509,7 @@ message Message {
2787
2509
  optional SplitPaymentMessage splitPaymentMessage = 125;
2788
2510
  optional FutureProofMessage newsletterAdminProfileStatusMessage = 126;
2789
2511
  optional RootSecretDistributeMessage rootSecretDistributeMessage = 127;
2512
+ optional SplitPaymentUpdateMessage splitPaymentUpdateMessage = 128;
2790
2513
  message AlbumMessage {
2791
2514
  optional uint32 expectedImageCount = 2;
2792
2515
  optional uint32 expectedVideoCount = 3;
@@ -2858,6 +2581,12 @@ message Message {
2858
2581
  }
2859
2582
  }
2860
2583
 
2584
+ message BotHistoryShareSyncMetadata {
2585
+ optional string botJid = 1;
2586
+ optional int64 historyShareCutoffTimestamp = 2;
2587
+ repeated Message.HistoryShareMessageEntry historyShareMessages = 3;
2588
+ }
2589
+
2861
2590
  message ButtonsMessage {
2862
2591
  optional string contentText = 6;
2863
2592
  optional string footerText = 7;
@@ -3168,7 +2897,7 @@ message Message {
3168
2897
  optional bool viewOnce = 30;
3169
2898
  optional uint32 videoHeight = 31;
3170
2899
  optional uint32 videoWidth = 32;
3171
- optional Message.MMSThumbnailMetadata faviconMMSMetadata = 33;
2900
+ optional Message.MMSThumbnailMetadata faviconMmsMetadata = 33;
3172
2901
  optional Message.LinkPreviewMetadata linkPreviewMetadata = 34;
3173
2902
  optional Message.PaymentLinkMetadata paymentLinkMetadata = 35;
3174
2903
  repeated Message.VideoEndCard endCardTiles = 36;
@@ -3290,6 +3019,11 @@ message Message {
3290
3019
 
3291
3020
  }
3292
3021
 
3022
+ message HistoryShareMessageEntry {
3023
+ optional string stanzaId = 1;
3024
+ optional bytes messageSecretProof = 2;
3025
+ }
3026
+
3293
3027
  message HistorySyncMessageAccessStatus {
3294
3028
  optional bool completeAccessGranted = 1;
3295
3029
  }
@@ -3629,6 +3363,13 @@ message Message {
3629
3363
  optional uint32 thumbnailWidth = 7;
3630
3364
  }
3631
3365
 
3366
+ message MarkAsVerifiedAction {
3367
+ optional string userJidString = 1;
3368
+ optional bool verified = 2;
3369
+ optional bytes verifiedIdentityKey = 3;
3370
+ optional uint64 actionSeq = 4;
3371
+ }
3372
+
3632
3373
  message MessageHistoryBundle {
3633
3374
  optional string mimetype = 1;
3634
3375
  optional bytes fileSha256 = 2;
@@ -3651,6 +3392,7 @@ message Message {
3651
3392
  message MessageHistoryNotice {
3652
3393
  optional ContextInfo contextInfo = 1;
3653
3394
  optional Message.MessageHistoryMetadata messageHistoryMetadata = 2;
3395
+ optional Message.BotHistoryShareSyncMetadata botHistoryShareSyncMetadata = 3;
3654
3396
  }
3655
3397
 
3656
3398
  message NewsletterAdminInviteMessage {
@@ -3699,6 +3441,7 @@ message Message {
3699
3441
  message PaymentExtendedMetadata {
3700
3442
  optional uint32 type = 1;
3701
3443
  optional string platform = 2;
3444
+ optional string messageParamsJson = 3;
3702
3445
  }
3703
3446
 
3704
3447
  message PaymentInviteMessage {
@@ -4137,6 +3880,8 @@ message Message {
4137
3880
  optional uint32 afterReadDuration = 29;
4138
3881
  optional Message.ChatThemeSetting chatThemeSetting = 30;
4139
3882
  optional AIMetadataOperation aiMetadataOperation = 31;
3883
+ optional Message.MarkAsVerifiedAction markAsVerifiedAction = 32;
3884
+ optional CoexStateSync coexStateSync = 33;
4140
3885
  enum Type {
4141
3886
  REVOKE = 0;
4142
3887
  EPHEMERAL_SETTING = 3;
@@ -4168,6 +3913,8 @@ message Message {
4168
3913
  MESSAGE_UNSCHEDULE = 32;
4169
3914
  CHAT_THEME_SETTING = 34;
4170
3915
  AI_METADATA_OPERATION = 35;
3916
+ MARK_AS_VERIFIED_ACTION = 36;
3917
+ COEX_STATE_SYNC = 37;
4171
3918
  }
4172
3919
  }
4173
3920
 
@@ -4283,6 +4030,11 @@ message Message {
4283
4030
  }
4284
4031
  }
4285
4032
 
4033
+ message SplitPaymentUpdateMessage {
4034
+ optional string splitId = 1;
4035
+ optional string participantJid = 2;
4036
+ }
4037
+
4286
4038
  message StatusNotificationMessage {
4287
4039
  optional MessageKey responseMessageKey = 1;
4288
4040
  optional MessageKey originalMessageKey = 2;
@@ -4443,10 +4195,10 @@ message Message {
4443
4195
  }
4444
4196
 
4445
4197
  message VideoEndCard {
4446
- optional string username = 1;
4447
- optional string caption = 2;
4448
- optional string thumbnailImageUrl = 3;
4449
- optional string profilePictureUrl = 4;
4198
+ required string username = 1;
4199
+ required string caption = 2;
4200
+ required string thumbnailImageUrl = 3;
4201
+ required string profilePictureUrl = 4;
4450
4202
  }
4451
4203
 
4452
4204
  message VideoMessage {
@@ -4564,6 +4316,8 @@ message MessageContextInfo {
4564
4316
  repeated ThreadID threadId = 15;
4565
4317
  optional WebLinkRenderConfig weblinkRenderConfig = 16;
4566
4318
  optional bytes teeBotMetadata = 17;
4319
+ optional NonE2EEAttestation accountEncryptionAttestation = 18;
4320
+ optional bytes associatedPrimaryIdentityKey = 19;
4567
4321
  enum MessageAddonExpiryType {
4568
4322
  STATIC = 1;
4569
4323
  DEPENDENT_ON_PARENT = 2;
@@ -4583,13 +4337,6 @@ message MessageSecretMessage {
4583
4337
  optional bytes encPayload = 3;
4584
4338
  }
4585
4339
 
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
4340
  message Money {
4594
4341
  optional int64 value = 1;
4595
4342
  optional uint32 offset = 2;
@@ -4773,6 +4520,9 @@ enum MutationProps {
4773
4520
  THREAD_PIN_ACTION = 85;
4774
4521
  AUTO_ORGANIZE_BUSINESS_CHAT_SETTING = 86;
4775
4522
  BIZ_AI_SETTINGS_NUDGE_ACTION = 87;
4523
+ COEX_V2_VERSION_ACTION = 88;
4524
+ WASA_ROOT_SECRET_ACTION = 89;
4525
+ BUBBLE_LOCK_MESSAGE_ACTION = 90;
4776
4526
  SHARE_OWN_PN = 10001;
4777
4527
  BUSINESS_BROADCAST_ACTION = 10002;
4778
4528
  AI_THREAD_DELETE_ACTION = 10003;
@@ -4790,6 +4540,15 @@ message NoiseCertificate {
4790
4540
 
4791
4541
  }
4792
4542
 
4543
+ message NonE2EEAttestation {
4544
+ optional AccountType accountType = 1;
4545
+ enum AccountType {
4546
+ E2EE = 0;
4547
+ HYBRID_E2EE = 1;
4548
+ NON_E2EE = 2;
4549
+ }
4550
+ }
4551
+
4793
4552
  message NotificationMessageInfo {
4794
4553
  optional MessageKey key = 1;
4795
4554
  optional Message message = 2;
@@ -5016,6 +4775,8 @@ message PreKeySignalMessage {
5016
4775
  optional bytes baseKey = 2;
5017
4776
  optional bytes identityKey = 3;
5018
4777
  optional bytes message = 4;
4778
+ optional uint32 kyberPreKeyId = 7;
4779
+ optional bytes kyberCiphertext = 8;
5019
4780
  }
5020
4781
 
5021
4782
  message PremiumMessageInfo {
@@ -5059,41 +4820,6 @@ message Pushname {
5059
4820
  optional string pushname = 2;
5060
4821
  }
5061
4822
 
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
4823
  message QuarantinedMessage {
5098
4824
  optional bytes originalData = 1;
5099
4825
  optional string extractedText = 2;
@@ -5126,15 +4852,7 @@ message Reportable {
5126
4852
 
5127
4853
  message ReportingTokenInfo {
5128
4854
  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;
4855
+ optional uint64 reportingTagTimestamp = 2;
5138
4856
  }
5139
4857
 
5140
4858
  message ScheduledMessageMetadata {
@@ -5233,6 +4951,8 @@ message SessionStructure {
5233
4951
  optional uint32 preKeyId = 1;
5234
4952
  optional int32 signedPreKeyId = 3;
5235
4953
  optional bytes baseKey = 2;
4954
+ optional uint32 kyberPreKeyId = 4;
4955
+ optional bytes kyberCiphertext = 5;
5236
4956
  }
5237
4957
 
5238
4958
  }
@@ -5300,6 +5020,7 @@ message StatusAttribution {
5300
5020
  GOOGLE_PHOTOS = 10;
5301
5021
  SOUNDCLOUD = 11;
5302
5022
  SHAZAM = 12;
5023
+ PICSART = 13;
5303
5024
  }
5304
5025
  }
5305
5026
 
@@ -5366,7 +5087,7 @@ message StatusMentionMessage {
5366
5087
  }
5367
5088
 
5368
5089
  message StatusPSA {
5369
- optional uint64 campaignId = 44;
5090
+ required uint64 campaignId = 44;
5370
5091
  optional uint64 campaignExpirationTimestamp = 45;
5371
5092
  }
5372
5093
 
@@ -5387,11 +5108,6 @@ message StickerMetadata {
5387
5108
  optional bool isAvatarSticker = 14;
5388
5109
  }
5389
5110
 
5390
- message SubProtocol {
5391
- optional bytes payload = 1;
5392
- optional int32 version = 2;
5393
- }
5394
-
5395
5111
  message SyncActionData {
5396
5112
  optional bytes index = 1;
5397
5113
  optional SyncActionValue value = 2;
@@ -5478,9 +5194,12 @@ message SyncActionValue {
5478
5194
  optional ThreadPinAction threadPinAction = 85;
5479
5195
  optional AutoOrganizeBusinessChatSetting autoOrganizeBusinessChatSetting = 86;
5480
5196
  optional BizAISettingsNudgeAction bizAiSettingsNudgeAction = 87;
5197
+ optional CoexV2VersionAction coexV2VersionAction = 88;
5198
+ optional WASARootSecretAction wasaRootSecretAction = 89;
5199
+ optional BubbleLockMessageAction bubbleLockMessageAction = 90;
5481
5200
  message AgentAction {
5482
5201
  optional string name = 1;
5483
- optional int32 deviceID = 2;
5202
+ optional int32 deviceId = 2;
5484
5203
  optional bool isDeleted = 3;
5485
5204
  }
5486
5205
 
@@ -5530,10 +5249,14 @@ message SyncActionValue {
5530
5249
  }
5531
5250
 
5532
5251
  message BroadcastListParticipant {
5533
- optional string lidJid = 1;
5252
+ required string lidJid = 1;
5534
5253
  optional string pnJid = 2;
5535
5254
  }
5536
5255
 
5256
+ message BubbleLockMessageAction {
5257
+ optional bool locked = 1;
5258
+ }
5259
+
5537
5260
  message BusinessBroadcastAssociationAction {
5538
5261
  optional bool deleted = 1;
5539
5262
  }
@@ -5571,6 +5294,7 @@ message SyncActionValue {
5571
5294
  optional string listName = 3;
5572
5295
  repeated string labelIds = 4;
5573
5296
  optional string audienceExpression = 5;
5297
+ optional string customAudienceFbid = 6;
5574
5298
  }
5575
5299
 
5576
5300
  message CallLogAction {
@@ -5578,7 +5302,7 @@ message SyncActionValue {
5578
5302
  }
5579
5303
 
5580
5304
  message ChatAssignmentAction {
5581
- optional string deviceAgentID = 1;
5305
+ optional string deviceAgentId = 1;
5582
5306
  }
5583
5307
 
5584
5308
  message ChatAssignmentOpenedStatusAction {
@@ -5589,6 +5313,10 @@ message SyncActionValue {
5589
5313
  optional SyncActionValue.SyncActionMessageRange messageRange = 1;
5590
5314
  }
5591
5315
 
5316
+ message CoexV2VersionAction {
5317
+ optional uint64 version = 1;
5318
+ }
5319
+
5592
5320
  message ContactAction {
5593
5321
  optional string fullName = 1;
5594
5322
  optional string firstName = 2;
@@ -5603,15 +5331,15 @@ message SyncActionValue {
5603
5331
  }
5604
5332
 
5605
5333
  message CustomPaymentMethod {
5606
- optional string credentialId = 1;
5607
- optional string country = 2;
5608
- optional string type = 3;
5334
+ required string credentialId = 1;
5335
+ required string country = 2;
5336
+ required string type = 3;
5609
5337
  repeated SyncActionValue.CustomPaymentMethodMetadata metadata = 4;
5610
5338
  }
5611
5339
 
5612
5340
  message CustomPaymentMethodMetadata {
5613
- optional string key = 1;
5614
- optional string value = 2;
5341
+ required string key = 1;
5342
+ required string value = 2;
5615
5343
  }
5616
5344
 
5617
5345
  message CustomPaymentMethodsAction {
@@ -5663,7 +5391,7 @@ message SyncActionValue {
5663
5391
  }
5664
5392
 
5665
5393
  message InteractiveMessageAction {
5666
- optional InteractiveMessageActionMode type = 1;
5394
+ required InteractiveMessageActionMode type = 1;
5667
5395
  optional string agmId = 2;
5668
5396
  enum InteractiveMessageActionMode {
5669
5397
  DISABLE_CTA = 1;
@@ -5765,8 +5493,8 @@ message SyncActionValue {
5765
5493
  }
5766
5494
 
5767
5495
  message MerchantPaymentPartnerAction {
5768
- optional Status status = 1;
5769
- optional string country = 2;
5496
+ required Status status = 1;
5497
+ required string country = 2;
5770
5498
  optional string gatewayName = 3;
5771
5499
  optional string credentialId = 4;
5772
5500
  enum Status {
@@ -5831,8 +5559,8 @@ message SyncActionValue {
5831
5559
  }
5832
5560
 
5833
5561
  message PaymentTosAction {
5834
- optional PaymentNotice paymentNotice = 1;
5835
- optional bool accepted = 2;
5562
+ required PaymentNotice paymentNotice = 1;
5563
+ required bool accepted = 2;
5836
5564
  enum PaymentNotice {
5837
5565
  BR_PAY_PRIVACY_POLICY = 0;
5838
5566
  }
@@ -5997,8 +5725,8 @@ message SyncActionValue {
5997
5725
  message StatusPrivacyAction {
5998
5726
  optional StatusDistributionMode mode = 1;
5999
5727
  repeated string userJid = 2;
6000
- optional bool shareToFB = 3;
6001
- optional bool shareToIG = 4;
5728
+ optional bool shareToFb = 3;
5729
+ optional bool shareToIg = 4;
6002
5730
  repeated CustomList customLists = 5;
6003
5731
  repeated StatusDistributionMode modes = 6;
6004
5732
  message CustomList {
@@ -6102,6 +5830,16 @@ message SyncActionValue {
6102
5830
  }
6103
5831
  }
6104
5832
 
5833
+ message WASARootSecretAction {
5834
+ repeated RootSecretEntry secrets = 1;
5835
+ message RootSecretEntry {
5836
+ optional string id = 1;
5837
+ optional bytes rootSecret = 2;
5838
+ optional int64 epoch = 3;
5839
+ }
5840
+
5841
+ }
5842
+
6105
5843
  message WaffleAccountLinkStateAction {
6106
5844
  optional AccountLinkState linkState = 2;
6107
5845
  enum AccountLinkState {
@@ -6146,12 +5884,6 @@ message SyncdPatch {
6146
5884
  optional bytes clientDebugData = 9;
6147
5885
  }
6148
5886
 
6149
- message SyncdPlainTextRecord {
6150
- optional SyncActionData value = 1;
6151
- optional bytes keyId = 2;
6152
- optional bytes mac = 3;
6153
- }
6154
-
6155
5887
  message SyncdRecord {
6156
5888
  optional SyncdIndex index = 1;
6157
5889
  optional SyncdValue value = 2;
@@ -6165,13 +5897,6 @@ message SyncdSnapshot {
6165
5897
  optional KeyId keyId = 4;
6166
5898
  }
6167
5899
 
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
5900
  message SyncdValue {
6176
5901
  optional bytes blob = 1;
6177
5902
  }
@@ -6219,17 +5944,6 @@ message ThreadID {
6219
5944
  }
6220
5945
  }
6221
5946
 
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
5947
  message UrlTrackingMap {
6234
5948
  repeated UrlTrackingMapElement urlTrackingMapElements = 1;
6235
5949
  message UrlTrackingMapElement {
@@ -6270,7 +5984,7 @@ message UserPassword {
6270
5984
  }
6271
5985
 
6272
5986
  message UserReceipt {
6273
- optional string userJid = 1;
5987
+ required string userJid = 1;
6274
5988
  optional int64 receiptTimestamp = 2;
6275
5989
  optional int64 readTimestamp = 3;
6276
5990
  optional int64 playedTimestamp = 4;
@@ -6357,7 +6071,7 @@ enum WebLinkRenderConfig {
6357
6071
  SYSTEM = 1;
6358
6072
  }
6359
6073
  message WebMessageInfo {
6360
- optional MessageKey key = 1;
6074
+ required MessageKey key = 1;
6361
6075
  optional Message message = 2;
6362
6076
  optional uint64 messageTimestamp = 3;
6363
6077
  optional Status status = 4;
@@ -6670,233 +6384,16 @@ message WebMessageInfo {
6670
6384
  GROUP_TEE_BOT_ADDED = 223;
6671
6385
  CONTACT_INFO = 224;
6672
6386
  SCHEDULED_MESSAGE_CREATED = 225;
6387
+ IDENTITY_TRUST_MARKED = 226;
6388
+ IDENTITY_TRUST_UNMARKED = 227;
6389
+ IDENTITY_TRUST_REVOKED = 228;
6390
+ CTWA_CONSUMER_DISCLOSURE = 230;
6673
6391
  }
6674
6392
  }
6675
6393
 
6676
- message WebMessageInfoWithMessageBytes {
6677
- optional MessageKey key = 1;
6678
- optional bytes messageBytes = 2;
6679
- }
6680
-
6681
6394
  message WebNotificationsInfo {
6682
6395
  optional uint64 timestamp = 2;
6683
6396
  optional uint32 unreadChats = 3;
6684
6397
  optional uint32 notifyMessageCount = 4;
6685
6398
  repeated WebMessageInfo notifyMessages = 5;
6686
6399
  }
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 <<<