@badzz88/baileys 8.5.6 → 8.5.7

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 (279) hide show
  1. package/README.md +2 -2
  2. package/WAProto/WAProto.proto +75 -1256
  3. package/WAProto/fix-imports.js +79 -69
  4. package/WAProto/index.d.ts +71491 -15254
  5. package/WAProto/index.js +126432 -19810
  6. package/engine-requirements.js +4 -3
  7. package/lib/Defaults/index.js +187 -0
  8. package/lib/Signal/Group/ciphertext-message.js +15 -0
  9. package/lib/Signal/Group/group-session-builder.js +92 -0
  10. package/lib/Signal/Group/group_cipher.js +89 -0
  11. package/lib/Signal/Group/index.js +136 -0
  12. package/lib/Signal/Group/keyhelper.js +73 -0
  13. package/lib/Signal/Group/sender-chain-key.js +32 -0
  14. package/lib/Signal/Group/sender-key-distribution-message.js +66 -0
  15. package/lib/Signal/Group/sender-key-message.js +69 -0
  16. package/lib/Signal/Group/sender-key-name.js +50 -0
  17. package/lib/Signal/Group/sender-key-record.js +44 -0
  18. package/lib/Signal/Group/sender-key-state.js +97 -0
  19. package/lib/Signal/Group/sender-message-key.js +30 -0
  20. package/lib/Signal/libsignal.js +459 -0
  21. package/lib/Signal/lid-mapping.js +260 -0
  22. package/lib/Socket/Client/index.js +30 -0
  23. package/lib/Socket/Client/types.js +13 -0
  24. package/lib/Socket/Client/websocket.js +62 -0
  25. package/lib/Socket/aigroups.js +240 -0
  26. package/lib/Socket/business.js +422 -0
  27. package/lib/Socket/chats.js +1816 -0
  28. package/lib/Socket/communities.js +549 -0
  29. package/lib/Socket/graphql.js +656 -0
  30. package/lib/Socket/groups.js +764 -0
  31. package/lib/Socket/index.js +39 -0
  32. package/lib/Socket/interactive-handler.js +522 -0
  33. package/lib/Socket/interop.js +549 -0
  34. package/{src → lib}/Socket/luxu.js +120 -82
  35. package/lib/Socket/managed-account.js +183 -0
  36. package/lib/Socket/messages-recv.js +2442 -0
  37. package/lib/Socket/messages-send.js +1853 -0
  38. package/lib/Socket/mex.js +60 -0
  39. package/lib/Socket/newsletter.js +818 -0
  40. package/lib/Socket/privacy.js +449 -0
  41. package/lib/Socket/registration.js +427 -0
  42. package/lib/Socket/socket.js +1092 -0
  43. package/lib/Socket/text-router.js +83 -0
  44. package/lib/Socket/username.js +243 -0
  45. package/lib/Store/index.js +36 -0
  46. package/{src → lib}/Store/keyed-db.js +11 -21
  47. package/lib/Store/make-cache-manager-store.js +90 -0
  48. package/lib/Store/make-in-memory-store.js +604 -0
  49. package/lib/Store/make-ordered-dictionary.js +81 -0
  50. package/lib/Store/object-repository.js +29 -0
  51. package/lib/Types/Auth.js +38 -0
  52. package/lib/Types/Bussines.js +2 -0
  53. package/lib/Types/Call.js +2 -0
  54. package/lib/Types/Chat.js +4 -0
  55. package/lib/Types/Contact.js +2 -0
  56. package/lib/Types/Events.js +2 -0
  57. package/lib/Types/GroupMetadata.js +2 -0
  58. package/lib/Types/Label.js +27 -0
  59. package/lib/Types/LabelAssociation.js +9 -0
  60. package/lib/Types/Message.js +95 -0
  61. package/lib/Types/Mex.js +112 -0
  62. package/lib/Types/Newsletter.js +121 -0
  63. package/lib/Types/Product.js +2 -0
  64. package/lib/Types/Signal.js +2 -0
  65. package/lib/Types/Socket.js +2 -0
  66. package/lib/Types/State.js +70 -0
  67. package/lib/Types/USync.js +2 -0
  68. package/lib/Types/index.js +55 -0
  69. package/lib/Utils/auth-utils.js +306 -0
  70. package/lib/Utils/browser-utils.js +114 -0
  71. package/lib/Utils/business.js +247 -0
  72. package/lib/Utils/chat-utils.js +1208 -0
  73. package/lib/Utils/command-loader.d.ts +31 -0
  74. package/lib/Utils/command-loader.js +100 -0
  75. package/lib/Utils/companion-reg-client-utils.js +42 -0
  76. package/lib/Utils/consumer-application.js +107 -0
  77. package/lib/Utils/crypto.js +155 -0
  78. package/lib/Utils/curve25519-js.js +275 -0
  79. package/lib/Utils/decode-wa-message.js +560 -0
  80. package/lib/Utils/event-buffer.js +607 -0
  81. package/lib/Utils/generics.js +563 -0
  82. package/lib/Utils/group-history.js +60 -0
  83. package/lib/Utils/history.js +244 -0
  84. package/lib/Utils/identity-change-handler.js +52 -0
  85. package/lib/Utils/index.js +57 -0
  86. package/lib/Utils/jid-display-normalization.js +218 -0
  87. package/lib/Utils/link-preview.js +143 -0
  88. package/lib/Utils/logger.js +9 -0
  89. package/lib/Utils/lt-hash.js +39 -0
  90. package/lib/Utils/make-mutex.js +36 -0
  91. package/lib/Utils/message-composer.js +479 -0
  92. package/lib/Utils/message-retry-manager.js +270 -0
  93. package/lib/Utils/messages-media.js +896 -0
  94. package/lib/Utils/messages.js +2904 -0
  95. package/lib/Utils/meta-ai-msmsg.js +262 -0
  96. package/lib/Utils/native-bridge.js +82 -0
  97. package/lib/Utils/noise-handler.js +196 -0
  98. package/lib/Utils/offline-node-processor.js +42 -0
  99. package/lib/Utils/pre-key-manager.js +107 -0
  100. package/lib/Utils/process-message.js +1048 -0
  101. package/lib/Utils/reporting-utils.js +262 -0
  102. package/lib/Utils/session-pool.d.ts +16 -0
  103. package/lib/Utils/session-pool.js +94 -0
  104. package/lib/Utils/signal.js +224 -0
  105. package/lib/Utils/stanza-ack.js +40 -0
  106. package/lib/Utils/sticker.d.ts +17 -0
  107. package/lib/Utils/sticker.js +145 -0
  108. package/lib/Utils/sync-action-utils.js +54 -0
  109. package/lib/Utils/tc-token-utils.js +161 -0
  110. package/lib/Utils/use-multi-file-auth-state.js +121 -0
  111. package/lib/Utils/validate-connection.js +219 -0
  112. package/lib/Utils/view-once-cache.d.ts +9 -0
  113. package/lib/Utils/view-once-cache.js +79 -0
  114. package/lib/Utils/voip-rekey.js +22 -0
  115. package/lib/WABinary/constants.js +1304 -0
  116. package/lib/WABinary/decode.js +343 -0
  117. package/{src → lib}/WABinary/encode.js +12 -9
  118. package/lib/WABinary/generic-utils.js +240 -0
  119. package/lib/WABinary/index.js +33 -0
  120. package/lib/WABinary/jid-utils.js +361 -0
  121. package/lib/WABinary/types.js +2 -0
  122. package/lib/WAM/BinaryInfo.js +13 -0
  123. package/lib/WAM/constants.js +39486 -0
  124. package/lib/WAM/encode.js +142 -0
  125. package/lib/WAM/index.js +31 -0
  126. package/lib/WAUSync/Protocols/USyncBotProfileProtocol.js +55 -0
  127. package/lib/WAUSync/Protocols/USyncBusinessProtocol.js +43 -0
  128. package/lib/WAUSync/Protocols/USyncContactProtocol.js +54 -0
  129. package/lib/WAUSync/Protocols/USyncDeviceProtocol.js +57 -0
  130. package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js +30 -0
  131. package/lib/WAUSync/Protocols/USyncFeatureProtocol.js +59 -0
  132. package/lib/WAUSync/Protocols/USyncLIDProtocol.js +31 -0
  133. package/lib/WAUSync/Protocols/USyncPictureProtocol.js +32 -0
  134. package/lib/WAUSync/Protocols/USyncSidelistProtocol.js +29 -0
  135. package/lib/WAUSync/Protocols/USyncStatusProtocol.js +39 -0
  136. package/lib/WAUSync/Protocols/USyncTextStatusProtocol.js +38 -0
  137. package/lib/WAUSync/Protocols/USyncUsernameProtocol.js +27 -0
  138. package/lib/WAUSync/Protocols/index.js +39 -0
  139. package/lib/WAUSync/USyncQuery.js +133 -0
  140. package/lib/WAUSync/USyncUser.js +50 -0
  141. package/lib/WAUSync/index.js +31 -0
  142. package/lib/antiban.js +4637 -0
  143. package/{src → lib}/index.js +49 -51
  144. package/package.json +4 -4
  145. package/src/Defaults/index.js +0 -186
  146. package/src/Signal/Group/ciphertext-message.js +0 -15
  147. package/src/Signal/Group/group-session-builder.js +0 -86
  148. package/src/Signal/Group/group_cipher.js +0 -82
  149. package/src/Signal/Group/index.js +0 -140
  150. package/src/Signal/Group/keyhelper.js +0 -77
  151. package/src/Signal/Group/sender-chain-key.js +0 -29
  152. package/src/Signal/Group/sender-key-distribution-message.js +0 -66
  153. package/src/Signal/Group/sender-key-message.js +0 -69
  154. package/src/Signal/Group/sender-key-name.js +0 -51
  155. package/src/Signal/Group/sender-key-record.js +0 -44
  156. package/src/Signal/Group/sender-key-state.js +0 -87
  157. package/src/Signal/Group/sender-message-key.js +0 -29
  158. package/src/Signal/libsignal.js +0 -455
  159. package/src/Signal/lid-mapping.js +0 -273
  160. package/src/Socket/Client/index.js +0 -31
  161. package/src/Socket/Client/types.js +0 -13
  162. package/src/Socket/Client/websocket.js +0 -61
  163. package/src/Socket/aigroups.js +0 -221
  164. package/src/Socket/business.js +0 -411
  165. package/src/Socket/chats.js +0 -1449
  166. package/src/Socket/communities.js +0 -463
  167. package/src/Socket/graphql.js +0 -523
  168. package/src/Socket/groups.js +0 -516
  169. package/src/Socket/index.js +0 -31
  170. package/src/Socket/interactive-handler.js +0 -527
  171. package/src/Socket/interop.js +0 -339
  172. package/src/Socket/managed-account.js +0 -98
  173. package/src/Socket/messages-recv.js +0 -2685
  174. package/src/Socket/messages-send.js +0 -2047
  175. package/src/Socket/mex.js +0 -57
  176. package/src/Socket/newsletter.js +0 -455
  177. package/src/Socket/privacy.js +0 -125
  178. package/src/Socket/registration.js +0 -236
  179. package/src/Socket/socket.js +0 -983
  180. package/src/Socket/text-router.js +0 -65
  181. package/src/Socket/username.js +0 -130
  182. package/src/Store/index.js +0 -33
  183. package/src/Store/make-cache-manager-store.js +0 -84
  184. package/src/Store/make-in-memory-store.js +0 -551
  185. package/src/Store/make-ordered-dictionary.js +0 -81
  186. package/src/Store/object-repository.js +0 -26
  187. package/src/Types/Auth.js +0 -31
  188. package/src/Types/Bussines.js +0 -2
  189. package/src/Types/Call.js +0 -2
  190. package/src/Types/Chat.js +0 -4
  191. package/src/Types/Contact.js +0 -2
  192. package/src/Types/Events.js +0 -2
  193. package/src/Types/GroupMetadata.js +0 -2
  194. package/src/Types/Label.js +0 -26
  195. package/src/Types/LabelAssociation.js +0 -8
  196. package/src/Types/Message.js +0 -93
  197. package/src/Types/Mex.js +0 -112
  198. package/src/Types/Newsletter.js +0 -109
  199. package/src/Types/Product.js +0 -2
  200. package/src/Types/Signal.js +0 -2
  201. package/src/Types/Socket.js +0 -2
  202. package/src/Types/State.js +0 -62
  203. package/src/Types/USync.js +0 -2
  204. package/src/Types/index.js +0 -56
  205. package/src/Utils/auth-utils.js +0 -254
  206. package/src/Utils/browser-utils.js +0 -112
  207. package/src/Utils/business.js +0 -240
  208. package/src/Utils/chat-utils.js +0 -1230
  209. package/src/Utils/command-loader.d.ts +0 -27
  210. package/src/Utils/command-loader.js +0 -89
  211. package/src/Utils/companion-reg-client-utils.js +0 -40
  212. package/src/Utils/consumer-application.js +0 -105
  213. package/src/Utils/crypto.js +0 -118
  214. package/src/Utils/curve25519-js.js +0 -242
  215. package/src/Utils/decode-wa-message.js +0 -529
  216. package/src/Utils/event-buffer.js +0 -580
  217. package/src/Utils/generics.js +0 -483
  218. package/src/Utils/group-history.js +0 -44
  219. package/src/Utils/history.js +0 -232
  220. package/src/Utils/identity-change-handler.js +0 -52
  221. package/src/Utils/index.js +0 -58
  222. package/src/Utils/jid-display-normalization.js +0 -195
  223. package/src/Utils/link-preview.js +0 -135
  224. package/src/Utils/logger.js +0 -8
  225. package/src/Utils/lt-hash.js +0 -25
  226. package/src/Utils/make-mutex.js +0 -36
  227. package/src/Utils/message-composer.js +0 -471
  228. package/src/Utils/message-retry-manager.js +0 -217
  229. package/src/Utils/messages-media.js +0 -843
  230. package/src/Utils/messages.js +0 -2817
  231. package/src/Utils/meta-ai-msmsg.js +0 -222
  232. package/src/Utils/native-bridge.js +0 -68
  233. package/src/Utils/noise-handler.js +0 -169
  234. package/src/Utils/offline-node-processor.js +0 -34
  235. package/src/Utils/pre-key-manager.js +0 -90
  236. package/src/Utils/process-message.js +0 -950
  237. package/src/Utils/reporting-utils.js +0 -261
  238. package/src/Utils/session-pool.d.ts +0 -14
  239. package/src/Utils/session-pool.js +0 -70
  240. package/src/Utils/signal.js +0 -217
  241. package/src/Utils/stanza-ack.js +0 -30
  242. package/src/Utils/sticker.d.ts +0 -13
  243. package/src/Utils/sticker.js +0 -123
  244. package/src/Utils/sync-action-utils.js +0 -45
  245. package/src/Utils/tc-token-utils.js +0 -158
  246. package/src/Utils/use-multi-file-auth-state.js +0 -111
  247. package/src/Utils/validate-connection.js +0 -209
  248. package/src/Utils/view-once-cache.d.ts +0 -12
  249. package/src/Utils/view-once-cache.js +0 -63
  250. package/src/Utils/voip-rekey.js +0 -22
  251. package/src/WABinary/constants.js +0 -1304
  252. package/src/WABinary/decode.js +0 -342
  253. package/src/WABinary/generic-utils.js +0 -238
  254. package/src/WABinary/index.js +0 -34
  255. package/src/WABinary/jid-utils.js +0 -351
  256. package/src/WABinary/types.js +0 -2
  257. package/src/WAM/BinaryInfo.js +0 -13
  258. package/src/WAM/constants.js +0 -39484
  259. package/src/WAM/encode.js +0 -149
  260. package/src/WAM/index.js +0 -32
  261. package/src/WAUSync/Protocols/USyncBotProfileProtocol.js +0 -53
  262. package/src/WAUSync/Protocols/USyncBusinessProtocol.js +0 -44
  263. package/src/WAUSync/Protocols/USyncContactProtocol.js +0 -55
  264. package/src/WAUSync/Protocols/USyncDeviceProtocol.js +0 -55
  265. package/src/WAUSync/Protocols/USyncDisappearingModeProtocol.js +0 -31
  266. package/src/WAUSync/Protocols/USyncFeatureProtocol.js +0 -54
  267. package/src/WAUSync/Protocols/USyncLIDProtocol.js +0 -32
  268. package/src/WAUSync/Protocols/USyncNewsletterProtocol.js +0 -473
  269. package/src/WAUSync/Protocols/USyncPictureProtocol.js +0 -34
  270. package/src/WAUSync/Protocols/USyncSidelistProtocol.js +0 -29
  271. package/src/WAUSync/Protocols/USyncStatusProtocol.js +0 -42
  272. package/src/WAUSync/Protocols/USyncTextStatusProtocol.js +0 -38
  273. package/src/WAUSync/Protocols/USyncUsernameProtocol.js +0 -28
  274. package/src/WAUSync/Protocols/index.js +0 -40
  275. package/src/WAUSync/USyncQuery.js +0 -126
  276. package/src/WAUSync/USyncUser.js +0 -50
  277. package/src/WAUSync/index.js +0 -32
  278. package/src/antiban.js +0 -4152
  279. /package/{src → lib}/Defaults/phonenumber-mcc.json +0 -0
