@badzz88/baileys 8.5.3 → 8.5.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.
Files changed (110) hide show
  1. package/README.md +1 -1
  2. package/WAProto/WAProto.proto +1256 -75
  3. package/WAProto/index.d.ts +36042 -19649
  4. package/WAProto/index.js +181990 -135645
  5. package/engine-requirements.js +7 -15
  6. package/lib/Defaults/index.js +22 -17
  7. package/lib/Signal/Group/group_cipher.js +5 -5
  8. package/lib/Signal/Group/keyhelper.js +4 -4
  9. package/lib/Signal/Group/sender-chain-key.js +2 -2
  10. package/lib/Signal/Group/sender-key-distribution-message.js +1 -1
  11. package/lib/Signal/Group/sender-key-message.js +3 -3
  12. package/lib/Signal/Group/sender-key-record.js +1 -1
  13. package/lib/Signal/Group/sender-message-key.js +5 -5
  14. package/lib/Signal/libsignal.js +39 -59
  15. package/lib/Signal/lid-mapping.js +28 -10
  16. package/lib/Socket/aigroups.js +5 -5
  17. package/lib/Socket/business.js +3 -11
  18. package/lib/Socket/chats.js +668 -319
  19. package/lib/Socket/communities.js +85 -89
  20. package/lib/Socket/graphql.js +435 -228
  21. package/lib/Socket/groups.js +132 -211
  22. package/lib/Socket/index.js +9 -7
  23. package/lib/Socket/interactive-handler.js +117 -60
  24. package/lib/Socket/interop.js +56 -175
  25. package/lib/Socket/managed-account.js +79 -48
  26. package/lib/Socket/messages-recv.js +898 -340
  27. package/lib/Socket/messages-send.js +462 -160
  28. package/lib/Socket/mex.js +40 -53
  29. package/lib/Socket/newsletter.js +291 -295
  30. package/lib/Socket/privacy.js +77 -265
  31. package/lib/Socket/registration.js +164 -157
  32. package/lib/Socket/socket.js +181 -199
  33. package/lib/Socket/username.js +144 -227
  34. package/lib/Store/make-cache-manager-store.js +2 -2
  35. package/lib/Store/make-in-memory-store.js +25 -141
  36. package/lib/Types/Auth.js +3 -3
  37. package/lib/Types/Label.js +1 -1
  38. package/lib/Types/LabelAssociation.js +1 -1
  39. package/lib/Types/Newsletter.js +96 -65
  40. package/lib/Types/State.js +4 -4
  41. package/lib/Types/index.js +1 -1
  42. package/lib/Utils/auth-utils.js +52 -57
  43. package/lib/Utils/browser-utils.js +1 -1
  44. package/lib/Utils/business.js +2 -6
  45. package/lib/Utils/chat-utils.js +102 -38
  46. package/lib/Utils/crypto.js +54 -84
  47. package/lib/Utils/decode-wa-message.js +316 -83
  48. package/lib/Utils/event-buffer.js +37 -61
  49. package/lib/Utils/generics.js +157 -103
  50. package/lib/Utils/group-history.js +3 -12
  51. package/lib/Utils/history.js +15 -15
  52. package/lib/Utils/index.js +1 -5
  53. package/lib/Utils/link-preview.js +3 -8
  54. package/lib/Utils/lt-hash.js +2 -35
  55. package/lib/Utils/make-mutex.js +1 -1
  56. package/lib/Utils/message-inspect.js +393 -0
  57. package/lib/Utils/message-retry-manager.js +27 -92
  58. package/lib/Utils/messages-media.js +159 -130
  59. package/lib/Utils/messages.js +144 -566
  60. package/lib/Utils/meta-ai-msmsg.js +62 -202
  61. package/lib/Utils/noise-handler.js +19 -21
  62. package/lib/Utils/offline-node-processor.js +3 -8
  63. package/lib/Utils/pre-key-manager.js +13 -23
  64. package/lib/Utils/process-message.js +197 -106
  65. package/lib/Utils/reporting-utils.js +2 -2
  66. package/lib/Utils/signal.js +28 -63
  67. package/lib/Utils/stanza-ack.js +39 -12
  68. package/lib/Utils/sync-action-utils.js +4 -7
  69. package/lib/Utils/tc-token-utils.js +20 -25
  70. package/lib/Utils/use-multi-file-auth-state.js +30 -14
  71. package/lib/Utils/validate-connection.js +59 -19
  72. package/lib/WABinary/decode.js +50 -16
  73. package/lib/WABinary/encode.js +54 -224
  74. package/lib/WABinary/generic-utils.js +7 -97
  75. package/lib/WABinary/jid-utils.js +27 -14
  76. package/lib/WAM/encode.js +7 -7
  77. package/lib/WAUSync/Protocols/USyncBusinessProtocol.js +58 -1
  78. package/lib/WAUSync/Protocols/USyncContactProtocol.js +7 -1
  79. package/lib/WAUSync/Protocols/USyncDeviceProtocol.js +13 -5
  80. package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js +1 -4
  81. package/lib/WAUSync/Protocols/USyncFeatureProtocol.js +20 -7
  82. package/lib/WAUSync/Protocols/USyncNewsletterProtocol.js +865 -0
  83. package/lib/WAUSync/Protocols/USyncPictureProtocol.js +1 -1
  84. package/lib/WAUSync/Protocols/USyncSidelistProtocol.js +2 -2
  85. package/lib/WAUSync/Protocols/USyncStatusProtocol.js +7 -2
  86. package/lib/WAUSync/Protocols/USyncTextStatusProtocol.js +1 -1
  87. package/lib/WAUSync/Protocols/USyncUsernameProtocol.js +2 -1
  88. package/lib/WAUSync/Protocols/index.js +1 -0
  89. package/lib/WAUSync/USyncBackoff.js +26 -0
  90. package/lib/WAUSync/USyncQuery.js +77 -6
  91. package/lib/WAUSync/USyncUser.js +16 -8
  92. package/lib/WAUSync/index.js +1 -0
  93. package/lib/antiban.js +608 -854
  94. package/lib/index.js +1 -1
  95. package/package.json +16 -20
  96. package/lib/Socket/luxu.js +0 -387
  97. package/lib/Socket/text-router.js +0 -83
  98. package/lib/Store/keyed-db.js +0 -108
  99. package/lib/Types/Mex.js +0 -112
  100. package/lib/Utils/command-loader.d.ts +0 -31
  101. package/lib/Utils/command-loader.js +0 -100
  102. package/lib/Utils/companion-reg-client-utils.js +0 -42
  103. package/lib/Utils/curve25519-js.js +0 -275
  104. package/lib/Utils/native-bridge.js +0 -82
  105. package/lib/Utils/session-pool.d.ts +0 -16
  106. package/lib/Utils/session-pool.js +0 -94
  107. package/lib/Utils/sticker.d.ts +0 -17
  108. package/lib/Utils/sticker.js +0 -145
  109. package/lib/Utils/view-once-cache.d.ts +0 -9
  110. package/lib/Utils/view-once-cache.js +0 -79
@@ -1,7 +1,7 @@
1
1
  syntax = "proto3";
2
2
  package proto;
3
3
 
4
- /// WhatsApp Version: 2.3000.1041467552
4
+ /// WhatsApp Version: 2.3000.104529546
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
  }
@@ -314,6 +324,12 @@ message AvatarUserSettings {
314
324
  optional string password = 2;
315
325
  }
316
326
 
