plogme 2.0.7 → 2.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  syntax = "proto3";
2
2
  package proto;
3
3
 
4
- /// WhatsApp Version: 2.3000.1047412487
4
+ /// WhatsApp Version: 2.3000.1049983640
5
5
 
6
6
  message ACP2Setting {
7
7
  optional bool enabled = 1;
@@ -293,6 +293,7 @@ message AIThreadInfo {
293
293
  DEFAULT = 1;
294
294
  INCOGNITO = 2;
295
295
  SIDE_CHAT = 3;
296
+ PRIVATE_SEARCH_CHAT = 4;
296
297
  }
297
298
  }
298
299
 
@@ -498,6 +499,16 @@ message BotCapabilityMetadata {
498
499
  AI_RICH_RESPONSE_REMINDERS_ENABLED = 69;
499
500
  AI_STOP_GENERATION_ENABLED = 70;
500
501
  AI_RICH_RESPONSE_3P_LINKING_CARD_ENABLED = 71;
502
+ HATCH_NOTIFICATION_METADATA_EVENT_ENABLED = 72;
503
+ AI_SUGGESTED_REPLIES_ENABLED = 73;
504
+ RICH_RESPONSE_IN_APP_SURVEY_BLOKS = 74;
505
+ RICH_RESPONSE_IMAGE_SOURCE_ATTRIBUTION = 75;
506
+ HATCH_CONNECTOR_ACTION_CARD_ENABLED = 76;
507
+ HATCH_SECURE_CREDENTIAL_CARD_ENABLED = 77;
508
+ HATCH_BROWSER_TASK_CARD_ENABLED = 78;
509
+ HATCH_ARTIFACT_CARD_ENABLED = 79;
510
+ AI_STUDY_CENTER_ENABLED = 80;
511
+ AI_MUSE_JARVIS_SCHEMA_ENABLED = 81;
501
512
  }
502
513
  }
503
514
 
@@ -1138,9 +1149,14 @@ message CallLogRecord {
1138
1149
  SCHEDULED_CALL = 1;
1139
1150
  VOICE_CHAT = 2;
1140
1151
  }
1152
+ message GuestInfo {
1153
+ optional string pushName = 1;
1154
+ }
1155
+
1141
1156
  message ParticipantInfo {
1142
1157
  optional string userJid = 1;
1143
1158
  optional CallLogRecord.CallResult callResult = 2;
1159
+ optional CallLogRecord.GuestInfo guestInfo = 3;
1144
1160
  }
1145
1161
 