@@ -1,7 +1,7 @@
1
1
  syntax = "proto3";
2
2
  package proto;
3
3
 
4
- /// WhatsApp Version: 2.3000.104529546
4
+ /// WhatsApp Version: 2.3000.1041467552
5
5
 
6
6
  message ADVDeviceIdentity {
7
7
  optional uint32 rawId = 1;
@@ -83,16 +83,6 @@ 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
-
96
86
  message AIQueryFanout {
97
87
  optional MessageKey messageKey = 1;
98
88
  optional Message message = 2;
@@ -126,7 +116,7 @@ message AIRichResponseContentItemsMetadata {
126
116
  repeated AIRichResponseContentItemMetadata itemsMetadata = 1;
127
117
  optional ContentType contentType = 2;
128
118
  message AIRichResponseContentItemMetadata {
129
- oneof aiRichResponseContentItem {
119
+ oneof aIRichResponseContentItem {
130
120
  AIRichResponseContentItemsMetadata.AIRichResponseReelItem reelItem = 1;
131
121
  }
132
122
  }
@@ -324,12 +314,6 @@ message AvatarUserSettings {
324
314
  optional string password = 2;
325
315
  }
326
316
 
327
- message BackwardEdge {
328
- optional bytes encryptedPrevEpochAnonId = 1;
329
- optional bytes encryptedPrevEpochRootKey = 2;
330
- optional bytes prevEpochRootKeyFingerprint = 3;
331
- }
332
-
333
317
  message BizAccountLinkInfo {
334
318
  optional uint64 whatsappBizAcctFbid = 1;
335
319
  optional string whatsappAcctNumber = 2;
@@ -386,7 +370,6 @@ message BotAgeCollectionMetadata {
386
370
 
387
371
  message BotAgentDeepLinkMetadata {
388
372
  optional string token = 1;
389
- optional bytes clientPublicKey = 2;
390
373
  }
391
374
 
392
375
  message BotAgentMetadata {
@@ -462,10 +445,6 @@ message BotCapabilityMetadata {
462
445
  UNIFIED_RESPONSE_MARKDOWN_LINKS_ENABLED = 63;
463
446
  AI_RICH_RESPONSE_MAPS_V2_ENABLED = 64;
464
447
  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;
469
448
  }
470
449
  }
471
450
 
@@ -587,10 +566,6 @@ message BotGroupParticipantMetadata {
587
566
  optional string botFbid = 1;
588
567
  }
589
568
 
590
- message BotHistoryShareMetadata {
591
- repeated BotGroupParticipantMetadata participantsMetadata = 1;
592
- }
593
-
594
569
  message BotImagineMetadata {
595
570
  optional ImagineType imagineType = 1;
596
571
  optional string shortPrompt = 2;
@@ -714,7 +689,6 @@ message BotMetadata {
714
689
  optional BotResolvedToolCallMetadata resolvedToolCallMetadata = 40;
715
690
  optional AISubscriptionUpsellMetadata subscriptionUpsellMetadata = 41;
716
691
  optional BotPttPromptMetadata pttPromptMetadata = 42;
717
- optional BotHistoryShareMetadata botHistoryShareMetadata = 43;
718
692
  optional bytes internalMetadata = 999;
719
693
  }
720
694
 
@@ -767,7 +741,6 @@ enum BotMetricsEntryPoint {
767
741
  GROUP_MEMBER = 54;
768
742
  CHATLIST_SEARCH = 55;
769
743
  NEW_CHAT_LIST = 56;
770
- CONTACTS_TAB = 57;
771
744
  }
772
745
  message BotMetricsMetadata {
773
746
  optional string destinationId = 1;
@@ -987,20 +960,12 @@ message BotSignatureVerificationUseCaseProof {
987
960
  optional BotSignatureUseCase useCase = 2;
988
961
  optional bytes signature = 3;
989
962
  repeated bytes certificateChain = 4;
990
- repeated CertificateSKI certificateChainSki = 5;
991
963
  enum BotSignatureUseCase {
992
964
  UNSPECIFIED = 0;
993
965
  WA_BOT_MSG = 1;
994
966
  WA_TEE_BOT_MSG = 2;
995
967
  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;
1002
968
  }
1003
-
1004
969
  }
1005
970
 
1006
971
  message BotSourcesMetadata {
@@ -1180,10 +1145,10 @@ message ChatRowOpaqueData {
1180
1145
  }
1181
1146
 
1182
1147
  message Citation {
1183
- required string title = 1;
1184
- required string subtitle = 2;
1185
- required string cmsId = 3;
1186
- required string imageUrl = 4;
1148
+ optional string title = 1;
1149
+ optional string subtitle = 2;
1150
+ optional string cmsId = 3;
1151
+ optional string imageUrl = 4;
1187
1152
  }
1188
1153
 
1189
1154
  message ClientPairingProps {
@@ -1387,7 +1352,6 @@ message ClientPayload {
1387
1352
  SMART_GLASSES = 35;
1388
1353
  BLUE_VR = 36;
1389
1354
  AR_WRIST = 37;
1390
- WAIL = 38;
1391
1355
  }
1392
1356
  enum ReleaseChannel {
1393
1357
  RELEASE = 0;
@@ -1430,22 +1394,6 @@ message ClientPayload {
1430
1394
 
1431
1395
  }
1432
1396
 
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
-
1449
1397
  enum CollectionName {
1450
1398
  COLLECTION_NAME_UNKNOWN = 0;
1451
1399
  REGULAR = 1;
@@ -1757,8 +1705,6 @@ message ContextInfo {
1757
1705
  optional CrossAppSource crossAppSource = 77;
1758
1706
  optional BusinessInteractionPills businessInteractionPills = 78;
1759
1707
  optional string posterStatusId = 79;
1760
- optional InstagramThreadLink instagramThreadLink = 80;
1761
- optional AIProvenance aiProvenance = 81;
1762
1708
  message AdReplyInfo {
1763
1709
  optional string advertiserName = 1;
1764
1710
  optional MediaType mediaType = 2;
@@ -1777,7 +1723,6 @@ message ContextInfo {
1777
1723
  optional EntryPoint entryPoint = 3;
1778
1724
  optional bytes signedPayload = 4;
1779
1725
  optional BotSignatureVerificationMetadata signatureEnvelope = 5;
1780
- optional UnauthenticatedBusinessMetadata unauthenticatedBusinessMetadata = 6;
1781
1726
  enum EntryPoint {
1782
1727
  ENTRY_POINT_UNKNOWN = 0;
1783
1728
  P2P_LINK_SHARE = 1;
@@ -1811,13 +1756,6 @@ message ContextInfo {
1811
1756
  repeated ContextInfo.BusinessInteractionPills.Pill pills = 2;
1812
1757
  }
1813
1758
 
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
-
1821
1759
  }
1822
1760
 
1823
1761
  message BusinessMessageForwardInfo {
@@ -1922,10 +1860,6 @@ message ContextInfo {
1922
1860
  }
1923
1861
  }
1924
1862
 
1925
- message InstagramThreadLink {
1926
- optional string url = 1;
1927
- }
1928
-
1929
1863
  enum PairedMediaType {
1930
1864
  NOT_PAIRED_MEDIA = 0;
1931
1865
  SD_VIDEO_PARENT = 1;
@@ -1984,7 +1918,7 @@ message ContextInfo {
1984
1918
  }
1985
1919
 
1986
1920
  message Conversation {
1987
- required string id = 1;
1921
+ optional string id = 1;
1988
1922
  repeated HistorySyncMsg messages = 2;
1989
1923
  optional string newJid = 3;
1990
1924
  optional string oldJid = 4;
@@ -2046,7 +1980,6 @@ message Conversation {
2046
1980
  optional uint64 appealUpdateTime = 60;
2047
1981
  optional string authAgentParentCompanyName = 61;
2048
1982
  optional string authAgentObaPhoneNumber = 62;
2049
- optional IdentityVerificationState identityVerification = 63;
2050
1983
  enum EndOfHistoryTransferType {
2051
1984
  COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0;
2052
1985
  COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1;
@@ -2061,191 +1994,6 @@ message Conversation {
2061
1994
  }
2062
1995
  }
2063
1996
 
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
-
2249
1997
  message DeviceCapabilities {
2250
1998
  optional ChatLockSupportLevel chatLockSupportLevel = 1;
2251
1999
  optional LIDMigration lidMigration = 2;
@@ -2253,13 +2001,6 @@ message DeviceCapabilities {
2253
2001
  optional UserHasAvatar userHasAvatar = 4;
2254
2002
  optional MemberNameTagPrimarySupport memberNameTagPrimarySupport = 5;
2255
2003
  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
-
2263
2004
  message AiThread {
2264
2005
  optional SupportLevel supportLevel = 1;
2265
2006
  enum SupportLevel {
@@ -2269,10 +2010,6 @@ message DeviceCapabilities {
2269
2010
  }
2270
2011
  }
2271
2012
 
2272
- message BizAiSettingsSync {
2273
- optional bool handoffRemovalTimingEnabled = 1;
2274
- }
2275
-
2276
2013
  message BusinessBroadcast {
2277
2014
  optional bool importListEnabled = 1;
2278
2015
  optional bool companionSupportEnabled = 2;
@@ -2286,10 +2023,6 @@ message DeviceCapabilities {
2286
2023
  MINIMAL = 1;
2287
2024
  FULL = 2;
2288
2025
  }
2289
- message ContactRefresh {
2290
- optional bool refreshSupported = 1;
2291
- }
2292
-
2293
2026
  message LIDMigration {
2294
2027
  optional uint64 chatDbMigrationTimestamp = 1;
2295
2028
  }
@@ -2321,19 +2054,6 @@ message DeviceListMetadata {
2321
2054
  repeated uint32 recipientKeyIndexes = 10 [packed=true];
2322
2055
  }
2323
2056
 
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
-
2337
2057
  message DeviceProps {
2338
2058
  optional string os = 1;
2339
2059
  optional AppVersion version = 2;
@@ -2373,7 +2093,6 @@ message DeviceProps {
2373
2093
  optional bool supportHatchHistory = 22;
2374
2094
  repeated string supportedBotChannelFbids = 23;
2375
2095
  optional bool supportInlineContacts = 24;
2376
- optional bool supportNewsletter = 25;
2377
2096
  }
2378
2097
 
2379
2098
  enum PlatformType {
@@ -2402,7 +2121,6 @@ message DeviceProps {
2402
2121
  VR = 22;
2403
2122
  CLOUD_API = 23;
2404
2123
  SMARTGLASSES = 24;
2405
- WAIL = 25;
2406
2124
  }
2407
2125
  }
2408
2126
 
@@ -2427,119 +2145,6 @@ message DisappearingMode {
2427
2145
  }
2428
2146
  }
2429
2147
 
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
- }
2543
2148
  message EmbeddedContent {
2544
2149
  oneof content {
2545
2150
  EmbeddedMessage embeddedMessage = 1;
@@ -2569,114 +2174,16 @@ message EmbeddedMusic {
2569
2174
  optional int64 overlapDurationInMs = 14;
2570
2175
  }
2571
2176
 
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
-
2635
2177
  message EncryptedPairingRequest {
2636
2178
  optional bytes encryptedPayload = 1;
2637
2179
  optional bytes iv = 2;
2638
2180
  }
2639
2181
 
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
-
2651
2182
  message EphemeralSetting {
2652
2183
  optional sfixed32 duration = 1;
2653
2184
  optional sfixed64 timestamp = 2;
2654
2185
  }
2655
2186
 
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
-
2680
2187
  message EventAdditionalMetadata {
2681
2188
  optional bool isStale = 1;
2682
2189
  }
@@ -2693,47 +2200,6 @@ message ExitCode {
2693
2200
  optional string text = 2;
2694
2201
  }
2695
2202
 
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
-
2737
2203
  message ExternalBlobReference {
2738
2204
  optional bytes mediaKey = 1;
2739
2205
  optional string directPath = 2;
@@ -2771,22 +2237,6 @@ message ForwardedAIBotMessageInfo {
2771
2237
  optional string creatorName = 3;
2772
2238
  }
2773
2239
 
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
-
2790
2240
  message GlobalSettings {
2791
2241
  optional WallpaperSettings lightThemeWallpaper = 1;
2792
2242
  optional MediaVisibility mediaVisibility = 2;
@@ -2848,7 +2298,7 @@ message GroupMention {
2848
2298
  }
2849
2299
 
2850
2300
  message GroupParticipant {
2851
- required string userJid = 1;
2301
+ optional string userJid = 1;
2852
2302
  optional Rank rank = 2;
2853
2303
  optional MemberLabel memberLabel = 3;
2854
2304
  enum Rank {
@@ -2898,7 +2348,6 @@ message HandshakeMessage {
2898
2348
  HANDSHAKE_PQ_MODE_UNKNOWN = 0;
2899
2349
  XXKEM = 1;
2900
2350
  XXKEM_FS = 2;
2901
- XXKEM_EPH = 9;
2902
2351
  WA_CLASSICAL = 3;
2903
2352
  WA_PQ = 4;
2904
2353
  IKKEM = 5;
@@ -2924,7 +2373,7 @@ message HatchMetadataSync {
2924
2373
  }
2925
2374
 
2926
2375
  message HistorySync {
2927
- required HistorySyncType syncType = 1;
2376
+ optional HistorySyncType syncType = 1;
2928
2377
  repeated Conversation conversations = 2;
2929
2378
  repeated WebMessageInfo statusV3Messages = 3;
2930
2379
  optional uint32 chunkOrder = 5;
@@ -3004,11 +2453,6 @@ message IdentityKeyPairStructure {
3004
2453
  optional bytes privateKey = 2;
3005
2454
  }
3006
2455
 
3007
- message IdentityVerificationState {
3008
- optional bool verified = 1;
3009
- optional uint64 actionSeq = 2;
3010
- }
3011
-
3012
2456
  message InThreadSurveyMetadata {
3013
2457
  optional string tessaSessionId = 1;
3014
2458
  optional string simonSessionId = 2;
@@ -3103,19 +2547,19 @@ message KeyId {
3103
2547
  optional bytes id = 1;
3104
2548
  }
3105
2549
 
2550
+ message LIDMigrationMapping {
2551
+ optional uint64 pn = 1;
2552
+ optional uint64 assignedLid = 2;
2553
+ optional uint64 latestLid = 3;
2554
+ }
2555
+
3106
2556
  message LIDMigrationMappingSyncMessage {
3107
2557
  optional bytes encodedMappingPayload = 1;
3108
2558
  }
3109
2559
 
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
- }
2560
+ message LIDMigrationMappingSyncPayload {
2561
+ repeated LIDMigrationMapping pnToLidMappings = 1;
2562
+ optional uint64 chatDbMigrationTimestamp = 2;
3119
2563
  }
3120
2564
 
3121
2565
  message LegacyMessage {
@@ -3151,157 +2595,6 @@ message Location {
3151
2595
  enum MENTION_MENTION_TYPE {
3152
2596
  PROFILE = 0;
3153
2597
  }
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
-
3305
2598
  message MediaData {
3306
2599
  optional string localPath = 1;
3307
2600
  }
@@ -3374,12 +2667,6 @@ enum MediaVisibility {
3374
2667
  OFF = 1;
3375
2668
  ON = 2;
3376
2669
  }
3377
- message MekBundle {
3378
- required bytes key = 1;
3379
- required bytes mekId = 2;
3380
- required bytes rosterHash = 3;
3381
- }
3382
-
3383
2670
  message MemberLabel {
3384
2671
  optional string label = 1;
3385
2672
  optional int64 labelTimestamp = 2;
@@ -3392,13 +2679,6 @@ message Mention {
3392
2679
  optional uint32 length = 4;
3393
2680
  }
3394
2681
 
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
-
3402
2682
  message Message {
3403
2683
  optional string conversation = 1;
3404
2684
  optional SenderKeyDistributionMessage senderKeyDistributionMessage = 2;
@@ -3507,10 +2787,6 @@ message Message {
3507
2787
  optional SplitPaymentMessage splitPaymentMessage = 125;
3508
2788
  optional FutureProofMessage newsletterAdminProfileStatusMessage = 126;
3509
2789
  optional RootSecretDistributeMessage rootSecretDistributeMessage = 127;
3510
- optional SplitPaymentUpdateMessage splitPaymentUpdateMessage = 128;
3511
- optional MusicMessage musicMessage = 129;
3512
- optional StatusLinkPreviewMetadata statusLinkPreviewMetadata = 130;
3513
- optional FutureProofMessage botPlatformRegistrationSuccessMessage = 131;
3514
2790
  message AlbumMessage {
3515
2791
  optional uint32 expectedImageCount = 2;
3516
2792
  optional uint32 expectedVideoCount = 3;
@@ -3582,12 +2858,6 @@ message Message {
3582
2858
  }
3583
2859
  }
3584
2860
 
3585
- message BotHistoryShareSyncMetadata {
3586
- optional string botJid = 1;
3587
- optional int64 historyShareCutoffTimestamp = 2;
3588
- repeated Message.HistoryShareMessageEntry historyShareMessages = 3;
3589
- }
3590
-
3591
2861
  message ButtonsMessage {
3592
2862
  optional string contentText = 6;
3593
2863
  optional string footerText = 7;
@@ -3658,7 +2928,6 @@ message Message {
3658
2928
  optional string deeplinkPayload = 9;
3659
2929
  optional MessageContextInfo messageContextInfo = 10;
3660
2930
  optional uint32 callEntryPoint = 11;
3661
- optional string callReason = 12;
3662
2931
  }
3663
2932
 
3664
2933
  message CallLogMessage {
@@ -3899,7 +3168,7 @@ message Message {
3899
3168
  optional bool viewOnce = 30;
3900
3169
  optional uint32 videoHeight = 31;
3901
3170
  optional uint32 videoWidth = 32;
3902
- optional Message.MMSThumbnailMetadata faviconMmsMetadata = 33;
3171
+ optional Message.MMSThumbnailMetadata faviconMMSMetadata = 33;
3903
3172
  optional Message.LinkPreviewMetadata linkPreviewMetadata = 34;
3904
3173
  optional Message.PaymentLinkMetadata paymentLinkMetadata = 35;
3905
3174
  repeated Message.VideoEndCard endCardTiles = 36;
@@ -4021,11 +3290,6 @@ message Message {
4021
3290
 
4022
3291
  }
4023
3292
 
4024
- message HistoryShareMessageEntry {
4025
- optional string stanzaId = 1;
4026
- optional bytes messageSecretProof = 2;
4027
- }
4028
-
4029
3293
  message HistorySyncMessageAccessStatus {
4030
3294
  optional bool completeAccessGranted = 1;
4031
3295
  }
@@ -4365,13 +3629,6 @@ message Message {
4365
3629
  optional uint32 thumbnailWidth = 7;
4366
3630
  }
4367
3631
 
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
-
4375
3632
  message MessageHistoryBundle {
4376
3633
  optional string mimetype = 1;
4377
3634
  optional bytes fileSha256 = 2;
@@ -4394,19 +3651,6 @@ message Message {
4394
3651
  message MessageHistoryNotice {
4395
3652
  optional ContextInfo contextInfo = 1;
4396
3653
  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
- }
4410
3654
  }
4411
3655
 
4412
3656
  message NewsletterAdminInviteMessage {
@@ -4455,7 +3699,6 @@ message Message {
4455
3699
  message PaymentExtendedMetadata {
4456
3700
  optional uint32 type = 1;
4457
3701
  optional string platform = 2;
4458
- optional string messageParamsJson = 3;
4459
3702
  }
4460
3703
 
4461
3704
  message PaymentInviteMessage {
@@ -4473,7 +3716,6 @@ message Message {
4473
3716
  FBPAY = 1;
4474
3717
  NOVI = 2;
4475
3718
  UPI = 3;
4476
- PIX = 4;
4477
3719
  }
4478
3720
  }
4479
3721
 
@@ -4623,7 +3865,6 @@ message Message {
4623
3865
  optional HistorySyncChunkRetryResponse historySyncChunkRetryResponse = 10;
4624
3866
  optional FlowResponsesCsvBundle flowResponsesCsvBundle = 11;
4625
3867
  optional BizBroadcastInsightsContactListResponse bizBroadcastInsightsContactListResponse = 12;
4626
- optional ContactRefreshResponse contactRefreshResponse = 13;
4627
3868
  message BizBroadcastInsightsContactListResponse {
4628
3869
  optional string campaignId = 1;
4629
3870
  optional int64 timestampMs = 2;
@@ -4645,13 +3886,6 @@ message Message {
4645
3886
  optional string nonce = 1;
4646
3887
  }
4647
3888
 
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
-
4655
3889
  message FlowResponsesCsvBundle {
4656
3890
  optional string flowId = 1;
4657
3891
  optional string galaxyFlowDownloadRequestId = 2;
@@ -4758,7 +3992,6 @@ message Message {
4758
3992
  GALAXY_FLOW_ACTION = 11;
4759
3993
  BUSINESS_BROADCAST_INSIGHTS_DELIVERED_TO = 12;
4760
3994
  BUSINESS_BROADCAST_INSIGHTS_REFRESH = 13;
4761
- CONTACT_REFRESH_REQUEST = 14;
4762
3995
  }
4763
3996
  message PinInChatMessage {
4764
3997
  optional MessageKey key = 1;
@@ -4904,8 +4137,6 @@ message Message {
4904
4137
  optional uint32 afterReadDuration = 29;
4905
4138
  optional Message.ChatThemeSetting chatThemeSetting = 30;
4906
4139
  optional AIMetadataOperation aiMetadataOperation = 31;
4907
- optional Message.MarkAsVerifiedAction markAsVerifiedAction = 32;
4908
- optional CoexStateSync coexStateSync = 33;
4909
4140
  enum Type {
4910
4141
  REVOKE = 0;
4911
4142
  EPHEMERAL_SETTING = 3;
@@ -4937,8 +4168,6 @@ message Message {
4937
4168
  MESSAGE_UNSCHEDULE = 32;
4938
4169
  CHAT_THEME_SETTING = 34;
4939
4170
  AI_METADATA_OPERATION = 35;
4940
- MARK_AS_VERIFIED_ACTION = 36;
4941
- COEX_STATE_SYNC = 37;
4942
4171
  }
4943
4172
  }
4944
4173
 
@@ -5054,21 +4283,6 @@ message Message {
5054
4283
  }
5055
4284
  }
5056
4285
 
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
-
5072
4286
  message StatusNotificationMessage {
5073
4287
  optional MessageKey responseMessageKey = 1;
5074
4288
  optional MessageKey originalMessageKey = 2;
@@ -5078,7 +4292,6 @@ message Message {
5078
4292
  STATUS_ADD_YOURS = 1;
5079
4293
  STATUS_RESHARE = 2;
5080
4294
  STATUS_QUESTION_ANSWER_RESHARE = 3;
5081
- STATUS_GROUP_STATUS_REPLY = 4;
5082
4295
  }
5083
4296
  }
5084
4297
 
@@ -5230,10 +4443,10 @@ message Message {
5230
4443
  }
5231
4444
 
5232
4445
  message VideoEndCard {
5233
- required string username = 1;
5234
- required string caption = 2;
5235
- required string thumbnailImageUrl = 3;
5236
- required string profilePictureUrl = 4;
4446
+ optional string username = 1;
4447
+ optional string caption = 2;
4448
+ optional string thumbnailImageUrl = 3;
4449
+ optional string profilePictureUrl = 4;
5237
4450
  }
5238
4451
 
5239
4452
  message VideoMessage {
@@ -5351,8 +4564,6 @@ message MessageContextInfo {
5351
4564
  repeated ThreadID threadId = 15;
5352
4565
  optional WebLinkRenderConfig weblinkRenderConfig = 16;
5353
4566
  optional bytes teeBotMetadata = 17;
5354
- optional NonE2EEAttestation accountEncryptionAttestation = 18;
5355
- optional bytes associatedPrimaryIdentityKey = 19;
5356
4567
  enum MessageAddonExpiryType {
5357
4568
  STATIC = 1;
5358
4569
  DEPENDENT_ON_PARENT = 2;
@@ -5379,187 +4590,6 @@ message MessageText {
5379
4590
  repeated Mention mentions = 4;
5380
4591
  }
5381
4592
 
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
-
5563
4593
  message Money {
5564
4594
  optional int64 value = 1;
5565
4595
  optional uint32 offset = 2;
@@ -5743,12 +4773,6 @@ enum MutationProps {
5743
4773
  THREAD_PIN_ACTION = 85;
5744
4774
  AUTO_ORGANIZE_BUSINESS_CHAT_SETTING = 86;
5745
4775
  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;
5752
4776
  SHARE_OWN_PN = 10001;
5753
4777
  BUSINESS_BROADCAST_ACTION = 10002;
5754
4778
  AI_THREAD_DELETE_ACTION = 10003;
@@ -5766,15 +4790,6 @@ message NoiseCertificate {
5766
4790
 
5767
4791
  }
5768
4792
 
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
-
5778
4793
  message NotificationMessageInfo {
5779
4794
  optional MessageKey key = 1;
5780
4795
  optional Message message = 2;
@@ -5791,16 +4806,6 @@ message NotificationSettings {
5791
4806
  optional string callVibrate = 6;
5792
4807
  }
5793
4808
 
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
-
5804
4809
  message PairingRequest {
5805
4810
  optional bytes companionPublicKey = 1;
5806
4811
  optional bytes companionIdentityKey = 2;
@@ -6011,8 +5016,6 @@ message PreKeySignalMessage {
6011
5016
  optional bytes baseKey = 2;
6012
5017
  optional bytes identityKey = 3;
6013
5018
  optional bytes message = 4;
6014
- optional uint32 kyberPreKeyId = 7;
6015
- optional bytes kyberCiphertext = 8;
6016
5019
  }
6017
5020
 
6018
5021
  message PremiumMessageInfo {
@@ -6063,14 +5066,14 @@ message QP {
6063
5066
  NOR = 3;
6064
5067
  }
6065
5068
  message Filter {
6066
- required string filterName = 1;
5069
+ optional string filterName = 1;
6067
5070
  repeated QP.FilterParameters parameters = 2;
6068
5071
  optional QP.FilterResult filterResult = 3;
6069
- required QP.FilterClientNotSupportedConfig clientNotSupportedConfig = 4;
5072
+ optional QP.FilterClientNotSupportedConfig clientNotSupportedConfig = 4;
6070
5073
  }
6071
5074
 
6072
5075
  message FilterClause {
6073
- required QP.ClauseType clauseType = 1;
5076
+ optional QP.ClauseType clauseType = 1;
6074
5077
  repeated QP.FilterClause clauses = 2;
6075
5078
  repeated QP.Filter filters = 3;
6076
5079
  }
@@ -6123,38 +5126,6 @@ message Reportable {
6123
5126
 
6124
5127
  message ReportingTokenInfo {
6125
5128
  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;
6158
5129
  }
6159
5130
 
6160
5131
  message RoutingInfo {
@@ -6262,8 +5233,6 @@ message SessionStructure {
6262
5233
  optional uint32 preKeyId = 1;
6263
5234
  optional int32 signedPreKeyId = 3;
6264
5235
  optional bytes baseKey = 2;
6265
- optional uint32 kyberPreKeyId = 4;
6266
- optional bytes kyberCiphertext = 5;
6267
5236
  }
6268
5237
 
6269
5238
  }
@@ -6285,12 +5254,6 @@ message SignalMessage {
6285
5254
  optional bytes ciphertext = 4;
6286
5255
  }
6287
5256
 
6288
- message SignedMmkDistributionFromMailbox {
6289
- required MmkDistribution mmkDistribution = 1;
6290
- required bytes signature = 2;
6291
- required MessagingMailboxPublicData fromMailbox = 3;
6292
- }
6293
-
6294
5257
  message SignedPreKeyRecordStructure {
6295
5258
  optional uint32 id = 1;
6296
5259
  optional bytes publicKey = 2;
@@ -6337,7 +5300,6 @@ message StatusAttribution {
6337
5300
  GOOGLE_PHOTOS = 10;
6338
5301
  SOUNDCLOUD = 11;
6339
5302
  SHAZAM = 12;
6340
- PICSART = 13;
6341
5303
  }
6342
5304
  }
6343
5305
 
@@ -6396,7 +5358,6 @@ message StatusAttribution {
6396
5358
  NEWSLETTER_STATUS = 9;
6397
5359
  STATUS_CLOSE_SHARING = 10;
6398
5360
  PAID_PARTNERSHIP = 11;
6399
- USERNAME_STATUS = 12;
6400
5361
  }
6401
5362
  }
6402
5363
 
@@ -6405,7 +5366,7 @@ message StatusMentionMessage {
6405
5366
  }
6406
5367
 
6407
5368
  message StatusPSA {
6408
- required uint64 campaignId = 44;
5369
+ optional uint64 campaignId = 44;
6409
5370
  optional uint64 campaignExpirationTimestamp = 45;
6410
5371
  }
6411
5372
 
@@ -6517,15 +5478,9 @@ message SyncActionValue {
6517
5478
  optional ThreadPinAction threadPinAction = 85;
6518
5479
  optional AutoOrganizeBusinessChatSetting autoOrganizeBusinessChatSetting = 86;
6519
5480
  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;
6526
5481
  message AgentAction {
6527
5482
  optional string name = 1;
6528
- optional int32 deviceId = 2;
5483
+ optional int32 deviceID = 2;
6529
5484
  optional bool isDeleted = 3;
6530
5485
  }
6531
5486
 
@@ -6567,7 +5522,6 @@ message SyncActionValue {
6567
5522
  EXAMPLE_RESPONSES = 3;
6568
5523
  KNOWLEDGE = 4;
6569
5524
  LEAD_GEN = 5;
6570
- HANDOFF_REMOVAL_TIMING = 6;
6571
5525
  }
6572
5526
  }
6573
5527
 
@@ -6576,14 +5530,10 @@ message SyncActionValue {
6576
5530
  }
6577
5531
 
6578
5532
  message BroadcastListParticipant {
6579
- required string lidJid = 1;
5533
+ optional string lidJid = 1;
6580
5534
  optional string pnJid = 2;
6581
5535
  }
6582
5536
 
6583
- message BubbleLockMessageAction {
6584
- optional bool locked = 1;
6585
- }
6586
-
6587
5537
  message BusinessBroadcastAssociationAction {
6588
5538
  optional bool deleted = 1;
6589
5539
  }
@@ -6621,7 +5571,6 @@ message SyncActionValue {
6621
5571
  optional string listName = 3;
6622
5572
  repeated string labelIds = 4;
6623
5573
  optional string audienceExpression = 5;
6624
- optional string customAudienceFbid = 6;
6625
5574
  }
6626
5575
 
6627
5576
  message CallLogAction {
@@ -6629,7 +5578,7 @@ message SyncActionValue {
6629
5578
  }
6630
5579
 
6631
5580
  message ChatAssignmentAction {
6632
- optional string deviceAgentId = 1;
5581
+ optional string deviceAgentID = 1;
6633
5582
  }
6634
5583
 
6635
5584
  message ChatAssignmentOpenedStatusAction {
@@ -6640,10 +5589,6 @@ message SyncActionValue {
6640
5589
  optional SyncActionValue.SyncActionMessageRange messageRange = 1;
6641
5590
  }
6642
5591
 
6643
- message CoexV2VersionAction {
6644
- optional uint64 version = 1;
6645
- }
6646
-
6647
5592
  message ContactAction {
6648
5593
  optional string fullName = 1;
6649
5594
  optional string firstName = 2;
@@ -6653,24 +5598,20 @@ message SyncActionValue {
6653
5598
  optional string username = 6;
6654
5599
  }
6655
5600
 
6656
- message CtwaMessageReceivedAction {
6657
- optional bool isCtwaMessageReceived = 1;
6658
- }
6659
-
6660
5601
  message CtwaPerCustomerDataSharingAction {
6661
5602
  optional bool isCtwaPerCustomerDataSharingEnabled = 1;
6662
5603
  }
6663
5604
 
6664
5605
  message CustomPaymentMethod {
6665
- required string credentialId = 1;
6666
- required string country = 2;
6667
- required string type = 3;
5606
+ optional string credentialId = 1;
5607
+ optional string country = 2;
5608
+ optional string type = 3;
6668
5609
  repeated SyncActionValue.CustomPaymentMethodMetadata metadata = 4;
6669
5610
  }
6670
5611
 
6671
5612
  message CustomPaymentMethodMetadata {
6672
- required string key = 1;
6673
- required string value = 2;
5613
+ optional string key = 1;
5614
+ optional string value = 2;
6674
5615
  }
6675
5616
 
6676
5617
  message CustomPaymentMethodsAction {
@@ -6722,7 +5663,7 @@ message SyncActionValue {
6722
5663
  }
6723
5664
 
6724
5665
  message InteractiveMessageAction {
6725
- required InteractiveMessageActionMode type = 1;
5666
+ optional InteractiveMessageActionMode type = 1;
6726
5667
  optional string agmId = 2;
6727
5668
  enum InteractiveMessageActionMode {
6728
5669
  DISABLE_CTA = 1;
@@ -6765,8 +5706,6 @@ message SyncActionValue {
6765
5706
  LOCKED = 13;
6766
5707
  INVITES = 14;
6767
5708
  THIRD_PARTY = 15;
6768
- LEAD = 16;
6769
- MENTIONS_AND_REPLIES = 17;
6770
5709
  }
6771
5710
  }
6772
5711
 
@@ -6774,10 +5713,6 @@ message SyncActionValue {
6774
5713
  repeated int32 sortedLabelIds = 1;
6775
5714
  }
6776
5715
 
6777
- message LabelSublistAction {
6778
- optional int32 subListId = 1;
6779
- }
6780
-
6781
5716
  message LidContactAction {
6782
5717
  optional string fullName = 1;
6783
5718
  optional string firstName = 2;
@@ -6830,8 +5765,8 @@ message SyncActionValue {
6830
5765
  }
6831
5766
 
6832
5767
  message MerchantPaymentPartnerAction {
6833
- required Status status = 1;
6834
- required string country = 2;
5768
+ optional Status status = 1;
5769
+ optional string country = 2;
6835
5770
  optional string gatewayName = 3;
6836
5771
  optional string credentialId = 4;
6837
5772
  enum Status {
@@ -6896,8 +5831,8 @@ message SyncActionValue {
6896
5831
  }
6897
5832
 
6898
5833
  message PaymentTosAction {
6899
- required PaymentNotice paymentNotice = 1;
6900
- required bool accepted = 2;
5834
+ optional PaymentNotice paymentNotice = 1;
5835
+ optional bool accepted = 2;
6901
5836
  enum PaymentNotice {
6902
5837
  BR_PAY_PRIVACY_POLICY = 0;
6903
5838
  }
@@ -6995,7 +5930,6 @@ message SyncActionValue {
6995
5930
  optional bool shouldPlaySoundForCallNotification = 31;
6996
5931
  optional string chatThemeId = 32;
6997
5932
  optional string colorSchemeId = 33;
6998
- optional string stockWallpaperImageId = 34;
6999
5933
  enum DisplayMode {
7000
5934
  DISPLAY_MODE_UNKNOWN = 0;
7001
5935
  ALWAYS = 1;
@@ -7042,7 +5976,6 @@ message SyncActionValue {
7042
5976
  SHOULD_PLAY_SOUND_FOR_CALL_NOTIFICATION = 31;
7043
5977
  CHAT_THEME_ID = 32;
7044
5978
  COLOR_SCHEME_ID = 33;
7045
- STOCK_WALLPAPER_IMAGE_ID = 34;
7046
5979
  }
7047
5980
  enum SettingPlatform {
7048
5981
  PLATFORM_UNKNOWN = 0;
@@ -7064,8 +5997,8 @@ message SyncActionValue {
7064
5997
  message StatusPrivacyAction {
7065
5998
  optional StatusDistributionMode mode = 1;
7066
5999
  repeated string userJid = 2;
7067
- optional bool shareToFb = 3;
7068
- optional bool shareToIg = 4;
6000
+ optional bool shareToFB = 3;
6001
+ optional bool shareToIG = 4;
7069
6002
  repeated CustomList customLists = 5;
7070
6003
  repeated StatusDistributionMode modes = 6;
7071
6004
  message CustomList {
@@ -7169,21 +6102,6 @@ message SyncActionValue {
7169
6102
  }
7170
6103
  }
7171
6104
 
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
-
7187
6105
  message WaffleAccountLinkStateAction {
7188
6106
  optional AccountLinkState linkState = 2;
7189
6107
  enum AccountLinkState {
@@ -7352,7 +6270,7 @@ message UserPassword {
7352
6270
  }
7353
6271
 
7354
6272
  message UserReceipt {
7355
- required string userJid = 1;
6273
+ optional string userJid = 1;
7356
6274
  optional int64 receiptTimestamp = 2;
7357
6275
  optional int64 readTimestamp = 3;
7358
6276
  optional int64 playedTimestamp = 4;
@@ -7374,16 +6292,6 @@ message VerifiedNameCertificate {
7374
6292
 
7375
6293
  }
7376
6294
 
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
-
7387
6295
  message WallpaperSettings {
7388
6296
  optional string filename = 1;
7389
6297
  optional uint32 opacity = 2;
@@ -7449,7 +6357,7 @@ enum WebLinkRenderConfig {
7449
6357
  SYSTEM = 1;
7450
6358
  }
7451
6359
  message WebMessageInfo {
7452
- required MessageKey key = 1;
6360
+ optional MessageKey key = 1;
7453
6361
  optional Message message = 2;
7454
6362
  optional uint64 messageTimestamp = 3;
7455
6363
  optional Status status = 4;
@@ -7762,10 +6670,6 @@ message WebMessageInfo {
7762
6670
  GROUP_TEE_BOT_ADDED = 223;
7763
6671
  CONTACT_INFO = 224;
7764
6672
  SCHEDULED_MESSAGE_CREATED = 225;
7765
- IDENTITY_TRUST_MARKED = 226;
7766
- IDENTITY_TRUST_UNMARKED = 227;
7767
- IDENTITY_TRUST_REVOKED = 228;
7768
- CTWA_CONSUMER_DISCLOSURE = 230;
7769
6673
  }
7770
6674
  }
7771
6675
 
@@ -7781,57 +6685,7 @@ message WebNotificationsInfo {
7781
6685
  repeated WebMessageInfo notifyMessages = 5;
7782
6686
  }
7783
6687
 
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
-
6688
+ // >>> wa.voip (VoIP engine, generated by decode-voip-wasm.js) >>>
7835
6689
  enum RekeyKeyType {
7836
6690
  REKEY_KEY_AUDIO = 0;
7837
6691
  REKEY_KEY_VIDEO = 1;
@@ -7872,29 +6726,23 @@ enum StreamDescriptor_StreamLayer {
7872
6726
  ScreenShareVideoStream1 = 9;
7873
6727
  }
7874
6728
 
6729
+ // original: wa.voip.appDataMessage
7875
6730
  message appDataMessage {
7876
6731
  reactionInfo reaction_info = 1;
7877
6732
  liveTranscriptionInfo transcription_info = 2;
7878
- arEffectInfo ar_effect_info = 3;
7879
6733
  }
7880
6734
 
6735
+ // original: wa.voip.appDataPayloads
7881
6736
  message appDataPayloads {
7882
6737
  repeated appDataMessage messages = 1;
7883
6738
  }
7884
6739
 
6740
+ // original: wa.voip.AQSStats
7885
6741
  message AQSStats {
7886
6742
  optional int32 aqs = 1;
7887
6743
  }
7888
6744
 
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
-
6745
+ // original: wa.voip.BackupRelayLatency
7898
6746
  message BackupRelayLatency {
7899
6747
  uint32 ipv4 = 1;
7900
6748
  bytes ipv6 = 2;
@@ -7908,90 +6756,43 @@ message BackupRelayLatency {
7908
6756
  string relay_name = 10;
7909
6757
  }
7910
6758
 
6759
+ // original: wa.voip.BackupRelayLatencyReport
7911
6760
  message BackupRelayLatencyReport {
7912
6761
  int32 relay_transaction_id = 1;
7913
6762
  repeated BackupRelayLatency relays = 2;
7914
6763
  }
7915
6764
 
6765
+ // original: wa.voip.BackupSignalEnvelope
7916
6766
  message BackupSignalEnvelope {
7917
6767
  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;
7957
6768
  }
7958
6769
 
6770
+ // original: wa.voip.BwaInfo
7959
6771
  message BwaInfo {
7960
6772
  uint32 id = 1;
7961
6773
  uint32 num_participants = 2;
7962
6774
  }
7963
6775
 
6776
+ // original: wa.voip.BwaStream
7964
6777
  message BwaStream {
7965
6778
  uint32 bitrate = 1;
7966
6779
  uint64 subscribed_pids_bitmap_0_63 = 2;
7967
6780
  uint64 subscribed_pids_bitmap_64_127 = 3;
7968
6781
  }
7969
6782
 
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
-
6783
+ // original: wa.voip.E2eRekeyPayload
7980
6784
  message E2eRekeyPayload {
7981
6785
  repeated RekeyKeyEntry keys = 1;
7982
6786
  }
7983
6787
 
7984
- message HbhControlPayload {
7985
- HbhControlPayload_ControlType type = 1;
7986
- string reason = 2;
7987
- }
7988
-
6788
+ // original: wa.voip.liveTranscriptionInfo
7989
6789
  message liveTranscriptionInfo {
7990
6790
  uint64 transcript_id = 1;
7991
6791
  string caption = 2;
7992
6792
  string language = 3;
7993
6793
  }
7994
6794
 
6795
+ // original: wa.voip.PeerFeedback
7995
6796
  message PeerFeedback {
7996
6797
  optional VideoSenderStats video_sender_stats = 1;
7997
6798
  optional VideoFeedbackMessage video_fb_msg = 2;
@@ -7999,59 +6800,71 @@ message PeerFeedback {
7999
6800
  optional bool noise_suppression_ui_status = 4;
8000
6801
  }
8001
6802
 
6803
+ // original: wa.voip.reactionInfo
8002
6804
  message reactionInfo {
8003
6805
  uint64 transaction_id = 1;
8004
6806
  string reaction = 2;
8005
6807
  }
8006
6808
 
6809
+ // original: wa.voip.RekeyKeyEntry
8007
6810
  message RekeyKeyEntry {
8008
6811
  RekeyKeyType type = 1;
8009
6812
  bytes key = 2;
8010
6813
  }
8011
6814
 
6815
+ // original: wa.voip.RtcpRxSubscriptions
8012
6816
  message RtcpRxSubscriptions {
8013
6817
  repeated RtcpRxSubscriptionsPerParticipant rx_subscriptions = 1;
8014
6818
  }
8015
6819
 
6820
+ // original: wa.voip.RtcpRxSubscriptionsPerParticipant
8016
6821
  message RtcpRxSubscriptionsPerParticipant {
8017
6822
  uint32 tx_pid = 1;
8018
6823
  RxSubscriptions rx_subscriptions = 2;
8019
6824
  }
8020
6825
 
6826
+ // original: wa.voip.RxSubscriptions
8021
6827
  message RxSubscriptions {
8022
6828
  repeated uint32 vid_rx_pids = 1;
8023
6829
  repeated RxVidSubscriptionInfo vid_subscriptions = 2;
8024
6830
  }
8025
6831
 
6832
+ // original: wa.voip.RxVidSubscriptionInfo
8026
6833
  message RxVidSubscriptionInfo {
8027
6834
  uint32 pid = 1;
8028
6835
  RxVidSubscriptionInfo_VideoQuality vid_quality = 2;
8029
6836
  }
8030
6837
 
6838
+ // original: wa.voip.SenderSubscriptionExt
8031
6839
  message SenderSubscriptionExt {
8032
6840
  SenderSubscriptionExt_SSrcsToPidAssignments ssrcLayers = 1;
8033
6841
  }
8034
6842
 
6843
+ // original: wa.voip.SenderSubscriptionExt.PidTemporalLayer
8035
6844
  message SenderSubscriptionExt_PidTemporalLayer {
8036
6845
  uint32 pid = 1;
8037
6846
  SenderSubscriptionExt_TemporalLayer layerId = 2;
8038
6847
  }
8039
6848
 
6849
+ // original: wa.voip.SenderSubscriptionExt.SSrcsToPidAssignments
8040
6850
  message SenderSubscriptionExt_SSrcsToPidAssignments {
8041
6851
  repeated uint32 ssrcs = 1;
8042
6852
  repeated SenderSubscriptionExt_PidTemporalLayer pids = 2;
8043
6853
  }
8044
6854
 
6855
+ // original: wa.voip.SenderSubscriptions
8045
6856
  message SenderSubscriptions {
8046
6857
  repeated SenderSubscriptionExt subscriptions = 1;
8047
6858
  }
8048
6859
 
6860
+ // original: wa.voip.SimulcastBwaResults
8049
6861
  message SimulcastBwaResults {
8050
6862
  BwaInfo info = 1;
8051
6863
  BwaStream stream1 = 2;
8052
6864
  BwaStream stream2 = 3;
8053
6865
  }
8054
6866
 
6867
+ // original: wa.voip.SrtpAfbStreamInfo
8055
6868
  message SrtpAfbStreamInfo {
8056
6869
  bool is_valid = 1;
8057
6870
  uint32 ssrc = 2;
@@ -8059,10 +6872,12 @@ message SrtpAfbStreamInfo {
8059
6872
  uint64 rtp_index = 4;
8060
6873
  }
8061
6874
 
6875
+ // original: wa.voip.SrtpAfbStreams
8062
6876
  message SrtpAfbStreams {
8063
6877
  repeated SrtpAfbStreamInfo srtp_afb = 1;
8064
6878
  }
8065
6879
 
6880
+ // original: wa.voip.StreamDescriptor
8066
6881
  message StreamDescriptor {
8067
6882
  StreamDescriptor_StreamLayer stream_layer = 1;
8068
6883
  StreamDescriptor_PayloadType payload_type = 2;
@@ -8070,14 +6885,18 @@ message StreamDescriptor {
8070
6885
  bool is_uplink_prefetch_enabled = 4;
8071
6886
  }
8072
6887
 
6888
+ // original: wa.voip.StreamDescriptors
8073
6889
  message StreamDescriptors {
8074
6890
  repeated StreamDescriptor stream_descriptors = 1;
8075
6891
  }
8076
6892
 
6893
+ // original: wa.voip.VideoFeedbackMessage
8077
6894
  message VideoFeedbackMessage {
8078
6895
  optional int32 freeze_state = 1;
8079
6896
  }
8080
6897
 
6898
+ // original: wa.voip.VideoSenderStats
8081
6899
  message VideoSenderStats {
8082
6900
  optional int32 sender_bwe = 1;
8083
- }
6901
+ }
6902
+ // <<< wa.voip <<<