@rexxhayanasi/elaina-baileys 1.1.0-rc.4 → 1.1.0-rc.6

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.1023888953
4
+ /// WhatsApp Version: 2.3000.1029496320
5
5
 
6
6
  message ADVDeviceIdentity {
7
7
  optional uint32 rawId = 1;
@@ -42,169 +42,213 @@ message ADVSignedKeyIndexList {
42
42
  optional bytes accountSignatureKey = 3;
43
43
  }
44
44
 
45
+ message AIHomeState {
46
+ optional int64 lastFetchTime = 1;
47
+ repeated AIHomeOption capabilityOptions = 2;
48
+ repeated AIHomeOption conversationOptions = 3;
49
+ message AIHomeOption {
50
+ optional AIHomeActionType type = 1;
51
+ optional string title = 2;
52
+ optional string promptText = 3;
53
+ optional string sessionId = 4;
54
+ optional string imageWdsIdentifier = 5;
55
+ optional string imageTintColor = 6;
56
+ optional string imageBackgroundColor = 7;
57
+ enum AIHomeActionType {
58
+ PROMPT = 0;
59
+ CREATE_IMAGE = 1;
60
+ ANIMATE_PHOTO = 2;
61
+ ANALYZE_FILE = 3;
62
+ }
63
+ }
64
+
65
+ }
66
+
67
+
45
68
  message AIQueryFanout {
46
69
  optional MessageKey messageKey = 1;
47
70
  optional Message message = 2;
48
71
  optional int64 timestamp = 3;
49
72
  }
50
73
 
51
- message AIRichResponseMessage {
52
- optional AIRichResponseMessageType messageType = 1;
53
- repeated AIRichResponseSubMessage submessages = 2;
54
- optional AIRichResponseUnifiedResponse unifiedResponse = 3;
55
- optional ContextInfo contextInfo = 4;
56
- message AIRichResponseCodeMetadata {
57
- optional string codeLanguage = 1;
58
- repeated AIRichResponseCodeBlock codeBlocks = 2;
59
- message AIRichResponseCodeBlock {
60
- optional AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeHighlightType highlightType = 1;
61
- optional string codeContent = 2;
62
- }
63
-
64
- enum AIRichResponseCodeHighlightType {
65
- AI_RICH_RESPONSE_CODE_HIGHLIGHT_DEFAULT = 0;
66
- AI_RICH_RESPONSE_CODE_HIGHLIGHT_KEYWORD = 1;
67
- AI_RICH_RESPONSE_CODE_HIGHLIGHT_METHOD = 2;
68
- AI_RICH_RESPONSE_CODE_HIGHLIGHT_STRING = 3;
69
- AI_RICH_RESPONSE_CODE_HIGHLIGHT_NUMBER = 4;
70
- AI_RICH_RESPONSE_CODE_HIGHLIGHT_COMMENT = 5;
71
- }
72
- }
73
-
74
- message AIRichResponseContentItemsMetadata {
75
- repeated AIRichResponseContentItemMetadata itemsMetadata = 1;
76
- optional ContentType contentType = 2;
77
- message AIRichResponseContentItemMetadata {
78
- oneof aIRichResponseContentItem {
79
- AIRichResponseMessage.AIRichResponseContentItemsMetadata.AIRichResponseReelItem reelItem = 1;
80
- }
81
- }
82
-
83
- message AIRichResponseReelItem {
84
- optional string title = 1;
85
- optional string profileIconUrl = 2;
86
- optional string thumbnailUrl = 3;
87
- optional string videoUrl = 4;
88
- }
89
-
90
- enum ContentType {
91
- DEFAULT = 0;
92
- CAROUSEL = 1;
93
- }
74
+ message AIRegenerateMetadata {
75
+ optional MessageKey messageKey = 1;
76
+ optional int64 responseTimestampMs = 2;
77
+ }
78
+
79
+ message AIRichResponseCodeMetadata {
80
+ optional string codeLanguage = 1;
81
+ repeated AIRichResponseCodeBlock codeBlocks = 2;
82
+ message AIRichResponseCodeBlock {
83
+ optional AIRichResponseCodeMetadata.AIRichResponseCodeHighlightType highlightType = 1;
84
+ optional string codeContent = 2;
94
85
  }
95
86
 
96
- message AIRichResponseDynamicMetadata {
97
- optional AIRichResponseDynamicMetadataType type = 1;
98
- optional uint64 version = 2;
99
- optional string url = 3;
100
- optional uint32 loopCount = 4;
101
- enum AIRichResponseDynamicMetadataType {
102
- AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_UNKNOWN = 0;
103
- AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_IMAGE = 1;
104
- AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_GIF = 2;
87
+ enum AIRichResponseCodeHighlightType {
88
+ AI_RICH_RESPONSE_CODE_HIGHLIGHT_DEFAULT = 0;
89
+ AI_RICH_RESPONSE_CODE_HIGHLIGHT_KEYWORD = 1;
90
+ AI_RICH_RESPONSE_CODE_HIGHLIGHT_METHOD = 2;
91
+ AI_RICH_RESPONSE_CODE_HIGHLIGHT_STRING = 3;
92
+ AI_RICH_RESPONSE_CODE_HIGHLIGHT_NUMBER = 4;
93
+ AI_RICH_RESPONSE_CODE_HIGHLIGHT_COMMENT = 5;
94
+ }
95
+ }
96
+
97
+ message AIRichResponseContentItemsMetadata {
98
+ repeated AIRichResponseContentItemMetadata itemsMetadata = 1;
99
+ optional ContentType contentType = 2;
100
+ message AIRichResponseContentItemMetadata {
101
+ oneof aIRichResponseContentItem {
102
+ AIRichResponseContentItemsMetadata.AIRichResponseReelItem reelItem = 1;
105
103
  }
106
104
  }
107
105
 
108
- message AIRichResponseGridImageMetadata {
109
- optional AIRichResponseMessage.AIRichResponseImageURL gridImageUrl = 1;
110
- repeated AIRichResponseMessage.AIRichResponseImageURL imageUrls = 2;
106
+ message AIRichResponseReelItem {
107
+ optional string title = 1;
108
+ optional string profileIconUrl = 2;
109
+ optional string thumbnailUrl = 3;
110
+ optional string videoUrl = 4;
111
111
  }
112
112
 
113
- message AIRichResponseImageURL {
114
- optional string imagePreviewUrl = 1;
115
- optional string imageHighResUrl = 2;
116
- optional string sourceUrl = 3;
113
+ enum ContentType {
114
+ DEFAULT = 0;
115
+ CAROUSEL = 1;
117
116
  }
118
-
119
- message AIRichResponseInlineImageMetadata {
120
- optional AIRichResponseMessage.AIRichResponseImageURL imageUrl = 1;
121
- optional string imageText = 2;
122
- optional AIRichResponseImageAlignment alignment = 3;
123
- optional string tapLinkUrl = 4;
124
- enum AIRichResponseImageAlignment {
125
- AI_RICH_RESPONSE_IMAGE_LAYOUT_LEADING_ALIGNED = 0;
126
- AI_RICH_RESPONSE_IMAGE_LAYOUT_TRAILING_ALIGNED = 1;
127
- AI_RICH_RESPONSE_IMAGE_LAYOUT_CENTER_ALIGNED = 2;
128
- }
117
+ }
118
+
119
+ message AIRichResponseDynamicMetadata {
120
+ optional AIRichResponseDynamicMetadataType type = 1;
121
+ optional uint64 version = 2;
122
+ optional string url = 3;
123
+ optional uint32 loopCount = 4;
124
+ enum AIRichResponseDynamicMetadataType {
125
+ AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_UNKNOWN = 0;
126
+ AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_IMAGE = 1;
127
+ AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_GIF = 2;
129
128
  }
130
-
131
- message AIRichResponseLatexMetadata {
132
- optional string text = 1;
133
- repeated AIRichResponseLatexExpression expressions = 2;
134
- message AIRichResponseLatexExpression {
135
- optional string latexExpression = 1;
136
- optional string url = 2;
137
- optional double width = 3;
138
- optional double height = 4;
139
- optional double fontHeight = 5;
140
- optional double imageTopPadding = 6;
141
- optional double imageLeadingPadding = 7;
142
- optional double imageBottomPadding = 8;
143
- optional double imageTrailingPadding = 9;
144
- }
145
-
129
+ }
130
+
131
+ message AIRichResponseGridImageMetadata {
132
+ optional AIRichResponseImageURL gridImageUrl = 1;
133
+ repeated AIRichResponseImageURL imageUrls = 2;
134
+ }
135
+
136
+ message AIRichResponseImageURL {
137
+ optional string imagePreviewUrl = 1;
138
+ optional string imageHighResUrl = 2;
139
+ optional string sourceUrl = 3;
140
+ }
141
+
142
+ message AIRichResponseInlineImageMetadata {
143
+ optional AIRichResponseImageURL imageUrl = 1;
144
+ optional string imageText = 2;
145
+ optional AIRichResponseImageAlignment alignment = 3;
146
+ optional string tapLinkUrl = 4;
147
+ enum AIRichResponseImageAlignment {
148
+ AI_RICH_RESPONSE_IMAGE_LAYOUT_LEADING_ALIGNED = 0;
149
+ AI_RICH_RESPONSE_IMAGE_LAYOUT_TRAILING_ALIGNED = 1;
150
+ AI_RICH_RESPONSE_IMAGE_LAYOUT_CENTER_ALIGNED = 2;
146
151
  }
147
-
148
- message AIRichResponseMapMetadata {
149
- optional double centerLatitude = 1;
150
- optional double centerLongitude = 2;
151
- optional double latitudeDelta = 3;
152
- optional double longitudeDelta = 4;
153
- repeated AIRichResponseMapAnnotation annotations = 5;
154
- optional bool showInfoList = 6;
155
- message AIRichResponseMapAnnotation {
156
- optional uint32 annotationNumber = 1;
157
- optional double latitude = 2;
158
- optional double longitude = 3;
159
- optional string title = 4;
160
- optional string body = 5;
161
- }
162
-
152
+ }
153
+
154
+ message AIRichResponseLatexMetadata {
155
+ optional string text = 1;
156
+ repeated AIRichResponseLatexExpression expressions = 2;
157
+ message AIRichResponseLatexExpression {
158
+ optional string latexExpression = 1;
159
+ optional string url = 2;
160
+ optional double width = 3;
161
+ optional double height = 4;
162
+ optional double fontHeight = 5;
163
+ optional double imageTopPadding = 6;
164
+ optional double imageLeadingPadding = 7;
165
+ optional double imageBottomPadding = 8;
166
+ optional double imageTrailingPadding = 9;
167
+ }
168
+
169
+ }
170
+
171
+ message AIRichResponseMapMetadata {
172
+ optional double centerLatitude = 1;
173
+ optional double centerLongitude = 2;
174
+ optional double latitudeDelta = 3;
175
+ optional double longitudeDelta = 4;
176
+ repeated AIRichResponseMapAnnotation annotations = 5;
177
+ optional bool showInfoList = 6;
178
+ message AIRichResponseMapAnnotation {
179
+ optional uint32 annotationNumber = 1;
180
+ optional double latitude = 2;
181
+ optional double longitude = 3;
182
+ optional string title = 4;
183
+ optional string body = 5;
163
184
  }
164
-
165
- enum AIRichResponseMessageType {
166
- AI_RICH_RESPONSE_TYPE_UNKNOWN = 0;
167
- AI_RICH_RESPONSE_TYPE_STANDARD = 1;
168
- }
169
- message AIRichResponseSubMessage {
170
- optional AIRichResponseMessage.AIRichResponseSubMessageType messageType = 1;
171
- optional AIRichResponseMessage.AIRichResponseGridImageMetadata gridImageMetadata = 2;
172
- optional string messageText = 3;
173
- optional AIRichResponseMessage.AIRichResponseInlineImageMetadata imageMetadata = 4;
174
- optional AIRichResponseMessage.AIRichResponseCodeMetadata codeMetadata = 5;
175
- optional AIRichResponseMessage.AIRichResponseTableMetadata tableMetadata = 6;
176
- optional AIRichResponseMessage.AIRichResponseDynamicMetadata dynamicMetadata = 7;
177
- optional AIRichResponseMessage.AIRichResponseLatexMetadata latexMetadata = 8;
178
- optional AIRichResponseMessage.AIRichResponseMapMetadata mapMetadata = 9;
179
- optional AIRichResponseMessage.AIRichResponseContentItemsMetadata contentItemsMetadata = 10;
180
- }
181
-
182
- enum AIRichResponseSubMessageType {
183
- AI_RICH_RESPONSE_UNKNOWN = 0;
184
- AI_RICH_RESPONSE_GRID_IMAGE = 1;
185
- AI_RICH_RESPONSE_TEXT = 2;
186
- AI_RICH_RESPONSE_INLINE_IMAGE = 3;
187
- AI_RICH_RESPONSE_TABLE = 4;
188
- AI_RICH_RESPONSE_CODE = 5;
189
- AI_RICH_RESPONSE_DYNAMIC = 6;
190
- AI_RICH_RESPONSE_MAP = 7;
191
- AI_RICH_RESPONSE_LATEX = 8;
192
- AI_RICH_RESPONSE_CONTENT_ITEMS = 9;
193
- }
194
- message AIRichResponseTableMetadata {
195
- repeated AIRichResponseTableRow rows = 1;
196
- optional string title = 2;
197
- message AIRichResponseTableRow {
198
- repeated string items = 1;
199
- optional bool isHeading = 2;
200
- }
201
-
185
+ }
186
+
187
+ message AIRichResponseMessage {
188
+ optional AIRichResponseMessageType messageType = 1;
189
+ repeated AIRichResponseSubMessage submessages = 2;
190
+ optional AIRichResponseUnifiedResponse unifiedResponse = 3;
191
+ optional ContextInfo contextInfo = 4;
192
+ }
193
+
194
+ enum AIRichResponseMessageType {
195
+ AI_RICH_RESPONSE_TYPE_UNKNOWN = 0;
196
+ AI_RICH_RESPONSE_TYPE_STANDARD = 1;
197
+ }
198
+ message AIRichResponseSubMessage {
199
+ optional AIRichResponseSubMessageType messageType = 1;
200
+ optional AIRichResponseGridImageMetadata gridImageMetadata = 2;
201
+ optional string messageText = 3;
202
+ optional AIRichResponseInlineImageMetadata imageMetadata = 4;
203
+ optional AIRichResponseCodeMetadata codeMetadata = 5;
204
+ optional AIRichResponseTableMetadata tableMetadata = 6;
205
+ optional AIRichResponseDynamicMetadata dynamicMetadata = 7;
206
+ optional AIRichResponseLatexMetadata latexMetadata = 8;
207
+ optional AIRichResponseMapMetadata mapMetadata = 9;
208
+ optional AIRichResponseContentItemsMetadata contentItemsMetadata = 10;
209
+ }
210
+
211
+ enum AIRichResponseSubMessageType {
212
+ AI_RICH_RESPONSE_UNKNOWN = 0;
213
+ AI_RICH_RESPONSE_GRID_IMAGE = 1;
214
+ AI_RICH_RESPONSE_TEXT = 2;
215
+ AI_RICH_RESPONSE_INLINE_IMAGE = 3;
216
+ AI_RICH_RESPONSE_TABLE = 4;
217
+ AI_RICH_RESPONSE_CODE = 5;
218
+ AI_RICH_RESPONSE_DYNAMIC = 6;
219
+ AI_RICH_RESPONSE_MAP = 7;
220
+ AI_RICH_RESPONSE_LATEX = 8;
221
+ AI_RICH_RESPONSE_CONTENT_ITEMS = 9;
222
+ }
223
+ message AIRichResponseTableMetadata {
224
+ repeated AIRichResponseTableRow rows = 1;
225
+ optional string title = 2;
226
+ message AIRichResponseTableRow {
227
+ repeated string items = 1;
228
+ optional bool isHeading = 2;
202
229
  }
203
-
204
- message AIRichResponseUnifiedResponse {
205
- optional bytes data = 1;
230
+
231
+ }
232
+
233
+ message AIRichResponseUnifiedResponse {
234
+ optional bytes data = 1;
235
+ }
236
+
237
+ message AIThreadInfo {
238
+ optional AIThreadServerInfo serverInfo = 1;
239
+ optional AIThreadClientInfo clientInfo = 2;
240
+ message AIThreadClientInfo {
241
+ optional AIThreadType type = 1;
242
+ enum AIThreadType {
243
+ UNKNOWN = 0;
244
+ DEFAULT = 1;
245
+ INCOGNITO = 2;
246
+ }
247
+ }
248
+
249
+ message AIThreadServerInfo {
250
+ optional string title = 1;
206
251
  }
207
-
208
252
  }
209
253
 
210
254
  message Account {
@@ -278,6 +322,11 @@ message BizIdentityInfo {
278
322
  message BotAgeCollectionMetadata {
279
323
  optional bool ageCollectionEligible = 1;
280
324
  optional bool shouldTriggerAgeCollectionOnClient = 2;
325
+ optional AgeCollectionType ageCollectionType = 3;
326
+ enum AgeCollectionType {
327
+ O18_BINARY = 0;
328
+ WAFFLE = 1;
329
+ }
281
330
  }
282
331
 
283
332
  message BotAvatarMetadata {
@@ -328,7 +377,118 @@ message BotCapabilityMetadata {
328
377
  RICH_RESPONSE_UNIFIED_RESPONSE = 34;
329
378
  PROMOTION_MESSAGE = 35;
330
379
  SIMPLIFIED_PROFILE_PAGE = 36;
380
+ RICH_RESPONSE_SOURCES_IN_MESSAGE = 37;
381
+ RICH_RESPONSE_SIDE_BY_SIDE_SURVEY = 38;
382
+ RICH_RESPONSE_UNIFIED_TEXT_COMPONENT = 39;
383
+ AI_SHARED_MEMORY = 40;
384
+ RICH_RESPONSE_UNIFIED_SOURCES = 41;
385
+ RICH_RESPONSE_UNIFIED_DOMAIN_CITATIONS = 42;
386
+ RICH_RESPONSE_UR_INLINE_REELS_ENABLED = 43;
387
+ RICH_RESPONSE_UR_MEDIA_GRID_ENABLED = 44;
388
+ RICH_RESPONSE_UR_TIMESTAMP_PLACEHOLDER = 45;
389
+ RICH_RESPONSE_IN_APP_SURVEY = 46;
390
+ AI_RESPONSE_MODEL_BRANDING = 47;
391
+ SESSION_TRANSPARENCY_SYSTEM_MESSAGE = 48;
392
+ RICH_RESPONSE_UR_REASONING = 49;
393
+ }
394
+ }
395
+ message BotFeedbackMessage {
396
+ optional MessageKey messageKey = 1;
397
+ optional BotFeedbackKind kind = 2;
398
+ optional string text = 3;
399
+ optional uint64 kindNegative = 4;
400
+ optional uint64 kindPositive = 5;
401
+ optional ReportKind kindReport = 6;
402
+ optional SideBySideSurveyMetadata sideBySideSurveyMetadata = 7;
403
+ enum BotFeedbackKind {
404
+ BOT_FEEDBACK_POSITIVE = 0;
405
+ BOT_FEEDBACK_NEGATIVE_GENERIC = 1;
406
+ BOT_FEEDBACK_NEGATIVE_HELPFUL = 2;
407
+ BOT_FEEDBACK_NEGATIVE_INTERESTING = 3;
408
+ BOT_FEEDBACK_NEGATIVE_ACCURATE = 4;
409
+ BOT_FEEDBACK_NEGATIVE_SAFE = 5;
410
+ BOT_FEEDBACK_NEGATIVE_OTHER = 6;
411
+ BOT_FEEDBACK_NEGATIVE_REFUSED = 7;
412
+ BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING = 8;
413
+ BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT = 9;
414
+ BOT_FEEDBACK_NEGATIVE_PERSONALIZED = 10;
415
+ BOT_FEEDBACK_NEGATIVE_CLARITY = 11;
416
+ BOT_FEEDBACK_NEGATIVE_DOESNT_LOOK_LIKE_THE_PERSON = 12;
417
+ BOT_FEEDBACK_NEGATIVE_HALLUCINATION_INTERNAL_ONLY = 13;
418
+ BOT_FEEDBACK_NEGATIVE = 14;
419
+ }
420
+ enum BotFeedbackKindMultipleNegative {
421
+ BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC = 1;
422
+ BOT_FEEDBACK_MULTIPLE_NEGATIVE_HELPFUL = 2;
423
+ BOT_FEEDBACK_MULTIPLE_NEGATIVE_INTERESTING = 4;
424
+ BOT_FEEDBACK_MULTIPLE_NEGATIVE_ACCURATE = 8;
425
+ BOT_FEEDBACK_MULTIPLE_NEGATIVE_SAFE = 16;
426
+ BOT_FEEDBACK_MULTIPLE_NEGATIVE_OTHER = 32;
427
+ BOT_FEEDBACK_MULTIPLE_NEGATIVE_REFUSED = 64;
428
+ BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_VISUALLY_APPEALING = 128;
429
+ BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_RELEVANT_TO_TEXT = 256;
430
+ }
431
+ enum BotFeedbackKindMultiplePositive {
432
+ BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC = 1;
433
+ }
434
+ enum ReportKind {
435
+ NONE = 0;
436
+ GENERIC = 1;
437
+ }
438
+
439
+ message SideBySideSurveyMetadata {
440
+ optional string selectedRequestId = 1;
441
+ optional uint32 surveyId = 2;
442
+ optional string simonSessionFbid = 3;
443
+ optional string responseOtid = 4;
444
+ optional string responseTimestampMsString = 5;
445
+ optional bool isSelectedResponsePrimary = 6;
446
+ optional string messageIdToEdit = 7;
447
+ optional SideBySideSurveyAnalyticsData analyticsData = 8;
448
+ optional SidebySideSurveyMetaAiAnalyticsData metaAiAnalyticsData = 9;
449
+ message SideBySideSurveyAnalyticsData {
450
+ optional string tessaEvent = 1;
451
+ optional string tessaSessionFbid = 2;
452
+ optional string simonSessionFbid = 3;
453
+ }
454
+
455
+ message SideBySideSurveyAnalyticsData {
456
+ optional string tessaEvent = 1;
457
+ optional string tessaSessionFbid = 2;
458
+ optional string simonSessionFbid = 3;
459
+ }
460
+
461
+ message SidebySideSurveyMetaAiAnalyticsData {
462
+ optional uint32 surveyId = 1;
463
+ optional string primaryResponseId = 2;
464
+ optional string testArmName = 3;
465
+ optional string timestampMsString = 4;
466
+ optional SideBySideSurveyCTAImpressionEventData ctaImpressionEvent = 5;
467
+ optional SideBySideSurveyCTAClickEventData ctaClickEvent = 6;
468
+ optional SideBySideSurveyCardImpressionEventData cardImpressionEvent = 7;
469
+ optional SideBySideSurveyResponseEventData responseEvent = 8;
470
+ optional SideBySideSurveyAbandonEventData abandonEvent = 9;
471
+ message SideBySideSurveyAbandonEventData {
472
+ optional string abandonDwellTimeMsString = 1;
473
+ }
474
+
475
+ message SideBySideSurveyCTAClickEventData {
476
+ optional bool isSurveyExpired = 1;
477
+ optional string clickDwellTimeMsString = 2;
478
+ }
479
+
480
+ message SideBySideSurveyCardImpressionEventData {
481
+ }
482
+
483
+ message SideBySideSurveyResponseEventData {
484
+ optional string responseDwellTimeMsString = 1;
485
+ optional string selectedResponseId = 2;
486
+ }
487
+
488
+ }
489
+
331
490
  }
491
+
332
492
  }
333
493
 
334
494
  message BotImagineMetadata {
@@ -385,6 +545,23 @@ message BotMemuMetadata {
385
545
  repeated BotMediaMetadata faceImages = 1;
386
546
  }
387
547
 
548
+ message BotMessageOrigin {
549
+ optional BotMessageOriginType type = 1;
550
+ enum BotMessageOriginType {
551
+ BOT_MESSAGE_ORIGIN_TYPE_AI_INITIATED = 0;
552
+ }
553
+ }
554
+
555
+ message BotMessageOriginMetadata {
556
+ repeated BotMessageOrigin origins = 1;
557
+ }
558
+
559
+ message BotMessageSharingInfo {
560
+ optional BotMetricsEntryPoint botEntryPointOrigin = 1;
561
+ optional uint32 forwardScore = 2;
562
+ }
563
+
564
+
388
565
  message BotMetadata {
389
566
  optional BotAvatarMetadata avatarMetadata = 1;
390
567
  optional string personaId = 2;
@@ -413,9 +590,17 @@ message BotMetadata {
413
590
  optional string conversationStarterPromptId = 25;
414
591
  optional string botResponseId = 26;
415
592
  optional BotSignatureVerificationMetadata verificationMetadata = 27;
593
+ optional BotUnifiedResponseMutation unifiedResponseMutation = 28;
594
+ optional BotMessageOriginMetadata botMessageOriginMetadata = 29;
595
+ optional InThreadSurveyMetadata inThreadSurveyMetadata = 30;
596
+ optional AIThreadInfo botThreadInfo = 31;
597
+ optional AIRegenerateMetadata regenerateMetadata = 32;
598
+ optional SessionTransparencyMetadata sessionTransparencyMetadata = 33;
599
+ optional bytes internalMetadata = 999;
416
600
  }
417
601
 
418
602
  enum BotMetricsEntryPoint {
603
+ UNDEFINED_ENTRY_POINT = 0;
419
604
  FAVICON = 1;
420
605
  CHATLIST = 2;
421
606
  AISEARCH_NULL_STATE_PAPER_PLANE = 3;
@@ -441,7 +626,21 @@ enum BotMetricsEntryPoint {
441
626
  UGC_CHAT_SHORTCUT_AI_STUDIO = 23;
442
627
  NEW_CHAT_AI_STUDIO = 24;
443
628
  AIVOICE_FAVICON_CALL_HISTORY = 25;
629
+ ASK_META_AI_CONTEXT_MENU = 26;
630
+ ASK_META_AI_CONTEXT_MENU_1ON1 = 27;
631
+ ASK_META_AI_CONTEXT_MENU_GROUP = 28;
632
+ INVOKE_META_AI_1ON1 = 29;
633
+ INVOKE_META_AI_GROUP = 30;
634
+ META_AI_FORWARD = 31;
635
+ NEW_CHAT_AI_CONTACT = 32;
636
+ MESSAGE_QUICK_ACTION_1_ON_1_CHAT = 33;
637
+ MESSAGE_QUICK_ACTION_GROUP_CHAT = 34;
638
+ ATTACHMENT_TRAY_1_ON_1_CHAT = 35;
639
+ ATTACHMENT_TRAY_GROUP_CHAT = 36;
640
+ ASK_META_AI_MEDIA_VIEWER_1ON1 = 37;
641
+ ASK_META_AI_MEDIA_VIEWER_GROUP = 38;
444
642
  }
643
+
445
644
  message BotMetricsMetadata {
446
645
  optional string destinationId = 1;
447
646
  optional BotMetricsEntryPoint destinationEntryPoint = 2;
@@ -453,6 +652,7 @@ enum BotMetricsThreadEntryPoint {
453
652
  AI_HOME_THREAD = 2;
454
653
  AI_DEEPLINK_IMMERSIVE_THREAD = 3;
455
654
  AI_DEEPLINK_THREAD = 4;
655
+ ASK_META_AI_CONTEXT_MENU_THREAD = 5;
456
656
  }
457
657
  message BotModeSelectionMetadata {
458
658
  repeated BotUserSelectionMode mode = 1;
@@ -465,6 +665,7 @@ message BotModeSelectionMetadata {
465
665
  message BotModelMetadata {
466
666
  optional ModelType modelType = 1;
467
667
  optional PremiumModelStatus premiumModelStatus = 2;
668
+ optional string modelNameOverride = 3;
468
669
  enum ModelType {
469
670
  UNKNOWN_TYPE = 0;
470
671
  LLAMA_PROD = 1;
@@ -561,6 +762,7 @@ message BotPromotionMessageMetadata {
561
762
  enum BotPromotionType {
562
763
  UNKNOWN_TYPE = 0;
563
764
  C50 = 1;
765
+ SURVEY_PLATFORM = 2;
564
766
  }
565
767
  }
566
768
 
@@ -639,9 +841,10 @@ message BotSignatureVerificationUseCaseProof {
639
841
  optional int32 version = 1;
640
842
  optional BotSignatureUseCase useCase = 2;
641
843
  optional bytes signature = 3;
642
- optional bytes certificateChain = 4;
844
+ repeated bytes certificateChain = 4;
643
845
  enum BotSignatureUseCase {
644
- WA_BOT_MSG = 0;
846
+ UNSPECIFIED = 0;
847
+ WA_BOT_MSG = 1;
645
848
  }
646
849
  }
647
850
 
@@ -654,11 +857,13 @@ message BotSourcesMetadata {
654
857
  optional string sourceQuery = 4;
655
858
  optional string faviconCdnUrl = 5;
656
859
  optional uint32 citationNumber = 6;
860
+ optional string sourceTitle = 7;
657
861
  enum SourceProvider {
658
862
  UNKNOWN = 0;
659
863
  BING = 1;
660
864
  GOOGLE = 2;
661
865
  SUPPORT = 3;
866
+ OTHER = 4;
662
867
  }
663
868
  }
664
869
 
@@ -671,6 +876,23 @@ message BotSuggestedPromptMetadata {
671
876
  optional string selectedPromptId = 4;
672
877
  }
673
878
 
879
+ message BotUnifiedResponseMutation {
880
+ optional SideBySideMetadata sbsMetadata = 1;
881
+ repeated MediaDetailsMetadata mediaDetailsMetadataList = 2;
882
+ message MediaDetailsMetadata {
883
+ optional string id = 1;
884
+ optional BotMediaMetadata highResMedia = 2;
885
+ optional BotMediaMetadata previewMedia = 3;
886
+ }
887
+
888
+ message SideBySideMetadata {
889
+ optional string primaryResponseId = 1;
890
+ optional bool surveyCtaHasRendered = 2;
891
+ }
892
+
893
+ }
894
+
895
+
674
896
  message CallLogRecord {
675
897
  optional CallResult callResult = 1;
676
898
  optional bool isDndMode = 2;
@@ -824,6 +1046,10 @@ message ClientPayload {
824
1046
  optional TrafficAnonymization trafficAnonymization = 40;
825
1047
  optional bool lidDbMigrated = 41;
826
1048
  optional AccountType accountType = 42;
1049
+ optional sfixed32 connectionSequenceInfo = 43;
1050
+ optional bool paaLink = 44;
1051
+ optional int32 preacksCount = 45;
1052
+ optional int32 processingQueueSize = 46;
827
1053
  enum AccountType {
828
1054
  DEFAULT = 0;
829
1055
  GUEST = 1;
@@ -969,6 +1195,8 @@ message ClientPayload {
969
1195
  IPAD = 33;
970
1196
  TEST = 34;
971
1197
  SMART_GLASSES = 35;
1198
+ BLUE_VR = 36;
1199
+ AR_WRIST = 37;
972
1200
  }
973
1201
  enum ReleaseChannel {
974
1202
  RELEASE = 0;
@@ -978,6 +1206,15 @@ message ClientPayload {
978
1206
  }
979
1207
  }
980
1208
 
1209
+ enum CollectionName {
1210
+ COLLECTION_NAME_UNKNOWN = 0;
1211
+ REGULAR = 1;
1212
+ REGULAR_LOW = 2;
1213
+ REGULAR_HIGH = 3;
1214
+ CRITICAL_BLOCK = 4;
1215
+ CRITICAL_UNBLOCK_LOW = 5;
1216
+ }
1217
+
981
1218
  message WebInfo {
982
1219
  optional string refToken = 1;
983
1220
  optional string version = 2;
@@ -1078,6 +1315,13 @@ message ContextInfo {
1078
1315
  optional bool isQuestion = 63;
1079
1316
  optional StatusSourceType statusSourceType = 64;
1080
1317
  repeated StatusAttribution statusAttributions = 65;
1318
+ optional bool isGroupStatus = 66;
1319
+ optional ForwardOrigin forwardOrigin = 67;
1320
+ optional QuestionReplyQuotedMessage questionReplyQuotedMessage = 68;
1321
+ optional StatusAudienceMetadata statusAudienceMetadata = 69;
1322
+ optional uint32 nonJidMentions = 70;
1323
+ optional QuotedType quotedType = 71;
1324
+ optional BotMessageSharingInfo botMessageSharingInfo = 72;
1081
1325
  message AdReplyInfo {
1082
1326
  optional string advertiserName = 1;
1083
1327
  optional MediaType mediaType = 2;
@@ -1098,6 +1342,11 @@ message ContextInfo {
1098
1342
  optional bool showMmDisclosure = 1;
1099
1343
  optional string encryptedSignalTokenConsented = 2;
1100
1344
  repeated Parameters parameters = 3;
1345
+ optional int32 dataSharingFlags = 4;
1346
+ enum DataSharingFlags {
1347
+ SHOW_MM_DISCLOSURE_ON_CLICK = 1;
1348
+ SHOW_MM_DISCLOSURE_ON_READ = 2;
1349
+ }
1101
1350
  message Parameters {
1102
1351
  optional string key = 1;
1103
1352
  optional string stringData = 2;
@@ -1134,6 +1383,8 @@ message ContextInfo {
1134
1383
  optional string automatedGreetingMessageCtaType = 23;
1135
1384
  optional bool wtwaAdFormat = 24;
1136
1385
  optional AdType adType = 25;
1386
+ optional string wtwaWebsiteUrl = 26;
1387
+ optional string adPreviewUrl = 27;
1137
1388
  enum AdType {
1138
1389
  CTWA = 0;
1139
1390
  CAWC = 1;
@@ -1150,12 +1401,16 @@ message ContextInfo {
1150
1401
  optional bool cannotBeRanked = 2;
1151
1402
  optional bool canRequestFeedback = 3;
1152
1403
  optional bool canBeReshared = 4;
1404
+ optional bool canReceiveMultiReact = 5;
1153
1405
  }
1154
1406
 
1155
- message ForwardedAIBotMessageInfo {
1156
- optional string botName = 1;
1157
- optional string botJid = 2;
1158
- optional string creatorName = 3;
1407
+ enum ForwardOrigin {
1408
+ UNKNOWN = 0;
1409
+ CHAT = 1;
1410
+ STATUS = 2;
1411
+ CHANNELS = 3;
1412
+ META_AI = 4;
1413
+ UGC = 5;
1159
1414
  }
1160
1415
 
1161
1416
  message ForwardedNewsletterMessageInfo {
@@ -1179,11 +1434,32 @@ message ContextInfo {
1179
1434
  HD_IMAGE_CHILD = 4;
1180
1435
  MOTION_PHOTO_PARENT = 5;
1181
1436
  MOTION_PHOTO_CHILD = 6;
1437
+ HEVC_VIDEO_PARENT = 7;
1438
+ HEVC_VIDEO_CHILD = 8;
1439
+ }
1440
+ message QuestionReplyQuotedMessage {
1441
+ optional int32 serverQuestionId = 1;
1442
+ optional Message quotedQuestion = 2;
1443
+ optional Message quotedResponse = 3;
1444
+ }
1445
+
1446
+ enum QuotedType {
1447
+ EXPLICIT = 0;
1448
+ AUTO = 1;
1182
1449
  }
1183
1450
  enum StatusAttributionType {
1184
1451
  NONE = 0;
1185
1452
  RESHARED_FROM_MENTION = 1;
1186
1453
  RESHARED_FROM_POST = 2;
1454
+ RESHARED_FROM_POST_MANY_TIMES = 3;
1455
+ FORWARDED_FROM_STATUS = 4;
1456
+ }
1457
+ message StatusAudienceMetadata {
1458
+ optional AudienceType audienceType = 1;
1459
+ enum AudienceType {
1460
+ UNKNOWN = 0;
1461
+ CLOSE_FRIENDS = 1;
1462
+ }
1187
1463
  }
1188
1464
  enum StatusSourceType {
1189
1465
  IMAGE = 0;
@@ -1254,6 +1530,7 @@ message Conversation {
1254
1530
  optional int64 limitSharingSettingTimestamp = 51;
1255
1531
  optional LimitSharing.TriggerType limitSharingTrigger = 52;
1256
1532
  optional bool limitSharingInitiatedByMe = 53;
1533
+ optional bool maibaAiThreadEnabled = 54;
1257
1534
  enum EndOfHistoryTransferType {
1258
1535
  COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0;
1259
1536
  COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1;
@@ -1264,6 +1541,12 @@ message Conversation {
1264
1541
  message DeviceCapabilities {
1265
1542
  optional ChatLockSupportLevel chatLockSupportLevel = 1;
1266
1543
  optional LIDMigration lidMigration = 2;
1544
+ optional BusinessBroadcast businessBroadcast = 3;
1545
+ optional UserHasAvatar userHasAvatar = 4;
1546
+ optional MemberNameTagPrimarySupport memberNameTagPrimarySupport = 5;
1547
+ message BusinessBroadcast {
1548
+ optional bool importListEnabled = 1;
1549
+ }
1267
1550
  enum ChatLockSupportLevel {
1268
1551
  NONE = 0;
1269
1552
  MINIMAL = 1;
@@ -1271,8 +1554,16 @@ message DeviceCapabilities {
1271
1554
  }
1272
1555
  message LIDMigration {
1273
1556
  optional uint64 chatDbMigrationTimestamp = 1;
1557
+ }
1558
+
1559
+ enum MemberNameTagPrimarySupport {
1560
+ DISABLED = 0;
1561
+ RECEIVER_ENABLED = 1;
1562
+ SENDER_ENABLED = 2;
1563
+ }
1564
+ message UserHasAvatar {
1565
+ optional bool userHasAvatar = 1;
1274
1566
  }
1275
-
1276
1567
  }
1277
1568
 
1278
1569
  message DeviceConsistencyCodeMessage {
@@ -1320,6 +1611,11 @@ message DeviceProps {
1320
1611
  optional bool supportFbidBotChatHistory = 12;
1321
1612
  optional bool supportAddOnHistorySyncMigration = 13;
1322
1613
  optional bool supportMessageAssociation = 14;
1614
+ optional bool supportGroupHistory = 15;
1615
+ optional bool onDemandReady = 16;
1616
+ optional bool supportGuestChat = 17;
1617
+ optional bool completeOnDemandReady = 18;
1618
+ optional uint32 thumbnailSyncDaysLimit = 19;
1323
1619
  }
1324
1620
 
1325
1621
  enum PlatformType {
@@ -1392,10 +1688,13 @@ message EmbeddedMusic {
1392
1688
  optional string artworkDirectPath = 5;
1393
1689
  optional bytes artworkSha256 = 6;
1394
1690
  optional bytes artworkEncSha256 = 7;
1395
- optional bytes artworkMediaKey = 11;
1396
1691
  optional string artistAttribution = 8;
1397
1692
  optional bytes countryBlocklist = 9;
1398
1693
  optional bool isExplicit = 10;
1694
+ optional bytes artworkMediaKey = 11;
1695
+ optional int64 musicSongStartTimeInMs = 12;
1696
+ optional int64 derivedContentStartTimeInMs = 13;
1697
+ optional int64 overlapDurationInMs = 14;
1399
1698
  }
1400
1699
 
1401
1700
  message EncryptedPairingRequest {
@@ -1441,6 +1740,13 @@ message Field {
1441
1740
  map<uint32, Field> subfield = 5;
1442
1741
  }
1443
1742
 
1743
+ message ForwardedAIBotMessageInfo {
1744
+ optional string botName = 1;
1745
+ optional string botJid = 2;
1746
+ optional string creatorName = 3;
1747
+ }
1748
+
1749
+
1444
1750
  message GlobalSettings {
1445
1751
  optional WallpaperSettings lightThemeWallpaper = 1;
1446
1752
  optional MediaVisibility mediaVisibility = 2;
@@ -1464,6 +1770,24 @@ message GlobalSettings {
1464
1770
  optional int64 chatDbLidMigrationTimestamp = 20;
1465
1771
  }
1466
1772
 
1773
+ message GroupHistoryBundleInfo {
1774
+ optional Message.MessageHistoryBundle deprecatedMessageHistoryBundle = 1;
1775
+ optional ProcessState processState = 2;
1776
+ enum ProcessState {
1777
+ NOT_INJECTED = 0;
1778
+ INJECTED = 1;
1779
+ INJECTED_PARTIAL = 2;
1780
+ INJECTION_FAILED = 3;
1781
+ INJECTION_FAILED_NO_RETRY = 4;
1782
+ }
1783
+ }
1784
+
1785
+ message GroupHistoryIndividualMessageInfo {
1786
+ optional MessageKey bundleMessageKey = 1;
1787
+ optional bool editedAfterReceivedAsHistory = 2;
1788
+ }
1789
+
1790
+
1467
1791
  message GroupMention {
1468
1792
  optional string groupJid = 1;
1469
1793
  optional string groupSubject = 2;
@@ -1472,6 +1796,7 @@ message GroupMention {
1472
1796
  message GroupParticipant {
1473
1797
  required string userJid = 1;
1474
1798
  optional Rank rank = 2;
1799
+ optional MemberLabel memberLabel = 3;
1475
1800
  enum Rank {
1476
1801
  REGULAR = 0;
1477
1802
  ADMIN = 1;
@@ -1486,18 +1811,22 @@ message HandshakeMessage {
1486
1811
  message ClientFinish {
1487
1812
  optional bytes static = 1;
1488
1813
  optional bytes payload = 2;
1814
+ optional bytes extendedCiphertext = 3;
1489
1815
  }
1490
1816
 
1491
1817
  message ClientHello {
1492
1818
  optional bytes ephemeral = 1;
1493
1819
  optional bytes static = 2;
1494
1820
  optional bytes payload = 3;
1821
+ optional bool useExtended = 4;
1822
+ optional bytes extendedCiphertext = 5;
1495
1823
  }
1496
1824
 
1497
1825
  message ServerHello {
1498
1826
  optional bytes ephemeral = 1;
1499
1827
  optional bytes static = 2;
1500
1828
  optional bytes payload = 3;
1829
+ optional bytes extendedStatic = 4;
1501
1830
  }
1502
1831
 
1503
1832
  }
@@ -1576,6 +1905,43 @@ message IdentityKeyPairStructure {
1576
1905
  optional bytes privateKey = 2;
1577
1906
  }
1578
1907
 
1908
+ message InThreadSurveyMetadata {
1909
+ optional string tessaSessionId = 1;
1910
+ optional string simonSessionId = 2;
1911
+ optional string simonSurveyId = 3;
1912
+ optional string tessaRootId = 4;
1913
+ optional string requestId = 5;
1914
+ optional string tessaEvent = 6;
1915
+ optional string invitationHeaderText = 7;
1916
+ optional string invitationBodyText = 8;
1917
+ optional string invitationCtaText = 9;
1918
+ optional string invitationCtaUrl = 10;
1919
+ optional string surveyTitle = 11;
1920
+ repeated InThreadSurveyQuestion questions = 12;
1921
+ optional string surveyContinueButtonText = 13;
1922
+ optional string surveySubmitButtonText = 14;
1923
+ optional string privacyStatementFull = 15;
1924
+ repeated InThreadSurveyPrivacyStatementPart privacyStatementParts = 16;
1925
+ optional string feedbackToastText = 17;
1926
+ message InThreadSurveyOption {
1927
+ optional string stringValue = 1;
1928
+ optional uint32 numericValue = 2;
1929
+ optional string textTranslated = 3;
1930
+ }
1931
+
1932
+ message InThreadSurveyPrivacyStatementPart {
1933
+ optional string text = 1;
1934
+ optional string url = 2;
1935
+ }
1936
+
1937
+ message InThreadSurveyQuestion {
1938
+ optional string questionText = 1;
1939
+ optional string questionId = 2;
1940
+ repeated InThreadSurveyMetadata.InThreadSurveyOption questionOptions = 3;
1941
+ }
1942
+
1943
+ }
1944
+
1579
1945
  message InteractiveAnnotation {
1580
1946
  repeated Point polygonVertices = 1;
1581
1947
  optional bool shouldSkipConfirmation = 4;
@@ -1594,6 +1960,11 @@ message InteractiveAnnotation {
1594
1960
  }
1595
1961
  }
1596
1962
 
1963
+ message InteractiveMessageAdditionalMetadata {
1964
+ optional bool isGalaxyFlowCompleted = 1;
1965
+ }
1966
+
1967
+
1597
1968
  message KeepInChat {
1598
1969
  optional KeepType keepType = 1;
1599
1970
  optional int64 serverTimestamp = 2;
@@ -1787,6 +2158,16 @@ message Message {
1787
2158
  optional MessageHistoryNotice messageHistoryNotice = 102;
1788
2159
  optional FutureProofMessage groupStatusMessageV2 = 103;
1789
2160
  optional FutureProofMessage botForwardedMessage = 104;
2161
+ optional StatusQuestionAnswerMessage statusQuestionAnswerMessage = 105;
2162
+ optional FutureProofMessage questionReplyMessage = 106;
2163
+ optional QuestionResponseMessage questionResponseMessage = 107;
2164
+ optional StatusQuotedMessage statusQuotedMessage = 109;
2165
+ optional StatusStickerInteractionMessage statusStickerInteractionMessage = 110;
2166
+ optional PollCreationMessage pollCreationMessageV5 = 111;
2167
+ optional NewsletterFollowerInviteMessage newsletterFollowerInviteMessageV2 = 113;
2168
+ optional PollResultSnapshotMessage pollResultSnapshotMessageV3 = 114;
2169
+ optional FutureProofMessage groupStatusMessageV2 = 115;
2170
+ optional FutureProofMessage botForwardedMessage = 116;
1790
2171
  message AlbumMessage {
1791
2172
  optional uint32 expectedImageCount = 2;
1792
2173
  optional uint32 expectedVideoCount = 3;
@@ -1844,6 +2225,7 @@ message Message {
1844
2225
  optional fixed32 backgroundArgb = 20;
1845
2226
  optional bool viewOnce = 21;
1846
2227
  optional string accessibilityLabel = 22;
2228
+ optional Message.MediaKeyDomain mediaKeyDomain = 23;
1847
2229
  }
1848
2230
 
1849
2231
  message BCallMessage {
@@ -1906,8 +2288,10 @@ message Message {
1906
2288
  optional string contentText = 6;
1907
2289
  optional string footerText = 7;
1908
2290
  optional ContextInfo contextInfo = 8;
1909
- repeated Button buttons = 9;
1910
- optional HeaderType headerType = 10;
2291
+ optional string nativeFlowCallButtonPayload = 8;
2292
+ optional string deeplinkPayload = 9;
2293
+ repeated Button buttons = 10;
2294
+ optional HeaderType headerType = 11;
1911
2295
  oneof header {
1912
2296
  string text = 1;
1913
2297
  Message.DocumentMessage documentMessage = 2;
@@ -2013,6 +2397,7 @@ message Message {
2013
2397
  optional string consumerLid = 3;
2014
2398
  optional string consumerPhoneNumber = 4;
2015
2399
  optional CloudAPIThreadControlNotificationContent notificationContent = 5;
2400
+ optional bool shouldSuppressNotification = 6;
2016
2401
  enum CloudAPIThreadControl {
2017
2402
  UNKNOWN = 0;
2018
2403
  CONTROL_PASSED = 1;
@@ -2025,6 +2410,7 @@ message Message {
2025
2410
 
2026
2411
  }
2027
2412
 
2413
+
2028
2414
  message CommentMessage {
2029
2415
  optional Message message = 1;
2030
2416
  optional MessageKey targetMessageKey = 2;
@@ -2074,6 +2460,7 @@ message Message {
2074
2460
  optional uint32 thumbnailWidth = 19;
2075
2461
  optional string caption = 20;
2076
2462
  optional string accessibilityLabel = 21;
2463
+ optional Message.MediaKeyDomain mediaKeyDomain = 22;
2077
2464
  }
2078
2465
 
2079
2466
  message EncCommentMessage {
@@ -2105,6 +2492,8 @@ message Message {
2105
2492
  optional int64 endTime = 8;
2106
2493
  optional bool extraGuestsAllowed = 9;
2107
2494
  optional bool isScheduleCall = 10;
2495
+ optional bool hasReminder = 11;
2496
+ optional int64 reminderOffsetSec = 12;
2108
2497
  }
2109
2498
 
2110
2499
  message EventResponseMessage {
@@ -2148,6 +2537,10 @@ message Message {
2148
2537
  optional Message.MMSThumbnailMetadata faviconMMSMetadata = 33;
2149
2538
  optional Message.LinkPreviewMetadata linkPreviewMetadata = 34;
2150
2539
  optional Message.PaymentLinkMetadata paymentLinkMetadata = 35;
2540
+ repeated Message.VideoEndCard endCardTiles = 36;
2541
+ optional string videoContentUrl = 37;
2542
+ optional EmbeddedMusic musicMetadata = 38;
2543
+ optional Message.PaymentExtendedMetadata paymentExtendedMetadata = 39;
2151
2544
  enum FontType {
2152
2545
  SYSTEM = 0;
2153
2546
  SYSTEM_TEXT = 1;
@@ -2280,9 +2673,14 @@ message Message {
2280
2673
  NON_BLOCKING_DATA = 5;
2281
2674
  ON_DEMAND = 6;
2282
2675
  NO_HISTORY = 7;
2676
+ MESSAGE_ACCESS_STATUS = 8;
2283
2677
  }
2284
2678
  }
2285
2679
 
2680
+ message HistorySyncMessageAccessStatus {
2681
+ optional bool completeAccessGranted = 1;
2682
+ }
2683
+
2286
2684
  message ImageMessage {
2287
2685
  optional string url = 1;
2288
2686
  optional string mimetype = 2;
@@ -2313,6 +2711,8 @@ message Message {
2313
2711
  repeated InteractiveAnnotation annotations = 30;
2314
2712
  optional ImageSourceType imageSourceType = 31;
2315
2713
  optional string accessibilityLabel = 32;
2714
+ optional Message.MediaKeyDomain mediaKeyDomain = 33;
2715
+ optional string qrUrl = 34;
2316
2716
  enum ImageSourceType {
2317
2717
  USER_IMAGE = 0;
2318
2718
  AI_GENERATED = 1;
@@ -2325,6 +2725,7 @@ message Message {
2325
2725
  optional bool securityNotificationEnabled = 1;
2326
2726
  }
2327
2727
 
2728
+
2328
2729
  message InteractiveMessage {
2329
2730
  optional Header header = 1;
2330
2731
  optional Body body = 2;
@@ -2344,6 +2745,12 @@ message Message {
2344
2745
  message CarouselMessage {
2345
2746
  repeated Message.InteractiveMessage cards = 1;
2346
2747
  optional int32 messageVersion = 2;
2748
+ optional CarouselCardType carouselCardType = 3;
2749
+ enum CarouselCardType {
2750
+ UNKNOWN = 0;
2751
+ HSCROLL_CARDS = 1;
2752
+ ALBUM_IMAGE = 2;
2753
+ };
2347
2754
  }
2348
2755
 
2349
2756
  message CollectionMessage {
@@ -2354,11 +2761,29 @@ message Message {
2354
2761
 
2355
2762
  message Footer {
2356
2763
  optional string text = 1;
2764
+ optional bool hasMediaAttachment = 3;
2765
+ oneof media {
2766
+ Message.AudioMessage audioMessage = 2;
2767
+ }
2357
2768
  }
2358
2769
 
2359
2770
  message Header {
2360
2771
  optional string title = 1;
2361
2772
  optional string subtitle = 2;
2773
+ optional uint32 linkMediaDuration = 4;
2774
+ optional SocialMediaPostType socialMediaPostType = 5;
2775
+ optional bool linkInlineVideoMuted = 6;
2776
+ optional string videoContentUrl = 7;
2777
+ optional EmbeddedMusic musicMetadata = 8;
2778
+ optional string videoContentCaption = 9;
2779
+ enum SocialMediaPostType {
2780
+ NONE = 0;
2781
+ REEL = 1;
2782
+ LIVE_VIDEO = 2;
2783
+ LONG_VIDEO = 3;
2784
+ SINGLE_IMAGE = 4;
2785
+ CAROUSEL = 5;
2786
+ }
2362
2787
  optional bool hasMediaAttachment = 5;
2363
2788
  oneof media {
2364
2789
  Message.DocumentMessage documentMessage = 3;
@@ -2466,6 +2891,15 @@ message Message {
2466
2891
  optional ProductListInfo productListInfo = 6;
2467
2892
  optional string footerText = 7;
2468
2893
  optional ContextInfo contextInfo = 8;
2894
+ optional Message.MediaKeyDomain mediaKeyDomain = 9;
2895
+ }
2896
+ enum MediaKeyDomain {
2897
+ UNSET = 0;
2898
+ E2EE_CHAT = 1;
2899
+ STATUS = 2;
2900
+ CAPI = 3;
2901
+ BOT = 4;
2902
+ }
2469
2903
  enum ListType {
2470
2904
  UNKNOWN = 0;
2471
2905
  SINGLE_SELECT = 1;
@@ -2573,6 +3007,7 @@ message Message {
2573
3007
  repeated string historyReceivers = 1;
2574
3008
  optional int64 firstMessageTimestamp = 2;
2575
3009
  optional int64 messageCount = 3;
3010
+ optional int64 oldestMessageTimestamp = 4;
2576
3011
  }
2577
3012
 
2578
3013
  message MessageHistoryNotice {
@@ -2589,6 +3024,15 @@ message Message {
2589
3024
  optional ContextInfo contextInfo = 6;
2590
3025
  }
2591
3026
 
3027
+ message NewsletterFollowerInviteMessage {
3028
+ optional string newsletterJid = 1;
3029
+ optional string newsletterName = 2;
3030
+ optional bytes jpegThumbnail = 3;
3031
+ optional string caption = 4;
3032
+ optional ContextInfo contextInfo = 5;
3033
+ }
3034
+
3035
+
2592
3036
  message OrderMessage {
2593
3037
  optional string orderId = 1;
2594
3038
  optional bytes thumbnail = 2;
@@ -2615,6 +3059,12 @@ message Message {
2615
3059
  }
2616
3060
  }
2617
3061
 
3062
+ message PaymentExtendedMetadata {
3063
+ optional uint32 type = 1;
3064
+ optional string platform = 2;
3065
+ optional string messageParamsJson = 3;
3066
+ }
3067
+
2618
3068
  message PaymentInviteMessage {
2619
3069
  optional ServiceType serviceType = 1;
2620
3070
  optional int64 expiryTimestamp = 2;
@@ -2656,11 +3106,30 @@ message Message {
2656
3106
  repeated PlaceholderMessageResendRequest placeholderMessageResendRequest = 5;
2657
3107
  optional FullHistorySyncOnDemandRequest fullHistorySyncOnDemandRequest = 6;
2658
3108
  optional SyncDCollectionFatalRecoveryRequest syncdCollectionFatalRecoveryRequest = 7;
3109
+ optional HistorySyncChunkRetryRequest historySyncChunkRetryRequest = 8;
3110
+ optional GalaxyFlowAction galaxyFlowAction = 9;
2659
3111
  message FullHistorySyncOnDemandRequest {
2660
3112
  optional Message.FullHistorySyncOnDemandRequestMetadata requestMetadata = 1;
2661
3113
  optional DeviceProps.HistorySyncConfig historySyncConfig = 2;
2662
3114
  }
2663
3115
 
3116
+ message GalaxyFlowAction {
3117
+ optional GalaxyFlowActionType type = 1;
3118
+ optional string flowId = 2;
3119
+ optional string stanzaId = 3;
3120
+ enum GalaxyFlowActionType {
3121
+ NOTIFY_LAUNCH = 1;
3122
+ }
3123
+ }
3124
+
3125
+ message HistorySyncChunkRetryRequest {
3126
+ optional Message.HistorySyncType syncType = 1;
3127
+ optional uint32 chunkOrder = 2;
3128
+ optional string chunkNotificationId = 3;
3129
+ optional bool regenerateChunk = 4;
3130
+ }
3131
+
3132
+
2664
3133
  message HistorySyncOnDemandRequest {
2665
3134
  optional string chatJid = 1;
2666
3135
  optional string oldestMsgId = 2;
@@ -2702,10 +3171,12 @@ message Message {
2702
3171
  optional WaffleNonceFetchResponse waffleNonceFetchRequestResponse = 5;
2703
3172
  optional FullHistorySyncOnDemandRequestResponse fullHistorySyncOnDemandRequestResponse = 6;
2704
3173
  optional CompanionMetaNonceFetchResponse companionMetaNonceFetchRequestResponse = 7;
2705
- optional SyncDSnapshotFatalRecoveryResponse syncdSnapshotFatalRecoveryResponse = 8;
2706
3174
  optional CompanionCanonicalUserNonceFetchResponse companionCanonicalUserNonceFetchRequestResponse = 9;
3175
+ optional HistorySyncChunkRetryResponse historySyncChunkRetryResponse = 10;
2707
3176
  message CompanionCanonicalUserNonceFetchResponse {
2708
3177
  optional string nonce = 1;
3178
+ optional string waFbid = 2;
3179
+ optional bool forceRefresh = 3;
2709
3180
  }
2710
3181
 
2711
3182
  message CompanionMetaNonceFetchResponse {
@@ -2726,6 +3197,23 @@ message Message {
2726
3197
  ERROR_HOSTED_DEVICE_NOT_CONNECTED = 5;
2727
3198
  ERROR_HOSTED_DEVICE_LOGIN_TIME_NOT_SET = 6;
2728
3199
  }
3200
+ message HistorySyncChunkRetryResponse {
3201
+ optional Message.HistorySyncType syncType = 1;
3202
+ optional uint32 chunkOrder = 2;
3203
+ optional string requestId = 3;
3204
+ optional Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.HistorySyncChunkRetryResponseCode responseCode = 4;
3205
+ optional bool canRecover = 5;
3206
+ }
3207
+
3208
+ enum HistorySyncChunkRetryResponseCode {
3209
+ GENERATION_ERROR = 1;
3210
+ CHUNK_CONSUMED = 2;
3211
+ TIMEOUT = 3;
3212
+ SESSION_EXHAUSTED = 4;
3213
+ CHUNK_EXHAUSTED = 5;
3214
+ DUPLICATED_REQUEST = 6;
3215
+ }
3216
+
2729
3217
  message LinkPreviewResponse {
2730
3218
  optional string url = 1;
2731
3219
  optional string title = 2;
@@ -2734,6 +3222,7 @@ message Message {
2734
3222
  optional string matchText = 6;
2735
3223
  optional string previewType = 7;
2736
3224
  optional LinkPreviewHighQualityThumbnail hqThumbnail = 8;
3225
+ optional PaymentLinkPreviewMetadata previewMetadata = 9;
2737
3226
  message LinkPreviewHighQualityThumbnail {
2738
3227
  optional string directPath = 1;
2739
3228
  optional string thumbHash = 2;
@@ -2742,6 +3231,10 @@ message Message {
2742
3231
  optional int64 mediaKeyTimestampMs = 5;
2743
3232
  optional int32 thumbWidth = 6;
2744
3233
  optional int32 thumbHeight = 7;
3234
+ message PaymentLinkPreviewMetadata {
3235
+ optional bool isBusinessVerified = 1;
3236
+ optional string providerName = 2;
3237
+ }
2745
3238
  }
2746
3239
 
2747
3240
  }
@@ -2775,6 +3268,8 @@ message Message {
2775
3268
  COMPANION_META_NONCE_FETCH = 7;
2776
3269
  COMPANION_SYNCD_SNAPSHOT_FATAL_RECOVERY = 8;
2777
3270
  COMPANION_CANONICAL_USER_NONCE_FETCH = 9;
3271
+ HISTORY_SYNC_CHUNK_RETRY = 10;
3272
+ GALAXY_FLOW_ACTION = 11;
2778
3273
  }
2779
3274
  message PinInChatMessage {
2780
3275
  optional MessageKey key = 1;
@@ -2842,6 +3337,11 @@ message Message {
2842
3337
  optional int64 senderTimestampMs = 4;
2843
3338
  }
2844
3339
 
3340
+ message QuestionResponseMessage {
3341
+ optional MessageKey key = 1;
3342
+ optional string text = 2;
3343
+ }
3344
+
2845
3345
  message PollUpdateMessageMetadata {
2846
3346
  }
2847
3347
 
@@ -2949,6 +3449,7 @@ message Message {
2949
3449
  optional int64 expiryTimestamp = 5;
2950
3450
  optional Money amount = 6;
2951
3451
  optional PaymentBackground background = 7;
3452
+ optional string transactionData = 8;
2952
3453
  }
2953
3454
 
2954
3455
  message RequestPhoneNumberMessage {
@@ -3013,7 +3514,32 @@ message Message {
3013
3514
  enum StatusNotificationType {
3014
3515
  UNKNOWN = 0;
3015
3516
  STATUS_ADD_YOURS = 1;
3016
- STATUS_RESHARE = 2;
3517
+ STATUS_QUESTION_ANSWER_RESHARE = 3;
3518
+ }
3519
+ }
3520
+
3521
+ message StatusQuestionAnswerMessage {
3522
+ optional MessageKey key = 1;
3523
+ optional string text = 2;
3524
+ }
3525
+
3526
+ message StatusQuotedMessage {
3527
+ optional StatusQuotedMessageType type = 1;
3528
+ optional string text = 2;
3529
+ optional bytes thumbnail = 3;
3530
+ optional MessageKey originalStatusId = 4;
3531
+ enum StatusQuotedMessageType {
3532
+ QUESTION_ANSWER = 1;
3533
+ }
3534
+ }
3535
+
3536
+ message StatusStickerInteractionMessage {
3537
+ optional MessageKey key = 1;
3538
+ optional string stickerKey = 2;
3539
+ optional StatusStickerType type = 3;
3540
+ enum StatusStickerType {
3541
+ UNKNOWN = 0;
3542
+ REACTION = 1;
3017
3543
  }
3018
3544
  }
3019
3545
 
@@ -3038,6 +3564,7 @@ message Message {
3038
3564
  optional bool isAiSticker = 20;
3039
3565
  optional bool isLottie = 21;
3040
3566
  optional string accessibilityLabel = 22;
3567
+ optional Message.MediaKeyDomain mediaKeyDomain = 23;
3041
3568
  }
3042
3569
 
3043
3570
  message StickerPackMessage {
@@ -3136,6 +3663,13 @@ message Message {
3136
3663
  optional uint32 fbExperimentId = 1;
3137
3664
  }
3138
3665
 
3666
+ message VideoEndCard {
3667
+ string username = 1;
3668
+ string caption = 2;
3669
+ string thumbnailImageUrl = 3;
3670
+ string profilePictureUrl = 4;
3671
+ }
3672
+
3139
3673
  message VideoMessage {
3140
3674
  optional string url = 1;
3141
3675
  optional string mimetype = 2;
@@ -3167,6 +3701,7 @@ message Message {
3167
3701
  optional uint64 motionPhotoPresentationOffsetMs = 29;
3168
3702
  optional string metadataUrl = 30;
3169
3703
  optional VideoSourceType videoSourceType = 31;
3704
+ optional Message.MediaKeyDomain mediaKeyDomain = 32;
3170
3705
  enum Attribution {
3171
3706
  NONE = 0;
3172
3707
  GIPHY = 1;
@@ -3174,7 +3709,7 @@ message Message {
3174
3709
  }
3175
3710
  enum VideoSourceType {
3176
3711
  USER_VIDEO = 0;
3177
- AI_GENERATED = 1;
3712
+ AI_GENERATED = 1;
3178
3713
  }
3179
3714
  }
3180
3715
 
@@ -3224,6 +3759,10 @@ message MessageAssociation {
3224
3759
  STATUS_LINK_ACTION = 13;
3225
3760
  VIEW_ALL_REPLIES = 14;
3226
3761
  STATUS_ADD_YOURS_AI_IMAGINE = 15;
3762
+ STATUS_QUESTION = 16;
3763
+ STATUS_ADD_YOURS_DIWALI = 17;
3764
+ STATUS_REACTION = 18;
3765
+ HEVC_VIDEO_DUAL_UPLOAD = 19;
3227
3766
  }
3228
3767
  }
3229
3768
 
@@ -3241,8 +3780,9 @@ message MessageContextInfo {
3241
3780
  optional bool capiCreatedGroup = 11;
3242
3781
  optional string supportPayload = 12;
3243
3782
  optional LimitSharing limitSharing = 13;
3244
- optional LimitSharing limitSharingV2 = 14;
3783
+ optional LimitSharing limitSharingV2 = 14;
3245
3784
  repeated ThreadID threadId = 15;
3785
+ optional WebLinkRenderConfig weblinkRenderConfig = 16;
3246
3786
  enum MessageAddonExpiryType {
3247
3787
  STATIC = 1;
3248
3788
  DEPENDENT_ON_PARENT = 2;
@@ -3291,7 +3831,7 @@ message MsgOpaqueData {
3291
3831
  optional string pollUpdateParentKey = 23;
3292
3832
  optional PollEncValue encPollVote = 24;
3293
3833
  optional bool isSentCagPollCreation = 28;
3294
- optional PollContentType pollContentType = 42;
3834
+ optional PollContentType pollContentType = 42;
3295
3835
  optional PollVotesSnapshot pollVotesSnapshot = 41;
3296
3836
  optional string encReactionTargetMessageKey = 25;
3297
3837
  optional bytes encReactionEncPayload = 26;
@@ -3306,8 +3846,12 @@ message MsgOpaqueData {
3306
3846
  optional string eventJoinLink = 36;
3307
3847
  optional int64 eventStartTime = 37;
3308
3848
  optional EventLocation eventLocation = 38;
3309
- optional int64 eventEndTime = 40;
3849
+ optional int64 eventEndTime = 40;
3310
3850
  optional bytes plainProtobufBytes = 43;
3851
+ optional PollType pollType = 45;
3852
+ optional int32 correctOptionIndex = 46;
3853
+ optional bool eventIsScheduledCall = 47;
3854
+ optional bool eventExtraGuestsAllowed = 48;
3311
3855
  message EventLocation {
3312
3856
  optional double degreesLatitude = 1;
3313
3857
  optional double degreesLongitude = 2;
@@ -3327,6 +3871,11 @@ message MsgOpaqueData {
3327
3871
  optional string hash = 2;
3328
3872
  }
3329
3873
 
3874
+ enum PollType {
3875
+ POLL = 0;
3876
+ QUIZ = 1;
3877
+ }
3878
+
3330
3879
  message PollVoteSnapshot {
3331
3880
  optional MsgOpaqueData.PollOption option = 1;
3332
3881
  optional int32 optionVoteCount = 2;
@@ -3343,6 +3892,82 @@ message MsgRowOpaqueData {
3343
3892
  optional MsgOpaqueData quotedMsg = 2;
3344
3893
  }
3345
3894
 
3895
+ enum MutationProps {
3896
+ STAR_ACTION = 2;
3897
+ CONTACT_ACTION = 3;
3898
+ MUTE_ACTION = 4;
3899
+ PIN_ACTION = 5;
3900
+ SECURITY_NOTIFICATION_SETTING = 6;
3901
+ PUSH_NAME_SETTING = 7;
3902
+ QUICK_REPLY_ACTION = 8;
3903
+ RECENT_EMOJI_WEIGHTS_ACTION = 11;
3904
+ LABEL_MESSAGE_ACTION = 13;
3905
+ LABEL_EDIT_ACTION = 14;
3906
+ LABEL_ASSOCIATION_ACTION = 15;
3907
+ LOCALE_SETTING = 16;
3908
+ ARCHIVE_CHAT_ACTION = 17;
3909
+ DELETE_MESSAGE_FOR_ME_ACTION = 18;
3910
+ KEY_EXPIRATION = 19;
3911
+ MARK_CHAT_AS_READ_ACTION = 20;
3912
+ CLEAR_CHAT_ACTION = 21;
3913
+ DELETE_CHAT_ACTION = 22;
3914
+ UNARCHIVE_CHATS_SETTING = 23;
3915
+ PRIMARY_FEATURE = 24;
3916
+ ANDROID_UNSUPPORTED_ACTIONS = 26;
3917
+ AGENT_ACTION = 27;
3918
+ SUBSCRIPTION_ACTION = 28;
3919
+ USER_STATUS_MUTE_ACTION = 29;
3920
+ TIME_FORMAT_ACTION = 30;
3921
+ NUX_ACTION = 31;
3922
+ PRIMARY_VERSION_ACTION = 32;
3923
+ STICKER_ACTION = 33;
3924
+ REMOVE_RECENT_STICKER_ACTION = 34;
3925
+ CHAT_ASSIGNMENT = 35;
3926
+ CHAT_ASSIGNMENT_OPENED_STATUS = 36;
3927
+ PN_FOR_LID_CHAT_ACTION = 37;
3928
+ MARKETING_MESSAGE_ACTION = 38;
3929
+ MARKETING_MESSAGE_BROADCAST_ACTION = 39;
3930
+ EXTERNAL_WEB_BETA_ACTION = 40;
3931
+ PRIVACY_SETTING_RELAY_ALL_CALLS = 41;
3932
+ CALL_LOG_ACTION = 42;
3933
+ UGC_BOT = 43;
3934
+ STATUS_PRIVACY = 44;
3935
+ BOT_WELCOME_REQUEST_ACTION = 45;
3936
+ DELETE_INDIVIDUAL_CALL_LOG = 46;
3937
+ LABEL_REORDERING_ACTION = 47;
3938
+ PAYMENT_INFO_ACTION = 48;
3939
+ CUSTOM_PAYMENT_METHODS_ACTION = 49;
3940
+ LOCK_CHAT_ACTION = 50;
3941
+ CHAT_LOCK_SETTINGS = 51;
3942
+ WAMO_USER_IDENTIFIER_ACTION = 52;
3943
+ PRIVACY_SETTING_DISABLE_LINK_PREVIEWS_ACTION = 53;
3944
+ DEVICE_CAPABILITIES = 54;
3945
+ NOTE_EDIT_ACTION = 55;
3946
+ FAVORITES_ACTION = 56;
3947
+ MERCHANT_PAYMENT_PARTNER_ACTION = 57;
3948
+ WAFFLE_ACCOUNT_LINK_STATE_ACTION = 58;
3949
+ USERNAME_CHAT_START_MODE = 59;
3950
+ NOTIFICATION_ACTIVITY_SETTING_ACTION = 60;
3951
+ LID_CONTACT_ACTION = 61;
3952
+ CTWA_PER_CUSTOMER_DATA_SHARING_ACTION = 62;
3953
+ PAYMENT_TOS_ACTION = 63;
3954
+ PRIVACY_SETTING_CHANNELS_PERSONALISED_RECOMMENDATION_ACTION = 64;
3955
+ BUSINESS_BROADCAST_ASSOCIATION_ACTION = 65;
3956
+ DETECTED_OUTCOMES_STATUS_ACTION = 66;
3957
+ MAIBA_AI_FEATURES_CONTROL_ACTION = 68;
3958
+ BUSINESS_BROADCAST_LIST_ACTION = 69;
3959
+ MUSIC_USER_ID_ACTION = 70;
3960
+ STATUS_POST_OPT_IN_NOTIFICATION_PREFERENCES_ACTION = 71;
3961
+ AVATAR_UPDATED_ACTION = 72;
3962
+ GALAXY_FLOW_ACTION = 73;
3963
+ PRIVATE_PROCESSING_SETTING_ACTION = 74;
3964
+ NEWSLETTER_SAVED_INTERESTS_ACTION = 75;
3965
+ AI_THREAD_RENAME_ACTION = 76;
3966
+ INTERACTIVE_MESSAGE_ACTION = 77;
3967
+ SHARE_OWN_PN = 10001;
3968
+ BUSINESS_BROADCAST_ACTION = 10002;
3969
+ }
3970
+
3346
3971
  message NoiseCertificate {
3347
3972
  optional bytes details = 1;
3348
3973
  optional bytes signature = 2;
@@ -3415,6 +4040,9 @@ message PatchDebugData {
3415
4040
  DARWIN = 6;
3416
4041
  IPAD = 7;
3417
4042
  WEAROS = 8;
4043
+ WASG = 9;
4044
+ WEARM = 10;
4045
+ CAPI = 11;
3418
4046
  }
3419
4047
  }
3420
4048
 
@@ -3615,6 +4243,11 @@ message Pushname {
3615
4243
  optional string pushname = 2;
3616
4244
  }
3617
4245
 
4246
+ message QuarantinedMessage {
4247
+ optional bytes originalData = 1;
4248
+ optional string extractedText = 2;
4249
+ }
4250
+
3618
4251
  message Reaction {
3619
4252
  optional MessageKey key = 1;
3620
4253
  optional string text = 2;
@@ -3644,6 +4277,49 @@ message ReportingTokenInfo {
3644
4277
  optional bytes reportingTag = 1;
3645
4278
  }
3646
4279
 
4280
+ message StatusAttribution {
4281
+ optional Type type = 1;
4282
+ optional string actionUrl = 2;
4283
+ oneof attributionData {
4284
+ StatusAttribution.StatusReshare statusReshare = 3;
4285
+ StatusAttribution.ExternalShare externalShare = 4;
4286
+ StatusAttribution.Music music = 5;
4287
+ StatusAttribution.GroupStatus groupStatus = 6;
4288
+ StatusAttribution.RLAttribution rlAttribution = 7;
4289
+ StatusAttribution.AiCreatedAttribution aiCreatedAttribution = 8;
4290
+ }
4291
+ message AiCreatedAttribution {
4292
+ optional Source source = 1;
4293
+ enum Source {
4294
+ UNKNOWN = 0;
4295
+ STATUS_MIMICRY = 1;
4296
+ }
4297
+ }
4298
+
4299
+ message ExternalShare {
4300
+ optional string actionUrl = 1;
4301
+ optional Source source = 2;
4302
+ optional int32 duration = 3;
4303
+ optional string actionFallbackUrl = 4;
4304
+ enum Source {
4305
+ UNKNOWN = 0;
4306
+ INSTAGRAM = 1;
4307
+ FACEBOOK = 2;
4308
+ MESSENGER = 3;
4309
+ SPOTIFY = 4;
4310
+ YOUTUBE = 5;
4311
+ PINTEREST = 6;
4312
+ THREADS = 7;
4313
+ APPLE_MUSIC = 8;
4314
+ SHARECHAT = 9;
4315
+ GOOGLE_PHOTOS = 10;
4316
+ }
4317
+ }
4318
+
4319
+ message GroupStatus {
4320
+ optional string authorJid = 1;
4321
+ }
4322
+
3647
4323
  message SenderKeyDistributionMessage {
3648
4324
  optional uint32 id = 1;
3649
4325
  optional uint32 iteration = 2;
@@ -3738,6 +4414,17 @@ message SessionStructure {
3738
4414
 
3739
4415
  }
3740
4416
 
4417
+ message SessionTransparencyMetadata {
4418
+ optional string disclaimerText = 1;
4419
+ optional string hcaId = 2;
4420
+ optional SessionTransparencyType sessionTransparencyType = 3;
4421
+ }
4422
+
4423
+ enum SessionTransparencyType {
4424
+ UNKNOWN_TYPE = 0;
4425
+ NY_AI_SAFETY_DISCLAIMER = 1;
4426
+ }
4427
+
3741
4428
  message SignalMessage {
3742
4429
  optional bytes ratchetKey = 1;
3743
4430
  optional uint32 counter = 2;
@@ -3753,6 +4440,25 @@ message SignedPreKeyRecordStructure {
3753
4440
  optional fixed64 timestamp = 5;
3754
4441
  }
3755
4442
 
4443
+ message ExternalShare {
4444
+ optional string actionUrl = 1;
4445
+ optional Source source = 2;
4446
+ optional int32 duration = 3;
4447
+ optional string actionFallbackUrl = 4;
4448
+ enum Source {
4449
+ UNKNOWN = 0;
4450
+ INSTAGRAM = 1;
4451
+ FACEBOOK = 2;
4452
+ MESSENGER = 3;
4453
+ SPOTIFY = 4;
4454
+ YOUTUBE = 5;
4455
+ PINTEREST = 6;
4456
+ THREADS = 7;
4457
+ APPLE_MUSIC = 8;
4458
+ SHARECHAT = 9;
4459
+ GOOGLE_PHOTOS = 10;
4460
+ }
4461
+
3756
4462
  message StatusAttribution {
3757
4463
  optional Type type = 1;
3758
4464
  optional string actionUrl = 2;
@@ -3761,7 +4467,24 @@ message StatusAttribution {
3761
4467
  StatusAttribution.ExternalShare externalShare = 4;
3762
4468
  StatusAttribution.Music music = 5;
3763
4469
  StatusAttribution.GroupStatus groupStatus = 6;
4470
+ StatusAttribution.RLAttribution rlAttribution = 7;
4471
+ StatusAttribution.AiCreatedAttribution aiCreatedAttribution = 8;
4472
+ }
4473
+ message AiCreatedAttribution {
4474
+ optional Source source = 1;
4475
+ enum Source {
4476
+ UNKNOWN = 0;
4477
+ STATUS_MIMICRY = 1;
4478
+ }
4479
+ message AiCreatedAttribution {
4480
+ optional Source source = 1;
4481
+ enum Source {
4482
+ UNKNOWN = 0;
4483
+ STATUS_MIMICRY = 1;
4484
+ }
3764
4485
  }
4486
+ }
4487
+
3765
4488
  message ExternalShare {
3766
4489
  optional string actionUrl = 1;
3767
4490
  optional Source source = 2;
@@ -3775,6 +4498,10 @@ message StatusAttribution {
3775
4498
  SPOTIFY = 4;
3776
4499
  YOUTUBE = 5;
3777
4500
  PINTEREST = 6;
4501
+ THREADS = 7;
4502
+ APPLE_MUSIC = 8;
4503
+ SHARECHAT = 9;
4504
+ GOOGLE_PHOTOS = 10;
3778
4505
  }
3779
4506
  }
3780
4507
 
@@ -3791,6 +4518,16 @@ message StatusAttribution {
3791
4518
  optional bool isExplicit = 6;
3792
4519
  }
3793
4520
 
4521
+ message RLAttribution {
4522
+ optional Source source = 1;
4523
+ enum Source {
4524
+ UNKNOWN = 0;
4525
+ RAY_BAN_META_GLASSES = 1;
4526
+ OAKLEY_META_GLASSES = 2;
4527
+ HYPERNOVA_GLASSES = 3;
4528
+ }
4529
+ }
4530
+
3794
4531
  message StatusReshare {
3795
4532
  optional Source source = 1;
3796
4533
  optional Metadata metadata = 2;
@@ -3799,22 +4536,26 @@ message StatusAttribution {
3799
4536
  optional string channelJid = 2;
3800
4537
  optional int32 channelMessageId = 3;
3801
4538
  optional bool hasMultipleReshares = 4;
3802
- }
3803
-
4539
+ }
3804
4540
  enum Source {
3805
4541
  UNKNOWN = 0;
3806
4542
  INTERNAL_RESHARE = 1;
3807
4543
  MENTION_RESHARE = 2;
3808
4544
  CHANNEL_RESHARE = 3;
4545
+ FORWARD = 4;
3809
4546
  }
3810
4547
  }
3811
-
4548
+
3812
4549
  enum Type {
3813
- RESHARE = 0;
3814
- EXTERNAL_SHARE = 1;
3815
- MUSIC = 2;
3816
- STATUS_MENTION = 3;
3817
- GROUP_STATUS = 4;
4550
+ UNKNOWN = 0;
4551
+ RESHARE = 1;
4552
+ EXTERNAL_SHARE = 2;
4553
+ MUSIC = 3;
4554
+ STATUS_MENTION = 4;
4555
+ GROUP_STATUS = 5;
4556
+ RL_ATTRIBUTION = 6;
4557
+ AI_CREATED = 7;
4558
+ LAYOUTS = 8;
3818
4559
  }
3819
4560
  }
3820
4561
 
@@ -3840,6 +4581,8 @@ message StickerMetadata {
3840
4581
  optional float weight = 10;
3841
4582
  optional int64 lastStickerSentTs = 11;
3842
4583
  optional bool isLottie = 12;
4584
+ optional string imageHash = 13;
4585
+ optional bool isAvatarSticker = 14;
3843
4586
  }
3844
4587
 
3845
4588
  message SyncActionData {
@@ -3909,12 +4652,27 @@ message SyncActionValue {
3909
4652
  optional PaymentTosAction paymentTosAction = 63;
3910
4653
  optional PrivacySettingChannelsPersonalisedRecommendationAction privacySettingChannelsPersonalisedRecommendationAction = 64;
3911
4654
  optional BusinessBroadcastAssociationAction businessBroadcastAssociationAction = 65;
4655
+ optional DetectedOutcomesStatusAction detectedOutcomesStatusAction = 66;
4656
+ optional MaibaAIFeaturesControlAction maibaAiFeaturesControlAction = 68;
4657
+ optional BusinessBroadcastListAction businessBroadcastListAction = 69;
4658
+ optional MusicUserIdAction musicUserIdAction = 70;
4659
+ optional StatusPostOptInNotificationPreferencesAction statusPostOptInNotificationPreferencesAction = 71;
4660
+ optional AvatarUpdatedAction avatarUpdatedAction = 72;
4661
+ optional PrivateProcessingSettingAction privateProcessingSettingAction = 74;
4662
+ optional NewsletterSavedInterestsAction newsletterSavedInterestsAction = 75;
4663
+ optional AiThreadRenameAction aiThreadRenameAction = 76;
4664
+ optional InteractiveMessageAction interactiveMessageAction = 77;
4665
+ optional UGCBot ugcBot = 78;
3912
4666
  message AgentAction {
3913
4667
  optional string name = 1;
3914
4668
  optional int32 deviceID = 2;
3915
4669
  optional bool isDeleted = 3;
3916
4670
  }
3917
4671
 
4672
+ message AiThreadRenameAction {
4673
+ optional string newTitle = 1;
4674
+ }
4675
+
3918
4676
  message AndroidUnsupportedActions {
3919
4677
  optional bool allowed = 1;
3920
4678
  }
@@ -3924,9 +4682,30 @@ message SyncActionValue {
3924
4682
  optional SyncActionValue.SyncActionMessageRange messageRange = 2;
3925
4683
  }
3926
4684
 
4685
+ message AvatarUpdatedAction {
4686
+ optional AvatarEventType eventType = 1;
4687
+ repeated SyncActionValue.StickerAction recentAvatarStickers = 2;
4688
+ enum AvatarEventType {
4689
+ UPDATED = 0;
4690
+ CREATED = 1;
4691
+ DELETED = 2;
4692
+ }
4693
+ }
4694
+
3927
4695
  message BotWelcomeRequestAction {
3928
4696
  optional bool isSent = 1;
3929
4697
  }
4698
+ message BroadcastListParticipant {
4699
+ string lidJid = 1;
4700
+ optional string pnJid = 2;
4701
+ }
4702
+
4703
+
4704
+ message BusinessBroadcastListAction {
4705
+ optional bool deleted = 1;
4706
+ repeated SyncActionValue.BroadcastListParticipant participants = 2;
4707
+ optional string listName = 3;
4708
+ }
3930
4709
 
3931
4710
  message BusinessBroadcastAssociationAction {
3932
4711
  optional bool deleted = 1;
@@ -3977,6 +4756,10 @@ message SyncActionValue {
3977
4756
  repeated SyncActionValue.CustomPaymentMethod customPaymentMethods = 1;
3978
4757
  }
3979
4758
 
4759
+ message DetectedOutcomesStatusAction {
4760
+ optional bool isEnabled = 1;
4761
+ }
4762
+
3980
4763
  message DeleteChatAction {
3981
4764
  optional SyncActionValue.SyncActionMessageRange messageRange = 1;
3982
4765
  }
@@ -4020,6 +4803,7 @@ message SyncActionValue {
4020
4803
  optional bool isActive = 6;
4021
4804
  optional ListType type = 7;
4022
4805
  optional bool isImmutable = 8;
4806
+ optional int64 muteEndTimeMs = 9;
4023
4807
  enum ListType {
4024
4808
  NONE = 0;
4025
4809
  UNREAD = 1;
@@ -4029,6 +4813,8 @@ message SyncActionValue {
4029
4813
  CUSTOM = 5;
4030
4814
  COMMUNITY = 6;
4031
4815
  SERVER_ASSIGNED = 7;
4816
+ DRAFTED = 8;
4817
+ AI_HANDOFF = 9;
4032
4818
  }
4033
4819
  }
4034
4820
 
@@ -4047,6 +4833,15 @@ message SyncActionValue {
4047
4833
  optional string locale = 1;
4048
4834
  }
4049
4835
 
4836
+ message MaibaAIFeaturesControlAction {
4837
+ optional MaibaAIFeatureStatus aiFeatureStatus = 1;
4838
+ enum MaibaAIFeatureStatus {
4839
+ ENABLED = 0;
4840
+ ENABLED_HAS_LEARNING = 1;
4841
+ DISABLED = 2;
4842
+ }
4843
+ }
4844
+
4050
4845
  message LockChatAction {
4051
4846
  optional bool locked = 1;
4052
4847
  }
@@ -4084,12 +4879,21 @@ message SyncActionValue {
4084
4879
  }
4085
4880
  }
4086
4881
 
4882
+ message MusicUserIdAction {
4883
+ optional string musicUserId = 1;
4884
+ map<string, string> music_user_id_map = 2;
4885
+ }
4886
+
4087
4887
  message MuteAction {
4088
4888
  optional bool muted = 1;
4089
4889
  optional int64 muteEndTimestamp = 2;
4090
4890
  optional bool autoMuted = 3;
4091
4891
  }
4092
4892
 
4893
+ message NewsletterSavedInterestsAction {
4894
+ optional string newsletterSavedInterests = 1;
4895
+ }
4896
+
4093
4897
  message NoteEditAction {
4094
4898
  optional NoteType type = 1;
4095
4899
  optional string chatJid = 2;
@@ -4128,6 +4932,20 @@ message SyncActionValue {
4128
4932
  }
4129
4933
  }
4130
4934
 
4935
+ message PrivacySettingChannelsPersonalisedRecommendationAction {
4936
+ optional bool isUserOptedOut = 1;
4937
+ }
4938
+
4939
+ message PrivateProcessingSettingAction {
4940
+ optional PrivateProcessingStatus privateProcessingStatus = 1;
4941
+ enum PrivateProcessingStatus {
4942
+ UNDEFINED = 0;
4943
+ ENABLED = 1;
4944
+ DISABLED = 2;
4945
+ }
4946
+ }
4947
+
4948
+
4131
4949
  message PinAction {
4132
4950
  optional bool pinned = 1;
4133
4951
  }
@@ -4184,6 +5002,10 @@ message SyncActionValue {
4184
5002
  optional bool starred = 1;
4185
5003
  }
4186
5004
 
5005
+ message StatusPostOptInNotificationPreferencesAction {
5006
+ optional bool enabled = 1;
5007
+ }
5008
+
4187
5009
  message StatusPrivacyAction {
4188
5010
  optional StatusDistributionMode mode = 1;
4189
5011
  repeated string userJid = 2;
@@ -4191,6 +5013,7 @@ message SyncActionValue {
4191
5013
  ALLOW_LIST = 0;
4192
5014
  DENY_LIST = 1;
4193
5015
  CONTACTS = 2;
5016
+ CLOSE_FRIENDS = 3;
4194
5017
  }
4195
5018
  }
4196
5019
 
@@ -4206,6 +5029,8 @@ message SyncActionValue {
4206
5029
  optional bool isFavorite = 9;
4207
5030
  optional uint32 deviceIdHint = 10;
4208
5031
  optional bool isLottie = 11;
5032
+ optional string imageHash = 12;
5033
+ optional bool isAvatarSticker = 13;
4209
5034
  }
4210
5035
 
4211
5036
  message SubscriptionAction {
@@ -4214,6 +5039,10 @@ message SyncActionValue {
4214
5039
  optional int64 expirationDate = 3;
4215
5040
  }
4216
5041
 
5042
+ message UGCBot {
5043
+ optional bytes definition = 1;
5044
+ }
5045
+
4217
5046
  message SyncActionMessage {
4218
5047
  optional MessageKey key = 1;
4219
5048
  optional int64 timestamp = 2;
@@ -4249,6 +5078,8 @@ message SyncActionValue {
4249
5078
  optional AccountLinkState linkState = 2;
4250
5079
  enum AccountLinkState {
4251
5080
  ACTIVE = 0;
5081
+ PAUSED = 1;
5082
+ UNLINKED = 2;
4252
5083
  }
4253
5084
  }
4254
5085
 
@@ -4343,6 +5174,7 @@ message ThreadID {
4343
5174
  enum ThreadType {
4344
5175
  UNKNOWN = 0;
4345
5176
  VIEW_REPLIES = 1;
5177
+ AI_THREAD = 2;
4346
5178
  }
4347
5179
  }
4348
5180
 
@@ -4467,6 +5299,11 @@ message WebFeatures {
4467
5299
  }
4468
5300
  }
4469
5301
 
5302
+ enum WebLinkRenderConfig {
5303
+ WEBVIEW = 0;
5304
+ SYSTEM = 1;
5305
+ }
5306
+
4470
5307
  message WebMessageInfo {
4471
5308
  required MessageKey key = 1;
4472
5309
  optional Message message = 2;
@@ -4530,6 +5367,10 @@ message WebMessageInfo {
4530
5367
  repeated string statusMentionSources = 71;
4531
5368
  repeated Citation supportAiCitations = 72;
4532
5369
  optional string botTargetId = 73;
5370
+ optional GroupHistoryIndividualMessageInfo groupHistoryIndividualMessageInfo = 74;
5371
+ optional GroupHistoryBundleInfo groupHistoryBundleInfo = 75;
5372
+ optional InteractiveMessageAdditionalMetadata interactiveMessageAdditionalMetadata = 76;
5373
+ optional QuarantinedMessage quarantinedMessage = 77;
4533
5374
  enum BizPrivacyStatus {
4534
5375
  E2EE = 0;
4535
5376
  FB = 2;
@@ -4764,6 +5605,9 @@ message WebMessageInfo {
4764
5605
  CHANGE_LIMIT_SHARING = 216;
4765
5606
  GROUP_MEMBER_LINK_MODE = 217;
4766
5607
  BIZ_AUTOMATICALLY_LABELED_CHAT_SYSTEM_MESSAGE = 218;
5608
+ PHONE_NUMBER_HIDING_CHAT_DEPRECATED_MESSAGE = 219;
5609
+ QUARANTINED_MESSAGE = 220;
5610
+ GROUP_MEMBER_SHARE_GROUP_HISTORY_MODE = 221;
4767
5611
  }
4768
5612
  }
4769
5613