1146
1162
  enum SilenceReason {
@@ -1266,6 +1282,7 @@ message ClientPayload {
1266
1282
  optional int32 processingQueueSize = 46;
1267
1283
  repeated string pairedPeripherals = 47;
1268
1284
  optional bytes testIsolationId = 48;
1285
+ optional int64 messageSts = 49;
1269
1286
  enum AccountType {
1270
1287
  DEFAULT = 0;
1271
1288
  GUEST = 1;
@@ -1797,6 +1814,7 @@ message ContextInfo {
1797
1814
  optional InstagramThreadLink instagramThreadLink = 80;
1798
1815
  optional AIProvenance aiProvenance = 81;
1799
1816
  repeated uint32 experienceIds = 82 [packed=true];
1817
+ optional string partnerDeepLinkToken = 83;
1800
1818
  message AdReplyInfo {
1801
1819
  optional string advertiserName = 1;
1802
1820
  optional MediaType mediaType = 2;
@@ -1920,6 +1938,14 @@ message ContextInfo {
1920
1938
  optional int32 agmSubtitleStrategy = 31;
1921
1939
  optional int32 agmHeaderInteractionStrategy = 32;
1922
1940
  optional bool containsCtwaFlowsAutoLabel = 33;
1941
+ optional string productId = 34;
1942
+ optional bool containsCtwaPromo = 35;
1943
+ optional string ctwaPromoResponseId = 36;
1944
+ optional string ctwaPromoOfferId = 37;
1945
+ optional string ctwaPromoAdEntryId = 38;
1946
+ optional uint64 ctwaPromoResponseExpiresAtSeconds = 39;
1947
+ optional uint32 ctwaPromoSchemaVersion = 40;
1948
+ optional string ctwaPromoAdgroupId = 41;
1923
1949
  enum AdType {
1924
1950
  CTWA = 0;
1925
1951
  CAWC = 1;
@@ -1975,6 +2001,10 @@ message ContextInfo {
1975
2001
  MOTION_PHOTO_CHILD = 6;
1976
2002
  HEVC_VIDEO_PARENT = 7;
1977
2003
  HEVC_VIDEO_CHILD = 8;
2004
+ AV1_VIDEO_PARENT = 9;
2005
+ AV1_VIDEO_CHILD = 10;
2006
+ STREAMED_VIDEO_PARENT = 11;
2007
+ STREAMED_VIDEO_CHILD = 12;
1978
2008
  }
1979
2009
  message PartiallySelectedContent {
1980
2010
  optional string text = 1;
@@ -2087,6 +2117,7 @@ message Conversation {
2087
2117
  optional string authAgentObaPhoneNumber = 62;
2088
2118
  optional IdentityVerificationState identityVerification = 63;
2089
2119
  optional ACP2Setting acp2Setting = 64;
2120
+ optional bool acp2HistoryWithheld = 65;
2090
2121
  enum EndOfHistoryTransferType {
2091
2122
  COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0;
2092
2123
  COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1;
@@ -2114,6 +2145,57 @@ message CreateBackupOutput {
2114
2145
  optional string error = 5;
2115
2146
  }
2116
2147
 
2148
+ message DecryptMekForDistributionFromTransportSenderInput {
2149
+ optional TransportSenderMEKDistributionSingleRecipient mekDistribution = 1;
2150
+ optional bytes mekId = 2;
2151
+ optional bytes rosterHash = 3;
2152
+ optional bytes recipientEncSk = 4;
2153
+ optional uint64 version = 5;
2154
+ optional MinosClientConfig conf = 6;
2155
+ message TransportSenderMEKDistributionSingleRecipient {
2156
+ optional bytes encryptedMek = 1;
2157
+ optional bytes ephemeralEncryptionPk = 2;
2158
+ optional bytes signingPk = 3;
2159
+ optional bytes signature = 4;
2160
+ optional bytes recipientEpochHead = 5;
2161
+ }
2162
+
2163
+ }
2164
+
2165
+ message DecryptMekForDistributionFromTransportSenderResult {
2166
+ oneof result {
2167
+ DecryptMekForDistributionFromTransportSenderSuccess success = 1;
2168
+ string errorMessage = 2;
2169
+ }
2170
+ }
2171
+
2172
+ message DecryptMekForDistributionFromTransportSenderSuccess {
2173
+ optional bytes mek = 1;
2174
+ }
2175
+
2176
+ message DecryptMekForDistributionInput {
2177
+ optional bytes toMailboxSk = 1;
2178
+ optional bytes fromPk = 2;
2179
+ optional bytes mekId = 3;
2180
+ optional bytes senderEpochHead = 4;
2181
+ optional bytes rosterHash = 5;
2182
+ optional bytes ciphertext = 6;
2183
+ optional bytes toEpochHead = 7;
2184
+ optional int32 mekEncryptionVersion = 8;
2185
+ optional MinosClientConfig conf = 9;
2186
+ }
2187
+
2188
+ message DecryptMekForDistributionResult {
2189
+ oneof result {
2190
+ DecryptMekForDistributionSuccess success = 1;
2191
+ string errorMessage = 2;
2192
+ }
2193
+ }
2194
+
2195
+ message DecryptMekForDistributionSuccess {
2196
+ optional bytes mek = 1;
2197
+ }
2198
+
2117
2199
  message DecryptMessageInput {
2118
2200
  optional bytes epochRootKey = 1;
2119
2201
  optional bytes epochAnonId = 2;
@@ -2127,6 +2209,76 @@ message DecryptMessageOutput {
2127
2209
  optional string error = 2;
2128
2210
  }
2129
2211
 
2212
+ message DecryptSelfMmkDistributionInput {
2213
+ optional bytes encryptedMmk = 1;
2214
+ optional bytes exportRootKey = 2;
2215
+ optional MessagingMailboxPublicData mmkPublicData = 3;
2216
+ }
2217
+
2218
+ message DecryptSelfMmkDistributionResult {
2219
+ oneof result {
2220
+ DecryptSelfMmkDistributionSuccess success = 1;
2221
+ string errorMessage = 2;
2222
+ }
2223
+ }
2224
+
2225
+ message DecryptSelfMmkDistributionSuccess {
2226
+ optional bytes mmkSeed = 1;
2227
+ }
2228
+
2229
+ message DeriveAttachmentAccessTokenSecretInput {
2230
+ optional bytes mediaKey = 1;
2231
+ }
2232
+
2233
+ message DeriveAttachmentAccessTokenSecretResult {
2234
+ optional bytes attachmentAccessTokenSecret = 1;
2235
+ }
2236
+
2237
+ message DeriveAttachmentPrimaryKeySecretInput {
2238
+ optional bytes mediaKey = 1;
2239
+ }
2240
+
2241
+ message DeriveAttachmentPrimaryKeySecretResult {
2242
+ optional bytes attachmentPrimaryKeySecret = 1;
2243
+ }
2244
+
2245
+ message DeriveMailboxAuthKeypairInput {
2246
+ optional bytes exportRootKey = 1;
2247
+ optional uint64 epochNumber = 2;
2248
+ }
2249
+
2250
+ message DeriveMailboxAuthKeypairResult {
2251
+ optional bytes mailboxAuthPublicKey = 1;
2252
+ optional bytes mailboxAuthPrivateKey = 2;
2253
+ }
2254
+
2255
+ message DeriveMailboxEncryptionKeypairInput {
2256
+ optional bytes exportRootKey = 1;
2257
+ optional uint64 epochNumber = 2;
2258
+ }
2259
+
2260
+ message DeriveMailboxEncryptionKeypairResult {
2261
+ optional bytes mailboxEncryptionPublicKey = 1;
2262
+ optional bytes mailboxEncryptionPrivateKey = 2;
2263
+ }
2264
+
2265
+ message DeriveMailboxSigningKeypairInput {
2266
+ optional bytes exportRootKey = 1;
2267
+ optional uint64 epochNumber = 2;
2268
+ }
2269
+
2270
+ message DeriveMailboxSigningKeypairResult {
2271
+ oneof result {
2272
+ DeriveMailboxSigningKeypairSuccess success = 1;
2273
+ string errorMessage = 2;
2274
+ }
2275
+ }
2276
+
2277
+ message DeriveMailboxSigningKeypairSuccess {
2278
+ optional bytes mailboxSigningPublicKey = 1;
2279
+ optional bytes mailboxSigningPrivateKey = 2;
2280
+ }
2281
+
2130
2282
  message DeriveMessageKeyInput {
2131
2283
  optional bytes epochRootKey = 1;
2132
2284
  optional bytes epochAnonId = 2;
@@ -2138,6 +2290,33 @@ message DeriveMessageKeyOutput {
2138
2290
  optional string error = 2;
2139
2291
  }
2140
2292
 
2293
+ message DeriveMessagingMailboxKeypairsInput {
2294
+ optional bytes mmkSeed = 1;
2295
+ }
2296
+
2297
+ message DeriveMessagingMailboxKeypairsResult {
2298
+ oneof result {
2299
+ DeriveMessagingMailboxKeypairsSuccess success = 1;
2300
+ string errorMessage = 2;
2301
+ }
2302
+ }
2303
+
2304
+ message DeriveMessagingMailboxKeypairsSuccess {
2305
+ optional bytes encSk = 1;
2306
+ optional bytes encPk = 2;
2307
+ optional bytes authSk = 3;
2308
+ optional bytes authPk = 4;
2309
+ }
2310
+
2311
+ message DetachedDevicePublicData {
2312
+ optional uint64 deviceId = 1;
2313
+ optional bytes name = 2;
2314
+ optional bytes sigPk = 3;
2315
+ optional bytes authPk = 4;
2316
+ optional bytes encPk = 5;
2317
+ optional bytes signature = 6;
2318
+ }
2319
+
2141
2320
  message DeviceCapabilities {
2142
2321
  optional ChatLockSupportLevel chatLockSupportLevel = 1;
2143
2322
  optional LIDMigration lidMigration = 2;
@@ -2148,6 +2327,8 @@ message DeviceCapabilities {
2148
2327
  optional AiFbidMigration aiFbidMigration = 7;
2149
2328
  optional BizAiSettingsSync bizAiSettingsSync = 8;
2150
2329
  optional ContactRefresh contactRefresh = 9;
2330
+ optional ReverseHistorySync reverseHistorySync = 10;
2331
+ optional NewsletterChatsMigration newsletterChatsMigration = 11;
2151
2332
  message AiFbidMigration {
2152
2333
  optional uint64 chatDbMigrationTimestamp = 1;
2153
2334
  optional uint32 supportVersion = 2;
@@ -2193,6 +2374,20 @@ message DeviceCapabilities {
2193
2374
  RECEIVER_ENABLED = 1;
2194
2375
  SENDER_ENABLED = 2;
2195
2376
  }
2377
+ message NewsletterChatsMigration {
2378
+ optional bool effectiveMigrated = 1;
2379
+ optional int64 countdownEndsAt = 2;
2380
+ optional bool rolledBack = 3;
2381
+ }
2382
+
2383
+ message ReverseHistorySync {
2384
+ repeated Product enabledProducts = 1;
2385
+ enum Product {
2386
+ PRODUCT_UNSPECIFIED = 0;
2387
+ HATCH = 1;
2388
+ }
2389
+ }
2390
+
2196
2391
  message UserHasAvatar {
2197
2392
  optional bool userHasAvatar = 1;
2198
2393
  }
@@ -2268,6 +2463,8 @@ message DeviceProps {
2268
2463
  repeated string supportedBotChannelFbids = 23;
2269
2464
  optional bool supportInlineContacts = 24;
2270
2465
  optional bool supportNewsletter = 25;
2466
+ optional bool supportUniversalReachChat = 26;
2467
+ optional bool supportOmittedConversationIndex = 27;
2271
2468
  }
2272
2469
 
2273
2470
  enum PlatformType {
@@ -2299,6 +2496,8 @@ message DeviceProps {
2299
2496
  WAIL = 25;
2300
2497
  WASS = 26;
2301
2498
  BUSINESS_BACK_OFFICE = 27;
2499
+ WAIL_WAI = 28;
2500
+ WAIL_ALEXA = 29;
2302
2501
  }
2303
2502
  }
2304
2503
 
@@ -2323,6 +2522,119 @@ message DisappearingMode {
2323
2522
  }
2324
2523
  }
2325
2524
 
2525
+ enum EXTENDED_CONTENT_MESSAGE_CTA_BUTTON_TYPE {
2526
+ OPEN_NATIVE = 11;
2527
+ }
2528
+ enum EXTENDED_CONTENT_MESSAGE_EXTENDED_CONTENT_TYPE {
2529
+ UNSUPPORTED = -1;
2530
+ IG_STORY_PHOTO_MENTION = 4;
2531
+ IG_SINGLE_IMAGE_POST_SHARE = 9;
2532
+ IG_MULTIPOST_SHARE = 10;
2533
+ IG_SINGLE_VIDEO_POST_SHARE = 11;
2534
+ IG_STORY_PHOTO_SHARE = 12;
2535
+ IG_STORY_VIDEO_SHARE = 13;
2536
+ IG_CLIPS_SHARE = 14;
2537
+ IG_IGTV_SHARE = 15;
2538
+ IG_SHOP_SHARE = 16;
2539
+ IG_PROFILE_SHARE = 19;
2540
+ IG_STORY_PHOTO_HIGHLIGHT_SHARE = 20;
2541
+ IG_STORY_VIDEO_HIGHLIGHT_SHARE = 21;
2542
+ IG_STORY_REPLY = 22;
2543
+ IG_STORY_REACTION = 23;
2544
+ IG_STORY_VIDEO_MENTION = 24;
2545
+ IG_STORY_HIGHLIGHT_REPLY = 25;
2546
+ IG_STORY_HIGHLIGHT_REACTION = 26;
2547
+ IG_EXTERNAL_LINK = 27;
2548
+ IG_RECEIVER_FETCH = 28;
2549
+ FB_FEED_SHARE = 1000;
2550
+ FB_STORY_REPLY = 1001;
2551
+ FB_STORY_SHARE = 1002;
2552
+ FB_STORY_MENTION = 1003;
2553
+ FB_FEED_VIDEO_SHARE = 1004;
2554
+ FB_GAMING_CUSTOM_UPDATE = 1005;
2555
+ FB_PRODUCER_STORY_REPLY = 1006;
2556
+ FB_EVENT = 1007;
2557
+ FB_FEED_POST_PRIVATE_REPLY = 1008;
2558
+ FB_SHORT = 1009;
2559
+ FB_COMMENT_MENTION_SHARE = 1010;
2560
+ FB_POST_MENTION = 1011;
2561
+ FB_PROFILE_DIRECTORY_ITEM = 1013;
2562
+ FB_FEED_POST_REACTION_REPLY = 1014;
2563
+ FB_QUICKSNAP_REPLY = 1015;
2564
+ MSG_EXTERNAL_LINK_SHARE = 2000;
2565
+ MSG_P2P_PAYMENT = 2001;
2566
+ MSG_LOCATION_SHARING = 2002;
2567
+ MSG_LOCATION_SHARING_V2 = 2003;
2568
+ MSG_HIGHLIGHTS_TAB_FRIEND_UPDATES_REPLY = 2004;
2569
+ MSG_HIGHLIGHTS_TAB_LOCAL_EVENT_REPLY = 2005;
2570
+ MSG_RECEIVER_FETCH = 2006;
2571
+ MSG_IG_MEDIA_SHARE = 2007;
2572
+ MSG_GEN_AI_SEARCH_PLUGIN_RESPONSE = 2008;
2573
+ MSG_REELS_LIST = 2009;
2574
+ MSG_CONTACT = 2010;
2575
+ MSG_THREADS_POST_SHARE = 2011;
2576
+ MSG_FILE = 2012;
2577
+ MSG_AVATAR_DETAILS = 2013;
2578
+ MSG_AI_CONTACT = 2014;
2579
+ MSG_MEMORIES_SHARE = 2015;
2580
+ MSG_SHARED_ALBUM_REPLY = 2016;
2581
+ MSG_SHARED_ALBUM = 2017;
2582
+ MSG_OCCAMADILLO_XMA = 2018;
2583
+ MSG_GEN_AI_SUBSCRIPTION = 2021;
2584
+ MSG_GEN_AI_REMINDER = 2022;
2585
+ MSG_GEN_AI_MEMU_ONBOARDING_RESPONSE = 2023;
2586
+ MSG_NOTE_REPLY = 2024;
2587
+ MSG_NOTE_MENTION = 2025;
2588
+ GEN_AI_ENTITY = 2026;
2589
+ MSG_OPG_P2P_PAYMENT = 2027;
2590
+ GEN_AI_RICH_RESPONSE = 2028;
2591
+ MSG_MUSIC_STICKER = 2029;
2592
+ MSG_PHONE_NUMBER = 2030;
2593
+ AI_ACTIVITY_SHARE = 2031;
2594
+ MSG_PRIVATE_XMA = 2032;
2595
+ MSG_SOCIAL_CUE_MEMORIES = 2033;
2596
+ MSG_MANUS_GROWTH_REFERRAL = 2060;
2597
+ MSG_MOMENT_LINK = 2061;
2598
+ MSG_HORIZON_WEEL = 2062;
2599
+ MSG_MOMENT_ADDED = 2063;
2600
+ RTC_AUDIO_CALL = 3000;
2601
+ RTC_VIDEO_CALL = 3001;
2602
+ RTC_MISSED_AUDIO_CALL = 3002;
2603
+ RTC_MISSED_VIDEO_CALL = 3003;
2604
+ RTC_GROUP_AUDIO_CALL = 3004;
2605
+ RTC_GROUP_VIDEO_CALL = 3005;
2606
+ RTC_MISSED_GROUP_AUDIO_CALL = 3006;
2607
+ RTC_MISSED_GROUP_VIDEO_CALL = 3007;
2608
+ RTC_ONGOING_AUDIO_CALL = 3008;
2609
+ RTC_ONGOING_VIDEO_CALL = 3009;
2610
+ MSG_RECEIVER_FETCH_FALLBACK = 3025;
2611
+ DATACLASS_SENDER_COPY = 4000;
2612
+ }
2613
+ enum EXTENDED_CONTENT_MESSAGE_OVERLAY_ICON_GLYPH {
2614
+ INFO = 0;
2615
+ EYE_OFF = 1;
2616
+ NEWS_OFF = 2;
2617
+ WARNING = 3;
2618
+ PRIVATE = 4;
2619
+ NONE = 5;
2620
+ MEDIA_LABEL = 6;
2621
+ POST_COVER = 7;
2622
+ POST_LABEL = 8;
2623
+ WARNING_SCREENS = 9;
2624
+ }
2625
+ enum EXTENDED_CONTENT_MESSAGE_XMA_DATACLASS_TYPE {
2626
+ SENDER_COPY = 0;
2627
+ SERVER = 1;
2628
+ SIGNED_CLIENT = 2;
2629
+ }
2630
+ enum EXTENDED_CONTENT_MESSAGE_XMA_LAYOUT_TYPE {
2631
+ SINGLE = 0;
2632
+ HSCROLL = 1;
2633
+ PORTRAIT = 3;
2634
+ STANDARD_DXMA = 12;
2635
+ LIST_DXMA = 15;
2636
+ GRID = 16;
2637
+ }
2326
2638
  message EmbeddedContent {
2327
2639
  oneof content {
2328
2640
  EmbeddedMessage embeddedMessage = 1;
@@ -2352,6 +2664,46 @@ message EmbeddedMusic {
2352
2664
  optional int64 overlapDurationInMs = 14;
2353
2665
  }
2354
2666
 
2667
+ message EncryptMekForDistributionInput {
2668
+ optional bytes senderEpochHead = 1;
2669
+ optional bytes toMailboxPk = 2;
2670
+ optional MailboxAuthKP fromKeypair = 3;
2671
+ optional MekBundle mek = 4;
2672
+ optional bytes toEpochHead = 5;
2673
+ optional MinosClientConfig conf = 6;
2674
+ message MailboxAuthKP {
2675
+ optional bytes sk = 1;
2676
+ optional bytes pk = 2;
2677
+ }
2678
+
2679
+ }
2680
+
2681
+ message EncryptMekForDistributionResult {
2682
+ optional bytes ciphertext = 1;
2683
+ optional uint64 version = 2;
2684
+ }
2685
+
2686
+ message EncryptMeksForDistributionFromTransportSenderInput {
2687
+ optional MekBundle mek = 1;
2688
+ optional TransportSigningKP transportSigningKp = 2;
2689
+ repeated bytes recipientMailboxEncryptionPks = 3;
2690
+ repeated bytes recipientEpochHeads = 4;
2691
+ optional MinosClientConfig conf = 5;
2692
+ message TransportSigningKP {
2693
+ optional bytes sk = 1;
2694
+ optional bytes pk = 2;
2695
+ }
2696
+
2697
+ }
2698
+
2699
+ message EncryptMeksForDistributionFromTransportSenderResult {
2700
+ repeated bytes encryptedMeks = 1;
2701
+ optional bytes ephemeralEncryptionPk = 2;
2702
+ optional bytes signingPk = 3;
2703
+ optional bytes signature = 4;
2704
+ optional uint64 version = 5;
2705
+ }
2706
+
2355
2707
  message EncryptMessageInput {
2356
2708
  optional bytes epochRootKey = 1;
2357
2709
  optional bytes mailboxRootKey = 2;
@@ -2406,10 +2758,28 @@ message Epoch0Output {
2406
2758
  optional bytes epochRootKey = 7;
2407
2759
  }
2408
2760
 
2761
+ message EpochPublicData {
2762
+ optional uint64 epochNumber = 1;
2763
+ optional string userFbid = 2;
2764
+ optional bytes mailboxSigningPk = 3;
2765
+ optional bytes mailboxEncryptionPk = 4;
2766
+ optional bytes mailboxAuthPk = 5;
2767
+ optional bytes previousEpochHead = 6;
2768
+ }
2769
+
2770
+ message EpochSignatures {
2771
+ optional bytes selfSignature = 1;
2772
+ optional bytes prevSignature = 2;
2773
+ }
2774
+
2409
2775
  message EventAdditionalMetadata {
2410
2776
  optional bool isStale = 1;
2411
2777
  }
2412
2778
 
2779
+ message EventInviteAdditionalMetadata {
2780
+ optional bool isUpdated = 1;
2781
+ }
2782
+
2413
2783
  message EventResponse {
2414
2784
  optional MessageKey eventResponseMessageKey = 1;
2415
2785
  optional int64 timestampMs = 2;
@@ -2422,6 +2792,47 @@ message ExitCode {
2422
2792
  optional string text = 2;
2423
2793
  }
2424
2794
 
2795
+ message ExtendedContentMessage {
2796
+ optional SubProtocol associatedMessage = 1;
2797
+ optional EXTENDED_CONTENT_MESSAGE_EXTENDED_CONTENT_TYPE targetType = 2;
2798
+ optional string targetUsername = 3;
2799
+ optional string targetId = 4;
2800
+ optional int64 targetExpiringAtSec = 5;
2801
+ optional EXTENDED_CONTENT_MESSAGE_XMA_LAYOUT_TYPE xmaLayoutType = 6;
2802
+ repeated CTA ctas = 7;
2803
+ repeated SubProtocol previews = 8;
2804
+ optional string titleText = 9;
2805
+ optional string subtitleText = 10;
2806
+ optional uint32 maxTitleNumOfLines = 11;
2807
+ optional uint32 maxSubtitleNumOfLines = 12;
2808
+ optional SubProtocol favicon = 13;
2809
+ optional SubProtocol headerImage = 14;
2810
+ optional string headerTitle = 15;
2811
+ optional EXTENDED_CONTENT_MESSAGE_OVERLAY_ICON_GLYPH overlayIconGlyph = 16;
2812
+ optional string overlayTitle = 17;
2813
+ optional string overlayDescription = 18;
2814
+ optional string sentWithMessageId = 19;
2815
+ optional string messageText = 20;
2816
+ optional string headerSubtitle = 21;
2817
+ optional string xmaDataclass = 22;
2818
+ optional string contentRef = 23;
2819
+ repeated string mentionedJid = 24;
2820
+ repeated Command commands = 25;
2821
+ repeated Mention mentions = 26;
2822
+ optional EXTENDED_CONTENT_MESSAGE_XMA_DATACLASS_TYPE xmaDataclassType = 27;
2823
+ optional string signedXmaDataclassValidation = 28;
2824
+ optional string featureSharedSessionId = 29;
2825
+ message CTA {
2826
+ optional EXTENDED_CONTENT_MESSAGE_CTA_BUTTON_TYPE buttonType = 1;
2827
+ optional string title = 2;
2828
+ optional string actionUrl = 3;
2829
+ optional string nativeUrl = 4;
2830
+ optional string ctaType = 5;
2831
+ optional string actionContentBlob = 6;
2832
+ }
2833
+
2834
+ }
2835
+
2425
2836
  message ExternalBlobReference {
2426
2837
  optional bytes mediaKey = 1;
2427
2838
  optional string directPath = 2;
@@ -2459,6 +2870,22 @@ message ForwardedAIBotMessageInfo {
2459
2870
  optional string creatorName = 3;
2460
2871
  }
2461
2872
 
2873
+ message GenerateMekInput {
2874
+ repeated bytes epochHeads = 1;
2875
+ }
2876
+
2877
+ message GenerateMekResult {
2878
+ optional MekBundle mek = 1;
2879
+ }
2880
+
2881
+ message GenerateMekRosterHashInput {
2882
+ repeated bytes epochHeads = 1;
2883
+ }
2884
+
2885
+ message GenerateMekRosterHashResult {
2886
+ optional bytes rosterHash = 1;
2887
+ }
2888
+
2462
2889
  message GlobalSettings {
2463
2890
  optional WallpaperSettings lightThemeWallpaper = 1;
2464
2891
  optional MediaVisibility mediaVisibility = 2;
@@ -2487,6 +2914,7 @@ message GroupHistory {
2487
2914
  repeated UnCountedAssociatedMessageList uncountedAssociatedMessageLists = 2;
2488
2915
  repeated WebMessageInfo commentMessages = 3;
2489
2916
  repeated WebMessageInfo outOfWindowPinnedMessages = 4;
2917
+ optional WebMessageInfo themeMessage = 5;
2490
2918
  }
2491
2919
 
2492
2920
  message GroupHistoryBundleInfo {
@@ -2512,6 +2940,7 @@ message GroupHistoryWithMessageBytes {
2512
2940
  repeated UnCountedAssociatedMessageListWithMessageBytes uncountedAssociatedMessageLists = 2;
2513
2941
  repeated WebMessageInfoWithMessageBytes commentMessages = 3;
2514
2942
  repeated WebMessageInfoWithMessageBytes outOfWindowPinnedMessages = 4;
2943
+ optional WebMessageInfoWithMessageBytes themeMessage = 5;
2515
2944
  }
2516
2945
 
2517
2946
  message GroupMention {
@@ -2616,6 +3045,9 @@ message HistorySync {
2616
3045
  optional bytes nctSalt = 19;
2617
3046
  repeated InlineContact inlineContacts = 20;
2618
3047
  optional bool inlineContactsProvided = 21;
3048
+ repeated StickerMetadata favoriteStickers = 22;
3049
+ repeated RecoverableHistoryConversation omittedConversations = 23;
3050
+ optional bool omittedConversationsProvided = 24;
2619
3051
  enum BotAIWaitListState {
2620
3052
  IN_WAITLIST = 0;
2621
3053
  AI_AVAILABLE = 1;
@@ -2823,6 +3255,181 @@ message Location {
2823
3255
  enum MENTION_MENTION_TYPE {
2824
3256
  PROFILE = 0;
2825
3257
  }
3258
+ message MandrakeDecryptMekInput {
3259
+ optional bytes encryptedMek = 1;
3260
+ optional bytes recipientsHash = 4;
3261
+ optional bytes recipientEncSk = 5;
3262
+ optional uint64 mekEncryptionVersion = 6;
3263
+ optional MinosClientConfig conf = 7;
3264
+ optional MessagingMailboxPublicData recipientMmk = 8;
3265
+ optional bytes mekId = 9;
3266
+ optional MerkleMembershipProof recipientMembershipProof = 10;
3267
+ oneof senderPublicData {
3268
+ MandrakeDecryptMekInput.MmkSenderPublicData mmkSender = 2;
3269
+ MandrakeDecryptMekInput.EpochSenderPublicData epochSender = 3;
3270
+ MandrakeDecryptMekInput.PrecomputedEpochSenderPublicData precomputedEpochSender = 11;
3271
+ }
3272
+ message EpochSenderPublicData {
3273
+ optional EpochPublicData epochPublicData = 1;
3274
+ }
3275
+
3276
+ message MmkSenderPublicData {
3277
+ optional MessagingMailboxPublicData mmkPublicData = 1;
3278
+ }
3279
+
3280
+ message PrecomputedEpochSenderPublicData {
3281
+ optional bytes authPk = 1;
3282
+ optional bytes epochHead = 2;
3283
+ }
3284
+
3285
+ }
3286
+
3287
+ message MandrakeDecryptMekResult {
3288
+ oneof result {
3289
+ MandrakeDecryptMekSuccess success = 1;
3290
+ string errorMessage = 2;
3291
+ }
3292
+ }
3293
+
3294
+ message MandrakeDecryptMekSuccess {
3295
+ optional bytes mek = 1;
3296
+ }
3297
+
3298
+ message MandrakeEncryptMekInput {
3299
+ optional MandrakeMekBundle mek = 1;
3300
+ repeated MessagingMailboxPublicData recipients = 2;
3301
+ optional MinosClientConfig conf = 5;
3302
+ oneof sender {
3303
+ MandrakeEncryptMekInput.MmkSender mmkSender = 3;
3304
+ MandrakeEncryptMekInput.EpochSender epochSender = 4;
3305
+ MandrakeEncryptMekInput.DetachedDeviceSender detachedDeviceSender = 6;
3306
+ }
3307
+ message DetachedDeviceSender {
3308
+ optional DetachedDevicePublicData detachedDevicePublicData = 1;
3309
+ optional bytes authSk = 2;
3310
+ optional bytes authPk = 3;
3311
+ }
3312
+
3313
+ message EpochSender {
3314
+ optional EpochPublicData epochPublicData = 1;
3315
+ optional bytes authSk = 2;
3316
+ optional bytes authPk = 3;
3317
+ }
3318
+
3319
+ message MmkSender {
3320
+ optional MessagingMailboxPublicData mmkPublicData = 1;
3321
+ optional bytes authSk = 2;
3322
+ optional bytes authPk = 3;
3323
+ }
3324
+
3325
+ }
3326
+
3327
+ message MandrakeEncryptMekResult {
3328
+ oneof result {
3329
+ MandrakeEncryptMekSuccess success = 1;
3330
+ string errorMessage = 2;
3331
+ }
3332
+ }
3333
+
3334
+ message MandrakeEncryptMekSuccess {
3335
+ repeated MekDistributionSingleRecipient distributions = 1;
3336
+ optional bytes recipientsHash = 2;
3337
+ optional uint64 version = 3;
3338
+ message MekDistributionSingleRecipient {
3339
+ optional bytes encryptedMek = 1;
3340
+ optional MessagingMailboxPublicData toMmk = 2;
3341
+ optional MerkleMembershipProof recipientMembershipProof = 3;
3342
+ }
3343
+
3344
+ }
3345
+
3346
+ message MandrakeMekBundle {
3347
+ optional bytes key = 1;
3348
+ optional bytes mekId = 2;
3349
+ optional bytes mailboxHeadHash = 3;
3350
+ }
3351
+
3352
+ message MandrakeOpenEpochInput {
3353
+ optional string userFbid = 1;
3354
+ optional uint64 epochNumber = 2;
3355
+ optional bytes exportRootKey = 3;
3356
+ optional bytes previousExportRootKey = 4;
3357
+ optional uint64 previousEpochNumber = 5;
3358
+ optional bytes previousEpochHead = 6;
3359
+ optional MessagingMailboxPublicData previousMmk = 7;
3360
+ repeated DetachedDevicePublicData detachedDevices = 8;
3361
+ }
3362
+
3363
+ message MandrakeOpenEpochResult {
3364
+ oneof result {
3365
+ MandrakeOpenEpochSuccess success = 1;
3366
+ string errorMessage = 2;
3367
+ }
3368
+ }
3369
+
3370
+ message MandrakeOpenEpochSuccess {
3371
+ optional MinosSignedEpoch minosSignedEpoch = 1;
3372
+ optional SignedMmkDistributionFromMailbox signedMmkDistribution = 2;
3373
+ }
3374
+
3375
+ message MandrakeOpenInitialEpochInput {
3376
+ optional string userFbid = 1;
3377
+ optional uint64 epochNumber = 2;
3378
+ optional bytes exportRootKey = 3;
3379
+ repeated DetachedDevicePublicData detachedDevices = 4;
3380
+ }
3381
+
3382
+ message MandrakeOpenInitialEpochResult {
3383
+ oneof result {
3384
+ MandrakeOpenEpochSuccess success = 1;
3385
+ string errorMessage = 2;
3386
+ }
3387
+ }
3388
+
3389
+ message MandrakeValidateAndDecryptSelfMmkInput {
3390
+ optional MessagingMailboxPublicData newMmk = 1;
3391
+ optional bytes signature = 2;
3392
+ optional MessagingMailboxPublicData existingMmk = 3;
3393
+ optional bytes exportRootKey = 4;
3394
+ optional uint64 epochNumber = 5;
3395
+ optional bytes expectedEpochHead = 6;
3396
+ optional bytes encryptedMmk = 7;
3397
+ optional uint64 version = 8;
3398
+ optional MessagingMailboxPublicData latestStoredMmk = 9;
3399
+ }
3400
+
3401
+ message MandrakeValidateAndDecryptSelfMmkResult {
3402
+ oneof result {
3403
+ MandrakeValidateAndDecryptSelfMmkSuccess success = 1;
3404
+ string errorMessage = 2;
3405
+ }
3406
+ }
3407
+
3408
+ message MandrakeValidateAndDecryptSelfMmkSuccess {
3409
+ optional bytes mmkSeed = 1;
3410
+ optional bytes mailboxHeadHash = 2;
3411
+ }
3412
+
3413
+ message MandrakeValidateNewMmkFromDetachedDeviceInput {
3414
+ optional MmkFromDetachedDevice mmkFromDevice = 1;
3415
+ optional bytes signature = 2;
3416
+ optional MessagingMailboxPublicData prevMmk = 3;
3417
+ }
3418
+
3419
+ message MandrakeValidateNewMmkFromMailboxInput {
3420
+ optional MessagingMailboxPublicData newMmk = 1;
3421
+ optional bytes signature = 2;
3422
+ optional MessagingMailboxPublicData prevMmk = 3;
3423
+ optional EpochPublicData epochPublicData = 4;
3424
+ }
3425
+
3426
+ message MandrakeValidateNewMmkResult {
3427
+ oneof result {
3428
+ bool valid = 1;
3429
+ string errorMessage = 2;
3430
+ }
3431
+ }
3432
+
2826
3433
  message MediaData {
2827
3434
  optional string localPath = 1;
2828
3435
  }
@@ -2895,6 +3502,12 @@ enum MediaVisibility {
2895
3502
  OFF = 1;
2896
3503
  ON = 2;
2897
3504
  }
3505
+ message MekBundle {
3506
+ optional bytes key = 1;
3507
+ optional bytes mekId = 2;
3508
+ optional bytes rosterHash = 3;
3509
+ }
3510
+
2898
3511
  message MemberLabel {
2899
3512
  optional string label = 1;
2900
3513
  optional int64 labelTimestamp = 2;
@@ -2907,6 +3520,13 @@ message Mention {
2907
3520
  optional uint32 length = 4;
2908
3521
  }
2909
3522
 
3523
+ message MerkleMembershipProof {
3524
+ optional bytes proof = 1;
3525
+ optional bytes root = 2;
3526
+ optional uint64 leafIndex = 3;
3527
+ optional uint64 totalLeaves = 4;
3528
+ }
3529
+
2910
3530
  message Message {
2911
3531
  optional string conversation = 1;
2912
3532
  optional SenderKeyDistributionMessage senderKeyDistributionMessage = 2;
@@ -3021,6 +3641,10 @@ message Message {
3021
3641
  optional FutureProofMessage newsletterScheduledMessage = 132;
3022
3642
  optional FutureProofMessage acp2SettingMessage = 133;
3023
3643
  optional FutureProofMessage audioStickerMessage = 134;
3644
+ optional ImageMessage instantImageMessage = 135;
3645
+ optional RequestLocationMessage requestLocationMessage = 136;
3646
+ optional FutureProofMessage botGroupParticipantMessage = 137;
3647
+ optional RequestLocationUpdateMessage requestLocationUpdateMessage = 138;
3024
3648
  message AlbumMessage {
3025
3649
  optional uint32 expectedImageCount = 2;
3026
3650
  optional uint32 expectedVideoCount = 3;
@@ -3226,9 +3850,11 @@ message Message {
3226
3850
  }
3227
3851
 
3228
3852
  message ChatSolidColorWallpaper {
3229
- optional string colorLight = 1;
3230
- optional string colorDark = 2;
3853
+ optional fixed32 backgroundLightArgb = 1;
3854
+ optional fixed32 backgroundDarkArgb = 2;
3231
3855
  optional bool isDoodleEnabled = 3;
3856
+ optional fixed32 doodleLightArgb = 4;
3857
+ optional fixed32 doodleDarkArgb = 5;
3232
3858
  }
3233
3859
 
3234
3860
  message ChatStockImageWallpaper {
@@ -3269,6 +3895,11 @@ message Message {
3269
3895
 
3270
3896
  }
3271
3897
 
3898
+ message CoexConnectionDescriptor {
3899
+ optional int64 providerId = 1;
3900
+ optional string product = 2;
3901
+ }
3902
+
3272
3903
  message CommentMessage {
3273
3904
  optional Message message = 1;
3274
3905
  optional MessageKey targetMessageKey = 2;
@@ -3360,6 +3991,19 @@ message Message {
3360
3991
  optional bool isCanceled = 7;
3361
3992
  optional int64 endTime = 8;
3362
3993
  optional string callLink = 9;
3994
+ optional string coverImageHandle = 10;
3995
+ optional string locationName = 11;
3996
+ optional int64 lastUpdatedTsUsec = 12;
3997
+ optional EventStatus status = 13;
3998
+ enum EventStatus {
3999
+ UNKNOWN = 0;
4000
+ ACTIVE = 1;
4001
+ CANCELED = 2;
4002
+ SUSPENDED = 3;
4003
+ DELETED = 4;
4004
+ LEFT_EVENT = 5;
4005
+ REMOVED_FROM_INVITE_LIST = 6;
4006
+ }
3363
4007
  }
3364
4008
 
3365
4009
  message EventMessage {
@@ -3457,6 +4101,7 @@ message Message {
3457
4101
  optional string requestId = 1;
3458
4102
  optional string businessProduct = 2;
3459
4103
  optional bytes opaqueClientData = 3;
4104
+ optional Message.CoexConnectionDescriptor connection = 4;
3460
4105
  }
3461
4106
 
3462
4107
  message FutureProofMessage {
@@ -3905,6 +4550,7 @@ message Message {
3905
4550
  optional int64 messageCount = 3;
3906
4551
  repeated string nonHistoryReceivers = 4;
3907
4552
  optional int64 oldestMessageTimestampInBundle = 5;
4553
+ optional bool includesChatTheme = 6;
3908
4554
  }
3909
4555
 
3910
4556
  message MessageHistoryNotice {
@@ -4425,6 +5071,7 @@ message Message {
4425
5071
  optional ACP2Setting acp2Setting = 35;
4426
5072
  optional Message.SharedDeviceContactHashKeyShare sharedDeviceContactHashKeyShare = 36;
4427
5073
  optional Message.SharedDeviceContactHashKeyRequest sharedDeviceContactHashKeyRequest = 37;
5074
+ repeated string additionalPromptIds = 38;
4428
5075
  enum Type {
4429
5076
  REVOKE = 0;
4430
5077
  EPHEMERAL_SETTING = 3;
@@ -4476,6 +5123,20 @@ message Message {
4476
5123
  optional int64 senderTimestampMs = 4;
4477
5124
  }
4478
5125
 
5126
+ message RequestLocationMessage {
5127
+ optional ContextInfo contextInfo = 1;
5128
+ }
5129
+
5130
+ message RequestLocationUpdateMessage {
5131
+ optional MessageKey key = 1;
5132
+ optional UpdateType updateType = 2;
5133
+ optional int64 senderTimestampMs = 3;
5134
+ enum UpdateType {
5135
+ UNKNOWN = 0;
5136
+ CANCEL = 1;
5137
+ }
5138
+ }
5139
+
4479
5140
  message RequestPaymentMessage {
4480
5141
  optional Message noteMessage = 4;
4481
5142
  optional string currencyCodeIso4217 = 1;
@@ -4812,6 +5473,7 @@ message Message {
4812
5473
  optional string metadataUrl = 30;
4813
5474
  optional VideoSourceType videoSourceType = 31;
4814
5475
  optional string dashManifestUrl = 33;
5476
+ optional int64 smartThumbnailTs = 34;
4815
5477
  enum Attribution {
4816
5478
  NONE = 0;
4817
5479
  GIPHY = 1;
@@ -4841,6 +5503,7 @@ message MessageAddOn {
4841
5503
  EVENT_RESPONSE = 2;
4842
5504
  POLL_UPDATE = 3;
4843
5505
  PIN_IN_CHAT = 4;
5506
+ REQUEST_LOCATION_UPDATE = 5;
4844
5507
  }
4845
5508
  }
4846
5509
 
@@ -4875,6 +5538,8 @@ message MessageAssociation {
4875
5538
  STATUS_REACTION = 18;
4876
5539
  HEVC_VIDEO_DUAL_UPLOAD = 19;
4877
5540
  POLL_ADD_OPTION = 20;
5541
+ AV1_VIDEO_DUAL_UPLOAD = 21;
5542
+ STREAMED_HD_VIDEO_DUAL_UPLOAD = 22;
4878
5543
  }
4879
5544
  }
4880
5545
 
@@ -4926,6 +5591,188 @@ message MessageText {
4926
5591
  repeated Mention mentions = 4;
4927
5592
  }
4928
5593
 
5594
+ message MessagingMailboxPublicData {
5595
+ optional bytes epochHead = 1;
5596
+ optional bytes deviceRosterHash = 2;
5597
+ optional uint64 sequenceNumber = 3;
5598
+ optional bytes sigPk = 4;
5599
+ optional bytes encPk = 5;
5600
+ optional bytes authPk = 6;
5601
+ }
5602
+
5603
+ message MinosClientConfig {
5604
+ optional int32 preferredMessageEncryptionVersion = 1;
5605
+ optional int32 preferredMekEncryptionVersion = 2;
5606
+ }
5607
+
5608
+ message MinosCommand {
5609
+ oneof commandInput {
5610
+ MinosEncryptAndSignMessageInput encryptAndSignMessage = 1;
5611
+ MinosDecryptAndVerifyMessageInput decryptAndVerifyMessage = 2;
5612
+ GenerateMekInput generateMek = 3;
5613
+ GenerateMekRosterHashInput generateMekRosterHash = 4;
5614
+ EncryptMekForDistributionInput encryptMekForDistribution = 5;
5615
+ DecryptMekForDistributionInput decryptMekForDistribution = 6;
5616
+ EncryptMeksForDistributionFromTransportSenderInput encryptMeksForDistributionFromTransportSender = 7;
5617
+ DecryptMekForDistributionFromTransportSenderInput decryptMekForDistributionFromTransportSender = 8;
5618
+ WrapTransportSigningPublicKeyInput wrapTransportSigningPublicKey = 9;
5619
+ WrapTransportSigningSecretKeyInput wrapTransportSigningSecretKey = 10;
5620
+ DeriveMailboxSigningKeypairInput deriveMailboxSigningKeypair = 11;
5621
+ DeriveMailboxEncryptionKeypairInput deriveMailboxEncryptionKeypair = 12;
5622
+ DeriveMailboxAuthKeypairInput deriveMailboxAuthKeypair = 13;
5623
+ DeriveAttachmentAccessTokenSecretInput deriveAttachmentAccessTokenSecret = 14;
5624
+ DeriveAttachmentPrimaryKeySecretInput deriveAttachmentPrimaryKeySecret = 15;
5625
+ MinosOpenInitialEpochInput minosOpenInitialEpoch = 16;
5626
+ MinosOpenEpochInput minosOpenEpoch = 17;
5627
+ MinosValidateEpochInput minosValidateEpoch = 18;
5628
+ MinosVerifySingleEpochInput minosVerifySingleEpoch = 19;
5629
+ MinosThreadIdFromOneToOneThreadInput minosThreadIdFromOneToOneThread = 20;
5630
+ MinosThreadIdFromActThreadIdInput minosThreadIdFromActThreadId = 21;
5631
+ MandrakeOpenEpochInput mandrakeOpenEpoch = 22;
5632
+ MandrakeEncryptMekInput mandrakeEncryptMek = 23;
5633
+ MandrakeDecryptMekInput mandrakeDecryptMek = 24;
5634
+ MandrakeOpenInitialEpochInput mandrakeOpenInitialEpoch = 25;
5635
+ MandrakeValidateNewMmkFromMailboxInput mandrakeValidateNewMmkFromMailbox = 27;
5636
+ MandrakeValidateNewMmkFromDetachedDeviceInput mandrakeValidateNewMmkFromDetachedDevice = 28;
5637
+ DeriveMessagingMailboxKeypairsInput deriveMessagingMailboxKeypairs = 29;
5638
+ DecryptSelfMmkDistributionInput decryptSelfMmkDistribution = 30;
5639
+ MandrakeValidateAndDecryptSelfMmkInput mandrakeValidateAndDecryptSelfMmk = 31;
5640
+ }
5641
+ }
5642
+
5643
+ message MinosDecryptAndVerifyMessageInput {
5644
+ optional bytes transportSigningPk = 1;
5645
+ optional bytes mek = 2;
5646
+ optional bytes encryptedMessageCiphertext = 3;
5647
+ optional bytes encryptedMessageSignature = 4;
5648
+ optional MinosMessageMetadata metadata = 5;
5649
+ optional int32 messageEncryptionVersion = 6;
5650
+ optional MinosClientConfig conf = 7;
5651
+ }
5652
+
5653
+ message MinosDecryptAndVerifyMessageResult {
5654
+ oneof result {
5655
+ MinosDecryptAndVerifyMessageSuccess success = 1;
5656
+ string errorMessage = 2;
5657
+ }
5658
+ }
5659
+
5660
+ message MinosDecryptAndVerifyMessageSuccess {
5661
+ optional bytes plaintext = 1;
5662
+ }
5663
+
5664
+ message MinosEncryptAndSignMessageInput {
5665
+ optional bytes transportSigningSk = 1;
5666
+ optional bytes mek = 2;
5667
+ optional bytes plaintext = 3;
5668
+ optional MinosMessageMetadata metadata = 4;
5669
+ optional bytes transportSigningPk = 5;
5670
+ optional MinosClientConfig conf = 6;
5671
+ }
5672
+
5673
+ message MinosEncryptAndSignMessageResult {
5674
+ optional bytes ciphertext = 1;
5675
+ optional bytes signature = 2;
5676
+ optional int32 version = 3;
5677
+ }
5678
+
5679
+ message MinosMessageMetadata {
5680
+ optional bytes mekId = 1;
5681
+ optional uint64 timestamp = 2;
5682
+ optional string messageId = 3;
5683
+ optional bytes threadId = 4;
5684
+ }
5685
+
5686
+ message MinosOpenEpochInput {
5687
+ optional string userFbid = 1;
5688
+ optional uint64 epochNumber = 2;
5689
+ optional bytes exportRootKey = 3;
5690
+ optional bytes previousExportRootKey = 4;
5691
+ optional uint64 previousEpochNumber = 5;
5692
+ optional bytes previousEpochHead = 6;
5693
+ }
5694
+
5695
+ message MinosOpenEpochResult {
5696
+ optional MinosSignedEpoch minosSignedEpoch = 1;
5697
+ }
5698
+
5699
+ message MinosOpenInitialEpochInput {
5700
+ optional string userFbid = 1;
5701
+ optional uint64 epochNumber = 2;
5702
+ optional bytes exportRootKey = 3;
5703
+ }
5704
+
5705
+ message MinosOpenInitialEpochResult {
5706
+ optional MinosSignedEpoch minosSignedEpoch = 1;
5707
+ }
5708
+
5709
+ message MinosSignedEpoch {
5710
+ optional EpochPublicData epochPublicData = 1;
5711
+ optional EpochSignatures signatures = 2;
5712
+ optional bytes epochHead = 3;
5713
+ }
5714
+
5715
+ message MinosThreadIdFromActThreadIdInput {
5716
+ optional string actThreadId = 1;
5717
+ }
5718
+
5719
+ message MinosThreadIdFromActThreadIdResult {
5720
+ optional bytes threadId = 1;
5721
+ }
5722
+
5723
+ message MinosThreadIdFromOneToOneThreadInput {
5724
+ optional string actThreadId = 1;
5725
+ optional string selfFbid = 2;
5726
+ }
5727
+
5728
+ message MinosThreadIdFromOneToOneThreadResult {
5729
+ optional bytes threadId = 1;
5730
+ }
5731
+
5732
+ message MinosValidateEpochInput {
5733
+ optional EpochPublicData epochPublicData = 1;
5734
+ optional EpochPublicData previousEpochPublicData = 2;
5735
+ optional EpochSignatures signatures = 3;
5736
+ }
5737
+
5738
+ message MinosValidateEpochResult {
5739
+ oneof result {
5740
+ bool valid = 1;
5741
+ string errorMessage = 2;
5742
+ }
5743
+ }
5744
+
5745
+ message MinosVerifySingleEpochInput {
5746
+ optional EpochPublicData epochPublicData = 1;
5747
+ optional bytes signature = 2;
5748
+ }
5749
+
5750
+ message MinosVerifySingleEpochResult {
5751
+ optional bool valid = 1;
5752
+ }
5753
+
5754
+ message MmkDistribution {
5755
+ repeated MmkDistributionToDetachedDevice toDetachedDevices = 1;
5756
+ optional MmkDistributionToMailbox toMailbox = 2;
5757
+ optional uint64 version = 3;
5758
+ }
5759
+
5760
+ message MmkDistributionToDetachedDevice {
5761
+ optional bytes encryptedMmk = 1;
5762
+ optional bytes recipDeviceHash = 2;
5763
+ }
5764
+
5765
+ message MmkDistributionToMailbox {
5766
+ optional bytes encryptedMmk = 1;
5767
+ optional bytes recipMailboxHeadHash = 2;
5768
+ }
5769
+
5770
+ message MmkFromDetachedDevice {
5771
+ optional MessagingMailboxPublicData mmk = 1;
5772
+ optional DetachedDevicePublicData fromDetachedDevice = 2;
5773
+ optional MerkleMembershipProof membershipProof = 3;
5774
+ }
5775
+
4929
5776
  message Money {
4930
5777
  optional int64 value = 1;
4931
5778
  optional uint32 offset = 2;
@@ -5121,6 +5968,9 @@ enum MutationProps {
5121
5968
  SHARED_DEVICE_ALLOWLIST_ACTION = 94;
5122
5969
  CONTACT_MANAGER_METADATA_ACTION = 95;
5123
5970
  BUSINESS_FOLDER_ACTIVATION_ACTION = 96;
5971
+ GROUP_HISTORY_TOGGLE_ACTION = 97;
5972
+ BB_PRO_PENDING_CUSTOMER_BASE_ACTION = 98;
5973
+ COMMUNITY_NESTING_STATE_ACTION = 99;
5124
5974
  SHARE_OWN_PN = 10001;
5125
5975
  BUSINESS_BROADCAST_ACTION = 10002;
5126
5976
  AI_THREAD_DELETE_ACTION = 10003;
@@ -5349,6 +6199,7 @@ message Point {
5349
6199
  message PollAdditionalMetadata {
5350
6200
  optional bool pollInvalidated = 1;
5351
6201
  repeated PollNameHashHistoryEntry pollNameHashHistory = 2;
6202
+ repeated Message.PollCreationMessage.Option originalOptions = 3;
5352
6203
  message PollNameHashHistoryEntry {
5353
6204
  optional string editStanzaId = 1;
5354
6205
  optional bytes pollNameHash = 2;
@@ -5486,6 +6337,11 @@ message RecordStructure {
5486
6337
  repeated SessionStructure previousSessions = 2;
5487
6338
  }
5488
6339
 
6340
+ message RecoverableHistoryConversation {
6341
+ optional string historyChatId = 1;
6342
+ optional string accountLid = 2;
6343
+ }
6344
+
5489
6345
  message Reportable {
5490
6346
  optional uint32 minVersion = 1;
5491
6347
  optional uint32 maxVersion = 2;
@@ -5657,6 +6513,12 @@ message SignalMessage {
5657
6513
  optional bytes ciphertext = 4;
5658
6514
  }
5659
6515
 
6516
+ message SignedMmkDistributionFromMailbox {
6517
+ optional MmkDistribution mmkDistribution = 1;
6518
+ optional bytes signature = 2;
6519
+ optional MessagingMailboxPublicData fromMailbox = 3;
6520
+ }
6521
+
5660
6522
  message SignedPreKeyRecordStructure {
5661
6523
  optional uint32 id = 1;
5662
6524
  optional bytes publicKey = 2;
@@ -5892,6 +6754,9 @@ message SyncActionValue {
5892
6754
  optional SharedDeviceAllowlistAction sharedDeviceAllowlistAction = 94;
5893
6755
  optional ContactManagerMetadataAction contactManagerMetadataAction = 95;
5894
6756
  optional BusinessFolderActivationAction businessFolderActivationAction = 96;
6757
+ optional GroupHistoryToggleAction groupHistoryToggleAction = 97;
6758
+ optional BBProPendingCustomerBaseAction bbProPendingCustomerBaseAction = 98;
6759
+ optional CommunityNestingStateAction communityNestingStateAction = 99;
5895
6760
  message AgentAction {
5896
6761
  optional string name = 1;
5897
6762
  optional int32 deviceId = 2;
@@ -5925,6 +6790,10 @@ message SyncActionValue {
5925
6790
  }
5926
6791
  }
5927
6792
 
6793
+ message BBProPendingCustomerBaseAction {
6794
+ optional bool pending = 1;
6795
+ }
6796
+
5928
6797
  message BizAISettingsNudgeAction {
5929
6798
  optional BizAISettingsCategory category = 1;
5930
6799
  optional int64 version = 2;
@@ -6031,6 +6900,15 @@ message SyncActionValue {
6031
6900
  optional uint64 version = 1;
6032
6901
  }
6033
6902
 
6903
+ message CommunityNestingStateAction {
6904
+ optional NestingState nestingState = 1;
6905
+ enum NestingState {
6906
+ NESTING_STATE_UNKNOWN = 0;
6907
+ NESTING_STATE_NESTED = 1;
6908
+ NESTING_STATE_UNNESTED = 2;
6909
+ }
6910
+ }
6911
+
6034
6912
  message ContactAction {
6035
6913
  optional string fullName = 1;
6036
6914
  optional string firstName = 2;
@@ -6038,6 +6916,7 @@ message SyncActionValue {
6038
6916
  optional bool saveOnPrimaryAddressbook = 4;
6039
6917
  optional string pnJid = 5;
6040
6918
  optional string username = 6;
6919
+ optional string birthday = 7;
6041
6920
  }
6042
6921
 
6043
6922
  message ContactManagerMetadataAction {
@@ -6112,6 +6991,15 @@ message SyncActionValue {
6112
6991
 
6113
6992
  }
6114
6993
 
6994
+ message GroupHistoryToggleAction {
6995
+ optional GroupHistoryToggleMode groupHistoryToggleMode = 1;
6996
+ enum GroupHistoryToggleMode {
6997
+ GROUP_HISTORY_TOGGLE_MODE_UNKNOWN = 0;
6998
+ GROUP_HISTORY_TOGGLE_MODE_ON = 1;
6999
+ GROUP_HISTORY_TOGGLE_MODE_OFF = 2;
7000
+ }
7001
+ }
7002
+
6115
7003
  message InteractiveMessageAction {
6116
7004
  optional InteractiveMessageActionMode type = 1;
6117
7005
  optional string agmId = 2;
@@ -6159,6 +7047,8 @@ message SyncActionValue {
6159
7047
  LEAD = 16;
6160
7048
  MENTIONS_AND_REPLIES = 17;
6161
7049
  REQUESTS = 18;
7050
+ BUSINESS = 19;
7051
+ ONE_ON_ONE = 20;
6162
7052
  }
6163
7053
  }
6164
7054
 
@@ -6174,6 +7064,7 @@ message SyncActionValue {
6174
7064
  optional string fullName = 1;
6175
7065
  optional string firstName = 2;
6176
7066
  optional string username = 3;
7067
+ optional string birthday = 4;
6177
7068
  }
6178
7069
 
6179
7070
  message LocaleSetting {
@@ -6917,6 +7808,7 @@ message WebMessageInfo {
6917
7808
  optional ScheduledMessageMetadata scheduledMessageMetadata = 81;
6918
7809
  optional string decisionId = 82;
6919
7810
  repeated string decisionSources = 83;
7811
+ optional EventInviteAdditionalMetadata eventInviteAdditionalMetadata = 84;
6920
7812
  enum BizPrivacyStatus {
6921
7813
  E2EE = 0;
6922
7814
  FB = 2;
@@ -7163,7 +8055,30 @@ message WebMessageInfo {
7163
8055
  IDENTITY_TRUST_REVOKED = 228;
7164
8056
  CTWA_CONSUMER_DISCLOSURE = 230;
7165
8057
  CHANGE_ACP2_SETTING = 240;
8058
+ BIZ_CALLBACK_DISABLED = 244;
8059
+ BIZ_CALLBACK_ENABLED = 247;
7166
8060
  EPHEMERAL_CHANGED_FOR_COEX = 248;
8061
+ UGC_BOT_PROFILE_UPDATED = 249;
8062
+ ORDER_EPHEMERAL_EXEMPTION = 250;
8063
+ GROUP_DEFAULT_SUB_GROUP_DEMOTE = 251;
8064
+ BIZ_BUSINESS_BROADCAST_ENTRY_POINT = 252;
8065
+ BOT_INLINE_TOS_CHAT = 253;
8066
+ CAMEO_CHAT_CREATED = 254;
8067
+ SENDER_SIDE_CONTACT_INFO = 255;
8068
+ CAMEO_TRANSITIONED = 256;
8069
+ CAMEO_REGISTERED_WITH_NEW_CHAT = 257;
8070
+ PRIVACY_SYSTEM_MESSAGE = 258;
8071
+ BIZ_AI_LEARNING_ENABLED_DISCLOSURE = 259;
8072
+ BIZ_AI_LEARNING_DISABLED_DISCLOSURE = 260;
8073
+ BIZ_AI_REPLIES_MUTED_HISTORICAL_CHAT = 261;
8074
+ INVITE_FROM_IG = 262;
8075
+ GROUP_ADMIN_FIRST_JOIN_VIA_LINK = 263;
8076
+ GROUP_ADMIN_FLOOD_JOIN_VIA_LINK = 264;
8077
+ BIZ_AI_REPLIES_MUTED_IRRELEVANT_HISTORICAL_CHAT = 265;
8078
+ PENDING_INVITE_CREATED = 266;
8079
+ CAMEO_CHAT_EXPIRED = 267;
8080
+ GROUP_PUSHNAME_SHARED = 270;
8081
+ BIZ_POST_SEND_OPT_OUT = 271;
7167
8082
  }
7168
8083
  }
7169
8084
 
@@ -7179,6 +8094,22 @@ message WebNotificationsInfo {
7179
8094
  repeated WebMessageInfo notifyMessages = 5;
7180
8095
  }
7181
8096
 
8097
+ message WrapTransportSigningPublicKeyInput {
8098
+ optional bytes keyBytes = 1;
8099
+ }
8100
+
8101
+ message WrapTransportSigningPublicKeyResult {
8102
+ optional bytes prefixedKey = 1;
8103
+ }
8104
+
8105
+ message WrapTransportSigningSecretKeyInput {
8106
+ optional bytes keyBytes = 1;
8107
+ }
8108
+
8109
+ message WrapTransportSigningSecretKeyResult {
8110
+ optional bytes prefixedKey = 1;
8111
+ }
8112
+
7182
8113
  // >>> wa.voip (VoIP engine, generated by decode-voip-wasm.js) >>>
7183
8114
  enum DataChannelMessage_MessageScope {
7184
8115
  MESSAGE_SCOPE_UNSPECIFIED = 0;