327
+ message BackwardEdge {
328
+ optional bytes encryptedPrevEpochAnonId = 1;
329
+ optional bytes encryptedPrevEpochRootKey = 2;
330
+ optional bytes prevEpochRootKeyFingerprint = 3;
331
+ }
332
+
317
333
  message BizAccountLinkInfo {
318
334
  optional uint64 whatsappBizAcctFbid = 1;
319
335
  optional string whatsappAcctNumber = 2;
@@ -370,6 +386,7 @@ message BotAgeCollectionMetadata {
370
386
 
371
387
  message BotAgentDeepLinkMetadata {
372
388
  optional string token = 1;
389
+ optional bytes clientPublicKey = 2;
373
390
  }
374
391
 
375
392
  message BotAgentMetadata {
@@ -445,6 +462,10 @@ message BotCapabilityMetadata {
445
462
  UNIFIED_RESPONSE_MARKDOWN_LINKS_ENABLED = 63;
446
463
  AI_RICH_RESPONSE_MAPS_V2_ENABLED = 64;
447
464
  AI_SUBSCRIPTION_METERING_ENABLED = 65;
465
+ RICH_RESPONSE_SPORTS_WIDGET_ENABLED = 66;
466
+ AI_RICH_RESPONSE_ARTIFACTS_ENABLED = 67;
467
+ AI_RICH_RESPONSE_EMAIL_CALENDAR_ENABLED = 68;
468
+ AI_RICH_RESPONSE_REMINDERS_ENABLED = 69;
448
469
  }
449
470
  }
450
471
 
@@ -566,6 +587,10 @@ message BotGroupParticipantMetadata {
566
587
  optional string botFbid = 1;
567
588
  }
568
589
 
590
+ message BotHistoryShareMetadata {
591
+ repeated BotGroupParticipantMetadata participantsMetadata = 1;
592
+ }
593
+
569
594
  message BotImagineMetadata {
570
595
  optional ImagineType imagineType = 1;
571
596
  optional string shortPrompt = 2;
@@ -689,6 +714,7 @@ message BotMetadata {
689
714
  optional BotResolvedToolCallMetadata resolvedToolCallMetadata = 40;
690
715
  optional AISubscriptionUpsellMetadata subscriptionUpsellMetadata = 41;
691
716
  optional BotPttPromptMetadata pttPromptMetadata = 42;
717
+ optional BotHistoryShareMetadata botHistoryShareMetadata = 43;
692
718
  optional bytes internalMetadata = 999;
693
719
  }
694
720
 
@@ -741,6 +767,7 @@ enum BotMetricsEntryPoint {
741
767
  GROUP_MEMBER = 54;
742
768
  CHATLIST_SEARCH = 55;
743
769
  NEW_CHAT_LIST = 56;
770
+ CONTACTS_TAB = 57;
744
771
  }
745
772
  message BotMetricsMetadata {
746
773
  optional string destinationId = 1;
@@ -960,12 +987,20 @@ message BotSignatureVerificationUseCaseProof {
960
987
  optional BotSignatureUseCase useCase = 2;
961
988
  optional bytes signature = 3;
962
989
  repeated bytes certificateChain = 4;
990
+ repeated CertificateSKI certificateChainSki = 5;
963
991
  enum BotSignatureUseCase {
964
992
  UNSPECIFIED = 0;
965
993
  WA_BOT_MSG = 1;
966
994
  WA_TEE_BOT_MSG = 2;
967
995
  P2P_PILLS = 3;
996
+ WA_WAFFLE = 4;
997
+ WA_FEATURE_PKI = 5;
998
+ }
999
+ message CertificateSKI {
1000
+ optional BotSignatureVerificationUseCaseProof.BotSignatureUseCase useCase = 1;
1001
+ optional bytes ski = 2;
968
1002
  }
1003
+
969
1004
  }
970
1005
 
971
1006
  message BotSourcesMetadata {
@@ -1145,10 +1180,10 @@ message ChatRowOpaqueData {
1145
1180
  }
1146
1181
 
1147
1182
  message Citation {
1148
- optional string title = 1;
1149
- optional string subtitle = 2;
1150
- optional string cmsId = 3;
1151
- optional string imageUrl = 4;
1183
+ required string title = 1;
1184
+ required string subtitle = 2;
1185
+ required string cmsId = 3;
1186
+ required string imageUrl = 4;
1152
1187
  }
1153
1188
 
1154
1189
  message ClientPairingProps {
@@ -1352,6 +1387,7 @@ message ClientPayload {
1352
1387
  SMART_GLASSES = 35;
1353
1388
  BLUE_VR = 36;
1354
1389
  AR_WRIST = 37;
1390
+ WAIL = 38;
1355
1391
  }
1356
1392
  enum ReleaseChannel {
1357
1393
  RELEASE = 0;
@@ -1394,6 +1430,22 @@ message ClientPayload {
1394
1430
 
1395
1431
  }
1396
1432
 
1433
+ message CoexStateSync {
1434
+ repeated CollectionMutations collectionMutations = 1;
1435
+ message CollectionMutations {
1436
+ optional string collection = 1;
1437
+ repeated CoexStateSync.Mutation mutations = 2;
1438
+ }
1439
+
1440
+ message Mutation {
1441
+ optional SyncdIndex index = 1;
1442
+ optional SyncdValue value = 2;
1443
+ optional uint64 dirtyVersion = 3;
1444
+ optional SyncdMutation.SyncdOperation operation = 4;
1445
+ }
1446
+
1447
+ }
1448
+
1397
1449
  enum CollectionName {
1398
1450
  COLLECTION_NAME_UNKNOWN = 0;
1399
1451
  REGULAR = 1;
@@ -1705,6 +1757,8 @@ message ContextInfo {
1705
1757
  optional CrossAppSource crossAppSource = 77;
1706
1758
  optional BusinessInteractionPills businessInteractionPills = 78;
1707
1759
  optional string posterStatusId = 79;
1760
+ optional InstagramThreadLink instagramThreadLink = 80;
1761
+ optional AIProvenance aiProvenance = 81;
1708
1762
  message AdReplyInfo {
1709
1763
  optional string advertiserName = 1;
1710
1764
  optional MediaType mediaType = 2;
@@ -1723,6 +1777,7 @@ message ContextInfo {
1723
1777
  optional EntryPoint entryPoint = 3;
1724
1778
  optional bytes signedPayload = 4;
1725
1779
  optional BotSignatureVerificationMetadata signatureEnvelope = 5;
1780
+ optional UnauthenticatedBusinessMetadata unauthenticatedBusinessMetadata = 6;
1726
1781
  enum EntryPoint {
1727
1782
  ENTRY_POINT_UNKNOWN = 0;
1728
1783
  P2P_LINK_SHARE = 1;
@@ -1756,6 +1811,13 @@ message ContextInfo {
1756
1811
  repeated ContextInfo.BusinessInteractionPills.Pill pills = 2;
1757
1812
  }
1758
1813
 
1814
+ message UnauthenticatedBusinessMetadata {
1815
+ optional string businessName = 1;
1816
+ optional string businessCategory = 2;
1817
+ optional bool businessIsOpen = 3;
1818
+ optional int64 businessIsOpenSnapshotMs = 4;
1819
+ }
1820
+
1759
1821
  }
1760
1822
 
1761
1823
  message BusinessMessageForwardInfo {
@@ -1860,6 +1922,10 @@ message ContextInfo {
1860
1922
  }
1861
1923
  }
1862
1924
 
1925
+ message InstagramThreadLink {
1926
+ optional string url = 1;
1927
+ }
1928
+
1863
1929
  enum PairedMediaType {
1864
1930
  NOT_PAIRED_MEDIA = 0;
1865
1931
  SD_VIDEO_PARENT = 1;
@@ -1918,7 +1984,7 @@ message ContextInfo {
1918
1984
  }
1919
1985
 
1920
1986
  message Conversation {
1921
- optional string id = 1;
1987
+ required string id = 1;
1922
1988
  repeated HistorySyncMsg messages = 2;
1923
1989
  optional string newJid = 3;
1924
1990
  optional string oldJid = 4;
@@ -1980,6 +2046,7 @@ message Conversation {
1980
2046
  optional uint64 appealUpdateTime = 60;
1981
2047
  optional string authAgentParentCompanyName = 61;
1982
2048
  optional string authAgentObaPhoneNumber = 62;
2049
+ optional IdentityVerificationState identityVerification = 63;
1983
2050
  enum EndOfHistoryTransferType {
1984
2051
  COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0;
1985
2052
  COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1;
@@ -1994,6 +2061,191 @@ message Conversation {
1994
2061
  }
1995
2062
  }
1996
2063
 
2064
+ message CreateBackupInput {
2065
+ required string recoveryCode = 1;
2066
+ required uint64 userId = 2;
2067
+ }
2068
+
2069
+ message CreateBackupOutput {
2070
+ optional DeviceOutput device = 1;
2071
+ optional VirtualDeviceOutput virtualDevice = 2;
2072
+ optional Epoch0Output epoch0 = 3;
2073
+ optional bytes mailboxRootKey = 4;
2074
+ optional string error = 5;
2075
+ }
2076
+
2077
+ message DecryptMekForDistributionFromTransportSenderInput {
2078
+ required TransportSenderMEKDistributionSingleRecipient mekDistribution = 1;
2079
+ required bytes mekId = 2;
2080
+ required bytes rosterHash = 3;
2081
+ required bytes recipientEncSk = 4;
2082
+ required uint64 version = 5;
2083
+ optional MinosClientConfig conf = 6;
2084
+ message TransportSenderMEKDistributionSingleRecipient {
2085
+ required bytes encryptedMek = 1;
2086
+ required bytes ephemeralEncryptionPk = 2;
2087
+ required bytes signingPk = 3;
2088
+ required bytes signature = 4;
2089
+ optional bytes recipientEpochHead = 5;
2090
+ }
2091
+
2092
+ }
2093
+
2094
+ message DecryptMekForDistributionFromTransportSenderResult {
2095
+ oneof result {
2096
+ DecryptMekForDistributionFromTransportSenderSuccess success = 1;
2097
+ string errorMessage = 2;
2098
+ }
2099
+ }
2100
+
2101
+ message DecryptMekForDistributionFromTransportSenderSuccess {
2102
+ required bytes mek = 1;
2103
+ }
2104
+
2105
+ message DecryptMekForDistributionInput {
2106
+ required bytes toMailboxSk = 1;
2107
+ required bytes fromPk = 2;
2108
+ required bytes mekId = 3;
2109
+ required bytes senderEpochHead = 4;
2110
+ required bytes rosterHash = 5;
2111
+ required bytes ciphertext = 6;
2112
+ optional bytes toEpochHead = 7;
2113
+ optional int32 mekEncryptionVersion = 8;
2114
+ optional MinosClientConfig conf = 9;
2115
+ }
2116
+
2117
+ message DecryptMekForDistributionResult {
2118
+ oneof result {
2119
+ DecryptMekForDistributionSuccess success = 1;
2120
+ string errorMessage = 2;
2121
+ }
2122
+ }
2123
+
2124
+ message DecryptMekForDistributionSuccess {
2125
+ required bytes mek = 1;
2126
+ }
2127
+
2128
+ message DecryptMessageInput {
2129
+ required bytes epochRootKey = 1;
2130
+ required bytes epochAnonId = 2;
2131
+ required string threadId = 3;
2132
+ required int32 encryptionVersion = 4;
2133
+ required bytes ciphertext = 5;
2134
+ }
2135
+
2136
+ message DecryptMessageOutput {
2137
+ optional bytes plaintextPayload = 1;
2138
+ optional string error = 2;
2139
+ }
2140
+
2141
+ message DecryptSelfMmkDistributionInput {
2142
+ required bytes encryptedMmk = 1;
2143
+ required bytes exportRootKey = 2;
2144
+ required bytes mailboxHeadHash = 3;
2145
+ }
2146
+
2147
+ message DecryptSelfMmkDistributionResult {
2148
+ oneof result {
2149
+ DecryptSelfMmkDistributionSuccess success = 1;
2150
+ string errorMessage = 2;
2151
+ }
2152
+ }
2153
+
2154
+ message DecryptSelfMmkDistributionSuccess {
2155
+ required bytes mmkSeed = 1;
2156
+ }
2157
+
2158
+ message DeriveAttachmentAccessTokenSecretInput {
2159
+ required bytes mediaKey = 1;
2160
+ }
2161
+
2162
+ message DeriveAttachmentAccessTokenSecretResult {
2163
+ required bytes attachmentAccessTokenSecret = 1;
2164
+ }
2165
+
2166
+ message DeriveAttachmentPrimaryKeySecretInput {
2167
+ required bytes mediaKey = 1;
2168
+ }
2169
+
2170
+ message DeriveAttachmentPrimaryKeySecretResult {
2171
+ required bytes attachmentPrimaryKeySecret = 1;
2172
+ }
2173
+
2174
+ message DeriveMailboxAuthKeypairInput {
2175
+ required bytes exportRootKey = 1;
2176
+ required uint64 epochNumber = 2;
2177
+ }
2178
+
2179
+ message DeriveMailboxAuthKeypairResult {
2180
+ required bytes mailboxAuthPublicKey = 1;
2181
+ required bytes mailboxAuthPrivateKey = 2;
2182
+ }
2183
+
2184
+ message DeriveMailboxEncryptionKeypairInput {
2185
+ required bytes exportRootKey = 1;
2186
+ required uint64 epochNumber = 2;
2187
+ }
2188
+
2189
+ message DeriveMailboxEncryptionKeypairResult {
2190
+ required bytes mailboxEncryptionPublicKey = 1;
2191
+ required bytes mailboxEncryptionPrivateKey = 2;
2192
+ }
2193
+
2194
+ message DeriveMailboxSigningKeypairInput {
2195
+ required bytes exportRootKey = 1;
2196
+ required uint64 epochNumber = 2;
2197
+ }
2198
+
2199
+ message DeriveMailboxSigningKeypairResult {
2200
+ oneof result {
2201
+ DeriveMailboxSigningKeypairSuccess success = 1;
2202
+ string errorMessage = 2;
2203
+ }
2204
+ }
2205
+
2206
+ message DeriveMailboxSigningKeypairSuccess {
2207
+ required bytes mailboxSigningPublicKey = 1;
2208
+ required bytes mailboxSigningPrivateKey = 2;
2209
+ }
2210
+
2211
+ message DeriveMessageKeyInput {
2212
+ required bytes epochRootKey = 1;
2213
+ required bytes epochAnonId = 2;
2214
+ required string threadId = 3;
2215
+ }
2216
+
2217
+ message DeriveMessageKeyOutput {
2218
+ optional bytes messageKey = 1;
2219
+ optional string error = 2;
2220
+ }
2221
+
2222
+ message DeriveMessagingMailboxKeypairsInput {
2223
+ required bytes mmkSeed = 1;
2224
+ }
2225
+
2226
+ message DeriveMessagingMailboxKeypairsResult {
2227
+ oneof result {
2228
+ DeriveMessagingMailboxKeypairsSuccess success = 1;
2229
+ string errorMessage = 2;
2230
+ }
2231
+ }
2232
+
2233
+ message DeriveMessagingMailboxKeypairsSuccess {
2234
+ required bytes encSk = 1;
2235
+ required bytes encPk = 2;
2236
+ optional bytes authSk = 3;
2237
+ optional bytes authPk = 4;
2238
+ }
2239
+
2240
+ message DetachedDevicePublicData {
2241
+ required uint64 deviceId = 1;
2242
+ required bytes name = 2;
2243
+ required bytes sigPk = 3;
2244
+ required bytes authPk = 4;
2245
+ required bytes encPk = 5;
2246
+ required bytes signature = 6;
2247
+ }
2248
+
1997
2249
  message DeviceCapabilities {
1998
2250
  optional ChatLockSupportLevel chatLockSupportLevel = 1;
1999
2251
  optional LIDMigration lidMigration = 2;
@@ -2001,6 +2253,13 @@ message DeviceCapabilities {
2001
2253
  optional UserHasAvatar userHasAvatar = 4;
2002
2254
  optional MemberNameTagPrimarySupport memberNameTagPrimarySupport = 5;
2003
2255
  optional AiThread aiThread = 6;
2256
+ optional AiFbidMigration aiFbidMigration = 7;
2257
+ optional BizAiSettingsSync bizAiSettingsSync = 8;
2258
+ optional ContactRefresh contactRefresh = 9;
2259
+ message AiFbidMigration {
2260
+ optional uint64 chatDbMigrationTimestamp = 1;
2261
+ }
2262
+
2004
2263
  message AiThread {
2005
2264
  optional SupportLevel supportLevel = 1;
2006
2265
  enum SupportLevel {
@@ -2010,6 +2269,10 @@ message DeviceCapabilities {
2010
2269
  }
2011
2270
  }
2012
2271
 
2272
+ message BizAiSettingsSync {
2273
+ optional bool handoffRemovalTimingEnabled = 1;
2274
+ }
2275
+
2013
2276
  message BusinessBroadcast {
2014
2277
  optional bool importListEnabled = 1;
2015
2278
  optional bool companionSupportEnabled = 2;
@@ -2023,6 +2286,10 @@ message DeviceCapabilities {
2023
2286
  MINIMAL = 1;
2024
2287
  FULL = 2;
2025
2288
  }
2289
+ message ContactRefresh {
2290
+ optional bool refreshSupported = 1;
2291
+ }
2292
+
2026
2293
  message LIDMigration {
2027
2294
  optional uint64 chatDbMigrationTimestamp = 1;
2028
2295
  }
@@ -2054,6 +2321,19 @@ message DeviceListMetadata {
2054
2321
  repeated uint32 recipientKeyIndexes = 10 [packed=true];
2055
2322
  }
2056
2323
 
2324
+ message DeviceOutput {
2325
+ required bytes publicKey = 1;
2326
+ required bytes epochAuthPublicKey = 2;
2327
+ required bytes epochAuthPublicKeySig = 3;
2328
+ required bytes epochStoragePublicKey = 4;
2329
+ required bytes epochStoragePublicKeySig = 5;
2330
+ repeated int32 supportedEncryptionVersions = 6;
2331
+ required bytes encryptionVersionSignature = 7;
2332
+ required int32 clientVersion = 8;
2333
+ required bytes ocmfClientState = 9;
2334
+ required bytes epochStoragePrivateKey = 10;
2335
+ }
2336
+
2057
2337
  message DeviceProps {
2058
2338
  optional string os = 1;
2059
2339
  optional AppVersion version = 2;
@@ -2093,6 +2373,7 @@ message DeviceProps {
2093
2373
  optional bool supportHatchHistory = 22;
2094
2374
  repeated string supportedBotChannelFbids = 23;
2095
2375
  optional bool supportInlineContacts = 24;
2376
+ optional bool supportNewsletter = 25;
2096
2377
  }
2097
2378
 
2098
2379
  enum PlatformType {
@@ -2121,6 +2402,7 @@ message DeviceProps {
2121
2402
  VR = 22;
2122
2403
  CLOUD_API = 23;
2123
2404
  SMARTGLASSES = 24;
2405
+ WAIL = 25;
2124
2406
  }
2125
2407
  }
2126
2408
 
@@ -2145,6 +2427,119 @@ message DisappearingMode {
2145
2427
  }
2146
2428
  }
2147
2429
 
2430
+ enum EXTENDED_CONTENT_MESSAGE_CTA_BUTTON_TYPE {
2431
+ OPEN_NATIVE = 11;
2432
+ }
2433
+ enum EXTENDED_CONTENT_MESSAGE_EXTENDED_CONTENT_TYPE {
2434
+ UNSUPPORTED = -1;
2435
+ IG_STORY_PHOTO_MENTION = 4;
2436
+ IG_SINGLE_IMAGE_POST_SHARE = 9;
2437
+ IG_MULTIPOST_SHARE = 10;
2438
+ IG_SINGLE_VIDEO_POST_SHARE = 11;
2439
+ IG_STORY_PHOTO_SHARE = 12;
2440
+ IG_STORY_VIDEO_SHARE = 13;
2441
+ IG_CLIPS_SHARE = 14;
2442
+ IG_IGTV_SHARE = 15;
2443
+ IG_SHOP_SHARE = 16;
2444
+ IG_PROFILE_SHARE = 19;
2445
+ IG_STORY_PHOTO_HIGHLIGHT_SHARE = 20;
2446
+ IG_STORY_VIDEO_HIGHLIGHT_SHARE = 21;
2447
+ IG_STORY_REPLY = 22;
2448
+ IG_STORY_REACTION = 23;
2449
+ IG_STORY_VIDEO_MENTION = 24;
2450
+ IG_STORY_HIGHLIGHT_REPLY = 25;
2451
+ IG_STORY_HIGHLIGHT_REACTION = 26;
2452
+ IG_EXTERNAL_LINK = 27;
2453
+ IG_RECEIVER_FETCH = 28;
2454
+ FB_FEED_SHARE = 1000;
2455
+ FB_STORY_REPLY = 1001;
2456
+ FB_STORY_SHARE = 1002;
2457
+ FB_STORY_MENTION = 1003;
2458
+ FB_FEED_VIDEO_SHARE = 1004;
2459
+ FB_GAMING_CUSTOM_UPDATE = 1005;
2460
+ FB_PRODUCER_STORY_REPLY = 1006;
2461
+ FB_EVENT = 1007;
2462
+ FB_FEED_POST_PRIVATE_REPLY = 1008;
2463
+ FB_SHORT = 1009;
2464
+ FB_COMMENT_MENTION_SHARE = 1010;
2465
+ FB_POST_MENTION = 1011;
2466
+ FB_PROFILE_DIRECTORY_ITEM = 1013;
2467
+ FB_FEED_POST_REACTION_REPLY = 1014;
2468
+ FB_QUICKSNAP_REPLY = 1015;
2469
+ MSG_EXTERNAL_LINK_SHARE = 2000;
2470
+ MSG_P2P_PAYMENT = 2001;
2471
+ MSG_LOCATION_SHARING = 2002;
2472
+ MSG_LOCATION_SHARING_V2 = 2003;
2473
+ MSG_HIGHLIGHTS_TAB_FRIEND_UPDATES_REPLY = 2004;
2474
+ MSG_HIGHLIGHTS_TAB_LOCAL_EVENT_REPLY = 2005;
2475
+ MSG_RECEIVER_FETCH = 2006;
2476
+ MSG_IG_MEDIA_SHARE = 2007;
2477
+ MSG_GEN_AI_SEARCH_PLUGIN_RESPONSE = 2008;
2478
+ MSG_REELS_LIST = 2009;
2479
+ MSG_CONTACT = 2010;
2480
+ MSG_THREADS_POST_SHARE = 2011;
2481
+ MSG_FILE = 2012;
2482
+ MSG_AVATAR_DETAILS = 2013;
2483
+ MSG_AI_CONTACT = 2014;
2484
+ MSG_MEMORIES_SHARE = 2015;
2485
+ MSG_SHARED_ALBUM_REPLY = 2016;
2486
+ MSG_SHARED_ALBUM = 2017;
2487
+ MSG_OCCAMADILLO_XMA = 2018;
2488
+ MSG_GEN_AI_SUBSCRIPTION = 2021;
2489
+ MSG_GEN_AI_REMINDER = 2022;
2490
+ MSG_GEN_AI_MEMU_ONBOARDING_RESPONSE = 2023;
2491
+ MSG_NOTE_REPLY = 2024;
2492
+ MSG_NOTE_MENTION = 2025;
2493
+ GEN_AI_ENTITY = 2026;
2494
+ MSG_OPG_P2P_PAYMENT = 2027;
2495
+ GEN_AI_RICH_RESPONSE = 2028;
2496
+ MSG_MUSIC_STICKER = 2029;
2497
+ MSG_PHONE_NUMBER = 2030;
2498
+ AI_ACTIVITY_SHARE = 2031;
2499
+ MSG_PRIVATE_XMA = 2032;
2500
+ MSG_SOCIAL_CUE_MEMORIES = 2033;
2501
+ MSG_MANUS_GROWTH_REFERRAL = 2060;
2502
+ MSG_MOMENT_LINK = 2061;
2503
+ MSG_HORIZON_WEEL = 2062;
2504
+ MSG_MOMENT_ADDED = 2063;
2505
+ RTC_AUDIO_CALL = 3000;
2506
+ RTC_VIDEO_CALL = 3001;
2507
+ RTC_MISSED_AUDIO_CALL = 3002;
2508
+ RTC_MISSED_VIDEO_CALL = 3003;
2509
+ RTC_GROUP_AUDIO_CALL = 3004;
2510
+ RTC_GROUP_VIDEO_CALL = 3005;
2511
+ RTC_MISSED_GROUP_AUDIO_CALL = 3006;
2512
+ RTC_MISSED_GROUP_VIDEO_CALL = 3007;
2513
+ RTC_ONGOING_AUDIO_CALL = 3008;
2514
+ RTC_ONGOING_VIDEO_CALL = 3009;
2515
+ MSG_RECEIVER_FETCH_FALLBACK = 3025;
2516
+ DATACLASS_SENDER_COPY = 4000;
2517
+ }
2518
+ enum EXTENDED_CONTENT_MESSAGE_OVERLAY_ICON_GLYPH {
2519
+ INFO = 0;
2520
+ EYE_OFF = 1;
2521
+ NEWS_OFF = 2;
2522
+ WARNING = 3;
2523
+ PRIVATE = 4;
2524
+ NONE = 5;
2525
+ MEDIA_LABEL = 6;
2526
+ POST_COVER = 7;
2527
+ POST_LABEL = 8;
2528
+ WARNING_SCREENS = 9;
2529
+ }
2530
+ enum EXTENDED_CONTENT_MESSAGE_XMA_DATACLASS_TYPE {
2531
+ SENDER_COPY = 0;
2532
+ SERVER = 1;
2533
+ SIGNED_CLIENT = 2;
2534
+ }
2535
+ enum EXTENDED_CONTENT_MESSAGE_XMA_LAYOUT_TYPE {
2536
+ SINGLE = 0;
2537
+ HSCROLL = 1;
2538
+ PORTRAIT = 3;
2539
+ STANDARD_DXMA = 12;
2540
+ LIST_DXMA = 15;
2541
+ GRID = 16;
2542
+ }
2148
2543
  message EmbeddedContent {
2149
2544
  oneof content {
2150
2545
  EmbeddedMessage embeddedMessage = 1;
@@ -2174,16 +2569,114 @@ message EmbeddedMusic {
2174
2569
  optional int64 overlapDurationInMs = 14;
2175
2570
  }
2176
2571
 
2572
+ message EncryptMekForDistributionInput {
2573
+ required bytes senderEpochHead = 1;
2574
+ required bytes toMailboxPk = 2;
2575
+ required MailboxAuthKP fromKeypair = 3;
2576
+ required MekBundle mek = 4;
2577
+ optional bytes toEpochHead = 5;
2578
+ optional MinosClientConfig conf = 6;
2579
+ message MailboxAuthKP {
2580
+ required bytes sk = 1;
2581
+ required bytes pk = 2;
2582
+ }
2583
+
2584
+ }
2585
+
2586
+ message EncryptMekForDistributionResult {
2587
+ required bytes ciphertext = 1;
2588
+ required uint64 version = 2;
2589
+ }
2590
+
2591
+ message EncryptMeksForDistributionFromTransportSenderInput {
2592
+ required MekBundle mek = 1;
2593
+ required TransportSigningKP transportSigningKp = 2;
2594
+ repeated bytes recipientMailboxEncryptionPks = 3;
2595
+ repeated bytes recipientEpochHeads = 4;
2596
+ optional MinosClientConfig conf = 5;
2597
+ message TransportSigningKP {
2598
+ required bytes sk = 1;
2599
+ required bytes pk = 2;
2600
+ }
2601
+
2602
+ }
2603
+
2604
+ message EncryptMeksForDistributionFromTransportSenderResult {
2605
+ repeated bytes encryptedMeks = 1;
2606
+ required bytes ephemeralEncryptionPk = 2;
2607
+ required bytes signingPk = 3;
2608
+ required bytes signature = 4;
2609
+ required uint64 version = 5;
2610
+ }
2611
+
2612
+ message EncryptMessageInput {
2613
+ required bytes epochRootKey = 1;
2614
+ required bytes mailboxRootKey = 2;
2615
+ required bytes orfClientState = 3;
2616
+ required bytes epochAnonId = 4;
2617
+ required uint64 epochId = 5;
2618
+ required string threadId = 6;
2619
+ required uint64 waCanonicalUserFbid = 7;
2620
+ required uint64 timestampMs = 8;
2621
+ required uint64 backupId = 9;
2622
+ required bytes plaintextPayload = 10;
2623
+ required string stanzaId = 11;
2624
+ }
2625
+
2626
+ message EncryptMessageOutput {
2627
+ optional bytes encryptedProtobuf = 1;
2628
+ optional bytes orfThreadId = 2;
2629
+ optional string valueSecretRef = 3;
2630
+ optional uint64 offlineThreadingId = 4;
2631
+ optional uint64 timestampMs = 5;
2632
+ optional string error = 7;
2633
+ }
2634
+
2177
2635
  message EncryptedPairingRequest {
2178
2636
  optional bytes encryptedPayload = 1;
2179
2637
  optional bytes iv = 2;
2180
2638
  }
2181
2639
 
2640
+ message EncryptedSecretValuesOutput {
2641
+ required bytes encryptedDevicePrivateKey = 1;
2642
+ required bytes encryptedObliviousValidationTokenBlob = 2;
2643
+ required bytes encryptedEpochStoragePrivateKey = 3;
2644
+ required bytes encryptedOcmfClientState = 4;
2645
+ optional bytes encryptedOrfClientStateV2 = 5;
2646
+ required bytes encryptedMailboxRootKeyBlob = 6;
2647
+ required bytes encryptedEpochAnonId = 7;
2648
+ required bytes encryptedEpochRootKey = 8;
2649
+ }
2650
+
2182
2651
  message EphemeralSetting {
2183
2652
  optional sfixed32 duration = 1;
2184
2653
  optional sfixed64 timestamp = 2;
2185
2654
  }
2186
2655
 
2656
+ message Epoch0Output {
2657
+ required uint64 epochFbid = 1;
2658
+ required bytes epochAnonId = 2;
2659
+ required bytes epochData = 3;
2660
+ required bytes wrappedRootKeyForSelf = 4;
2661
+ required bytes epochSignature = 5;
2662
+ required bytes epochRootKeyFingerprint = 6;
2663
+ optional bytes epochRootKey = 7;
2664
+ }
2665
+
2666
+ message EpochPublicData {
2667
+ required uint64 epochNumber = 1;
2668
+ required string userFbid = 2;
2669
+ required bytes mailboxSigningPk = 3;
2670
+ required bytes mailboxEncryptionPk = 4;
2671
+ required bytes mailboxAuthPk = 5;
2672
+ optional bytes previousEpochHead = 6;
2673
+ }
2674
+
2675
+ message EpochSignatures {
2676
+ required bytes selfSignature = 1;
2677
+ optional bytes prevSignature = 2;
2678
+ }
2679
+
2187
2680
  message EventAdditionalMetadata {
2188
2681
  optional bool isStale = 1;
2189
2682
  }
@@ -2200,6 +2693,47 @@ message ExitCode {
2200
2693
  optional string text = 2;
2201
2694
  }
2202
2695
 
2696
+ message ExtendedContentMessage {
2697
+ optional SubProtocol associatedMessage = 1;
2698
+ optional EXTENDED_CONTENT_MESSAGE_EXTENDED_CONTENT_TYPE targetType = 2;
2699
+ optional string targetUsername = 3;
2700
+ optional string targetId = 4;
2701
+ optional int64 targetExpiringAtSec = 5;
2702
+ optional EXTENDED_CONTENT_MESSAGE_XMA_LAYOUT_TYPE xmaLayoutType = 6;
2703
+ repeated CTA ctas = 7;
2704
+ repeated SubProtocol previews = 8;
2705
+ optional string titleText = 9;
2706
+ optional string subtitleText = 10;
2707
+ optional uint32 maxTitleNumOfLines = 11;
2708
+ optional uint32 maxSubtitleNumOfLines = 12;
2709
+ optional SubProtocol favicon = 13;
2710
+ optional SubProtocol headerImage = 14;
2711
+ optional string headerTitle = 15;
2712
+ optional EXTENDED_CONTENT_MESSAGE_OVERLAY_ICON_GLYPH overlayIconGlyph = 16;
2713
+ optional string overlayTitle = 17;
2714
+ optional string overlayDescription = 18;
2715
+ optional string sentWithMessageId = 19;
2716
+ optional string messageText = 20;
2717
+ optional string headerSubtitle = 21;
2718
+ optional string xmaDataclass = 22;
2719
+ optional string contentRef = 23;
2720
+ repeated string mentionedJid = 24;
2721
+ repeated Command commands = 25;
2722
+ repeated Mention mentions = 26;
2723
+ optional EXTENDED_CONTENT_MESSAGE_XMA_DATACLASS_TYPE xmaDataclassType = 27;
2724
+ optional string signedXmaDataclassValidation = 28;
2725
+ optional string featureSharedSessionId = 29;
2726
+ message CTA {
2727
+ optional EXTENDED_CONTENT_MESSAGE_CTA_BUTTON_TYPE buttonType = 1;
2728
+ optional string title = 2;
2729
+ optional string actionUrl = 3;
2730
+ optional string nativeUrl = 4;
2731
+ optional string ctaType = 5;
2732
+ optional string actionContentBlob = 6;
2733
+ }
2734
+
2735
+ }
2736
+
2203
2737
  message ExternalBlobReference {
2204
2738
  optional bytes mediaKey = 1;
2205
2739
  optional string directPath = 2;
@@ -2237,6 +2771,22 @@ message ForwardedAIBotMessageInfo {
2237
2771
  optional string creatorName = 3;
2238
2772
  }
2239
2773
 
2774
+ message GenerateMekInput {
2775
+ repeated bytes epochHeads = 1;
2776
+ }
2777
+
2778
+ message GenerateMekResult {
2779
+ required MekBundle mek = 1;
2780
+ }
2781
+
2782
+ message GenerateMekRosterHashInput {
2783
+ repeated bytes epochHeads = 1;
2784
+ }
2785
+
2786
+ message GenerateMekRosterHashResult {
2787
+ required bytes rosterHash = 1;
2788
+ }
2789
+
2240
2790
  message GlobalSettings {
2241
2791
  optional WallpaperSettings lightThemeWallpaper = 1;
2242
2792
  optional MediaVisibility mediaVisibility = 2;
@@ -2298,7 +2848,7 @@ message GroupMention {
2298
2848
  }
2299
2849
 
2300
2850
  message GroupParticipant {
2301
- optional string userJid = 1;
2851
+ required string userJid = 1;
2302
2852
  optional Rank rank = 2;
2303
2853
  optional MemberLabel memberLabel = 3;
2304
2854
  enum Rank {
@@ -2348,6 +2898,7 @@ message HandshakeMessage {
2348
2898
  HANDSHAKE_PQ_MODE_UNKNOWN = 0;
2349
2899
  XXKEM = 1;
2350
2900
  XXKEM_FS = 2;
2901
+ XXKEM_EPH = 9;
2351
2902
  WA_CLASSICAL = 3;
2352
2903
  WA_PQ = 4;
2353
2904
  IKKEM = 5;
@@ -2373,7 +2924,7 @@ message HatchMetadataSync {
2373
2924
  }
2374
2925
 
2375
2926
  message HistorySync {
2376
- optional HistorySyncType syncType = 1;
2927
+ required HistorySyncType syncType = 1;
2377
2928
  repeated Conversation conversations = 2;
2378
2929
  repeated WebMessageInfo statusV3Messages = 3;
2379
2930
  optional uint32 chunkOrder = 5;
@@ -2453,6 +3004,11 @@ message IdentityKeyPairStructure {
2453
3004
  optional bytes privateKey = 2;
2454
3005
  }
2455
3006
 
3007
+ message IdentityVerificationState {
3008
+ optional bool verified = 1;
3009
+ optional uint64 actionSeq = 2;
3010
+ }
3011
+
2456
3012
  message InThreadSurveyMetadata {
2457
3013
  optional string tessaSessionId = 1;
2458
3014
  optional string simonSessionId = 2;
@@ -2547,19 +3103,19 @@ message KeyId {
2547
3103
  optional bytes id = 1;
2548
3104
  }
2549
3105
 
2550
- message LIDMigrationMapping {
2551
- optional uint64 pn = 1;
2552
- optional uint64 assignedLid = 2;
2553
- optional uint64 latestLid = 3;
2554
- }
2555
-
2556
3106
  message LIDMigrationMappingSyncMessage {
2557
3107
  optional bytes encodedMappingPayload = 1;
2558
3108
  }
2559
3109
 
2560
- message LIDMigrationMappingSyncPayload {
2561
- repeated LIDMigrationMapping pnToLidMappings = 1;
2562
- optional uint64 chatDbMigrationTimestamp = 2;
3110
+ message LabyrinthWaCommand {
3111
+ oneof commandInput {
3112
+ CreateBackupInput createBackupInput = 1;
3113
+ EncryptMessageInput encryptMessageInput = 2;
3114
+ DecryptMessageInput decryptMessageInput = 3;
3115
+ OrfThreadIdInput orfThreadIdInput = 4;
3116
+ DeriveMessageKeyInput deriveMessageKeyInput = 5;
3117
+ RotateEpochInput rotateEpochInput = 6;
3118
+ }
2563
3119
  }
2564
3120
 
2565
3121
  message LegacyMessage {
@@ -2595,6 +3151,157 @@ message Location {
2595
3151
  enum MENTION_MENTION_TYPE {
2596
3152
  PROFILE = 0;
2597
3153
  }
3154
+ message MandrakeDecryptMekInput {
3155
+ required bytes encryptedMek = 1;
3156
+ required bytes recipientsHash = 4;
3157
+ required bytes recipientEncSk = 5;
3158
+ optional uint64 mekEncryptionVersion = 6;
3159
+ optional MinosClientConfig conf = 7;
3160
+ required MessagingMailboxPublicData recipientMmk = 8;
3161
+ optional bytes mekId = 9;
3162
+ optional MerkleMembershipProof recipientMembershipProof = 10;
3163
+ oneof senderPublicData {
3164
+ MandrakeDecryptMekInput.MmkSenderPublicData mmkSender = 2;
3165
+ MandrakeDecryptMekInput.EpochSenderPublicData epochSender = 3;
3166
+ MandrakeDecryptMekInput.PrecomputedEpochSenderPublicData precomputedEpochSender = 11;
3167
+ }
3168
+ message EpochSenderPublicData {
3169
+ required EpochPublicData epochPublicData = 1;
3170
+ }
3171
+
3172
+ message MmkSenderPublicData {
3173
+ required MessagingMailboxPublicData mmkPublicData = 1;
3174
+ }
3175
+
3176
+ message PrecomputedEpochSenderPublicData {
3177
+ required bytes authPk = 1;
3178
+ required bytes epochHead = 2;
3179
+ }
3180
+
3181
+ }
3182
+
3183
+ message MandrakeDecryptMekResult {
3184
+ oneof result {
3185
+ MandrakeDecryptMekSuccess success = 1;
3186
+ string errorMessage = 2;
3187
+ }
3188
+ }
3189
+
3190
+ message MandrakeDecryptMekSuccess {
3191
+ required bytes mek = 1;
3192
+ }
3193
+
3194
+ message MandrakeEncryptMekInput {
3195
+ required MandrakeMekBundle mek = 1;
3196
+ repeated MessagingMailboxPublicData recipients = 2;
3197
+ optional MinosClientConfig conf = 5;
3198
+ oneof sender {
3199
+ MandrakeEncryptMekInput.MmkSender mmkSender = 3;
3200
+ MandrakeEncryptMekInput.EpochSender epochSender = 4;
3201
+ MandrakeEncryptMekInput.DetachedDeviceSender detachedDeviceSender = 6;
3202
+ }
3203
+ message DetachedDeviceSender {
3204
+ required DetachedDevicePublicData detachedDevicePublicData = 1;
3205
+ required bytes authSk = 2;
3206
+ required bytes authPk = 3;
3207
+ }
3208
+
3209
+ message EpochSender {
3210
+ required EpochPublicData epochPublicData = 1;
3211
+ required bytes authSk = 2;
3212
+ required bytes authPk = 3;
3213
+ }
3214
+
3215
+ message MmkSender {
3216
+ required MessagingMailboxPublicData mmkPublicData = 1;
3217
+ required bytes authSk = 2;
3218
+ required bytes authPk = 3;
3219
+ }
3220
+
3221
+ }
3222
+
3223
+ message MandrakeEncryptMekResult {
3224
+ oneof result {
3225
+ MandrakeEncryptMekSuccess success = 1;
3226
+ string errorMessage = 2;
3227
+ }
3228
+ }
3229
+
3230
+ message MandrakeEncryptMekSuccess {
3231
+ repeated MekDistributionSingleRecipient distributions = 1;
3232
+ required bytes recipientsHash = 2;
3233
+ required uint64 version = 3;
3234
+ message MekDistributionSingleRecipient {
3235
+ required bytes encryptedMek = 1;
3236
+ required MessagingMailboxPublicData toMmk = 2;
3237
+ optional MerkleMembershipProof recipientMembershipProof = 3;
3238
+ }
3239
+
3240
+ }
3241
+
3242
+ message MandrakeMekBundle {
3243
+ required bytes key = 1;
3244
+ required bytes mekId = 2;
3245
+ required bytes mailboxHeadHash = 3;
3246
+ }
3247
+
3248
+ message MandrakeOpenEpochInput {
3249
+ required string userFbid = 1;
3250
+ required uint64 epochNumber = 2;
3251
+ required bytes exportRootKey = 3;
3252
+ required bytes previousExportRootKey = 4;
3253
+ required uint64 previousEpochNumber = 5;
3254
+ required bytes previousEpochHead = 6;
3255
+ optional MessagingMailboxPublicData previousMmk = 7;
3256
+ repeated DetachedDevicePublicData detachedDevices = 8;
3257
+ }
3258
+
3259
+ message MandrakeOpenEpochResult {
3260
+ oneof result {
3261
+ MandrakeOpenEpochSuccess success = 1;
3262
+ string errorMessage = 2;
3263
+ }
3264
+ }
3265
+
3266
+ message MandrakeOpenEpochSuccess {
3267
+ required MinosSignedEpoch minosSignedEpoch = 1;
3268
+ required SignedMmkDistributionFromMailbox signedMmkDistribution = 2;
3269
+ }
3270
+
3271
+ message MandrakeOpenInitialEpochInput {
3272
+ required string userFbid = 1;
3273
+ required uint64 epochNumber = 2;
3274
+ required bytes exportRootKey = 3;
3275
+ repeated DetachedDevicePublicData detachedDevices = 4;
3276
+ }
3277
+
3278
+ message MandrakeOpenInitialEpochResult {
3279
+ oneof result {
3280
+ MandrakeOpenEpochSuccess success = 1;
3281
+ string errorMessage = 2;
3282
+ }
3283
+ }
3284
+
3285
+ message MandrakeValidateNewMmkFromDetachedDeviceInput {
3286
+ required MmkFromDetachedDevice mmkFromDevice = 1;
3287
+ required bytes signature = 2;
3288
+ required MessagingMailboxPublicData prevMmk = 3;
3289
+ }
3290
+
3291
+ message MandrakeValidateNewMmkFromMailboxInput {
3292
+ required MessagingMailboxPublicData newMmk = 1;
3293
+ required bytes signature = 2;
3294
+ optional MessagingMailboxPublicData prevMmk = 3;
3295
+ required EpochPublicData epochPublicData = 4;
3296
+ }
3297
+
3298
+ message MandrakeValidateNewMmkResult {
3299
+ oneof result {
3300
+ bool valid = 1;
3301
+ string errorMessage = 2;
3302
+ }
3303
+ }
3304
+
2598
3305
  message MediaData {
2599
3306
  optional string localPath = 1;
2600
3307
  }
@@ -2667,6 +3374,12 @@ enum MediaVisibility {
2667
3374
  OFF = 1;
2668
3375
  ON = 2;
2669
3376
  }
3377
+ message MekBundle {
3378
+ required bytes key = 1;
3379
+ required bytes mekId = 2;
3380
+ required bytes rosterHash = 3;
3381
+ }
3382
+
2670
3383
  message MemberLabel {
2671
3384
  optional string label = 1;
2672
3385
  optional int64 labelTimestamp = 2;
@@ -2679,6 +3392,13 @@ message Mention {
2679
3392
  optional uint32 length = 4;
2680
3393
  }
2681
3394
 
3395
+ message MerkleMembershipProof {
3396
+ required bytes proof = 1;
3397
+ required bytes root = 2;
3398
+ required uint64 leafIndex = 3;
3399
+ required uint64 totalLeaves = 4;
3400
+ }
3401
+
2682
3402
  message Message {
2683
3403
  optional string conversation = 1;
2684
3404
  optional SenderKeyDistributionMessage senderKeyDistributionMessage = 2;
@@ -2787,6 +3507,10 @@ message Message {
2787
3507
  optional SplitPaymentMessage splitPaymentMessage = 125;
2788
3508
  optional FutureProofMessage newsletterAdminProfileStatusMessage = 126;
2789
3509
  optional RootSecretDistributeMessage rootSecretDistributeMessage = 127;
3510
+ optional SplitPaymentUpdateMessage splitPaymentUpdateMessage = 128;
3511
+ optional MusicMessage musicMessage = 129;
3512
+ optional StatusLinkPreviewMetadata statusLinkPreviewMetadata = 130;
3513
+ optional FutureProofMessage botPlatformRegistrationSuccessMessage = 131;
2790
3514
  message AlbumMessage {
2791
3515
  optional uint32 expectedImageCount = 2;
2792
3516
  optional uint32 expectedVideoCount = 3;
@@ -2858,6 +3582,12 @@ message Message {
2858
3582
  }
2859
3583
  }
2860
3584
 
3585
+ message BotHistoryShareSyncMetadata {
3586
+ optional string botJid = 1;
3587
+ optional int64 historyShareCutoffTimestamp = 2;
3588
+ repeated Message.HistoryShareMessageEntry historyShareMessages = 3;
3589
+ }
3590
+
2861
3591
  message ButtonsMessage {
2862
3592
  optional string contentText = 6;
2863
3593
  optional string footerText = 7;
@@ -2928,6 +3658,7 @@ message Message {
2928
3658
  optional string deeplinkPayload = 9;
2929
3659
  optional MessageContextInfo messageContextInfo = 10;
2930
3660
  optional uint32 callEntryPoint = 11;
3661
+ optional string callReason = 12;
2931
3662
  }
2932
3663
 
2933
3664
  message CallLogMessage {
@@ -3168,7 +3899,7 @@ message Message {
3168
3899
  optional bool viewOnce = 30;
3169
3900
  optional uint32 videoHeight = 31;
3170
3901
  optional uint32 videoWidth = 32;
3171
- optional Message.MMSThumbnailMetadata faviconMMSMetadata = 33;
3902
+ optional Message.MMSThumbnailMetadata faviconMmsMetadata = 33;
3172
3903
  optional Message.LinkPreviewMetadata linkPreviewMetadata = 34;
3173
3904
  optional Message.PaymentLinkMetadata paymentLinkMetadata = 35;
3174
3905
  repeated Message.VideoEndCard endCardTiles = 36;
@@ -3290,6 +4021,11 @@ message Message {
3290
4021
 
3291
4022
  }
3292
4023
 
4024
+ message HistoryShareMessageEntry {
4025
+ optional string stanzaId = 1;
4026
+ optional bytes messageSecretProof = 2;
4027
+ }
4028
+
3293
4029
  message HistorySyncMessageAccessStatus {
3294
4030
  optional bool completeAccessGranted = 1;
3295
4031
  }
@@ -3629,6 +4365,13 @@ message Message {
3629
4365
  optional uint32 thumbnailWidth = 7;
3630
4366
  }
3631
4367
 
4368
+ message MarkAsVerifiedAction {
4369
+ optional string userJidString = 1;
4370
+ optional bool verified = 2;
4371
+ optional bytes verifiedIdentityKey = 3;
4372
+ optional uint64 actionSeq = 4;
4373
+ }
4374
+
3632
4375
  message MessageHistoryBundle {
3633
4376
  optional string mimetype = 1;
3634
4377
  optional bytes fileSha256 = 2;
@@ -3651,6 +4394,19 @@ message Message {
3651
4394
  message MessageHistoryNotice {
3652
4395
  optional ContextInfo contextInfo = 1;
3653
4396
  optional Message.MessageHistoryMetadata messageHistoryMetadata = 2;
4397
+ optional Message.BotHistoryShareSyncMetadata botHistoryShareSyncMetadata = 3;
4398
+ }
4399
+
4400
+ message MusicMessage {
4401
+ optional EmbeddedMusic embeddedMusic = 1;
4402
+ optional string songUri = 2;
4403
+ optional string artworkUri = 3;
4404
+ optional int32 style = 4;
4405
+ optional ContextInfo contextInfo = 5;
4406
+ enum MusicMessageStyle {
4407
+ UNKNOWN = 0;
4408
+ VINYL = 1;
4409
+ }
3654
4410
  }
3655
4411
 
3656
4412
  message NewsletterAdminInviteMessage {
@@ -3699,6 +4455,7 @@ message Message {
3699
4455
  message PaymentExtendedMetadata {
3700
4456
  optional uint32 type = 1;
3701
4457
  optional string platform = 2;
4458
+ optional string messageParamsJson = 3;
3702
4459
  }
3703
4460
 
3704
4461
  message PaymentInviteMessage {
@@ -3716,6 +4473,7 @@ message Message {
3716
4473
  FBPAY = 1;
3717
4474
  NOVI = 2;
3718
4475
  UPI = 3;
4476
+ PIX = 4;
3719
4477
  }
3720
4478
  }
3721
4479
 
@@ -3865,6 +4623,7 @@ message Message {
3865
4623
  optional HistorySyncChunkRetryResponse historySyncChunkRetryResponse = 10;
3866
4624
  optional FlowResponsesCsvBundle flowResponsesCsvBundle = 11;
3867
4625
  optional BizBroadcastInsightsContactListResponse bizBroadcastInsightsContactListResponse = 12;
4626
+ optional ContactRefreshResponse contactRefreshResponse = 13;
3868
4627
  message BizBroadcastInsightsContactListResponse {
3869
4628
  optional string campaignId = 1;
3870
4629
  optional int64 timestampMs = 2;
@@ -3886,6 +4645,13 @@ message Message {
3886
4645
  optional string nonce = 1;
3887
4646
  }
3888
4647
 
4648
+ message ContactRefreshResponse {
4649
+ repeated string coveredRequestIds = 1;
4650
+ optional uint64 collectionVersion = 2;
4651
+ optional int64 primaryDurationMs = 3;
4652
+ optional uint32 uniqueContactCount = 4;
4653
+ }
4654
+
3889
4655
  message FlowResponsesCsvBundle {
3890
4656
  optional string flowId = 1;
3891
4657
  optional string galaxyFlowDownloadRequestId = 2;
@@ -3992,6 +4758,7 @@ message Message {
3992
4758
  GALAXY_FLOW_ACTION = 11;
3993
4759
  BUSINESS_BROADCAST_INSIGHTS_DELIVERED_TO = 12;
3994
4760
  BUSINESS_BROADCAST_INSIGHTS_REFRESH = 13;
4761
+ CONTACT_REFRESH_REQUEST = 14;
3995
4762
  }
3996
4763
  message PinInChatMessage {
3997
4764
  optional MessageKey key = 1;
@@ -4137,6 +4904,8 @@ message Message {
4137
4904
  optional uint32 afterReadDuration = 29;
4138
4905
  optional Message.ChatThemeSetting chatThemeSetting = 30;
4139
4906
  optional AIMetadataOperation aiMetadataOperation = 31;
4907
+ optional Message.MarkAsVerifiedAction markAsVerifiedAction = 32;
4908
+ optional CoexStateSync coexStateSync = 33;
4140
4909
  enum Type {
4141
4910
  REVOKE = 0;
4142
4911
  EPHEMERAL_SETTING = 3;
@@ -4168,6 +4937,8 @@ message Message {
4168
4937
  MESSAGE_UNSCHEDULE = 32;
4169
4938
  CHAT_THEME_SETTING = 34;
4170
4939
  AI_METADATA_OPERATION = 35;
4940
+ MARK_AS_VERIFIED_ACTION = 36;
4941
+ COEX_STATE_SYNC = 37;
4171
4942
  }
4172
4943
  }
4173
4944
 
@@ -4283,6 +5054,21 @@ message Message {
4283
5054
  }
4284
5055
  }
4285
5056
 
5057
+ message SplitPaymentUpdateMessage {
5058
+ optional string splitId = 1;
5059
+ optional string participantJid = 2;
5060
+ }
5061
+
5062
+ message StatusLinkPreviewMetadata {
5063
+ optional Style style = 1;
5064
+ enum Style {
5065
+ AUTO = 0;
5066
+ COMPACT = 1;
5067
+ FULL = 2;
5068
+ IMMERSIVE = 3;
5069
+ }
5070
+ }
5071
+
4286
5072
  message StatusNotificationMessage {
4287
5073
  optional MessageKey responseMessageKey = 1;
4288
5074
  optional MessageKey originalMessageKey = 2;
@@ -4292,6 +5078,7 @@ message Message {
4292
5078
  STATUS_ADD_YOURS = 1;
4293
5079
  STATUS_RESHARE = 2;
4294
5080
  STATUS_QUESTION_ANSWER_RESHARE = 3;
5081
+ STATUS_GROUP_STATUS_REPLY = 4;
4295
5082
  }
4296
5083
  }
4297
5084
 
@@ -4443,10 +5230,10 @@ message Message {
4443
5230
  }
4444
5231
 
4445
5232
  message VideoEndCard {
4446
- optional string username = 1;
4447
- optional string caption = 2;
4448
- optional string thumbnailImageUrl = 3;
4449
- optional string profilePictureUrl = 4;
5233
+ required string username = 1;
5234
+ required string caption = 2;
5235
+ required string thumbnailImageUrl = 3;
5236
+ required string profilePictureUrl = 4;
4450
5237
  }
4451
5238
 
4452
5239
  message VideoMessage {
@@ -4564,6 +5351,8 @@ message MessageContextInfo {
4564
5351
  repeated ThreadID threadId = 15;
4565
5352
  optional WebLinkRenderConfig weblinkRenderConfig = 16;
4566
5353
  optional bytes teeBotMetadata = 17;
5354
+ optional NonE2EEAttestation accountEncryptionAttestation = 18;
5355
+ optional bytes associatedPrimaryIdentityKey = 19;
4567
5356
  enum MessageAddonExpiryType {
4568
5357
  STATIC = 1;
4569
5358
  DEPENDENT_ON_PARENT = 2;
@@ -4590,6 +5379,187 @@ message MessageText {
4590
5379
  repeated Mention mentions = 4;
4591
5380
  }
4592
5381
 
5382
+ message MessagingMailboxPublicData {
5383
+ required bytes epochHead = 1;
5384
+ required bytes deviceRosterHash = 2;
5385
+ required uint64 sequenceNumber = 3;
5386
+ required bytes sigPk = 4;
5387
+ required bytes encPk = 5;
5388
+ required bytes authPk = 6;
5389
+ }
5390
+
5391
+ message MinosClientConfig {
5392
+ required int32 preferredMessageEncryptionVersion = 1;
5393
+ required int32 preferredMekEncryptionVersion = 2;
5394
+ }
5395
+
5396
+ message MinosCommand {
5397
+ oneof commandInput {
5398
+ MinosEncryptAndSignMessageInput encryptAndSignMessage = 1;
5399
+ MinosDecryptAndVerifyMessageInput decryptAndVerifyMessage = 2;
5400
+ GenerateMekInput generateMek = 3;
5401
+ GenerateMekRosterHashInput generateMekRosterHash = 4;
5402
+ EncryptMekForDistributionInput encryptMekForDistribution = 5;
5403
+ DecryptMekForDistributionInput decryptMekForDistribution = 6;
5404
+ EncryptMeksForDistributionFromTransportSenderInput encryptMeksForDistributionFromTransportSender = 7;
5405
+ DecryptMekForDistributionFromTransportSenderInput decryptMekForDistributionFromTransportSender = 8;
5406
+ WrapTransportSigningPublicKeyInput wrapTransportSigningPublicKey = 9;
5407
+ WrapTransportSigningSecretKeyInput wrapTransportSigningSecretKey = 10;
5408
+ DeriveMailboxSigningKeypairInput deriveMailboxSigningKeypair = 11;
5409
+ DeriveMailboxEncryptionKeypairInput deriveMailboxEncryptionKeypair = 12;
5410
+ DeriveMailboxAuthKeypairInput deriveMailboxAuthKeypair = 13;
5411
+ DeriveAttachmentAccessTokenSecretInput deriveAttachmentAccessTokenSecret = 14;
5412
+ DeriveAttachmentPrimaryKeySecretInput deriveAttachmentPrimaryKeySecret = 15;
5413
+ MinosOpenInitialEpochInput minosOpenInitialEpoch = 16;
5414
+ MinosOpenEpochInput minosOpenEpoch = 17;
5415
+ MinosValidateEpochInput minosValidateEpoch = 18;
5416
+ MinosVerifySingleEpochInput minosVerifySingleEpoch = 19;
5417
+ MinosThreadIdFromOneToOneThreadInput minosThreadIdFromOneToOneThread = 20;
5418
+ MinosThreadIdFromActThreadIdInput minosThreadIdFromActThreadId = 21;
5419
+ MandrakeOpenEpochInput mandrakeOpenEpoch = 22;
5420
+ MandrakeEncryptMekInput mandrakeEncryptMek = 23;
5421
+ MandrakeDecryptMekInput mandrakeDecryptMek = 24;
5422
+ MandrakeOpenInitialEpochInput mandrakeOpenInitialEpoch = 25;
5423
+ MandrakeValidateNewMmkFromMailboxInput mandrakeValidateNewMmkFromMailbox = 27;
5424
+ MandrakeValidateNewMmkFromDetachedDeviceInput mandrakeValidateNewMmkFromDetachedDevice = 28;
5425
+ DeriveMessagingMailboxKeypairsInput deriveMessagingMailboxKeypairs = 29;
5426
+ DecryptSelfMmkDistributionInput decryptSelfMmkDistribution = 30;
5427
+ }
5428
+ }
5429
+
5430
+ message MinosDecryptAndVerifyMessageInput {
5431
+ required bytes transportSigningPk = 1;
5432
+ required bytes mek = 2;
5433
+ required bytes encryptedMessageCiphertext = 3;
5434
+ required bytes encryptedMessageSignature = 4;
5435
+ required MinosMessageMetadata metadata = 5;
5436
+ optional int32 messageEncryptionVersion = 6;
5437
+ optional MinosClientConfig conf = 7;
5438
+ }
5439
+
5440
+ message MinosDecryptAndVerifyMessageResult {
5441
+ oneof result {
5442
+ MinosDecryptAndVerifyMessageSuccess success = 1;
5443
+ string errorMessage = 2;
5444
+ }
5445
+ }
5446
+
5447
+ message MinosDecryptAndVerifyMessageSuccess {
5448
+ required bytes plaintext = 1;
5449
+ }
5450
+
5451
+ message MinosEncryptAndSignMessageInput {
5452
+ required bytes transportSigningSk = 1;
5453
+ required bytes mek = 2;
5454
+ required bytes plaintext = 3;
5455
+ required MinosMessageMetadata metadata = 4;
5456
+ optional bytes transportSigningPk = 5;
5457
+ optional MinosClientConfig conf = 6;
5458
+ }
5459
+
5460
+ message MinosEncryptAndSignMessageResult {
5461
+ required bytes ciphertext = 1;
5462
+ required bytes signature = 2;
5463
+ required int32 version = 3;
5464
+ }
5465
+
5466
+ message MinosMessageMetadata {
5467
+ required bytes mekId = 1;
5468
+ required uint64 timestamp = 2;
5469
+ required string messageId = 3;
5470
+ required bytes threadId = 4;
5471
+ }
5472
+
5473
+ message MinosOpenEpochInput {
5474
+ required string userFbid = 1;
5475
+ required uint64 epochNumber = 2;
5476
+ required bytes exportRootKey = 3;
5477
+ required bytes previousExportRootKey = 4;
5478
+ required uint64 previousEpochNumber = 5;
5479
+ required bytes previousEpochHead = 6;
5480
+ }
5481
+
5482
+ message MinosOpenEpochResult {
5483
+ required MinosSignedEpoch minosSignedEpoch = 1;
5484
+ }
5485
+
5486
+ message MinosOpenInitialEpochInput {
5487
+ required string userFbid = 1;
5488
+ required uint64 epochNumber = 2;
5489
+ required bytes exportRootKey = 3;
5490
+ }
5491
+
5492
+ message MinosOpenInitialEpochResult {
5493
+ required MinosSignedEpoch minosSignedEpoch = 1;
5494
+ }
5495
+
5496
+ message MinosSignedEpoch {
5497
+ required EpochPublicData epochPublicData = 1;
5498
+ required EpochSignatures signatures = 2;
5499
+ required bytes epochHead = 3;
5500
+ }
5501
+
5502
+ message MinosThreadIdFromActThreadIdInput {
5503
+ required string actThreadId = 1;
5504
+ }
5505
+
5506
+ message MinosThreadIdFromActThreadIdResult {
5507
+ required bytes threadId = 1;
5508
+ }
5509
+
5510
+ message MinosThreadIdFromOneToOneThreadInput {
5511
+ required string actThreadId = 1;
5512
+ required string selfFbid = 2;
5513
+ }
5514
+
5515
+ message MinosThreadIdFromOneToOneThreadResult {
5516
+ required bytes threadId = 1;
5517
+ }
5518
+
5519
+ message MinosValidateEpochInput {
5520
+ required EpochPublicData epochPublicData = 1;
5521
+ required EpochPublicData previousEpochPublicData = 2;
5522
+ required EpochSignatures signatures = 3;
5523
+ }
5524
+
5525
+ message MinosValidateEpochResult {
5526
+ oneof result {
5527
+ bool valid = 1;
5528
+ string errorMessage = 2;
5529
+ }
5530
+ }
5531
+
5532
+ message MinosVerifySingleEpochInput {
5533
+ required EpochPublicData epochPublicData = 1;
5534
+ required bytes signature = 2;
5535
+ }
5536
+
5537
+ message MinosVerifySingleEpochResult {
5538
+ required bool valid = 1;
5539
+ }
5540
+
5541
+ message MmkDistribution {
5542
+ repeated MmkDistributionToDetachedDevice toDetachedDevices = 1;
5543
+ required MmkDistributionToMailbox toMailbox = 2;
5544
+ required uint64 version = 3;
5545
+ }
5546
+
5547
+ message MmkDistributionToDetachedDevice {
5548
+ required bytes encryptedMmk = 1;
5549
+ required bytes recipDeviceHash = 2;
5550
+ }
5551
+
5552
+ message MmkDistributionToMailbox {
5553
+ required bytes encryptedMmk = 1;
5554
+ required bytes recipMailboxHeadHash = 2;
5555
+ }
5556
+
5557
+ message MmkFromDetachedDevice {
5558
+ required MessagingMailboxPublicData mmk = 1;
5559
+ required DetachedDevicePublicData fromDetachedDevice = 2;
5560
+ required MerkleMembershipProof membershipProof = 3;
5561
+ }
5562
+
4593
5563
  message Money {
4594
5564
  optional int64 value = 1;
4595
5565
  optional uint32 offset = 2;
@@ -4773,6 +5743,12 @@ enum MutationProps {
4773
5743
  THREAD_PIN_ACTION = 85;
4774
5744
  AUTO_ORGANIZE_BUSINESS_CHAT_SETTING = 86;
4775
5745
  BIZ_AI_SETTINGS_NUDGE_ACTION = 87;
5746
+ COEX_V2_VERSION_ACTION = 88;
5747
+ WASA_ROOT_SECRET_ACTION = 89;
5748
+ BUBBLE_LOCK_MESSAGE_ACTION = 90;
5749
+ LABEL_SUBLIST_ACTION = 91;
5750
+ DEVICE_CAPABILITIES_V2 = 92;
5751
+ CTWA_MESSAGE_RECEIVED_ACTION = 93;
4776
5752
  SHARE_OWN_PN = 10001;
4777
5753
  BUSINESS_BROADCAST_ACTION = 10002;
4778
5754
  AI_THREAD_DELETE_ACTION = 10003;
@@ -4790,6 +5766,15 @@ message NoiseCertificate {
4790
5766
 
4791
5767
  }
4792
5768
 
5769
+ message NonE2EEAttestation {
5770
+ optional AccountType accountType = 1;
5771
+ enum AccountType {
5772
+ E2EE = 0;
5773
+ HYBRID_E2EE = 1;
5774
+ NON_E2EE = 2;
5775
+ }
5776
+ }
5777
+
4793
5778
  message NotificationMessageInfo {
4794
5779
  optional MessageKey key = 1;
4795
5780
  optional Message message = 2;
@@ -4806,6 +5791,16 @@ message NotificationSettings {
4806
5791
  optional string callVibrate = 6;
4807
5792
  }
4808
5793
 
5794
+ message OrfThreadIdInput {
5795
+ required bytes orfClientState = 1;
5796
+ required string threadId = 2;
5797
+ }
5798
+
5799
+ message OrfThreadIdOutput {
5800
+ optional bytes orfThreadId = 1;
5801
+ optional string error = 2;
5802
+ }
5803
+
4809
5804
  message PairingRequest {
4810
5805
  optional bytes companionPublicKey = 1;
4811
5806
  optional bytes companionIdentityKey = 2;
@@ -5016,6 +6011,8 @@ message PreKeySignalMessage {
5016
6011
  optional bytes baseKey = 2;
5017
6012
  optional bytes identityKey = 3;
5018
6013
  optional bytes message = 4;
6014
+ optional uint32 kyberPreKeyId = 7;
6015
+ optional bytes kyberCiphertext = 8;
5019
6016
  }
5020
6017
 
5021
6018
  message PremiumMessageInfo {
@@ -5066,14 +6063,14 @@ message QP {
5066
6063
  NOR = 3;
5067
6064
  }
5068
6065
  message Filter {
5069
- optional string filterName = 1;
6066
+ required string filterName = 1;
5070
6067
  repeated QP.FilterParameters parameters = 2;
5071
6068
  optional QP.FilterResult filterResult = 3;
5072
- optional QP.FilterClientNotSupportedConfig clientNotSupportedConfig = 4;
6069
+ required QP.FilterClientNotSupportedConfig clientNotSupportedConfig = 4;
5073
6070
  }
5074
6071
 
5075
6072
  message FilterClause {
5076
- optional QP.ClauseType clauseType = 1;
6073
+ required QP.ClauseType clauseType = 1;
5077
6074
  repeated QP.FilterClause clauses = 2;
5078
6075
  repeated QP.Filter filters = 3;
5079
6076
  }
@@ -5126,6 +6123,38 @@ message Reportable {
5126
6123
 
5127
6124
  message ReportingTokenInfo {
5128
6125
  optional bytes reportingTag = 1;
6126
+ optional uint64 reportingTagTimestamp = 2;
6127
+ }
6128
+
6129
+ message RotateEpochInput {
6130
+ required bytes currentEpochRootKey = 1;
6131
+ required bytes currentEpochAnonId = 2;
6132
+ required uint64 currentEpochFbid = 3;
6133
+ required bytes epochStoragePrivateKey = 4;
6134
+ repeated RotateEpochMemberInput members = 5;
6135
+ }
6136
+
6137
+ message RotateEpochMemberEdge {
6138
+ optional uint64 deviceId = 1;
6139
+ optional bytes encryptedEpochKey = 2;
6140
+ optional bytes deviceEpochHmac = 3;
6141
+ }
6142
+
6143
+ message RotateEpochMemberInput {
6144
+ required uint64 deviceId = 1;
6145
+ required bytes epochStoragePublicKey = 2;
6146
+ required bytes devicePublicKey = 3;
6147
+ }
6148
+
6149
+ message RotateEpochOutput {
6150
+ optional bytes newEpochRootKey = 1;
6151
+ optional uint64 newEpochAnonId = 2;
6152
+ optional uint64 newEpochFbid = 8;
6153
+ optional bytes epochAnonId = 3;
6154
+ optional BackwardEdge backwardEdge = 4;
6155
+ repeated RotateEpochMemberEdge memberEdges = 5;
6156
+ optional bytes epochRootKeyFingerprint = 6;
6157
+ optional string error = 7;
5129
6158
  }
5130
6159
 
5131
6160
  message RoutingInfo {
@@ -5233,6 +6262,8 @@ message SessionStructure {
5233
6262
  optional uint32 preKeyId = 1;
5234
6263
  optional int32 signedPreKeyId = 3;
5235
6264
  optional bytes baseKey = 2;
6265
+ optional uint32 kyberPreKeyId = 4;
6266
+ optional bytes kyberCiphertext = 5;
5236
6267
  }
5237
6268
 
5238
6269
  }
@@ -5254,6 +6285,12 @@ message SignalMessage {
5254
6285
  optional bytes ciphertext = 4;
5255
6286
  }
5256
6287
 
6288
+ message SignedMmkDistributionFromMailbox {
6289
+ required MmkDistribution mmkDistribution = 1;
6290
+ required bytes signature = 2;
6291
+ required MessagingMailboxPublicData fromMailbox = 3;
6292
+ }
6293
+
5257
6294
  message SignedPreKeyRecordStructure {
5258
6295
  optional uint32 id = 1;
5259
6296
  optional bytes publicKey = 2;
@@ -5300,6 +6337,7 @@ message StatusAttribution {
5300
6337
  GOOGLE_PHOTOS = 10;
5301
6338
  SOUNDCLOUD = 11;
5302
6339
  SHAZAM = 12;
6340
+ PICSART = 13;
5303
6341
  }
5304
6342
  }
5305
6343
 
@@ -5358,6 +6396,7 @@ message StatusAttribution {
5358
6396
  NEWSLETTER_STATUS = 9;
5359
6397
  STATUS_CLOSE_SHARING = 10;
5360
6398
  PAID_PARTNERSHIP = 11;
6399
+ USERNAME_STATUS = 12;
5361
6400
  }
5362
6401
  }
5363
6402
 
@@ -5366,7 +6405,7 @@ message StatusMentionMessage {
5366
6405
  }
5367
6406
 
5368
6407
  message StatusPSA {
5369
- optional uint64 campaignId = 44;
6408
+ required uint64 campaignId = 44;
5370
6409
  optional uint64 campaignExpirationTimestamp = 45;
5371
6410
  }
5372
6411
 
@@ -5478,9 +6517,15 @@ message SyncActionValue {
5478
6517
  optional ThreadPinAction threadPinAction = 85;
5479
6518
  optional AutoOrganizeBusinessChatSetting autoOrganizeBusinessChatSetting = 86;
5480
6519
  optional BizAISettingsNudgeAction bizAiSettingsNudgeAction = 87;
6520
+ optional CoexV2VersionAction coexV2VersionAction = 88;
6521
+ optional WASARootSecretAction wasaRootSecretAction = 89;
6522
+ optional BubbleLockMessageAction bubbleLockMessageAction = 90;
6523
+ optional LabelSublistAction labelSublistAction = 91;
6524
+ optional DeviceCapabilities deviceCapabilitiesV2 = 92;
6525
+ optional CtwaMessageReceivedAction ctwaMessageReceivedAction = 93;
5481
6526
  message AgentAction {
5482
6527
  optional string name = 1;
5483
- optional int32 deviceID = 2;
6528
+ optional int32 deviceId = 2;
5484
6529
  optional bool isDeleted = 3;
5485
6530
  }
5486
6531
 
@@ -5522,6 +6567,7 @@ message SyncActionValue {
5522
6567
  EXAMPLE_RESPONSES = 3;
5523
6568
  KNOWLEDGE = 4;
5524
6569
  LEAD_GEN = 5;
6570
+ HANDOFF_REMOVAL_TIMING = 6;
5525
6571
  }
5526
6572
  }
5527
6573
 
@@ -5530,10 +6576,14 @@ message SyncActionValue {
5530
6576
  }
5531
6577
 
5532
6578
  message BroadcastListParticipant {
5533
- optional string lidJid = 1;
6579
+ required string lidJid = 1;
5534
6580
  optional string pnJid = 2;
5535
6581
  }
5536
6582
 
6583
+ message BubbleLockMessageAction {
6584
+ optional bool locked = 1;
6585
+ }
6586
+
5537
6587
  message BusinessBroadcastAssociationAction {
5538
6588
  optional bool deleted = 1;
5539
6589
  }
@@ -5571,6 +6621,7 @@ message SyncActionValue {
5571
6621
  optional string listName = 3;
5572
6622
  repeated string labelIds = 4;
5573
6623
  optional string audienceExpression = 5;
6624
+ optional string customAudienceFbid = 6;
5574
6625
  }
5575
6626
 
5576
6627
  message CallLogAction {
@@ -5578,7 +6629,7 @@ message SyncActionValue {
5578
6629
  }
5579
6630
 
5580
6631
  message ChatAssignmentAction {
5581
- optional string deviceAgentID = 1;
6632
+ optional string deviceAgentId = 1;
5582
6633
  }
5583
6634
 
5584
6635
  message ChatAssignmentOpenedStatusAction {
@@ -5589,6 +6640,10 @@ message SyncActionValue {
5589
6640
  optional SyncActionValue.SyncActionMessageRange messageRange = 1;
5590
6641
  }
5591
6642
 
6643
+ message CoexV2VersionAction {
6644
+ optional uint64 version = 1;
6645
+ }
6646
+
5592
6647
  message ContactAction {
5593
6648
  optional string fullName = 1;
5594
6649
  optional string firstName = 2;
@@ -5598,20 +6653,24 @@ message SyncActionValue {
5598
6653
  optional string username = 6;
5599
6654
  }
5600
6655
 
6656
+ message CtwaMessageReceivedAction {
6657
+ optional bool isCtwaMessageReceived = 1;
6658
+ }
6659
+
5601
6660
  message CtwaPerCustomerDataSharingAction {
5602
6661
  optional bool isCtwaPerCustomerDataSharingEnabled = 1;
5603
6662
  }
5604
6663
 
5605
6664
  message CustomPaymentMethod {
5606
- optional string credentialId = 1;
5607
- optional string country = 2;
5608
- optional string type = 3;
6665
+ required string credentialId = 1;
6666
+ required string country = 2;
6667
+ required string type = 3;
5609
6668
  repeated SyncActionValue.CustomPaymentMethodMetadata metadata = 4;
5610
6669
  }
5611
6670
 
5612
6671
  message CustomPaymentMethodMetadata {
5613
- optional string key = 1;
5614
- optional string value = 2;
6672
+ required string key = 1;
6673
+ required string value = 2;
5615
6674
  }
5616
6675
 
5617
6676
  message CustomPaymentMethodsAction {
@@ -5663,7 +6722,7 @@ message SyncActionValue {
5663
6722
  }
5664
6723
 
5665
6724
  message InteractiveMessageAction {
5666
- optional InteractiveMessageActionMode type = 1;
6725
+ required InteractiveMessageActionMode type = 1;
5667
6726
  optional string agmId = 2;
5668
6727
  enum InteractiveMessageActionMode {
5669
6728
  DISABLE_CTA = 1;
@@ -5706,6 +6765,8 @@ message SyncActionValue {
5706
6765
  LOCKED = 13;
5707
6766
  INVITES = 14;
5708
6767
  THIRD_PARTY = 15;
6768
+ LEAD = 16;
6769
+ MENTIONS_AND_REPLIES = 17;
5709
6770
  }
5710
6771
  }
5711
6772
 
@@ -5713,6 +6774,10 @@ message SyncActionValue {
5713
6774
  repeated int32 sortedLabelIds = 1;
5714
6775
  }
5715
6776
 
6777
+ message LabelSublistAction {
6778
+ optional int32 subListId = 1;
6779
+ }
6780
+
5716
6781
  message LidContactAction {
5717
6782
  optional string fullName = 1;
5718
6783
  optional string firstName = 2;
@@ -5765,8 +6830,8 @@ message SyncActionValue {
5765
6830
  }
5766
6831
 
5767
6832
  message MerchantPaymentPartnerAction {
5768
- optional Status status = 1;
5769
- optional string country = 2;
6833
+ required Status status = 1;
6834
+ required string country = 2;
5770
6835
  optional string gatewayName = 3;
5771
6836
  optional string credentialId = 4;
5772
6837
  enum Status {
@@ -5831,8 +6896,8 @@ message SyncActionValue {
5831
6896
  }
5832
6897
 
5833
6898
  message PaymentTosAction {
5834
- optional PaymentNotice paymentNotice = 1;
5835
- optional bool accepted = 2;
6899
+ required PaymentNotice paymentNotice = 1;
6900
+ required bool accepted = 2;
5836
6901
  enum PaymentNotice {
5837
6902
  BR_PAY_PRIVACY_POLICY = 0;
5838
6903
  }
@@ -5930,6 +6995,7 @@ message SyncActionValue {
5930
6995
  optional bool shouldPlaySoundForCallNotification = 31;
5931
6996
  optional string chatThemeId = 32;
5932
6997
  optional string colorSchemeId = 33;
6998
+ optional string stockWallpaperImageId = 34;
5933
6999
  enum DisplayMode {
5934
7000
  DISPLAY_MODE_UNKNOWN = 0;
5935
7001
  ALWAYS = 1;
@@ -5976,6 +7042,7 @@ message SyncActionValue {
5976
7042
  SHOULD_PLAY_SOUND_FOR_CALL_NOTIFICATION = 31;
5977
7043
  CHAT_THEME_ID = 32;
5978
7044
  COLOR_SCHEME_ID = 33;
7045
+ STOCK_WALLPAPER_IMAGE_ID = 34;
5979
7046
  }
5980
7047
  enum SettingPlatform {
5981
7048
  PLATFORM_UNKNOWN = 0;
@@ -5997,8 +7064,8 @@ message SyncActionValue {
5997
7064
  message StatusPrivacyAction {
5998
7065
  optional StatusDistributionMode mode = 1;
5999
7066
  repeated string userJid = 2;
6000
- optional bool shareToFB = 3;
6001
- optional bool shareToIG = 4;
7067
+ optional bool shareToFb = 3;
7068
+ optional bool shareToIg = 4;
6002
7069
  repeated CustomList customLists = 5;
6003
7070
  repeated StatusDistributionMode modes = 6;
6004
7071
  message CustomList {
@@ -6102,6 +7169,21 @@ message SyncActionValue {
6102
7169
  }
6103
7170
  }
6104
7171
 
7172
+ message WASARootSecretAction {
7173
+ repeated RootSecretEntry secrets = 1;
7174
+ message RootSecretEntry {
7175
+ optional string id = 1;
7176
+ optional bytes rootSecret = 2;
7177
+ optional int64 epoch = 3;
7178
+ optional Status status = 4;
7179
+ enum Status {
7180
+ INACTIVE = 0;
7181
+ ACTIVE = 1;
7182
+ }
7183
+ }
7184
+
7185
+ }
7186
+
6105
7187
  message WaffleAccountLinkStateAction {
6106
7188
  optional AccountLinkState linkState = 2;
6107
7189
  enum AccountLinkState {
@@ -6270,7 +7352,7 @@ message UserPassword {
6270
7352
  }
6271
7353
 
6272
7354
  message UserReceipt {
6273
- optional string userJid = 1;
7355
+ required string userJid = 1;
6274
7356
  optional int64 receiptTimestamp = 2;
6275
7357
  optional int64 readTimestamp = 3;
6276
7358
  optional int64 playedTimestamp = 4;
@@ -6292,6 +7374,16 @@ message VerifiedNameCertificate {
6292
7374
 
6293
7375
  }
6294
7376
 
7377
+ message VirtualDeviceOutput {
7378
+ required bytes vdId = 1;
7379
+ required bytes vdPublicKey = 2;
7380
+ required bytes vdEpochStoragePublicKey = 3;
7381
+ required bytes vdEpochStoragePublicKeySig = 4;
7382
+ required bytes ocmfRotationToken = 5;
7383
+ required bytes deviceEpochHmac = 6;
7384
+ required EncryptedSecretValuesOutput encryptedSecretValues = 7;
7385
+ }
7386
+
6295
7387
  message WallpaperSettings {
6296
7388
  optional string filename = 1;
6297
7389
  optional uint32 opacity = 2;
@@ -6357,7 +7449,7 @@ enum WebLinkRenderConfig {
6357
7449
  SYSTEM = 1;
6358
7450
  }
6359
7451
  message WebMessageInfo {
6360
- optional MessageKey key = 1;
7452
+ required MessageKey key = 1;
6361
7453
  optional Message message = 2;
6362
7454
  optional uint64 messageTimestamp = 3;
6363
7455
  optional Status status = 4;
@@ -6670,6 +7762,10 @@ message WebMessageInfo {
6670
7762
  GROUP_TEE_BOT_ADDED = 223;
6671
7763
  CONTACT_INFO = 224;
6672
7764
  SCHEDULED_MESSAGE_CREATED = 225;
7765
+ IDENTITY_TRUST_MARKED = 226;
7766
+ IDENTITY_TRUST_UNMARKED = 227;
7767
+ IDENTITY_TRUST_REVOKED = 228;
7768
+ CTWA_CONSUMER_DISCLOSURE = 230;
6673
7769
  }
6674
7770
  }
6675
7771
 
@@ -6685,7 +7781,57 @@ message WebNotificationsInfo {
6685
7781
  repeated WebMessageInfo notifyMessages = 5;
6686
7782
  }
6687
7783
 
6688
- // >>> wa.voip (VoIP engine, generated by decode-voip-wasm.js) >>>
7784
+ message WrapTransportSigningPublicKeyInput {
7785
+ required bytes keyBytes = 1;
7786
+ }
7787
+
7788
+ message WrapTransportSigningPublicKeyResult {
7789
+ required bytes prefixedKey = 1;
7790
+ }
7791
+
7792
+ message WrapTransportSigningSecretKeyInput {
7793
+ required bytes keyBytes = 1;
7794
+ }
7795
+
7796
+ message WrapTransportSigningSecretKeyResult {
7797
+ required bytes prefixedKey = 1;
7798
+ }
7799
+
7800
+ message LIDMigrationMapping {
7801
+ optional uint64 pn = 1;
7802
+ optional uint64 assignedLid = 2;
7803
+ optional uint64 latestLid = 3;
7804
+ }
7805
+
7806
+ message LIDMigrationMappingSyncPayload {
7807
+ repeated LIDMigrationMapping pnToLidMappings = 1;
7808
+ optional uint64 chatDbMigrationTimestamp = 2;
7809
+ }
7810
+
7811
+ enum DataChannelMessage_MessageScope {
7812
+ MESSAGE_SCOPE_UNSPECIFIED = 0;
7813
+ MESSAGE_SCOPE_RELAY_READABLE = 1;
7814
+ MESSAGE_SCOPE_END_TO_END = 2;
7815
+ }
7816
+
7817
+ enum DataChannelMessage_MessageType {
7818
+ MESSAGE_TYPE_UNSPECIFIED = 0;
7819
+ MESSAGE_TYPE_DATA = 1;
7820
+ MESSAGE_TYPE_CONTROL = 2;
7821
+ }
7822
+
7823
+ enum DataChannelMessage_RoutingMode {
7824
+ ROUTING_MODE_UNSPECIFIED = 0;
7825
+ ROUTING_MODE_RELAY_ONLY = 1;
7826
+ ROUTING_MODE_SELECTIVE_FORWARD = 2;
7827
+ ROUTING_MODE_BROADCAST = 3;
7828
+ }
7829
+
7830
+ enum HbhControlPayload_ControlType {
7831
+ CONTROL_TYPE_UNSPECIFIED = 0;
7832
+ CONTROL_TYPE_GO_AWAY = 1;
7833
+ }
7834
+
6689
7835
  enum RekeyKeyType {
6690
7836
  REKEY_KEY_AUDIO = 0;
6691
7837
  REKEY_KEY_VIDEO = 1;
@@ -6726,23 +7872,29 @@ enum StreamDescriptor_StreamLayer {
6726
7872
  ScreenShareVideoStream1 = 9;
6727
7873
  }
6728
7874
 
6729
- // original: wa.voip.appDataMessage
6730
7875
  message appDataMessage {
6731
7876
  reactionInfo reaction_info = 1;
6732
7877
  liveTranscriptionInfo transcription_info = 2;
7878
+ arEffectInfo ar_effect_info = 3;
6733
7879
  }
6734
7880
 
6735
- // original: wa.voip.appDataPayloads
6736
7881
  message appDataPayloads {
6737
7882
  repeated appDataMessage messages = 1;
6738
7883
  }
6739
7884
 
6740
- // original: wa.voip.AQSStats
6741
7885
  message AQSStats {
6742
7886
  optional int32 aqs = 1;
6743
7887
  }
6744
7888
 
6745
- // original: wa.voip.BackupRelayLatency
7889
+ message arEffectInfo {
7890
+ uint64 transaction_id = 1;
7891
+ string ar_effect_id = 2;
7892
+ }
7893
+
7894
+ message BackupMute {
7895
+ bool is_muted = 1;
7896
+ }
7897
+
6746
7898
  message BackupRelayLatency {
6747
7899
  uint32 ipv4 = 1;
6748
7900
  bytes ipv6 = 2;
@@ -6756,43 +7908,90 @@ message BackupRelayLatency {
6756
7908
  string relay_name = 10;
6757
7909
  }
6758
7910
 
6759
- // original: wa.voip.BackupRelayLatencyReport
6760
7911
  message BackupRelayLatencyReport {
6761
7912
  int32 relay_transaction_id = 1;
6762
7913
  repeated BackupRelayLatency relays = 2;
6763
7914
  }
6764
7915
 
6765
- // original: wa.voip.BackupSignalEnvelope
6766
7916
  message BackupSignalEnvelope {
6767
7917
  BackupRelayLatencyReport relay_latency = 1;
7918
+ BackupMute mute = 2;
7919
+ BackupVideoState video_state = 3;
7920
+ BackupTerminate terminate = 4;
7921
+ BackupTransport transport = 5;
7922
+ }
7923
+
7924
+ message BackupTerminate {
7925
+ string reason = 1;
7926
+ }
7927
+
7928
+ message BackupTransport {
7929
+ uint32 transport_msg_type = 1;
7930
+ repeated BackupTransportCandidate candidates = 2;
7931
+ int32 net_medium = 3;
7932
+ int32 protocol = 4;
7933
+ uint32 refl_ipv4 = 5;
7934
+ bytes refl_ipv6 = 6;
7935
+ uint32 refl_port = 7;
7936
+ uint32 p2p_cand_round = 8;
7937
+ int32 net_health_status = 9;
7938
+ string ice_ufrag = 10;
7939
+ string ice_pwd = 11;
7940
+ string cert_fingerprint = 12;
7941
+ string cert_algorithm = 13;
7942
+ }
7943
+
7944
+ message BackupTransportCandidate {
7945
+ uint32 ipv4 = 1;
7946
+ bytes ipv6 = 2;
7947
+ uint32 port = 3;
7948
+ uint32 priority = 4;
7949
+ }
7950
+
7951
+ message BackupVideoState {
7952
+ int32 video_state = 1;
7953
+ int32 transaction_id = 2;
7954
+ int32 device_orientation = 3;
7955
+ int32 codec_scheme = 4;
7956
+ string vid_dec_capability = 5;
6768
7957
  }
6769
7958
 
6770
- // original: wa.voip.BwaInfo
6771
7959
  message BwaInfo {
6772
7960
  uint32 id = 1;
6773
7961
  uint32 num_participants = 2;
6774
7962
  }
6775
7963
 
6776
- // original: wa.voip.BwaStream
6777
7964
  message BwaStream {
6778
7965
  uint32 bitrate = 1;
6779
7966
  uint64 subscribed_pids_bitmap_0_63 = 2;
6780
7967
  uint64 subscribed_pids_bitmap_64_127 = 3;
6781
7968
  }
6782
7969
 
6783
- // original: wa.voip.E2eRekeyPayload
7970
+ message DataChannelMessage {
7971
+ uint32 from_pid = 1;
7972
+ repeated uint32 recipient_pids = 2;
7973
+ DataChannelMessage_RoutingMode routing_mode = 3;
7974
+ DataChannelMessage_MessageScope scope = 4;
7975
+ DataChannelMessage_MessageType message_type = 5;
7976
+ bytes payload = 6;
7977
+ uint32 transaction_id = 7;
7978
+ }
7979
+
6784
7980
  message E2eRekeyPayload {
6785
7981
  repeated RekeyKeyEntry keys = 1;
6786
7982
  }
6787
7983
 
6788
- // original: wa.voip.liveTranscriptionInfo
7984
+ message HbhControlPayload {
7985
+ HbhControlPayload_ControlType type = 1;
7986
+ string reason = 2;
7987
+ }
7988
+
6789
7989
  message liveTranscriptionInfo {
6790
7990
  uint64 transcript_id = 1;
6791
7991
  string caption = 2;
6792
7992
  string language = 3;
6793
7993
  }
6794
7994
 
6795
- // original: wa.voip.PeerFeedback
6796
7995
  message PeerFeedback {
6797
7996
  optional VideoSenderStats video_sender_stats = 1;
6798
7997
  optional VideoFeedbackMessage video_fb_msg = 2;
@@ -6800,71 +7999,59 @@ message PeerFeedback {
6800
7999
  optional bool noise_suppression_ui_status = 4;
6801
8000
  }
6802
8001
 
6803
- // original: wa.voip.reactionInfo
6804
8002
  message reactionInfo {
6805
8003
  uint64 transaction_id = 1;
6806
8004
  string reaction = 2;
6807
8005
  }
6808
8006
 
6809
- // original: wa.voip.RekeyKeyEntry
6810
8007
  message RekeyKeyEntry {
6811
8008
  RekeyKeyType type = 1;
6812
8009
  bytes key = 2;
6813
8010
  }
6814
8011
 
6815
- // original: wa.voip.RtcpRxSubscriptions
6816
8012
  message RtcpRxSubscriptions {
6817
8013
  repeated RtcpRxSubscriptionsPerParticipant rx_subscriptions = 1;
6818
8014
  }
6819
8015
 
6820
- // original: wa.voip.RtcpRxSubscriptionsPerParticipant
6821
8016
  message RtcpRxSubscriptionsPerParticipant {
6822
8017
  uint32 tx_pid = 1;
6823
8018
  RxSubscriptions rx_subscriptions = 2;
6824
8019
  }
6825
8020
 
6826
- // original: wa.voip.RxSubscriptions
6827
8021
  message RxSubscriptions {
6828
8022
  repeated uint32 vid_rx_pids = 1;
6829
8023
  repeated RxVidSubscriptionInfo vid_subscriptions = 2;
6830
8024
  }
6831
8025
 
6832
- // original: wa.voip.RxVidSubscriptionInfo
6833
8026
  message RxVidSubscriptionInfo {
6834
8027
  uint32 pid = 1;
6835
8028
  RxVidSubscriptionInfo_VideoQuality vid_quality = 2;
6836
8029
  }
6837
8030
 
6838
- // original: wa.voip.SenderSubscriptionExt
6839
8031
  message SenderSubscriptionExt {
6840
8032
  SenderSubscriptionExt_SSrcsToPidAssignments ssrcLayers = 1;
6841
8033
  }
6842
8034
 
6843
- // original: wa.voip.SenderSubscriptionExt.PidTemporalLayer
6844
8035
  message SenderSubscriptionExt_PidTemporalLayer {
6845
8036
  uint32 pid = 1;
6846
8037
  SenderSubscriptionExt_TemporalLayer layerId = 2;
6847
8038
  }
6848
8039
 
6849
- // original: wa.voip.SenderSubscriptionExt.SSrcsToPidAssignments
6850
8040
  message SenderSubscriptionExt_SSrcsToPidAssignments {
6851
8041
  repeated uint32 ssrcs = 1;
6852
8042
  repeated SenderSubscriptionExt_PidTemporalLayer pids = 2;
6853
8043
  }
6854
8044
 
6855
- // original: wa.voip.SenderSubscriptions
6856
8045
  message SenderSubscriptions {
6857
8046
  repeated SenderSubscriptionExt subscriptions = 1;
6858
8047
  }
6859
8048
 
6860
- // original: wa.voip.SimulcastBwaResults
6861
8049
  message SimulcastBwaResults {
6862
8050
  BwaInfo info = 1;
6863
8051
  BwaStream stream1 = 2;
6864
8052
  BwaStream stream2 = 3;
6865
8053
  }
6866
8054
 
6867
- // original: wa.voip.SrtpAfbStreamInfo
6868
8055
  message SrtpAfbStreamInfo {
6869
8056
  bool is_valid = 1;
6870
8057
  uint32 ssrc = 2;
@@ -6872,12 +8059,10 @@ message SrtpAfbStreamInfo {
6872
8059
  uint64 rtp_index = 4;
6873
8060
  }
6874
8061
 
6875
- // original: wa.voip.SrtpAfbStreams
6876
8062
  message SrtpAfbStreams {
6877
8063
  repeated SrtpAfbStreamInfo srtp_afb = 1;
6878
8064
  }
6879
8065
 
6880
- // original: wa.voip.StreamDescriptor
6881
8066
  message StreamDescriptor {
6882
8067
  StreamDescriptor_StreamLayer stream_layer = 1;
6883
8068
  StreamDescriptor_PayloadType payload_type = 2;
@@ -6885,18 +8070,14 @@ message StreamDescriptor {
6885
8070
  bool is_uplink_prefetch_enabled = 4;
6886
8071
  }
6887
8072
 
6888
- // original: wa.voip.StreamDescriptors
6889
8073
  message StreamDescriptors {
6890
8074
  repeated StreamDescriptor stream_descriptors = 1;
6891
8075
  }
6892
8076
 
6893
- // original: wa.voip.VideoFeedbackMessage
6894
8077
  message VideoFeedbackMessage {
6895
8078
  optional int32 freeze_state = 1;
6896
8079
  }
6897
8080
 
6898
- // original: wa.voip.VideoSenderStats
6899
8081
  message VideoSenderStats {
6900
8082
  optional int32 sender_bwe = 1;
6901
- }
6902
- // <<< wa.voip <<<
8083
+ }