@yui-bails/yui-bails 1.4.0 → 1.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +161 -1
- package/WAProto/WAProto.proto +2164 -373
- package/WAProto/index.d.ts +4472 -139
- package/WAProto/index.js +64007 -28296
- package/lib/Defaults/index.js +1 -1
- package/lib/Socket/connect-bot.d.ts +28 -0
- package/lib/Socket/connect-bot.d.ts.map +1 -1
- package/lib/Socket/index.d.ts +26 -12
- package/lib/Socket/index.d.ts.map +1 -1
- package/lib/Socket/index.js +27 -1
- package/lib/Socket/index.js.map +1 -1
- package/lib/Socket/session-manager.d.ts +14 -0
- package/lib/Socket/session-manager.d.ts.map +1 -1
- package/lib/Types/Socket.d.ts +7 -0
- package/lib/Types/Socket.d.ts.map +1 -1
- package/lib/Types/Socket.js.map +1 -1
- package/lib/Utils/banner.d.ts +4 -2
- package/lib/Utils/banner.d.ts.map +1 -1
- package/lib/Utils/banner.js +6 -4
- package/lib/Utils/banner.js.map +1 -1
- package/lib/Utils/channel.d.ts +9 -0
- package/lib/Utils/channel.d.ts.map +1 -0
- package/lib/Utils/channel.js +17 -0
- package/lib/Utils/channel.js.map +1 -0
- package/lib/Utils/generics.js +1 -1
- package/lib/Utils/group-fetch.d.ts +7 -2
- package/lib/Utils/group-fetch.d.ts.map +1 -1
- package/lib/Utils/group-fetch.js +12 -2
- package/lib/Utils/group-fetch.js.map +1 -1
- package/lib/Utils/helpers.d.ts +3 -1
- package/lib/Utils/helpers.d.ts.map +1 -1
- package/lib/Utils/helpers.js +4 -3
- package/lib/Utils/helpers.js.map +1 -1
- package/lib/Utils/html-format.d.ts +12 -0
- package/lib/Utils/html-format.d.ts.map +1 -0
- package/lib/Utils/html-format.js +344 -0
- package/lib/Utils/html-format.js.map +1 -0
- package/lib/Utils/index.d.ts +7 -0
- package/lib/Utils/index.d.ts.map +1 -1
- package/lib/Utils/index.js +7 -0
- package/lib/Utils/index.js.map +1 -1
- package/lib/Utils/pretty-log.d.ts.map +1 -1
- package/lib/Utils/pretty-log.js +7 -3
- package/lib/Utils/pretty-log.js.map +1 -1
- package/lib/Utils/reconnect.d.ts +53 -0
- package/lib/Utils/reconnect.d.ts.map +1 -0
- package/lib/Utils/reconnect.js +82 -0
- package/lib/Utils/reconnect.js.map +1 -0
- package/lib/Utils/send-extras.d.ts +28 -1
- package/lib/Utils/send-extras.d.ts.map +1 -1
- package/lib/Utils/send-extras.js +34 -0
- package/lib/Utils/send-extras.js.map +1 -1
- package/lib/Utils/send-retry.d.ts +21 -0
- package/lib/Utils/send-retry.d.ts.map +1 -0
- package/lib/Utils/send-retry.js +28 -0
- package/lib/Utils/send-retry.js.map +1 -0
- package/lib/Utils/session-backup.d.ts +21 -0
- package/lib/Utils/session-backup.d.ts.map +1 -0
- package/lib/Utils/session-backup.js +61 -0
- package/lib/Utils/session-backup.js.map +1 -0
- package/lib/Utils/timed-poll.d.ts +71 -0
- package/lib/Utils/timed-poll.d.ts.map +1 -0
- package/lib/Utils/timed-poll.js +101 -0
- package/lib/Utils/timed-poll.js.map +1 -0
- package/lib/Utils/use-single-file-auth-state.d.ts +21 -0
- package/lib/Utils/use-single-file-auth-state.d.ts.map +1 -0
- package/lib/Utils/use-single-file-auth-state.js +134 -0
- package/lib/Utils/use-single-file-auth-state.js.map +1 -0
- package/package.json +2 -2
package/WAProto/WAProto.proto
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
syntax = "proto3";
|
|
2
2
|
package proto;
|
|
3
3
|
|
|
4
|
-
/// WhatsApp Version: 2.3000.
|
|
4
|
+
/// WhatsApp Version: 2.3000.1057542508
|
|
5
|
+
|
|
6
|
+
message ACP2Setting {
|
|
7
|
+
optional bool enabled = 1;
|
|
8
|
+
optional LimitSharing.TriggerType trigger = 2;
|
|
9
|
+
optional int64 settingTimestamp = 3;
|
|
10
|
+
optional bool initiatedByMe = 4;
|
|
11
|
+
}
|
|
5
12
|
|
|
6
13
|
message ADVDeviceIdentity {
|
|
7
14
|
optional uint32 rawId = 1;
|
|
@@ -14,6 +21,7 @@ message ADVDeviceIdentity {
|
|
|
14
21
|
enum ADVEncryptionType {
|
|
15
22
|
E2EE = 0;
|
|
16
23
|
HOSTED = 1;
|
|
24
|
+
NON_E2EE = 2;
|
|
17
25
|
}
|
|
18
26
|
message ADVKeyIndexList {
|
|
19
27
|
optional uint32 rawId = 1;
|
|
@@ -54,14 +62,43 @@ message AIHomeState {
|
|
|
54
62
|
optional string imageWdsIdentifier = 5;
|
|
55
63
|
optional string imageTintColor = 6;
|
|
56
64
|
optional string imageBackgroundColor = 7;
|
|
65
|
+
optional string cardTypeId = 8;
|
|
57
66
|
enum AIHomeActionType {
|
|
58
67
|
PROMPT = 0;
|
|
59
68
|
CREATE_IMAGE = 1;
|
|
60
69
|
ANIMATE_PHOTO = 2;
|
|
61
70
|
ANALYZE_FILE = 3;
|
|
71
|
+
COLLABORATE = 4;
|
|
72
|
+
OPEN_GREETING_CARD = 5;
|
|
62
73
|
}
|
|
63
74
|
}
|
|
75
|
+
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
message AIMediaCollectionMessage {
|
|
79
|
+
optional string collectionId = 1;
|
|
80
|
+
optional uint32 expectedMediaCount = 2;
|
|
81
|
+
optional bool hasGlobalCaption = 3;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
message AIMediaCollectionMetadata {
|
|
85
|
+
optional string collectionId = 1;
|
|
86
|
+
optional uint32 uploadOrderIndex = 2;
|
|
87
|
+
}
|
|
64
88
|
|
|
89
|
+
message AIMetadataOperation {
|
|
90
|
+
optional HatchMetadataSync hatchMetadataSync = 1;
|
|
91
|
+
optional BizAIMetadataSync bizAiMetadataSync = 2;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
message AIProvenance {
|
|
95
|
+
optional Metadata c2PaMetadata = 1;
|
|
96
|
+
optional Metadata iptcMetadata = 2;
|
|
97
|
+
message Metadata {
|
|
98
|
+
optional bool createdWithGenAi = 1;
|
|
99
|
+
optional bool editedWithGenAi = 2;
|
|
100
|
+
}
|
|
101
|
+
|
|
65
102
|
}
|
|
66
103
|
|
|
67
104
|
message AIQueryFanout {
|
|
@@ -82,7 +119,7 @@ message AIRichResponseCodeMetadata {
|
|
|
82
119
|
optional AIRichResponseCodeMetadata.AIRichResponseCodeHighlightType highlightType = 1;
|
|
83
120
|
optional string codeContent = 2;
|
|
84
121
|
}
|
|
85
|
-
|
|
122
|
+
|
|
86
123
|
enum AIRichResponseCodeHighlightType {
|
|
87
124
|
AI_RICH_RESPONSE_CODE_HIGHLIGHT_DEFAULT = 0;
|
|
88
125
|
AI_RICH_RESPONSE_CODE_HIGHLIGHT_KEYWORD = 1;
|
|
@@ -97,18 +134,18 @@ message AIRichResponseContentItemsMetadata {
|
|
|
97
134
|
repeated AIRichResponseContentItemMetadata itemsMetadata = 1;
|
|
98
135
|
optional ContentType contentType = 2;
|
|
99
136
|
message AIRichResponseContentItemMetadata {
|
|
100
|
-
oneof
|
|
137
|
+
oneof aiRichResponseContentItem {
|
|
101
138
|
AIRichResponseContentItemsMetadata.AIRichResponseReelItem reelItem = 1;
|
|
102
139
|
}
|
|
103
140
|
}
|
|
104
|
-
|
|
141
|
+
|
|
105
142
|
message AIRichResponseReelItem {
|
|
106
143
|
optional string title = 1;
|
|
107
144
|
optional string profileIconUrl = 2;
|
|
108
145
|
optional string thumbnailUrl = 3;
|
|
109
146
|
optional string videoUrl = 4;
|
|
110
147
|
}
|
|
111
|
-
|
|
148
|
+
|
|
112
149
|
enum ContentType {
|
|
113
150
|
DEFAULT = 0;
|
|
114
151
|
CAROUSEL = 1;
|
|
@@ -164,7 +201,7 @@ message AIRichResponseLatexMetadata {
|
|
|
164
201
|
optional double imageBottomPadding = 8;
|
|
165
202
|
optional double imageTrailingPadding = 9;
|
|
166
203
|
}
|
|
167
|
-
|
|
204
|
+
|
|
168
205
|
}
|
|
169
206
|
|
|
170
207
|
message AIRichResponseMapMetadata {
|
|
@@ -181,7 +218,7 @@ message AIRichResponseMapMetadata {
|
|
|
181
218
|
optional string title = 4;
|
|
182
219
|
optional string body = 5;
|
|
183
220
|
}
|
|
184
|
-
|
|
221
|
+
|
|
185
222
|
}
|
|
186
223
|
|
|
187
224
|
message AIRichResponseMessage {
|
|
@@ -189,6 +226,7 @@ message AIRichResponseMessage {
|
|
|
189
226
|
repeated AIRichResponseSubMessage submessages = 2;
|
|
190
227
|
optional AIRichResponseUnifiedResponse unifiedResponse = 3;
|
|
191
228
|
optional ContextInfo contextInfo = 4;
|
|
229
|
+
optional AIRichResponseUnifiedResponse originalRecipientMetadata = 5;
|
|
192
230
|
}
|
|
193
231
|
|
|
194
232
|
enum AIRichResponseMessageType {
|
|
@@ -227,11 +265,22 @@ message AIRichResponseTableMetadata {
|
|
|
227
265
|
repeated string items = 1;
|
|
228
266
|
optional bool isHeading = 2;
|
|
229
267
|
}
|
|
230
|
-
|
|
268
|
+
|
|
231
269
|
}
|
|
232
270
|
|
|
233
271
|
message AIRichResponseUnifiedResponse {
|
|
234
272
|
optional bytes data = 1;
|
|
273
|
+
optional bytes gzipData = 2;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
enum AISubscriptionRequestType {
|
|
277
|
+
UNSPECIFIED = 0;
|
|
278
|
+
THINK_HARD = 1;
|
|
279
|
+
IMAGE_GEN = 2;
|
|
280
|
+
VIDEO_GEN = 3;
|
|
281
|
+
}
|
|
282
|
+
message AISubscriptionUpsellMetadata {
|
|
283
|
+
optional AISubscriptionRequestType requestType = 1;
|
|
235
284
|
}
|
|
236
285
|
|
|
237
286
|
message AIThreadInfo {
|
|
@@ -239,17 +288,20 @@ message AIThreadInfo {
|
|
|
239
288
|
optional AIThreadClientInfo clientInfo = 2;
|
|
240
289
|
message AIThreadClientInfo {
|
|
241
290
|
optional AIThreadType type = 1;
|
|
291
|
+
optional string sourceChatJid = 2;
|
|
242
292
|
enum AIThreadType {
|
|
243
293
|
UNKNOWN = 0;
|
|
244
294
|
DEFAULT = 1;
|
|
245
295
|
INCOGNITO = 2;
|
|
296
|
+
SIDE_CHAT = 3;
|
|
297
|
+
PRIVATE_SEARCH_CHAT = 4;
|
|
246
298
|
}
|
|
247
299
|
}
|
|
248
|
-
|
|
300
|
+
|
|
249
301
|
message AIThreadServerInfo {
|
|
250
302
|
optional string title = 1;
|
|
251
303
|
}
|
|
252
|
-
|
|
304
|
+
|
|
253
305
|
}
|
|
254
306
|
|
|
255
307
|
message Account {
|
|
@@ -257,6 +309,12 @@ message Account {
|
|
|
257
309
|
optional string username = 2;
|
|
258
310
|
optional string countryCode = 3;
|
|
259
311
|
optional bool isUsernameDeleted = 4;
|
|
312
|
+
optional PnLearnState pnLearnState = 6;
|
|
313
|
+
enum PnLearnState {
|
|
314
|
+
UNSET = 0;
|
|
315
|
+
SHARED = 1;
|
|
316
|
+
HIDDEN = 2;
|
|
317
|
+
}
|
|
260
318
|
}
|
|
261
319
|
|
|
262
320
|
message ActionLink {
|
|
@@ -276,12 +334,34 @@ message AvatarUserSettings {
|
|
|
276
334
|
optional string password = 2;
|
|
277
335
|
}
|
|
278
336
|
|
|
337
|
+
message BizAIMetadataSync {
|
|
338
|
+
oneof operation {
|
|
339
|
+
BizAIMetadataSync.ServerEvent serverEvent = 1;
|
|
340
|
+
}
|
|
341
|
+
message ServerEvent {
|
|
342
|
+
oneof event {
|
|
343
|
+
BizAIMetadataSync.ServerEvent.ProtocolEvent protocolEvent = 1;
|
|
344
|
+
BizAIMetadataSync.ServerEvent.AgentOnboardingStarted agentOnboardingStarted = 2;
|
|
345
|
+
}
|
|
346
|
+
message AgentOnboardingStarted {
|
|
347
|
+
optional int64 composerBlockDurationSecs = 1;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
enum ProtocolEvent {
|
|
351
|
+
UNSPECIFIED = 0;
|
|
352
|
+
AGENT_CHAT_READY = 1;
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
}
|
|
357
|
+
|
|
279
358
|
message BizAccountLinkInfo {
|
|
280
359
|
optional uint64 whatsappBizAcctFbid = 1;
|
|
281
360
|
optional string whatsappAcctNumber = 2;
|
|
282
361
|
optional uint64 issueTime = 3;
|
|
283
362
|
optional HostStorageType hostStorage = 4;
|
|
284
363
|
optional AccountType accountType = 5;
|
|
364
|
+
optional string whatsappAcctEmail = 6;
|
|
285
365
|
enum AccountType {
|
|
286
366
|
ENTERPRISE = 0;
|
|
287
367
|
}
|
|
@@ -330,12 +410,13 @@ message BotAgeCollectionMetadata {
|
|
|
330
410
|
}
|
|
331
411
|
}
|
|
332
412
|
|
|
333
|
-
message
|
|
334
|
-
optional
|
|
335
|
-
optional
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
413
|
+
message BotAgentDeepLinkMetadata {
|
|
414
|
+
optional string token = 1;
|
|
415
|
+
optional bytes clientPublicKey = 2;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
message BotAgentMetadata {
|
|
419
|
+
optional BotAgentDeepLinkMetadata deepLinkMetadata = 1;
|
|
339
420
|
}
|
|
340
421
|
|
|
341
422
|
message BotCapabilityMetadata {
|
|
@@ -391,6 +472,68 @@ message BotCapabilityMetadata {
|
|
|
391
472
|
AI_RESPONSE_MODEL_BRANDING = 47;
|
|
392
473
|
SESSION_TRANSPARENCY_SYSTEM_MESSAGE = 48;
|
|
393
474
|
RICH_RESPONSE_UR_REASONING = 49;
|
|
475
|
+
RICH_RESPONSE_UR_ZEITGEIST_CITATIONS = 50;
|
|
476
|
+
RICH_RESPONSE_UR_ZEITGEIST_CAROUSEL = 51;
|
|
477
|
+
AI_IMAGINE_LOADING_INDICATOR = 52;
|
|
478
|
+
RICH_RESPONSE_UR_IMAGINE = 53;
|
|
479
|
+
AI_IMAGINE_UR_TO_NATIVE_LOADING_INDICATOR = 54;
|
|
480
|
+
RICH_RESPONSE_UR_BLOKS_ENABLED = 55;
|
|
481
|
+
RICH_RESPONSE_INLINE_LINKS_ENABLED = 56;
|
|
482
|
+
RICH_RESPONSE_UR_IMAGINE_VIDEO = 57;
|
|
483
|
+
JSON_PATCH_STREAMING = 58;
|
|
484
|
+
AI_TAB_FORCE_CLIPPY = 59;
|
|
485
|
+
UNIFIED_RESPONSE_EMBEDDED_SCREENS = 60;
|
|
486
|
+
AI_SUBSCRIPTION_ENABLED = 61;
|
|
487
|
+
UNIFIED_RESPONSE_AI_CONTENT_SEARCH_ENABLED = 62;
|
|
488
|
+
UNIFIED_RESPONSE_MARKDOWN_LINKS_ENABLED = 63;
|
|
489
|
+
AI_RICH_RESPONSE_MAPS_V2_ENABLED = 64;
|
|
490
|
+
AI_SUBSCRIPTION_METERING_ENABLED = 65;
|
|
491
|
+
RICH_RESPONSE_SPORTS_WIDGET_ENABLED = 66;
|
|
492
|
+
AI_RICH_RESPONSE_ARTIFACTS_ENABLED = 67;
|
|
493
|
+
AI_RICH_RESPONSE_EMAIL_CALENDAR_ENABLED = 68;
|
|
494
|
+
AI_RICH_RESPONSE_REMINDERS_ENABLED = 69;
|
|
495
|
+
AI_STOP_GENERATION_ENABLED = 70;
|
|
496
|
+
AI_RICH_RESPONSE_3P_LINKING_CARD_ENABLED = 71;
|
|
497
|
+
HATCH_NOTIFICATION_METADATA_EVENT_ENABLED = 72;
|
|
498
|
+
AI_SUGGESTED_REPLIES_ENABLED = 73;
|
|
499
|
+
RICH_RESPONSE_IN_APP_SURVEY_BLOKS = 74;
|
|
500
|
+
RICH_RESPONSE_IMAGE_SOURCE_ATTRIBUTION = 75;
|
|
501
|
+
HATCH_CONNECTOR_ACTION_CARD_ENABLED = 76;
|
|
502
|
+
HATCH_SECURE_CREDENTIAL_CARD_ENABLED = 77;
|
|
503
|
+
HATCH_BROWSER_TASK_CARD_ENABLED = 78;
|
|
504
|
+
HATCH_ARTIFACT_CARD_ENABLED = 79;
|
|
505
|
+
AI_STUDY_CENTER_ENABLED = 80;
|
|
506
|
+
AI_MUSE_JARVIS_SCHEMA_ENABLED = 81;
|
|
507
|
+
AI_STUDY_QUIZ_ENABLED = 82;
|
|
508
|
+
HATCH_CVM_ENABLED = 83;
|
|
509
|
+
RICH_RESPONSE_SOCIAL_ENTITY_PREFETCH_SCHEDULER_ENABLED = 84;
|
|
510
|
+
AI_MUSE_JARVIS_EXTENDED_CARDS_ENABLED = 85;
|
|
511
|
+
AI_INTERJECTIONS_ENABLED = 86;
|
|
512
|
+
AI_RICH_RESPONSE_READ_ALOUD_ENABLED = 87;
|
|
513
|
+
AI_RICH_RESPONSE_ITEM_LISTS_ENABLED = 88;
|
|
514
|
+
RICH_RESPONSE_SIDE_BY_SIDE_BUFFER_BOTH = 89;
|
|
515
|
+
AI_MUSE_JARVIS_ENVELOPE_GZIP_ENABLED = 90;
|
|
516
|
+
AI_RICH_RESPONSE_INLINE_MEDIA_LIGHTBOX_ENABLED = 91;
|
|
517
|
+
HATCH_DEVICE_NODE_HOST = 92;
|
|
518
|
+
AI_MUSE_JARVIS_PAYLOAD_GZIP_ENABLED = 93;
|
|
519
|
+
AI_RICH_RESPONSE_A2UI_CARDS_ENABLED = 94;
|
|
520
|
+
AI_RICH_RESPONSE_READ_ALOUD_LENGTH_APPROXIMATION_ENABLED = 95;
|
|
521
|
+
AI_RICH_RESPONSE_READ_ALOUD_ACTION_TRAY_ENABLED = 96;
|
|
522
|
+
RICH_RESPONSE_SIDE_BY_SIDE_PARALLEL_STREAMING = 97;
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
message BotCommandMetadata {
|
|
527
|
+
optional string commandName = 1;
|
|
528
|
+
optional string commandDescription = 2;
|
|
529
|
+
optional string commandPrompt = 3;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
message BotDocumentMessageMetadata {
|
|
533
|
+
optional DocumentPluginType pluginType = 1;
|
|
534
|
+
enum DocumentPluginType {
|
|
535
|
+
TEXT_EXTRACTION = 0;
|
|
536
|
+
OCR_AND_IMAGES = 1;
|
|
394
537
|
}
|
|
395
538
|
}
|
|
396
539
|
|
|
@@ -452,7 +595,7 @@ message BotFeedbackMessage {
|
|
|
452
595
|
optional string tessaSessionFbid = 2;
|
|
453
596
|
optional string simonSessionFbid = 3;
|
|
454
597
|
}
|
|
455
|
-
|
|
598
|
+
|
|
456
599
|
message SidebySideSurveyMetaAiAnalyticsData {
|
|
457
600
|
optional uint32 surveyId = 1;
|
|
458
601
|
optional string primaryResponseId = 2;
|
|
@@ -466,32 +609,45 @@ message BotFeedbackMessage {
|
|
|
466
609
|
message SideBySideSurveyAbandonEventData {
|
|
467
610
|
optional string abandonDwellTimeMsString = 1;
|
|
468
611
|
}
|
|
469
|
-
|
|
612
|
+
|
|
470
613
|
message SideBySideSurveyCTAClickEventData {
|
|
471
614
|
optional bool isSurveyExpired = 1;
|
|
472
615
|
optional string clickDwellTimeMsString = 2;
|
|
473
616
|
}
|
|
474
|
-
|
|
617
|
+
|
|
475
618
|
message SideBySideSurveyCTAImpressionEventData {
|
|
476
619
|
optional bool isSurveyExpired = 1;
|
|
477
620
|
}
|
|
478
|
-
|
|
621
|
+
|
|
479
622
|
message SideBySideSurveyCardImpressionEventData {
|
|
480
623
|
}
|
|
481
|
-
|
|
624
|
+
|
|
482
625
|
message SideBySideSurveyResponseEventData {
|
|
483
626
|
optional string responseDwellTimeMsString = 1;
|
|
484
627
|
optional string selectedResponseId = 2;
|
|
485
628
|
}
|
|
486
|
-
|
|
629
|
+
|
|
487
630
|
}
|
|
488
|
-
|
|
631
|
+
|
|
489
632
|
}
|
|
633
|
+
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
message BotGroupMetadata {
|
|
637
|
+
repeated BotGroupParticipantMetadata participantsMetadata = 1;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
message BotGroupParticipantMetadata {
|
|
641
|
+
optional string botFbid = 1;
|
|
642
|
+
}
|
|
490
643
|
|
|
644
|
+
message BotHistoryShareMetadata {
|
|
645
|
+
repeated BotGroupParticipantMetadata participantsMetadata = 1;
|
|
491
646
|
}
|
|
492
647
|
|
|
493
648
|
message BotImagineMetadata {
|
|
494
649
|
optional ImagineType imagineType = 1;
|
|
650
|
+
optional string shortPrompt = 2;
|
|
495
651
|
enum ImagineType {
|
|
496
652
|
UNKNOWN = 0;
|
|
497
653
|
IMAGINE = 1;
|
|
@@ -501,6 +657,21 @@ message BotImagineMetadata {
|
|
|
501
657
|
}
|
|
502
658
|
}
|
|
503
659
|
|
|
660
|
+
message BotInfrastructureDiagnostics {
|
|
661
|
+
optional BotBackend botBackend = 1;
|
|
662
|
+
repeated string toolsUsed = 2;
|
|
663
|
+
optional bool isThinking = 3;
|
|
664
|
+
enum BotBackend {
|
|
665
|
+
AAPI = 0;
|
|
666
|
+
CLIPPY = 1;
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
message BotInterjectionMetadata {
|
|
671
|
+
optional string targetPromptMessageId = 1;
|
|
672
|
+
repeated string foldedPromptMessageIds = 2;
|
|
673
|
+
}
|
|
674
|
+
|
|
504
675
|
message BotLinkedAccount {
|
|
505
676
|
optional BotLinkedAccountType type = 1;
|
|
506
677
|
enum BotLinkedAccountType {
|
|
@@ -546,8 +717,10 @@ message BotMemuMetadata {
|
|
|
546
717
|
|
|
547
718
|
message BotMessageOrigin {
|
|
548
719
|
optional BotMessageOriginType type = 1;
|
|
720
|
+
optional string proactiveMessageCampaignId = 2;
|
|
549
721
|
enum BotMessageOriginType {
|
|
550
722
|
BOT_MESSAGE_ORIGIN_TYPE_AI_INITIATED = 0;
|
|
723
|
+
BOT_MESSAGE_ORIGIN_TYPE_META_AI_THREAD_WELCOME = 1;
|
|
551
724
|
}
|
|
552
725
|
}
|
|
553
726
|
|
|
@@ -561,7 +734,6 @@ message BotMessageSharingInfo {
|
|
|
561
734
|
}
|
|
562
735
|
|
|
563
736
|
message BotMetadata {
|
|
564
|
-
optional BotAvatarMetadata avatarMetadata = 1;
|
|
565
737
|
optional string personaId = 2;
|
|
566
738
|
optional BotPluginMetadata pluginMetadata = 3;
|
|
567
739
|
optional BotSuggestedPromptMetadata suggestedPromptMetadata = 4;
|
|
@@ -594,6 +766,18 @@ message BotMetadata {
|
|
|
594
766
|
optional AIThreadInfo botThreadInfo = 31;
|
|
595
767
|
optional AIRegenerateMetadata regenerateMetadata = 32;
|
|
596
768
|
optional SessionTransparencyMetadata sessionTransparencyMetadata = 33;
|
|
769
|
+
optional BotDocumentMessageMetadata botDocumentMessageMetadata = 34;
|
|
770
|
+
optional BotGroupMetadata botGroupMetadata = 35;
|
|
771
|
+
optional BotRenderingConfigMetadata botRenderingConfigMetadata = 36;
|
|
772
|
+
optional BotInfrastructureDiagnostics botInfrastructureDiagnostics = 37;
|
|
773
|
+
optional AIMediaCollectionMetadata aiMediaCollectionMetadata = 38;
|
|
774
|
+
optional BotCommandMetadata commandMetadata = 39;
|
|
775
|
+
optional BotResolvedToolCallMetadata resolvedToolCallMetadata = 40;
|
|
776
|
+
optional AISubscriptionUpsellMetadata subscriptionUpsellMetadata = 41;
|
|
777
|
+
optional BotPttPromptMetadata pttPromptMetadata = 42;
|
|
778
|
+
optional BotHistoryShareMetadata botHistoryShareMetadata = 43;
|
|
779
|
+
optional bool responseStoppedByUser = 44;
|
|
780
|
+
optional BotInterjectionMetadata interjectionMetadata = 45;
|
|
597
781
|
optional bytes internalMetadata = 999;
|
|
598
782
|
}
|
|
599
783
|
|
|
@@ -637,6 +821,19 @@ enum BotMetricsEntryPoint {
|
|
|
637
821
|
ATTACHMENT_TRAY_GROUP_CHAT = 36;
|
|
638
822
|
ASK_META_AI_MEDIA_VIEWER_1ON1 = 37;
|
|
639
823
|
ASK_META_AI_MEDIA_VIEWER_GROUP = 38;
|
|
824
|
+
MEDIA_PICKER_1_ON_1_CHAT = 39;
|
|
825
|
+
MEDIA_PICKER_GROUP_CHAT = 40;
|
|
826
|
+
ASK_META_AI_NO_SEARCH_RESULTS = 41;
|
|
827
|
+
META_AI_SETTINGS = 45;
|
|
828
|
+
WEB_INTRO_PANEL = 46;
|
|
829
|
+
WEB_NAVIGATION_BAR = 47;
|
|
830
|
+
GROUP_MEMBER = 54;
|
|
831
|
+
CHATLIST_SEARCH = 55;
|
|
832
|
+
NEW_CHAT_LIST = 56;
|
|
833
|
+
CONTACTS_TAB = 57;
|
|
834
|
+
NEW_3P_AGENT_CREATION = 58;
|
|
835
|
+
SHARE = 59;
|
|
836
|
+
BIRTHDAY_BANNER = 60;
|
|
640
837
|
}
|
|
641
838
|
message BotMetricsMetadata {
|
|
642
839
|
optional string destinationId = 1;
|
|
@@ -653,9 +850,10 @@ enum BotMetricsThreadEntryPoint {
|
|
|
653
850
|
}
|
|
654
851
|
message BotModeSelectionMetadata {
|
|
655
852
|
repeated BotUserSelectionMode mode = 1;
|
|
853
|
+
repeated uint32 overrideMode = 2;
|
|
656
854
|
enum BotUserSelectionMode {
|
|
657
|
-
|
|
658
|
-
|
|
855
|
+
DEFAULT_MODE = 0;
|
|
856
|
+
THINK_HARD_MODE = 1;
|
|
659
857
|
}
|
|
660
858
|
}
|
|
661
859
|
|
|
@@ -704,6 +902,7 @@ message BotPluginMetadata {
|
|
|
704
902
|
message BotProgressIndicatorMetadata {
|
|
705
903
|
optional string progressDescription = 1;
|
|
706
904
|
repeated BotPlanningStepMetadata stepsMetadata = 2;
|
|
905
|
+
optional int64 estimatedCompletionTime = 3;
|
|
707
906
|
message BotPlanningStepMetadata {
|
|
708
907
|
optional string statusTitle = 1;
|
|
709
908
|
optional string statusBody = 2;
|
|
@@ -718,7 +917,7 @@ message BotProgressIndicatorMetadata {
|
|
|
718
917
|
optional string sourceUrl = 3;
|
|
719
918
|
optional string favIconUrl = 4;
|
|
720
919
|
}
|
|
721
|
-
|
|
920
|
+
|
|
722
921
|
message BotPlanningSearchSourcesMetadata {
|
|
723
922
|
optional string sourceTitle = 1;
|
|
724
923
|
optional BotPlanningSearchSourceProvider provider = 2;
|
|
@@ -730,13 +929,13 @@ message BotProgressIndicatorMetadata {
|
|
|
730
929
|
BING = 3;
|
|
731
930
|
}
|
|
732
931
|
}
|
|
733
|
-
|
|
932
|
+
|
|
734
933
|
message BotPlanningStepSectionMetadata {
|
|
735
934
|
optional string sectionTitle = 1;
|
|
736
935
|
optional string sectionBody = 2;
|
|
737
936
|
repeated BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourceMetadata sourcesMetadata = 3;
|
|
738
937
|
}
|
|
739
|
-
|
|
938
|
+
|
|
740
939
|
enum BotSearchSourceProvider {
|
|
741
940
|
UNKNOWN_PROVIDER = 0;
|
|
742
941
|
OTHER = 1;
|
|
@@ -750,7 +949,7 @@ message BotProgressIndicatorMetadata {
|
|
|
750
949
|
FINISHED = 3;
|
|
751
950
|
}
|
|
752
951
|
}
|
|
753
|
-
|
|
952
|
+
|
|
754
953
|
}
|
|
755
954
|
|
|
756
955
|
message BotPromotionMessageMetadata {
|
|
@@ -772,6 +971,10 @@ message BotPromptSuggestions {
|
|
|
772
971
|
repeated BotPromptSuggestion suggestions = 1;
|
|
773
972
|
}
|
|
774
973
|
|
|
974
|
+
message BotPttPromptMetadata {
|
|
975
|
+
optional string transcript = 1;
|
|
976
|
+
}
|
|
977
|
+
|
|
775
978
|
message BotQuotaMetadata {
|
|
776
979
|
repeated BotFeatureQuotaMetadata botFeatureQuotaMetadata = 1;
|
|
777
980
|
message BotFeatureQuotaMetadata {
|
|
@@ -783,7 +986,7 @@ message BotQuotaMetadata {
|
|
|
783
986
|
REASONING_FEATURE = 1;
|
|
784
987
|
}
|
|
785
988
|
}
|
|
786
|
-
|
|
989
|
+
|
|
787
990
|
}
|
|
788
991
|
|
|
789
992
|
message BotReminderMetadata {
|
|
@@ -807,13 +1010,23 @@ message BotReminderMetadata {
|
|
|
807
1010
|
}
|
|
808
1011
|
}
|
|
809
1012
|
|
|
1013
|
+
message BotRenderingConfigMetadata {
|
|
1014
|
+
optional string bloksVersioningId = 1;
|
|
1015
|
+
optional double pixelDensity = 2;
|
|
1016
|
+
}
|
|
1017
|
+
|
|
810
1018
|
message BotRenderingMetadata {
|
|
811
1019
|
repeated Keyword keywords = 1;
|
|
812
1020
|
message Keyword {
|
|
813
1021
|
optional string value = 1;
|
|
814
1022
|
repeated string associatedPrompts = 2;
|
|
815
1023
|
}
|
|
1024
|
+
|
|
1025
|
+
}
|
|
816
1026
|
|
|
1027
|
+
message BotResolvedToolCallMetadata {
|
|
1028
|
+
optional string toolCallId = 1;
|
|
1029
|
+
optional string resolutionDataSerialized = 2;
|
|
817
1030
|
}
|
|
818
1031
|
|
|
819
1032
|
message BotSessionMetadata {
|
|
@@ -829,6 +1042,7 @@ enum BotSessionSource {
|
|
|
829
1042
|
EMU_FLASH = 4;
|
|
830
1043
|
EMU_FLASH_FOLLOWUP = 5;
|
|
831
1044
|
VOICE = 6;
|
|
1045
|
+
AI_HOME_SESSION = 7;
|
|
832
1046
|
}
|
|
833
1047
|
message BotSignatureVerificationMetadata {
|
|
834
1048
|
repeated BotSignatureVerificationUseCaseProof proofs = 1;
|
|
@@ -839,10 +1053,20 @@ message BotSignatureVerificationUseCaseProof {
|
|
|
839
1053
|
optional BotSignatureUseCase useCase = 2;
|
|
840
1054
|
optional bytes signature = 3;
|
|
841
1055
|
repeated bytes certificateChain = 4;
|
|
1056
|
+
repeated CertificateSKI certificateChainSki = 5;
|
|
842
1057
|
enum BotSignatureUseCase {
|
|
843
1058
|
UNSPECIFIED = 0;
|
|
844
1059
|
WA_BOT_MSG = 1;
|
|
1060
|
+
WA_TEE_BOT_MSG = 2;
|
|
1061
|
+
P2P_PILLS = 3;
|
|
1062
|
+
WA_WAFFLE = 4;
|
|
1063
|
+
WA_FEATURE_PKI = 5;
|
|
845
1064
|
}
|
|
1065
|
+
message CertificateSKI {
|
|
1066
|
+
optional BotSignatureVerificationUseCaseProof.BotSignatureUseCase useCase = 1;
|
|
1067
|
+
optional bytes ski = 2;
|
|
1068
|
+
}
|
|
1069
|
+
|
|
846
1070
|
}
|
|
847
1071
|
|
|
848
1072
|
message BotSourcesMetadata {
|
|
@@ -863,7 +1087,7 @@ message BotSourcesMetadata {
|
|
|
863
1087
|
OTHER = 4;
|
|
864
1088
|
}
|
|
865
1089
|
}
|
|
866
|
-
|
|
1090
|
+
|
|
867
1091
|
}
|
|
868
1092
|
|
|
869
1093
|
message BotSuggestedPromptMetadata {
|
|
@@ -881,12 +1105,12 @@ message BotUnifiedResponseMutation {
|
|
|
881
1105
|
optional BotMediaMetadata highResMedia = 2;
|
|
882
1106
|
optional BotMediaMetadata previewMedia = 3;
|
|
883
1107
|
}
|
|
884
|
-
|
|
1108
|
+
|
|
885
1109
|
message SideBySideMetadata {
|
|
886
1110
|
optional string primaryResponseId = 1;
|
|
887
1111
|
optional bool surveyCtaHasRendered = 2;
|
|
888
1112
|
}
|
|
889
|
-
|
|
1113
|
+
|
|
890
1114
|
}
|
|
891
1115
|
|
|
892
1116
|
message CallLogRecord {
|
|
@@ -923,11 +1147,16 @@ message CallLogRecord {
|
|
|
923
1147
|
SCHEDULED_CALL = 1;
|
|
924
1148
|
VOICE_CHAT = 2;
|
|
925
1149
|
}
|
|
1150
|
+
message GuestInfo {
|
|
1151
|
+
optional string pushName = 1;
|
|
1152
|
+
}
|
|
1153
|
+
|
|
926
1154
|
message ParticipantInfo {
|
|
927
1155
|
optional string userJid = 1;
|
|
928
1156
|
optional CallLogRecord.CallResult callResult = 2;
|
|
1157
|
+
optional CallLogRecord.GuestInfo guestInfo = 3;
|
|
929
1158
|
}
|
|
930
|
-
|
|
1159
|
+
|
|
931
1160
|
enum SilenceReason {
|
|
932
1161
|
NONE = 0;
|
|
933
1162
|
SCHEDULED = 1;
|
|
@@ -949,9 +1178,9 @@ message CertChain {
|
|
|
949
1178
|
optional uint64 notBefore = 4;
|
|
950
1179
|
optional uint64 notAfter = 5;
|
|
951
1180
|
}
|
|
952
|
-
|
|
1181
|
+
|
|
953
1182
|
}
|
|
954
|
-
|
|
1183
|
+
|
|
955
1184
|
}
|
|
956
1185
|
|
|
957
1186
|
message ChatLockSettings {
|
|
@@ -986,29 +1215,35 @@ message ChatRowOpaqueData {
|
|
|
986
1215
|
VIDEO = 2;
|
|
987
1216
|
}
|
|
988
1217
|
}
|
|
989
|
-
|
|
1218
|
+
|
|
990
1219
|
message CtwaContextLinkData {
|
|
991
1220
|
optional string context = 1;
|
|
992
1221
|
optional string sourceUrl = 2;
|
|
993
1222
|
optional string icebreaker = 3;
|
|
994
1223
|
optional string phone = 4;
|
|
995
1224
|
}
|
|
996
|
-
|
|
1225
|
+
|
|
997
1226
|
}
|
|
998
|
-
|
|
1227
|
+
|
|
999
1228
|
}
|
|
1000
1229
|
|
|
1001
1230
|
message Citation {
|
|
1002
|
-
string title = 1;
|
|
1003
|
-
string subtitle = 2;
|
|
1004
|
-
string cmsId = 3;
|
|
1005
|
-
string imageUrl = 4;
|
|
1231
|
+
optional string title = 1;
|
|
1232
|
+
optional string subtitle = 2;
|
|
1233
|
+
optional string cmsId = 3;
|
|
1234
|
+
optional string imageUrl = 4;
|
|
1006
1235
|
}
|
|
1007
1236
|
|
|
1008
1237
|
message ClientPairingProps {
|
|
1009
1238
|
optional bool isChatDbLidMigrated = 1;
|
|
1010
1239
|
optional bool isSyncdPureLidSession = 2;
|
|
1011
1240
|
optional bool isSyncdSnapshotRecoveryEnabled = 3;
|
|
1241
|
+
optional bool isHsThumbnailSyncEnabled = 4;
|
|
1242
|
+
optional bytes subscriptionSyncPayload = 5;
|
|
1243
|
+
optional bool isBotJidDbMigrated = 6;
|
|
1244
|
+
optional bytes companionAddPeerPayload = 7;
|
|
1245
|
+
optional bool isCompanionRegistrationFgsEnabled = 8;
|
|
1246
|
+
optional bool isCompanionPairingProgressUiEnabled = 10;
|
|
1012
1247
|
}
|
|
1013
1248
|
|
|
1014
1249
|
message ClientPayload {
|
|
@@ -1046,6 +1281,10 @@ message ClientPayload {
|
|
|
1046
1281
|
optional bool paaLink = 44;
|
|
1047
1282
|
optional int32 preacksCount = 45;
|
|
1048
1283
|
optional int32 processingQueueSize = 46;
|
|
1284
|
+
repeated string pairedPeripherals = 47;
|
|
1285
|
+
optional bytes testIsolationId = 48;
|
|
1286
|
+
optional int64 messageSts = 49;
|
|
1287
|
+
optional IntegrationAttestation integrationAttestation = 50;
|
|
1049
1288
|
enum AccountType {
|
|
1050
1289
|
DEFAULT = 0;
|
|
1051
1290
|
GUEST = 1;
|
|
@@ -1086,9 +1325,11 @@ message ClientPayload {
|
|
|
1086
1325
|
OVERRIDE = 3;
|
|
1087
1326
|
FALLBACK = 4;
|
|
1088
1327
|
MNS = 5;
|
|
1328
|
+
MNS_SECONDARY = 6;
|
|
1329
|
+
SOCKS_PROXY = 7;
|
|
1089
1330
|
}
|
|
1090
1331
|
}
|
|
1091
|
-
|
|
1332
|
+
|
|
1092
1333
|
message DevicePairingRegistrationData {
|
|
1093
1334
|
optional bytes eRegid = 1;
|
|
1094
1335
|
optional bytes eKeytype = 2;
|
|
@@ -1099,18 +1340,23 @@ message ClientPayload {
|
|
|
1099
1340
|
optional bytes buildHash = 7;
|
|
1100
1341
|
optional bytes deviceProps = 8;
|
|
1101
1342
|
}
|
|
1102
|
-
|
|
1343
|
+
|
|
1103
1344
|
enum IOSAppExtension {
|
|
1104
1345
|
SHARE_EXTENSION = 0;
|
|
1105
1346
|
SERVICE_EXTENSION = 1;
|
|
1106
1347
|
INTENTS_EXTENSION = 2;
|
|
1107
1348
|
}
|
|
1349
|
+
message IntegrationAttestation {
|
|
1350
|
+
optional string staticUnbound = 1;
|
|
1351
|
+
optional string onlineSigned = 3;
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1108
1354
|
message InteropData {
|
|
1109
1355
|
optional uint64 accountId = 1;
|
|
1110
1356
|
optional bytes token = 2;
|
|
1111
1357
|
optional bool enableReadReceipts = 3;
|
|
1112
1358
|
}
|
|
1113
|
-
|
|
1359
|
+
|
|
1114
1360
|
enum Product {
|
|
1115
1361
|
WHATSAPP = 0;
|
|
1116
1362
|
MESSENGER = 1;
|
|
@@ -1139,6 +1385,7 @@ message ClientPayload {
|
|
|
1139
1385
|
optional string deviceExpId = 14;
|
|
1140
1386
|
optional DeviceType deviceType = 15;
|
|
1141
1387
|
optional string deviceModelType = 16;
|
|
1388
|
+
optional DistributionChannel distributionChannel = 17;
|
|
1142
1389
|
message AppVersion {
|
|
1143
1390
|
optional uint32 primary = 1;
|
|
1144
1391
|
optional uint32 secondary = 2;
|
|
@@ -1146,13 +1393,22 @@ message ClientPayload {
|
|
|
1146
1393
|
optional uint32 quaternary = 4;
|
|
1147
1394
|
optional uint32 quinary = 5;
|
|
1148
1395
|
}
|
|
1149
|
-
|
|
1396
|
+
|
|
1150
1397
|
enum DeviceType {
|
|
1151
1398
|
PHONE = 0;
|
|
1152
1399
|
TABLET = 1;
|
|
1153
1400
|
DESKTOP = 2;
|
|
1154
1401
|
WEARABLE = 3;
|
|
1155
1402
|
VR = 4;
|
|
1403
|
+
SMART_DISPLAY = 5;
|
|
1404
|
+
SMART_SPEAKER = 6;
|
|
1405
|
+
AGENT = 7;
|
|
1406
|
+
}
|
|
1407
|
+
enum DistributionChannel {
|
|
1408
|
+
APPSTORE = 0;
|
|
1409
|
+
WEBSITE = 1;
|
|
1410
|
+
TESTFLIGHT = 2;
|
|
1411
|
+
INTERNAL = 3;
|
|
1156
1412
|
}
|
|
1157
1413
|
enum Platform {
|
|
1158
1414
|
ANDROID = 0;
|
|
@@ -1193,6 +1449,10 @@ message ClientPayload {
|
|
|
1193
1449
|
SMART_GLASSES = 35;
|
|
1194
1450
|
BLUE_VR = 36;
|
|
1195
1451
|
AR_WRIST = 37;
|
|
1452
|
+
WAIL = 38;
|
|
1453
|
+
WORK_ANDROID = 39;
|
|
1454
|
+
WORK_IOS = 40;
|
|
1455
|
+
AUTOMOTIVE = 41;
|
|
1196
1456
|
}
|
|
1197
1457
|
enum ReleaseChannel {
|
|
1198
1458
|
RELEASE = 0;
|
|
@@ -1201,12 +1461,14 @@ message ClientPayload {
|
|
|
1201
1461
|
DEBUG = 3;
|
|
1202
1462
|
}
|
|
1203
1463
|
}
|
|
1204
|
-
|
|
1464
|
+
|
|
1205
1465
|
message WebInfo {
|
|
1206
1466
|
optional string refToken = 1;
|
|
1207
1467
|
optional string version = 2;
|
|
1208
1468
|
optional WebdPayload webdPayload = 3;
|
|
1209
1469
|
optional WebSubPlatform webSubPlatform = 4;
|
|
1470
|
+
optional string browser = 5;
|
|
1471
|
+
optional string browserVersion = 6;
|
|
1210
1472
|
enum WebSubPlatform {
|
|
1211
1473
|
WEB_BROWSER = 0;
|
|
1212
1474
|
APP_STORE = 1;
|
|
@@ -1228,9 +1490,25 @@ message ClientPayload {
|
|
|
1228
1490
|
optional string documentTypes = 10;
|
|
1229
1491
|
optional bytes features = 11;
|
|
1230
1492
|
}
|
|
1231
|
-
|
|
1493
|
+
|
|
1232
1494
|
}
|
|
1495
|
+
|
|
1496
|
+
}
|
|
1233
1497
|
|
|
1498
|
+
message CoexStateSync {
|
|
1499
|
+
repeated CollectionMutations collectionMutations = 1;
|
|
1500
|
+
message CollectionMutations {
|
|
1501
|
+
optional string collection = 1;
|
|
1502
|
+
repeated CoexStateSync.Mutation mutations = 2;
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
message Mutation {
|
|
1506
|
+
optional SyncdIndex index = 1;
|
|
1507
|
+
optional SyncdValue value = 2;
|
|
1508
|
+
optional uint64 dirtyVersion = 3;
|
|
1509
|
+
optional SyncdMutation.SyncdOperation operation = 4;
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1234
1512
|
}
|
|
1235
1513
|
|
|
1236
1514
|
enum CollectionName {
|
|
@@ -1256,9 +1534,28 @@ message CompanionEphemeralIdentity {
|
|
|
1256
1534
|
optional string ref = 3;
|
|
1257
1535
|
}
|
|
1258
1536
|
|
|
1537
|
+
message CompanionRecoverySession {
|
|
1538
|
+
optional bytes recoverySessionPubKey = 1;
|
|
1539
|
+
optional int64 timestamp = 2;
|
|
1540
|
+
optional bytes primaryRecoveryPubKey = 3;
|
|
1541
|
+
optional bytes primaryIdentityPubKey = 4;
|
|
1542
|
+
optional bytes originalCompanionIdentityPubKey = 5;
|
|
1543
|
+
}
|
|
1544
|
+
|
|
1545
|
+
message CompanionRecoverySessionSigned {
|
|
1546
|
+
optional bytes companionRecoverySession = 1;
|
|
1547
|
+
optional bytes sessionSignature = 2;
|
|
1548
|
+
optional bytes delegationSignature = 3;
|
|
1549
|
+
optional bytes companionRecoveryPubKey = 4;
|
|
1550
|
+
optional int64 companionRecoveryTimestamp = 5;
|
|
1551
|
+
optional bytes companionRecoveryKeyOriginalSig = 6;
|
|
1552
|
+
optional bytes companionRecoveryKeyNewSig = 7;
|
|
1553
|
+
optional bytes companionIdentityPubKey = 8;
|
|
1554
|
+
optional bytes companionKemCiphertext = 9;
|
|
1555
|
+
}
|
|
1556
|
+
|
|
1259
1557
|
message Config {
|
|
1260
1558
|
map<uint32, Field> field = 1;
|
|
1261
|
-
optional uint32 version = 2;
|
|
1262
1559
|
}
|
|
1263
1560
|
|
|
1264
1561
|
message ContextInfo {
|
|
@@ -1317,6 +1614,21 @@ message ContextInfo {
|
|
|
1317
1614
|
optional uint32 nonJidMentions = 70;
|
|
1318
1615
|
optional QuotedType quotedType = 71;
|
|
1319
1616
|
optional BotMessageSharingInfo botMessageSharingInfo = 72;
|
|
1617
|
+
optional bool isSpoiler = 73;
|
|
1618
|
+
optional MediaDomainInfo mediaDomainInfo = 74;
|
|
1619
|
+
optional PartiallySelectedContent partiallySelectedContent = 75;
|
|
1620
|
+
optional uint32 afterReadDuration = 76;
|
|
1621
|
+
optional CrossAppSource crossAppSource = 77;
|
|
1622
|
+
optional BusinessInteractionPills businessInteractionPills = 78;
|
|
1623
|
+
optional string posterStatusId = 79;
|
|
1624
|
+
optional InstagramThreadLink instagramThreadLink = 80;
|
|
1625
|
+
optional AIProvenance aiProvenance = 81;
|
|
1626
|
+
repeated uint32 experienceIds = 82 [packed=true];
|
|
1627
|
+
optional string partnerDeepLinkToken = 83;
|
|
1628
|
+
optional uint32 sourceExperienceId = 84;
|
|
1629
|
+
repeated uint32 sourceExperienceIds = 85 [packed=true];
|
|
1630
|
+
optional bytes foaMutualsSignature = 86;
|
|
1631
|
+
optional fixed32 forwardReachScore = 87;
|
|
1320
1632
|
message AdReplyInfo {
|
|
1321
1633
|
optional string advertiserName = 1;
|
|
1322
1634
|
optional MediaType mediaType = 2;
|
|
@@ -1328,11 +1640,65 @@ message ContextInfo {
|
|
|
1328
1640
|
VIDEO = 2;
|
|
1329
1641
|
}
|
|
1330
1642
|
}
|
|
1331
|
-
|
|
1643
|
+
|
|
1644
|
+
message BusinessInteractionPills {
|
|
1645
|
+
optional string businessJid = 1;
|
|
1646
|
+
repeated Pill pills = 2;
|
|
1647
|
+
optional EntryPoint entryPoint = 3;
|
|
1648
|
+
optional bytes signedPayload = 4;
|
|
1649
|
+
optional BotSignatureVerificationMetadata signatureEnvelope = 5;
|
|
1650
|
+
optional UnauthenticatedBusinessMetadata unauthenticatedBusinessMetadata = 6;
|
|
1651
|
+
enum EntryPoint {
|
|
1652
|
+
ENTRY_POINT_UNKNOWN = 0;
|
|
1653
|
+
P2P_LINK_SHARE = 1;
|
|
1654
|
+
CONTACT_CARD_SHARING = 2;
|
|
1655
|
+
PHONE_NUMBER = 3;
|
|
1656
|
+
STATUS = 4;
|
|
1657
|
+
IN_THREAD_CONTEXT_CARD = 5;
|
|
1658
|
+
}
|
|
1659
|
+
message Pill {
|
|
1660
|
+
optional ContextInfo.BusinessInteractionPills.PillType pillType = 1;
|
|
1661
|
+
optional string actionUrl = 2;
|
|
1662
|
+
}
|
|
1663
|
+
|
|
1664
|
+
enum PillType {
|
|
1665
|
+
UNKNOWN = 0;
|
|
1666
|
+
VIEW_BUSINESS = 1;
|
|
1667
|
+
CHAT = 2;
|
|
1668
|
+
CALL = 3;
|
|
1669
|
+
CATALOG = 4;
|
|
1670
|
+
CHANNEL = 5;
|
|
1671
|
+
BOOK_APPOINTMENT = 6;
|
|
1672
|
+
OFFERS = 7;
|
|
1673
|
+
BESTSELLERS = 8;
|
|
1674
|
+
MENU = 9;
|
|
1675
|
+
ABOUT = 10;
|
|
1676
|
+
SHOP = 11;
|
|
1677
|
+
ORDER = 12;
|
|
1678
|
+
}
|
|
1679
|
+
message SignedPayload {
|
|
1680
|
+
optional string verifiedName = 1;
|
|
1681
|
+
repeated ContextInfo.BusinessInteractionPills.Pill pills = 2;
|
|
1682
|
+
}
|
|
1683
|
+
|
|
1684
|
+
message UnauthenticatedBusinessMetadata {
|
|
1685
|
+
optional string businessName = 1;
|
|
1686
|
+
optional string businessCategory = 2;
|
|
1687
|
+
optional bool businessIsOpen = 3;
|
|
1688
|
+
optional int64 businessIsOpenSnapshotMs = 4;
|
|
1689
|
+
}
|
|
1690
|
+
|
|
1691
|
+
}
|
|
1692
|
+
|
|
1332
1693
|
message BusinessMessageForwardInfo {
|
|
1333
1694
|
optional string businessOwnerJid = 1;
|
|
1334
1695
|
}
|
|
1335
|
-
|
|
1696
|
+
|
|
1697
|
+
enum CrossAppSource {
|
|
1698
|
+
CROSS_APP_SOURCE_UNKNOWN = 0;
|
|
1699
|
+
CROSS_APP_SOURCE_INSTAGRAM = 1;
|
|
1700
|
+
CROSS_APP_SOURCE_FACEBOOK = 2;
|
|
1701
|
+
}
|
|
1336
1702
|
message DataSharingContext {
|
|
1337
1703
|
optional bool showMmDisclosure = 1;
|
|
1338
1704
|
optional string encryptedSignalTokenConsented = 2;
|
|
@@ -1349,9 +1715,9 @@ message ContextInfo {
|
|
|
1349
1715
|
optional float floatData = 4;
|
|
1350
1716
|
optional ContextInfo.DataSharingContext.Parameters contents = 5;
|
|
1351
1717
|
}
|
|
1352
|
-
|
|
1718
|
+
|
|
1353
1719
|
}
|
|
1354
|
-
|
|
1720
|
+
|
|
1355
1721
|
message ExternalAdReplyInfo {
|
|
1356
1722
|
optional string title = 1;
|
|
1357
1723
|
optional string body = 2;
|
|
@@ -1380,6 +1746,20 @@ message ContextInfo {
|
|
|
1380
1746
|
optional AdType adType = 25;
|
|
1381
1747
|
optional string wtwaWebsiteUrl = 26;
|
|
1382
1748
|
optional string adPreviewUrl = 27;
|
|
1749
|
+
optional bool containsCtwaFlowsAutoReply = 28;
|
|
1750
|
+
optional int32 agmThumbnailStrategy = 29;
|
|
1751
|
+
optional int32 agmTitleStrategy = 30;
|
|
1752
|
+
optional int32 agmSubtitleStrategy = 31;
|
|
1753
|
+
optional int32 agmHeaderInteractionStrategy = 32;
|
|
1754
|
+
optional bool containsCtwaFlowsAutoLabel = 33;
|
|
1755
|
+
optional string productId = 34;
|
|
1756
|
+
optional bool containsCtwaPromo = 35;
|
|
1757
|
+
optional string ctwaPromoResponseId = 36;
|
|
1758
|
+
optional string ctwaPromoOfferId = 37;
|
|
1759
|
+
optional string ctwaPromoAdEntryId = 38;
|
|
1760
|
+
optional uint64 ctwaPromoResponseExpiresAtSeconds = 39;
|
|
1761
|
+
optional uint32 ctwaPromoSchemaVersion = 40;
|
|
1762
|
+
optional string ctwaPromoAdgroupId = 41;
|
|
1383
1763
|
enum AdType {
|
|
1384
1764
|
CTWA = 0;
|
|
1385
1765
|
CAWC = 1;
|
|
@@ -1390,15 +1770,16 @@ message ContextInfo {
|
|
|
1390
1770
|
VIDEO = 2;
|
|
1391
1771
|
}
|
|
1392
1772
|
}
|
|
1393
|
-
|
|
1773
|
+
|
|
1394
1774
|
message FeatureEligibilities {
|
|
1395
1775
|
optional bool cannotBeReactedTo = 1;
|
|
1396
1776
|
optional bool cannotBeRanked = 2;
|
|
1397
1777
|
optional bool canRequestFeedback = 3;
|
|
1398
1778
|
optional bool canBeReshared = 4;
|
|
1399
1779
|
optional bool canReceiveMultiReact = 5;
|
|
1780
|
+
optional bool canReceivePersonalizedQuickReplyEmojis = 6;
|
|
1400
1781
|
}
|
|
1401
|
-
|
|
1782
|
+
|
|
1402
1783
|
enum ForwardOrigin {
|
|
1403
1784
|
UNKNOWN = 0;
|
|
1404
1785
|
CHAT = 1;
|
|
@@ -1413,13 +1794,18 @@ message ContextInfo {
|
|
|
1413
1794
|
optional string newsletterName = 3;
|
|
1414
1795
|
optional ContentType contentType = 4;
|
|
1415
1796
|
optional string accessibilityText = 5;
|
|
1797
|
+
optional string profileName = 6;
|
|
1416
1798
|
enum ContentType {
|
|
1417
1799
|
UPDATE = 1;
|
|
1418
1800
|
UPDATE_CARD = 2;
|
|
1419
1801
|
LINK_CARD = 3;
|
|
1420
1802
|
}
|
|
1421
1803
|
}
|
|
1422
|
-
|
|
1804
|
+
|
|
1805
|
+
message InstagramThreadLink {
|
|
1806
|
+
optional string url = 1;
|
|
1807
|
+
}
|
|
1808
|
+
|
|
1423
1809
|
enum PairedMediaType {
|
|
1424
1810
|
NOT_PAIRED_MEDIA = 0;
|
|
1425
1811
|
SD_VIDEO_PARENT = 1;
|
|
@@ -1430,13 +1816,24 @@ message ContextInfo {
|
|
|
1430
1816
|
MOTION_PHOTO_CHILD = 6;
|
|
1431
1817
|
HEVC_VIDEO_PARENT = 7;
|
|
1432
1818
|
HEVC_VIDEO_CHILD = 8;
|
|
1819
|
+
AV1_VIDEO_PARENT = 9;
|
|
1820
|
+
AV1_VIDEO_CHILD = 10;
|
|
1821
|
+
STREAMED_VIDEO_PARENT = 11;
|
|
1822
|
+
STREAMED_VIDEO_CHILD = 12;
|
|
1823
|
+
ORIGINAL_VIDEO_CHILD = 13;
|
|
1824
|
+
ORIGINAL_IMAGE_CHILD = 14;
|
|
1825
|
+
STREAMED_HEVC_VIDEO_CHILD = 15;
|
|
1826
|
+
}
|
|
1827
|
+
message PartiallySelectedContent {
|
|
1828
|
+
optional string text = 1;
|
|
1433
1829
|
}
|
|
1830
|
+
|
|
1434
1831
|
message QuestionReplyQuotedMessage {
|
|
1435
1832
|
optional int32 serverQuestionId = 1;
|
|
1436
1833
|
optional Message quotedQuestion = 2;
|
|
1437
1834
|
optional Message quotedResponse = 3;
|
|
1438
1835
|
}
|
|
1439
|
-
|
|
1836
|
+
|
|
1440
1837
|
enum QuotedType {
|
|
1441
1838
|
EXPLICIT = 0;
|
|
1442
1839
|
AUTO = 1;
|
|
@@ -1450,12 +1847,17 @@ message ContextInfo {
|
|
|
1450
1847
|
}
|
|
1451
1848
|
message StatusAudienceMetadata {
|
|
1452
1849
|
optional AudienceType audienceType = 1;
|
|
1850
|
+
optional string listName = 2;
|
|
1851
|
+
optional string listEmoji = 3;
|
|
1852
|
+
optional string orgId = 4;
|
|
1453
1853
|
enum AudienceType {
|
|
1454
1854
|
UNKNOWN = 0;
|
|
1455
1855
|
CLOSE_FRIENDS = 1;
|
|
1856
|
+
CUSTOM_LIST = 2;
|
|
1857
|
+
ORG = 3;
|
|
1456
1858
|
}
|
|
1457
1859
|
}
|
|
1458
|
-
|
|
1860
|
+
|
|
1459
1861
|
enum StatusSourceType {
|
|
1460
1862
|
IMAGE = 0;
|
|
1461
1863
|
VIDEO = 1;
|
|
@@ -1468,11 +1870,11 @@ message ContextInfo {
|
|
|
1468
1870
|
optional string utmSource = 1;
|
|
1469
1871
|
optional string utmCampaign = 2;
|
|
1470
1872
|
}
|
|
1471
|
-
|
|
1873
|
+
|
|
1472
1874
|
}
|
|
1473
1875
|
|
|
1474
1876
|
message Conversation {
|
|
1475
|
-
string id = 1;
|
|
1877
|
+
optional string id = 1;
|
|
1476
1878
|
repeated HistorySyncMsg messages = 2;
|
|
1477
1879
|
optional string newJid = 3;
|
|
1478
1880
|
optional string oldJid = 4;
|
|
@@ -1526,41 +1928,148 @@ message Conversation {
|
|
|
1526
1928
|
optional LimitSharing.TriggerType limitSharingTrigger = 52;
|
|
1527
1929
|
optional bool limitSharingInitiatedByMe = 53;
|
|
1528
1930
|
optional bool maibaAiThreadEnabled = 54;
|
|
1931
|
+
optional bool isMarketingMessageThread = 55;
|
|
1932
|
+
optional bool isSenderNewAccount = 56;
|
|
1933
|
+
optional uint32 afterReadDuration = 57;
|
|
1934
|
+
optional bool isSenderSuspicious = 58;
|
|
1935
|
+
optional GroupAppealStatus appealStatus = 59;
|
|
1936
|
+
optional uint64 appealUpdateTime = 60;
|
|
1937
|
+
optional string authAgentParentCompanyName = 61;
|
|
1938
|
+
optional string authAgentObaPhoneNumber = 62;
|
|
1939
|
+
optional IdentityVerificationState identityVerification = 63;
|
|
1940
|
+
optional ACP2Setting acp2Setting = 64;
|
|
1941
|
+
optional bool acp2HistoryWithheld = 65;
|
|
1942
|
+
repeated GroupRootKey groupRootKeys = 66;
|
|
1943
|
+
optional bool isWorkGroup = 67;
|
|
1944
|
+
optional int32 nonE2EeType = 68;
|
|
1945
|
+
optional NonE2EEAttestation.AccountType contactAccountEncryptionAttestationType = 69;
|
|
1946
|
+
optional uint32 unreadReplyToMyMessageCount = 70;
|
|
1947
|
+
optional ConversationDraft draft = 71;
|
|
1529
1948
|
enum EndOfHistoryTransferType {
|
|
1530
1949
|
COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0;
|
|
1531
1950
|
COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1;
|
|
1532
1951
|
COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY = 2;
|
|
1952
|
+
COMPLETE_ON_DEMAND_SYNC_WITH_MORE_MSG_ON_PRIMARY_BUT_NO_ACCESS = 3;
|
|
1953
|
+
}
|
|
1954
|
+
enum GroupAppealStatus {
|
|
1955
|
+
NO_APPEAL = 0;
|
|
1956
|
+
APPEAL_IN_REVIEW = 1;
|
|
1957
|
+
APPEAL_APPROVED = 2;
|
|
1958
|
+
APPEAL_REJECTED = 3;
|
|
1533
1959
|
}
|
|
1534
1960
|
}
|
|
1535
1961
|
|
|
1962
|
+
message ConversationDraft {
|
|
1963
|
+
optional Message content = 1;
|
|
1964
|
+
optional int64 editTimestampMs = 2;
|
|
1965
|
+
optional uint32 editorDeviceId = 3;
|
|
1966
|
+
}
|
|
1967
|
+
|
|
1536
1968
|
message DeviceCapabilities {
|
|
1537
1969
|
optional ChatLockSupportLevel chatLockSupportLevel = 1;
|
|
1538
1970
|
optional LIDMigration lidMigration = 2;
|
|
1539
1971
|
optional BusinessBroadcast businessBroadcast = 3;
|
|
1540
1972
|
optional UserHasAvatar userHasAvatar = 4;
|
|
1541
1973
|
optional MemberNameTagPrimarySupport memberNameTagPrimarySupport = 5;
|
|
1974
|
+
optional AiThread aiThread = 6;
|
|
1975
|
+
optional AiFbidMigration aiFbidMigration = 7;
|
|
1976
|
+
optional BizAiSettingsSync bizAiSettingsSync = 8;
|
|
1977
|
+
optional ContactRefresh contactRefresh = 9;
|
|
1978
|
+
optional ReverseHistorySync reverseHistorySync = 10;
|
|
1979
|
+
optional NewsletterChatsMigration newsletterChatsMigration = 11;
|
|
1980
|
+
optional HostWriteMutationSupport hostWriteMutationSupport = 12;
|
|
1981
|
+
optional BizAiWebOnboarding bizAiWebOnboarding = 13;
|
|
1982
|
+
optional PhoneNumberSharing phoneNumberSharing = 14;
|
|
1983
|
+
optional RecentConversationsOnDemand recentConversationsOnDemand = 15;
|
|
1984
|
+
optional AiMuseJarvisGzip aiMuseJarvisGzip = 16;
|
|
1985
|
+
optional DraftSync draftSync = 17;
|
|
1986
|
+
message AiFbidMigration {
|
|
1987
|
+
optional uint64 chatDbMigrationTimestamp = 1;
|
|
1988
|
+
optional uint32 supportVersion = 2;
|
|
1989
|
+
}
|
|
1990
|
+
|
|
1991
|
+
message AiMuseJarvisGzip {
|
|
1992
|
+
optional uint32 supportVersion = 1;
|
|
1993
|
+
}
|
|
1994
|
+
|
|
1995
|
+
message AiThread {
|
|
1996
|
+
optional SupportLevel supportLevel = 1;
|
|
1997
|
+
enum SupportLevel {
|
|
1998
|
+
NONE = 0;
|
|
1999
|
+
INFRA = 1;
|
|
2000
|
+
FULL = 2;
|
|
2001
|
+
}
|
|
2002
|
+
}
|
|
2003
|
+
|
|
2004
|
+
message BizAiSettingsSync {
|
|
2005
|
+
optional bool handoffRemovalTimingEnabled = 1;
|
|
2006
|
+
}
|
|
2007
|
+
|
|
2008
|
+
message BizAiWebOnboarding {
|
|
2009
|
+
optional uint32 version = 1;
|
|
2010
|
+
}
|
|
2011
|
+
|
|
1542
2012
|
message BusinessBroadcast {
|
|
1543
2013
|
optional bool importListEnabled = 1;
|
|
2014
|
+
optional bool companionSupportEnabled = 2;
|
|
2015
|
+
optional bool campaignSyncEnabled = 3;
|
|
2016
|
+
optional bool insightsSyncEnabled = 4;
|
|
2017
|
+
optional int32 recipientLimit = 5;
|
|
2018
|
+
optional bool proCompanionSupportEnabled = 6;
|
|
1544
2019
|
}
|
|
1545
|
-
|
|
2020
|
+
|
|
1546
2021
|
enum ChatLockSupportLevel {
|
|
1547
2022
|
NONE = 0;
|
|
1548
2023
|
MINIMAL = 1;
|
|
1549
2024
|
FULL = 2;
|
|
1550
2025
|
}
|
|
2026
|
+
message ContactRefresh {
|
|
2027
|
+
optional bool refreshSupported = 1;
|
|
2028
|
+
}
|
|
2029
|
+
|
|
2030
|
+
message DraftSync {
|
|
2031
|
+
optional uint32 version = 1;
|
|
2032
|
+
}
|
|
2033
|
+
|
|
2034
|
+
message HostWriteMutationSupport {
|
|
2035
|
+
repeated string mutationNames = 1;
|
|
2036
|
+
}
|
|
2037
|
+
|
|
1551
2038
|
message LIDMigration {
|
|
1552
2039
|
optional uint64 chatDbMigrationTimestamp = 1;
|
|
1553
2040
|
}
|
|
1554
|
-
|
|
2041
|
+
|
|
1555
2042
|
enum MemberNameTagPrimarySupport {
|
|
1556
2043
|
DISABLED = 0;
|
|
1557
2044
|
RECEIVER_ENABLED = 1;
|
|
1558
2045
|
SENDER_ENABLED = 2;
|
|
1559
2046
|
}
|
|
2047
|
+
message NewsletterChatsMigration {
|
|
2048
|
+
optional bool effectiveMigrated = 1;
|
|
2049
|
+
optional int64 countdownEndsAt = 2;
|
|
2050
|
+
optional bool rolledBack = 3;
|
|
2051
|
+
}
|
|
2052
|
+
|
|
2053
|
+
message PhoneNumberSharing {
|
|
2054
|
+
optional bool phoneSharingSupported = 1;
|
|
2055
|
+
}
|
|
2056
|
+
|
|
2057
|
+
message RecentConversationsOnDemand {
|
|
2058
|
+
optional bool supported = 1;
|
|
2059
|
+
}
|
|
2060
|
+
|
|
2061
|
+
message ReverseHistorySync {
|
|
2062
|
+
repeated Product enabledProducts = 1;
|
|
2063
|
+
enum Product {
|
|
2064
|
+
PRODUCT_UNSPECIFIED = 0;
|
|
2065
|
+
HATCH = 1;
|
|
2066
|
+
}
|
|
2067
|
+
}
|
|
2068
|
+
|
|
1560
2069
|
message UserHasAvatar {
|
|
1561
2070
|
optional bool userHasAvatar = 1;
|
|
1562
2071
|
}
|
|
1563
|
-
|
|
2072
|
+
|
|
1564
2073
|
}
|
|
1565
2074
|
|
|
1566
2075
|
message DeviceConsistencyCodeMessage {
|
|
@@ -1585,6 +2094,7 @@ message DeviceProps {
|
|
|
1585
2094
|
optional PlatformType platformType = 3;
|
|
1586
2095
|
optional bool requireFullSync = 4;
|
|
1587
2096
|
optional HistorySyncConfig historySyncConfig = 5;
|
|
2097
|
+
optional string deviceName = 6;
|
|
1588
2098
|
message AppVersion {
|
|
1589
2099
|
optional uint32 primary = 1;
|
|
1590
2100
|
optional uint32 secondary = 2;
|
|
@@ -1592,7 +2102,7 @@ message DeviceProps {
|
|
|
1592
2102
|
optional uint32 quaternary = 4;
|
|
1593
2103
|
optional uint32 quinary = 5;
|
|
1594
2104
|
}
|
|
1595
|
-
|
|
2105
|
+
|
|
1596
2106
|
message HistorySyncConfig {
|
|
1597
2107
|
optional uint32 fullSyncDaysLimit = 1;
|
|
1598
2108
|
optional uint32 fullSyncSizeMbLimit = 2;
|
|
@@ -1613,8 +2123,17 @@ message DeviceProps {
|
|
|
1613
2123
|
optional bool supportGuestChat = 17;
|
|
1614
2124
|
optional bool completeOnDemandReady = 18;
|
|
1615
2125
|
optional uint32 thumbnailSyncDaysLimit = 19;
|
|
1616
|
-
|
|
1617
|
-
|
|
2126
|
+
optional uint32 initialSyncMaxMessagesPerChat = 20;
|
|
2127
|
+
optional bool supportManusHistory = 21;
|
|
2128
|
+
optional bool supportHatchHistory = 22;
|
|
2129
|
+
repeated string supportedBotChannelFbids = 23;
|
|
2130
|
+
optional bool supportInlineContacts = 24;
|
|
2131
|
+
optional bool supportNewsletter = 25;
|
|
2132
|
+
optional bool supportUniversalReachChat = 26;
|
|
2133
|
+
optional bool supportOmittedConversationMetadata = 28;
|
|
2134
|
+
optional bool supportDraftSync = 29;
|
|
2135
|
+
}
|
|
2136
|
+
|
|
1618
2137
|
enum PlatformType {
|
|
1619
2138
|
UNKNOWN = 0;
|
|
1620
2139
|
CHROME = 1;
|
|
@@ -1641,6 +2160,12 @@ message DeviceProps {
|
|
|
1641
2160
|
VR = 22;
|
|
1642
2161
|
CLOUD_API = 23;
|
|
1643
2162
|
SMARTGLASSES = 24;
|
|
2163
|
+
WAIL = 25;
|
|
2164
|
+
WASS = 26;
|
|
2165
|
+
BUSINESS_BACK_OFFICE = 27;
|
|
2166
|
+
WAIL_WAI = 28;
|
|
2167
|
+
WAIL_ALEXA = 29;
|
|
2168
|
+
AUTOMOTIVE = 30;
|
|
1644
2169
|
}
|
|
1645
2170
|
}
|
|
1646
2171
|
|
|
@@ -1665,6 +2190,27 @@ message DisappearingMode {
|
|
|
1665
2190
|
}
|
|
1666
2191
|
}
|
|
1667
2192
|
|
|
2193
|
+
message DraftMessageSync {
|
|
2194
|
+
optional string chatJid = 1;
|
|
2195
|
+
optional string altChatJid = 2;
|
|
2196
|
+
optional Action action = 3;
|
|
2197
|
+
optional int64 editTimestampMs = 4;
|
|
2198
|
+
optional Message draft = 5;
|
|
2199
|
+
optional ClearReason clearReason = 6;
|
|
2200
|
+
enum Action {
|
|
2201
|
+
ACTION_UNKNOWN = 0;
|
|
2202
|
+
SET = 1;
|
|
2203
|
+
CLEAR = 2;
|
|
2204
|
+
}
|
|
2205
|
+
enum ClearReason {
|
|
2206
|
+
CLEAR_REASON_UNKNOWN = 0;
|
|
2207
|
+
USER_CLEARED = 1;
|
|
2208
|
+
SENT = 2;
|
|
2209
|
+
CHAT_LOCKED = 3;
|
|
2210
|
+
REPLACED_BY_NON_TEXT = 4;
|
|
2211
|
+
}
|
|
2212
|
+
}
|
|
2213
|
+
|
|
1668
2214
|
message EmbeddedContent {
|
|
1669
2215
|
oneof content {
|
|
1670
2216
|
EmbeddedMessage embeddedMessage = 1;
|
|
@@ -1708,6 +2254,28 @@ message EventAdditionalMetadata {
|
|
|
1708
2254
|
optional bool isStale = 1;
|
|
1709
2255
|
}
|
|
1710
2256
|
|
|
2257
|
+
message EventInviteAdditionalMetadata {
|
|
2258
|
+
optional bool isUpdated = 1;
|
|
2259
|
+
optional AccessStatus selfAccessStatus = 2;
|
|
2260
|
+
optional RsvpStatus selfRsvpStatus = 3;
|
|
2261
|
+
optional uint32 selfAdditionalGuestCount = 4;
|
|
2262
|
+
optional int64 selfInviteeLastUpdatedTsUsec = 5;
|
|
2263
|
+
enum AccessStatus {
|
|
2264
|
+
ACCESS_STATUS_UNKNOWN = 0;
|
|
2265
|
+
HAS_ACCESS = 1;
|
|
2266
|
+
LEFT_EVENT = 2;
|
|
2267
|
+
REMOVED_FROM_INVITE_LIST = 3;
|
|
2268
|
+
UNAVAILABLE = 4;
|
|
2269
|
+
}
|
|
2270
|
+
enum RsvpStatus {
|
|
2271
|
+
RSVP_STATUS_UNKNOWN = 0;
|
|
2272
|
+
GOING = 1;
|
|
2273
|
+
NOT_GOING = 2;
|
|
2274
|
+
MAYBE = 3;
|
|
2275
|
+
NO_RESPONSE = 4;
|
|
2276
|
+
}
|
|
2277
|
+
}
|
|
2278
|
+
|
|
1711
2279
|
message EventResponse {
|
|
1712
2280
|
optional MessageKey eventResponseMessageKey = 1;
|
|
1713
2281
|
optional int64 timestampMs = 2;
|
|
@@ -1732,7 +2300,6 @@ message ExternalBlobReference {
|
|
|
1732
2300
|
message Field {
|
|
1733
2301
|
optional uint32 minVersion = 1;
|
|
1734
2302
|
optional uint32 maxVersion = 2;
|
|
1735
|
-
optional uint32 notReportableMinVersion = 3;
|
|
1736
2303
|
optional bool isMessage = 4;
|
|
1737
2304
|
map<uint32, Field> subfield = 5;
|
|
1738
2305
|
}
|
|
@@ -1775,6 +2342,7 @@ message GroupHistoryBundleInfo {
|
|
|
1775
2342
|
INJECTED_PARTIAL = 2;
|
|
1776
2343
|
INJECTION_FAILED = 3;
|
|
1777
2344
|
INJECTION_FAILED_NO_RETRY = 4;
|
|
2345
|
+
DEDUPED = 5;
|
|
1778
2346
|
}
|
|
1779
2347
|
}
|
|
1780
2348
|
|
|
@@ -1789,7 +2357,7 @@ message GroupMention {
|
|
|
1789
2357
|
}
|
|
1790
2358
|
|
|
1791
2359
|
message GroupParticipant {
|
|
1792
|
-
string userJid = 1;
|
|
2360
|
+
optional string userJid = 1;
|
|
1793
2361
|
optional Rank rank = 2;
|
|
1794
2362
|
optional MemberLabel memberLabel = 3;
|
|
1795
2363
|
enum Rank {
|
|
@@ -1799,6 +2367,27 @@ message GroupParticipant {
|
|
|
1799
2367
|
}
|
|
1800
2368
|
}
|
|
1801
2369
|
|
|
2370
|
+
message GroupRootKey {
|
|
2371
|
+
optional string keyId = 1;
|
|
2372
|
+
optional bytes rootKey = 2;
|
|
2373
|
+
optional bool isCurrent = 3;
|
|
2374
|
+
}
|
|
2375
|
+
|
|
2376
|
+
message GroupRootKeyRequest {
|
|
2377
|
+
optional string keyId = 1;
|
|
2378
|
+
}
|
|
2379
|
+
|
|
2380
|
+
message GroupRootKeyShare {
|
|
2381
|
+
repeated GroupRootKeyShareEntry keys = 1;
|
|
2382
|
+
}
|
|
2383
|
+
|
|
2384
|
+
message GroupRootKeyShareEntry {
|
|
2385
|
+
optional bytes groupRootKey = 1;
|
|
2386
|
+
optional string keyId = 2;
|
|
2387
|
+
optional int64 expiryTimestampMs = 3;
|
|
2388
|
+
optional int64 createdTimestampMs = 4;
|
|
2389
|
+
}
|
|
2390
|
+
|
|
1802
2391
|
message HandshakeMessage {
|
|
1803
2392
|
optional ClientHello clientHello = 2;
|
|
1804
2393
|
optional ServerHello serverHello = 3;
|
|
@@ -1807,27 +2396,54 @@ message HandshakeMessage {
|
|
|
1807
2396
|
optional bytes static = 1;
|
|
1808
2397
|
optional bytes payload = 2;
|
|
1809
2398
|
optional bytes extendedCiphertext = 3;
|
|
2399
|
+
optional bytes paddedBytes = 4;
|
|
2400
|
+
optional bool simulateXxkemFs = 5;
|
|
1810
2401
|
}
|
|
1811
|
-
|
|
2402
|
+
|
|
1812
2403
|
message ClientHello {
|
|
1813
2404
|
optional bytes ephemeral = 1;
|
|
1814
2405
|
optional bytes static = 2;
|
|
1815
2406
|
optional bytes payload = 3;
|
|
1816
2407
|
optional bool useExtended = 4;
|
|
1817
2408
|
optional bytes extendedCiphertext = 5;
|
|
2409
|
+
optional bytes paddedBytes = 6;
|
|
2410
|
+
optional bool sendServerHelloPaddedBytes = 7;
|
|
2411
|
+
optional bool simulateXxkemFs = 8;
|
|
2412
|
+
optional HandshakeMessage.HandshakePqMode pqMode = 9;
|
|
2413
|
+
optional bytes extendedEphemeral = 10;
|
|
2414
|
+
}
|
|
2415
|
+
|
|
2416
|
+
enum HandshakePqMode {
|
|
2417
|
+
HANDSHAKE_PQ_MODE_UNKNOWN = 0;
|
|
2418
|
+
XXKEM = 1;
|
|
2419
|
+
XXKEM_FS = 2;
|
|
2420
|
+
XXKEM_EPH = 9;
|
|
2421
|
+
WA_CLASSICAL = 3;
|
|
2422
|
+
WA_PQ = 4;
|
|
2423
|
+
IKKEM = 5;
|
|
2424
|
+
IKKEM_FS = 6;
|
|
2425
|
+
XXKEM_2 = 7;
|
|
2426
|
+
IKKEM_2 = 8;
|
|
1818
2427
|
}
|
|
1819
|
-
|
|
1820
2428
|
message ServerHello {
|
|
1821
2429
|
optional bytes ephemeral = 1;
|
|
1822
2430
|
optional bytes static = 2;
|
|
1823
2431
|
optional bytes payload = 3;
|
|
1824
2432
|
optional bytes extendedStatic = 4;
|
|
2433
|
+
optional bytes paddingBytes = 5;
|
|
2434
|
+
optional bytes extendedCiphertext = 6;
|
|
1825
2435
|
}
|
|
2436
|
+
|
|
2437
|
+
}
|
|
1826
2438
|
|
|
2439
|
+
message HatchMetadataSync {
|
|
2440
|
+
optional bytes data = 1;
|
|
2441
|
+
optional int64 timestampMs = 2;
|
|
2442
|
+
optional string requestId = 3;
|
|
1827
2443
|
}
|
|
1828
2444
|
|
|
1829
2445
|
message HistorySync {
|
|
1830
|
-
HistorySyncType syncType = 1;
|
|
2446
|
+
optional HistorySyncType syncType = 1;
|
|
1831
2447
|
repeated Conversation conversations = 2;
|
|
1832
2448
|
repeated WebMessageInfo statusV3Messages = 3;
|
|
1833
2449
|
optional uint32 chunkOrder = 5;
|
|
@@ -1844,6 +2460,13 @@ message HistorySync {
|
|
|
1844
2460
|
optional string companionMetaNonce = 16;
|
|
1845
2461
|
optional bytes shareableChatIdentifierEncryptionKey = 17;
|
|
1846
2462
|
repeated Account accounts = 18;
|
|
2463
|
+
optional bytes nctSalt = 19;
|
|
2464
|
+
repeated InlineContact inlineContacts = 20;
|
|
2465
|
+
optional bool inlineContactsProvided = 21;
|
|
2466
|
+
repeated StickerMetadata favoriteStickers = 22;
|
|
2467
|
+
optional OmittedConversationMetadata omittedConversationMetadata = 25;
|
|
2468
|
+
optional string omittedConversationMetadataSnapshotId = 26;
|
|
2469
|
+
optional bytes spieKey = 27;
|
|
1847
2470
|
enum BotAIWaitListState {
|
|
1848
2471
|
IN_WAITLIST = 0;
|
|
1849
2472
|
AI_AVAILABLE = 1;
|
|
@@ -1856,6 +2479,7 @@ message HistorySync {
|
|
|
1856
2479
|
PUSH_NAME = 4;
|
|
1857
2480
|
NON_BLOCKING_DATA = 5;
|
|
1858
2481
|
ON_DEMAND = 6;
|
|
2482
|
+
RECENT_CONVERSATIONS_ON_DEMAND = 9;
|
|
1859
2483
|
}
|
|
1860
2484
|
}
|
|
1861
2485
|
|
|
@@ -1875,12 +2499,12 @@ message HydratedTemplateButton {
|
|
|
1875
2499
|
optional string displayText = 1;
|
|
1876
2500
|
optional string phoneNumber = 2;
|
|
1877
2501
|
}
|
|
1878
|
-
|
|
2502
|
+
|
|
1879
2503
|
message HydratedQuickReplyButton {
|
|
1880
2504
|
optional string displayText = 1;
|
|
1881
2505
|
optional string id = 2;
|
|
1882
2506
|
}
|
|
1883
|
-
|
|
2507
|
+
|
|
1884
2508
|
message HydratedURLButton {
|
|
1885
2509
|
optional string displayText = 1;
|
|
1886
2510
|
optional string url = 2;
|
|
@@ -1892,7 +2516,7 @@ message HydratedTemplateButton {
|
|
|
1892
2516
|
COMPACT = 3;
|
|
1893
2517
|
}
|
|
1894
2518
|
}
|
|
1895
|
-
|
|
2519
|
+
|
|
1896
2520
|
}
|
|
1897
2521
|
|
|
1898
2522
|
message IdentityKeyPairStructure {
|
|
@@ -1900,6 +2524,11 @@ message IdentityKeyPairStructure {
|
|
|
1900
2524
|
optional bytes privateKey = 2;
|
|
1901
2525
|
}
|
|
1902
2526
|
|
|
2527
|
+
message IdentityVerificationState {
|
|
2528
|
+
optional bool verified = 1;
|
|
2529
|
+
optional uint64 actionSeq = 2;
|
|
2530
|
+
}
|
|
2531
|
+
|
|
1903
2532
|
message InThreadSurveyMetadata {
|
|
1904
2533
|
optional string tessaSessionId = 1;
|
|
1905
2534
|
optional string simonSessionId = 2;
|
|
@@ -1918,23 +2547,32 @@ message InThreadSurveyMetadata {
|
|
|
1918
2547
|
optional string privacyStatementFull = 15;
|
|
1919
2548
|
repeated InThreadSurveyPrivacyStatementPart privacyStatementParts = 16;
|
|
1920
2549
|
optional string feedbackToastText = 17;
|
|
2550
|
+
optional int32 startQuestionIndex = 18;
|
|
1921
2551
|
message InThreadSurveyOption {
|
|
1922
2552
|
optional string stringValue = 1;
|
|
1923
2553
|
optional uint32 numericValue = 2;
|
|
1924
2554
|
optional string textTranslated = 3;
|
|
1925
2555
|
}
|
|
1926
|
-
|
|
2556
|
+
|
|
1927
2557
|
message InThreadSurveyPrivacyStatementPart {
|
|
1928
2558
|
optional string text = 1;
|
|
1929
2559
|
optional string url = 2;
|
|
1930
2560
|
}
|
|
1931
|
-
|
|
2561
|
+
|
|
1932
2562
|
message InThreadSurveyQuestion {
|
|
1933
2563
|
optional string questionText = 1;
|
|
1934
2564
|
optional string questionId = 2;
|
|
1935
2565
|
repeated InThreadSurveyMetadata.InThreadSurveyOption questionOptions = 3;
|
|
1936
2566
|
}
|
|
2567
|
+
|
|
2568
|
+
}
|
|
1937
2569
|
|
|
2570
|
+
message InlineContact {
|
|
2571
|
+
optional string pnJid = 1;
|
|
2572
|
+
optional string lidJid = 2;
|
|
2573
|
+
optional string fullName = 3;
|
|
2574
|
+
optional string firstName = 4;
|
|
2575
|
+
optional string username = 5;
|
|
1938
2576
|
}
|
|
1939
2577
|
|
|
1940
2578
|
message InteractiveAnnotation {
|
|
@@ -1947,6 +2585,8 @@ message InteractiveAnnotation {
|
|
|
1947
2585
|
ContextInfo.ForwardedNewsletterMessageInfo newsletter = 3;
|
|
1948
2586
|
bool embeddedAction = 6;
|
|
1949
2587
|
TapLinkAction tapAction = 7;
|
|
2588
|
+
StatusPixKey pixKey = 9;
|
|
2589
|
+
Message.StickerMessage sticker = 10;
|
|
1950
2590
|
}
|
|
1951
2591
|
enum StatusLinkType {
|
|
1952
2592
|
RASTERIZED_LINK_PREVIEW = 1;
|
|
@@ -1990,7 +2630,6 @@ message LIDMigrationMapping {
|
|
|
1990
2630
|
uint64 assignedLid = 2;
|
|
1991
2631
|
optional uint64 latestLid = 3;
|
|
1992
2632
|
}
|
|
1993
|
-
|
|
1994
2633
|
message LIDMigrationMappingSyncMessage {
|
|
1995
2634
|
optional bytes encodedMappingPayload = 1;
|
|
1996
2635
|
}
|
|
@@ -1999,7 +2638,6 @@ message LIDMigrationMappingSyncPayload {
|
|
|
1999
2638
|
repeated LIDMigrationMapping pnToLidMappings = 1;
|
|
2000
2639
|
optional uint64 chatDbMigrationTimestamp = 2;
|
|
2001
2640
|
}
|
|
2002
|
-
|
|
2003
2641
|
message LegacyMessage {
|
|
2004
2642
|
optional Message.EventResponseMessage eventResponseMessage = 1;
|
|
2005
2643
|
optional Message.PollVoteMessage pollVote = 2;
|
|
@@ -2034,6 +2672,16 @@ message MediaData {
|
|
|
2034
2672
|
optional string localPath = 1;
|
|
2035
2673
|
}
|
|
2036
2674
|
|
|
2675
|
+
message MediaDomainInfo {
|
|
2676
|
+
optional MediaKeyDomain mediaKeyDomain = 1;
|
|
2677
|
+
optional bytes e2EeMediaKey = 2;
|
|
2678
|
+
}
|
|
2679
|
+
|
|
2680
|
+
enum MediaKeyDomain {
|
|
2681
|
+
MEDIA_KEY_DOMAIN_UNKNOWN = 0;
|
|
2682
|
+
MEDIA_KEY_DOMAIN_E2EE = 1;
|
|
2683
|
+
MEDIA_KEY_DOMAIN_NON_E2EE = 2;
|
|
2684
|
+
}
|
|
2037
2685
|
message MediaNotifyMessage {
|
|
2038
2686
|
optional string expressPathUrl = 1;
|
|
2039
2687
|
optional bytes fileEncSha256 = 2;
|
|
@@ -2061,6 +2709,13 @@ enum MediaVisibility {
|
|
|
2061
2709
|
message MemberLabel {
|
|
2062
2710
|
optional string label = 1;
|
|
2063
2711
|
optional int64 labelTimestamp = 2;
|
|
2712
|
+
optional bool showAdminBadge = 3;
|
|
2713
|
+
}
|
|
2714
|
+
|
|
2715
|
+
message MembershipFormKeyFingerprintVerification {
|
|
2716
|
+
optional string requestId = 1;
|
|
2717
|
+
optional string keyId = 2;
|
|
2718
|
+
optional bytes keyFingerprint = 3;
|
|
2064
2719
|
}
|
|
2065
2720
|
|
|
2066
2721
|
message Message {
|
|
@@ -2158,47 +2813,73 @@ message Message {
|
|
|
2158
2813
|
optional StatusStickerInteractionMessage statusStickerInteractionMessage = 110;
|
|
2159
2814
|
optional PollCreationMessage pollCreationMessageV5 = 111;
|
|
2160
2815
|
optional NewsletterFollowerInviteMessage newsletterFollowerInviteMessageV2 = 113;
|
|
2161
|
-
optional PollResultSnapshotMessage pollResultSnapshotMessageV3 =
|
|
2816
|
+
optional PollResultSnapshotMessage pollResultSnapshotMessageV3 = 115;
|
|
2817
|
+
optional FutureProofMessage newsletterAdminProfileMessage = 116;
|
|
2818
|
+
optional FutureProofMessage spoilerMessage = 118;
|
|
2819
|
+
optional PollCreationMessage pollCreationMessageV6 = 119;
|
|
2820
|
+
optional ConditionalRevealMessage conditionalRevealMessage = 120;
|
|
2821
|
+
optional PollAddOptionMessage pollAddOptionMessage = 121;
|
|
2822
|
+
optional EventInviteMessage eventInviteMessage = 122;
|
|
2823
|
+
optional GroupRootKeyShare groupRootKeyShare = 123;
|
|
2824
|
+
optional PaymentReminderMessage paymentReminderMessage = 124;
|
|
2825
|
+
optional SplitPaymentMessage splitPaymentMessage = 125;
|
|
2826
|
+
optional FutureProofMessage newsletterAdminProfileStatusMessage = 126;
|
|
2827
|
+
optional RootSecretDistributeMessage rootSecretDistributeMessage = 127;
|
|
2828
|
+
optional SplitPaymentUpdateMessage splitPaymentUpdateMessage = 128;
|
|
2829
|
+
optional MusicMessage musicMessage = 129;
|
|
2830
|
+
optional StatusLinkPreviewMetadata statusLinkPreviewMetadata = 130;
|
|
2831
|
+
optional FutureProofMessage botPlatformRegistrationSuccessMessage = 131;
|
|
2832
|
+
optional FutureProofMessage newsletterScheduledMessage = 132;
|
|
2833
|
+
optional FutureProofMessage acp2SettingMessage = 133;
|
|
2834
|
+
optional FutureProofMessage audioStickerMessage = 134;
|
|
2835
|
+
optional ImageMessage instantImageMessage = 135;
|
|
2836
|
+
optional RequestLocationMessage requestLocationMessage = 136;
|
|
2837
|
+
optional FutureProofMessage botGroupParticipantMessage = 137;
|
|
2838
|
+
optional RequestLocationUpdateMessage requestLocationUpdateMessage = 138;
|
|
2839
|
+
optional VpcRequestMessage vpcRequestMessage = 139;
|
|
2840
|
+
optional VideoMessage instantVideoMessage = 140;
|
|
2841
|
+
optional PaymentDetailsMessage paymentDetailsMessage = 141;
|
|
2842
|
+
optional FutureProofMessage audioStickerPackMessage = 142;
|
|
2162
2843
|
message AlbumMessage {
|
|
2163
2844
|
optional uint32 expectedImageCount = 2;
|
|
2164
2845
|
optional uint32 expectedVideoCount = 3;
|
|
2165
2846
|
optional ContextInfo contextInfo = 17;
|
|
2166
2847
|
}
|
|
2167
|
-
|
|
2848
|
+
|
|
2168
2849
|
message AppStateFatalExceptionNotification {
|
|
2169
2850
|
repeated string collectionNames = 1;
|
|
2170
2851
|
optional int64 timestamp = 2;
|
|
2171
2852
|
}
|
|
2172
|
-
|
|
2853
|
+
|
|
2173
2854
|
message AppStateSyncKey {
|
|
2174
2855
|
optional Message.AppStateSyncKeyId keyId = 1;
|
|
2175
2856
|
optional Message.AppStateSyncKeyData keyData = 2;
|
|
2176
2857
|
}
|
|
2177
|
-
|
|
2858
|
+
|
|
2178
2859
|
message AppStateSyncKeyData {
|
|
2179
2860
|
optional bytes keyData = 1;
|
|
2180
2861
|
optional Message.AppStateSyncKeyFingerprint fingerprint = 2;
|
|
2181
2862
|
optional int64 timestamp = 3;
|
|
2182
2863
|
}
|
|
2183
|
-
|
|
2864
|
+
|
|
2184
2865
|
message AppStateSyncKeyFingerprint {
|
|
2185
2866
|
optional uint32 rawId = 1;
|
|
2186
2867
|
optional uint32 currentIndex = 2;
|
|
2187
2868
|
repeated uint32 deviceIndexes = 3 [packed=true];
|
|
2188
2869
|
}
|
|
2189
|
-
|
|
2870
|
+
|
|
2190
2871
|
message AppStateSyncKeyId {
|
|
2191
2872
|
optional bytes keyId = 1;
|
|
2192
2873
|
}
|
|
2193
|
-
|
|
2874
|
+
|
|
2194
2875
|
message AppStateSyncKeyRequest {
|
|
2195
2876
|
repeated Message.AppStateSyncKeyId keyIds = 1;
|
|
2196
2877
|
}
|
|
2197
|
-
|
|
2878
|
+
|
|
2198
2879
|
message AppStateSyncKeyShare {
|
|
2199
2880
|
repeated Message.AppStateSyncKey keys = 1;
|
|
2200
2881
|
}
|
|
2201
|
-
|
|
2882
|
+
|
|
2202
2883
|
message AudioMessage {
|
|
2203
2884
|
optional string url = 1;
|
|
2204
2885
|
optional string mimetype = 2;
|
|
@@ -2216,9 +2897,9 @@ message Message {
|
|
|
2216
2897
|
optional fixed32 backgroundArgb = 20;
|
|
2217
2898
|
optional bool viewOnce = 21;
|
|
2218
2899
|
optional string accessibilityLabel = 22;
|
|
2219
|
-
optional
|
|
2900
|
+
optional string caption = 24;
|
|
2220
2901
|
}
|
|
2221
|
-
|
|
2902
|
+
|
|
2222
2903
|
message BCallMessage {
|
|
2223
2904
|
optional string sessionId = 1;
|
|
2224
2905
|
optional MediaType mediaType = 2;
|
|
@@ -2230,7 +2911,13 @@ message Message {
|
|
|
2230
2911
|
VIDEO = 2;
|
|
2231
2912
|
}
|
|
2232
2913
|
}
|
|
2233
|
-
|
|
2914
|
+
|
|
2915
|
+
message BotHistoryShareSyncMetadata {
|
|
2916
|
+
optional string botJid = 1;
|
|
2917
|
+
optional int64 historyShareCutoffTimestamp = 2;
|
|
2918
|
+
repeated Message.HistoryShareMessageEntry historyShareMessages = 3;
|
|
2919
|
+
}
|
|
2920
|
+
|
|
2234
2921
|
message ButtonsMessage {
|
|
2235
2922
|
optional string contentText = 6;
|
|
2236
2923
|
optional string footerText = 7;
|
|
@@ -2252,19 +2939,19 @@ message Message {
|
|
|
2252
2939
|
message ButtonText {
|
|
2253
2940
|
optional string displayText = 1;
|
|
2254
2941
|
}
|
|
2255
|
-
|
|
2942
|
+
|
|
2256
2943
|
message NativeFlowInfo {
|
|
2257
2944
|
optional string name = 1;
|
|
2258
2945
|
optional string paramsJson = 2;
|
|
2259
2946
|
}
|
|
2260
|
-
|
|
2947
|
+
|
|
2261
2948
|
enum Type {
|
|
2262
2949
|
UNKNOWN = 0;
|
|
2263
2950
|
RESPONSE = 1;
|
|
2264
2951
|
NATIVE_FLOW = 2;
|
|
2265
2952
|
}
|
|
2266
2953
|
}
|
|
2267
|
-
|
|
2954
|
+
|
|
2268
2955
|
enum HeaderType {
|
|
2269
2956
|
UNKNOWN = 0;
|
|
2270
2957
|
EMPTY = 1;
|
|
@@ -2275,7 +2962,7 @@ message Message {
|
|
|
2275
2962
|
LOCATION = 6;
|
|
2276
2963
|
}
|
|
2277
2964
|
}
|
|
2278
|
-
|
|
2965
|
+
|
|
2279
2966
|
message ButtonsResponseMessage {
|
|
2280
2967
|
optional string selectedButtonId = 1;
|
|
2281
2968
|
optional ContextInfo contextInfo = 3;
|
|
@@ -2288,7 +2975,7 @@ message Message {
|
|
|
2288
2975
|
DISPLAY_TEXT = 1;
|
|
2289
2976
|
}
|
|
2290
2977
|
}
|
|
2291
|
-
|
|
2978
|
+
|
|
2292
2979
|
message Call {
|
|
2293
2980
|
optional bytes callKey = 1;
|
|
2294
2981
|
optional string conversionSource = 2;
|
|
@@ -2299,8 +2986,11 @@ message Message {
|
|
|
2299
2986
|
optional ContextInfo contextInfo = 7;
|
|
2300
2987
|
optional string nativeFlowCallButtonPayload = 8;
|
|
2301
2988
|
optional string deeplinkPayload = 9;
|
|
2989
|
+
optional MessageContextInfo messageContextInfo = 10;
|
|
2990
|
+
optional uint32 callEntryPoint = 11;
|
|
2991
|
+
optional string callReason = 12;
|
|
2302
2992
|
}
|
|
2303
|
-
|
|
2993
|
+
|
|
2304
2994
|
message CallLogMessage {
|
|
2305
2995
|
optional bool isVideo = 1;
|
|
2306
2996
|
optional CallOutcome callOutcome = 2;
|
|
@@ -2321,23 +3011,75 @@ message Message {
|
|
|
2321
3011
|
optional string jid = 1;
|
|
2322
3012
|
optional Message.CallLogMessage.CallOutcome callOutcome = 2;
|
|
2323
3013
|
}
|
|
2324
|
-
|
|
3014
|
+
|
|
2325
3015
|
enum CallType {
|
|
2326
3016
|
REGULAR = 0;
|
|
2327
3017
|
SCHEDULED_CALL = 1;
|
|
2328
3018
|
VOICE_CHAT = 2;
|
|
2329
3019
|
}
|
|
2330
3020
|
}
|
|
2331
|
-
|
|
3021
|
+
|
|
2332
3022
|
message CancelPaymentRequestMessage {
|
|
2333
3023
|
optional MessageKey key = 1;
|
|
2334
3024
|
}
|
|
2335
|
-
|
|
3025
|
+
|
|
2336
3026
|
message Chat {
|
|
2337
3027
|
optional string displayName = 1;
|
|
2338
3028
|
optional string id = 2;
|
|
2339
3029
|
}
|
|
2340
|
-
|
|
3030
|
+
|
|
3031
|
+
message ChatAnimatedWallpaper {
|
|
3032
|
+
optional string animatedWallpaperId = 1;
|
|
3033
|
+
optional float dimLevel = 2;
|
|
3034
|
+
}
|
|
3035
|
+
|
|
3036
|
+
message ChatCustomImageWallpaper {
|
|
3037
|
+
optional string directPath = 1;
|
|
3038
|
+
optional bytes mediaKey = 2;
|
|
3039
|
+
optional bytes fileEncSha256 = 3;
|
|
3040
|
+
optional bytes fileSha256 = 4;
|
|
3041
|
+
optional float dimLevel = 5;
|
|
3042
|
+
}
|
|
3043
|
+
|
|
3044
|
+
message ChatDefaultWallpaper {
|
|
3045
|
+
optional bool isDoodleEnabled = 1;
|
|
3046
|
+
}
|
|
3047
|
+
|
|
3048
|
+
message ChatModeFutureProof {
|
|
3049
|
+
optional ChatMode chatMode = 1;
|
|
3050
|
+
enum ChatMode {
|
|
3051
|
+
NOTIFIED = 0;
|
|
3052
|
+
READ_ONLY = 1;
|
|
3053
|
+
BLOCKED = 2;
|
|
3054
|
+
}
|
|
3055
|
+
}
|
|
3056
|
+
|
|
3057
|
+
message ChatSolidColorWallpaper {
|
|
3058
|
+
optional fixed32 backgroundLightArgb = 1;
|
|
3059
|
+
optional fixed32 backgroundDarkArgb = 2;
|
|
3060
|
+
optional bool isDoodleEnabled = 3;
|
|
3061
|
+
optional fixed32 doodleLightArgb = 4;
|
|
3062
|
+
optional fixed32 doodleDarkArgb = 5;
|
|
3063
|
+
}
|
|
3064
|
+
|
|
3065
|
+
message ChatStockImageWallpaper {
|
|
3066
|
+
optional string stockImageId = 1;
|
|
3067
|
+
optional float dimLevel = 2;
|
|
3068
|
+
}
|
|
3069
|
+
|
|
3070
|
+
message ChatThemeSetting {
|
|
3071
|
+
optional int64 settingTimestampMs = 1;
|
|
3072
|
+
optional bool clearTheme = 2;
|
|
3073
|
+
optional string colorSchemeId = 3;
|
|
3074
|
+
oneof wallpaper {
|
|
3075
|
+
Message.ChatDefaultWallpaper defaultWallpaper = 10;
|
|
3076
|
+
Message.ChatSolidColorWallpaper solidColor = 11;
|
|
3077
|
+
Message.ChatStockImageWallpaper stockImage = 12;
|
|
3078
|
+
Message.ChatCustomImageWallpaper customImage = 13;
|
|
3079
|
+
Message.ChatAnimatedWallpaper animatedWallpaper = 14;
|
|
3080
|
+
}
|
|
3081
|
+
}
|
|
3082
|
+
|
|
2341
3083
|
message CloudAPIThreadControlNotification {
|
|
2342
3084
|
optional CloudAPIThreadControl status = 1;
|
|
2343
3085
|
optional int64 senderNotificationTimestampMs = 2;
|
|
@@ -2349,41 +3091,65 @@ message Message {
|
|
|
2349
3091
|
UNKNOWN = 0;
|
|
2350
3092
|
CONTROL_PASSED = 1;
|
|
2351
3093
|
CONTROL_TAKEN = 2;
|
|
3094
|
+
INFO = 3;
|
|
2352
3095
|
}
|
|
2353
3096
|
message CloudAPIThreadControlNotificationContent {
|
|
2354
3097
|
optional string handoffNotificationText = 1;
|
|
2355
3098
|
optional string extraJson = 2;
|
|
2356
3099
|
}
|
|
2357
|
-
|
|
3100
|
+
|
|
2358
3101
|
}
|
|
2359
|
-
|
|
3102
|
+
|
|
3103
|
+
message CoexConnectionDescriptor {
|
|
3104
|
+
optional int64 providerId = 1;
|
|
3105
|
+
optional string product = 2;
|
|
3106
|
+
}
|
|
3107
|
+
|
|
2360
3108
|
message CommentMessage {
|
|
2361
3109
|
optional Message message = 1;
|
|
2362
3110
|
optional MessageKey targetMessageKey = 2;
|
|
2363
3111
|
}
|
|
2364
|
-
|
|
3112
|
+
|
|
3113
|
+
message CompanionRecoveryKeyDistribution {
|
|
3114
|
+
optional bytes primaryRecoveryPubKey = 1;
|
|
3115
|
+
optional int64 recoveryKeyDistributionTimestamp = 2;
|
|
3116
|
+
optional bytes primaryRecoveryKemPubKey = 3;
|
|
3117
|
+
}
|
|
3118
|
+
|
|
3119
|
+
message ConditionalRevealMessage {
|
|
3120
|
+
optional bytes encPayload = 1;
|
|
3121
|
+
optional bytes encIv = 2;
|
|
3122
|
+
optional ConditionalRevealMessageType conditionalRevealMessageType = 3;
|
|
3123
|
+
optional string revealKeyId = 4;
|
|
3124
|
+
enum ConditionalRevealMessageType {
|
|
3125
|
+
UNKNOWN = 0;
|
|
3126
|
+
SCHEDULED_MESSAGE = 1;
|
|
3127
|
+
}
|
|
3128
|
+
}
|
|
3129
|
+
|
|
2365
3130
|
message ContactMessage {
|
|
2366
3131
|
optional string displayName = 1;
|
|
2367
3132
|
optional string vcard = 16;
|
|
2368
3133
|
optional ContextInfo contextInfo = 17;
|
|
3134
|
+
optional bool isSelfContact = 18;
|
|
2369
3135
|
}
|
|
2370
|
-
|
|
3136
|
+
|
|
2371
3137
|
message ContactsArrayMessage {
|
|
2372
3138
|
optional string displayName = 1;
|
|
2373
3139
|
repeated Message.ContactMessage contacts = 2;
|
|
2374
3140
|
optional ContextInfo contextInfo = 17;
|
|
2375
3141
|
}
|
|
2376
|
-
|
|
3142
|
+
|
|
2377
3143
|
message DeclinePaymentRequestMessage {
|
|
2378
3144
|
optional MessageKey key = 1;
|
|
2379
3145
|
}
|
|
2380
|
-
|
|
3146
|
+
|
|
2381
3147
|
message DeviceSentMessage {
|
|
2382
3148
|
optional string destinationJid = 1;
|
|
2383
3149
|
optional Message message = 2;
|
|
2384
3150
|
optional string phash = 3;
|
|
2385
3151
|
}
|
|
2386
|
-
|
|
3152
|
+
|
|
2387
3153
|
message DocumentMessage {
|
|
2388
3154
|
optional string url = 1;
|
|
2389
3155
|
optional string mimetype = 2;
|
|
@@ -2406,27 +3172,52 @@ message Message {
|
|
|
2406
3172
|
optional uint32 thumbnailWidth = 19;
|
|
2407
3173
|
optional string caption = 20;
|
|
2408
3174
|
optional string accessibilityLabel = 21;
|
|
2409
|
-
optional
|
|
3175
|
+
optional string qrUrl = 23;
|
|
2410
3176
|
}
|
|
2411
|
-
|
|
3177
|
+
|
|
2412
3178
|
message EncCommentMessage {
|
|
2413
3179
|
optional MessageKey targetMessageKey = 1;
|
|
2414
3180
|
optional bytes encPayload = 2;
|
|
2415
3181
|
optional bytes encIv = 3;
|
|
2416
3182
|
}
|
|
2417
|
-
|
|
3183
|
+
|
|
2418
3184
|
message EncEventResponseMessage {
|
|
2419
3185
|
optional MessageKey eventCreationMessageKey = 1;
|
|
2420
3186
|
optional bytes encPayload = 2;
|
|
2421
3187
|
optional bytes encIv = 3;
|
|
2422
3188
|
}
|
|
2423
|
-
|
|
3189
|
+
|
|
2424
3190
|
message EncReactionMessage {
|
|
2425
3191
|
optional MessageKey targetMessageKey = 1;
|
|
2426
3192
|
optional bytes encPayload = 2;
|
|
2427
3193
|
optional bytes encIv = 3;
|
|
2428
3194
|
}
|
|
2429
|
-
|
|
3195
|
+
|
|
3196
|
+
message EventInviteMessage {
|
|
3197
|
+
optional ContextInfo contextInfo = 1;
|
|
3198
|
+
optional string eventId = 2;
|
|
3199
|
+
optional string eventTitle = 3;
|
|
3200
|
+
optional bytes jpegThumbnail = 4;
|
|
3201
|
+
optional int64 startTime = 5;
|
|
3202
|
+
optional string caption = 6;
|
|
3203
|
+
optional bool isCanceled = 7;
|
|
3204
|
+
optional int64 endTime = 8;
|
|
3205
|
+
optional string callLink = 9;
|
|
3206
|
+
optional string coverImageHandle = 10;
|
|
3207
|
+
optional string locationName = 11;
|
|
3208
|
+
optional int64 lastUpdatedTsUsec = 12;
|
|
3209
|
+
optional EventStatus status = 13;
|
|
3210
|
+
enum EventStatus {
|
|
3211
|
+
UNKNOWN = 0;
|
|
3212
|
+
ACTIVE = 1;
|
|
3213
|
+
CANCELED = 2;
|
|
3214
|
+
SUSPENDED = 3;
|
|
3215
|
+
DELETED = 4;
|
|
3216
|
+
LEFT_EVENT = 5;
|
|
3217
|
+
REMOVED_FROM_INVITE_LIST = 6;
|
|
3218
|
+
}
|
|
3219
|
+
}
|
|
3220
|
+
|
|
2430
3221
|
message EventMessage {
|
|
2431
3222
|
optional ContextInfo contextInfo = 1;
|
|
2432
3223
|
optional bool isCanceled = 2;
|
|
@@ -2441,7 +3232,7 @@ message Message {
|
|
|
2441
3232
|
optional bool hasReminder = 11;
|
|
2442
3233
|
optional int64 reminderOffsetSec = 12;
|
|
2443
3234
|
}
|
|
2444
|
-
|
|
3235
|
+
|
|
2445
3236
|
message EventResponseMessage {
|
|
2446
3237
|
optional EventResponseType response = 1;
|
|
2447
3238
|
optional int64 timestampMs = 2;
|
|
@@ -2453,7 +3244,7 @@ message Message {
|
|
|
2453
3244
|
MAYBE = 3;
|
|
2454
3245
|
}
|
|
2455
3246
|
}
|
|
2456
|
-
|
|
3247
|
+
|
|
2457
3248
|
message ExtendedTextMessage {
|
|
2458
3249
|
optional string text = 1;
|
|
2459
3250
|
optional string matchedText = 2;
|
|
@@ -2480,7 +3271,7 @@ message Message {
|
|
|
2480
3271
|
optional bool viewOnce = 30;
|
|
2481
3272
|
optional uint32 videoHeight = 31;
|
|
2482
3273
|
optional uint32 videoWidth = 32;
|
|
2483
|
-
optional Message.MMSThumbnailMetadata
|
|
3274
|
+
optional Message.MMSThumbnailMetadata faviconMmsMetadata = 33;
|
|
2484
3275
|
optional Message.LinkPreviewMetadata linkPreviewMetadata = 34;
|
|
2485
3276
|
optional Message.PaymentLinkMetadata paymentLinkMetadata = 35;
|
|
2486
3277
|
repeated Message.VideoEndCard endCardTiles = 36;
|
|
@@ -2512,15 +3303,23 @@ message Message {
|
|
|
2512
3303
|
PROFILE = 7;
|
|
2513
3304
|
}
|
|
2514
3305
|
}
|
|
2515
|
-
|
|
3306
|
+
|
|
3307
|
+
message FullHistorySyncOnDemandConfig {
|
|
3308
|
+
optional uint64 historyFromTimestamp = 1;
|
|
3309
|
+
optional uint32 historyDurationDays = 2;
|
|
3310
|
+
}
|
|
3311
|
+
|
|
2516
3312
|
message FullHistorySyncOnDemandRequestMetadata {
|
|
2517
3313
|
optional string requestId = 1;
|
|
3314
|
+
optional string businessProduct = 2;
|
|
3315
|
+
optional bytes opaqueClientData = 3;
|
|
3316
|
+
optional Message.CoexConnectionDescriptor connection = 4;
|
|
2518
3317
|
}
|
|
2519
|
-
|
|
3318
|
+
|
|
2520
3319
|
message FutureProofMessage {
|
|
2521
3320
|
optional Message message = 1;
|
|
2522
3321
|
}
|
|
2523
|
-
|
|
3322
|
+
|
|
2524
3323
|
message GroupInviteMessage {
|
|
2525
3324
|
optional string groupJid = 1;
|
|
2526
3325
|
optional string inviteCode = 2;
|
|
@@ -2535,7 +3334,7 @@ message Message {
|
|
|
2535
3334
|
PARENT = 1;
|
|
2536
3335
|
}
|
|
2537
3336
|
}
|
|
2538
|
-
|
|
3337
|
+
|
|
2539
3338
|
message HighlyStructuredMessage {
|
|
2540
3339
|
optional string namespace = 1;
|
|
2541
3340
|
optional string elementName = 2;
|
|
@@ -2556,7 +3355,7 @@ message Message {
|
|
|
2556
3355
|
optional string currencyCode = 1;
|
|
2557
3356
|
optional int64 amount1000 = 2;
|
|
2558
3357
|
}
|
|
2559
|
-
|
|
3358
|
+
|
|
2560
3359
|
message HSMDateTime {
|
|
2561
3360
|
oneof datetimeOneof {
|
|
2562
3361
|
Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent component = 1;
|
|
@@ -2584,21 +3383,26 @@ message Message {
|
|
|
2584
3383
|
SUNDAY = 7;
|
|
2585
3384
|
}
|
|
2586
3385
|
}
|
|
2587
|
-
|
|
3386
|
+
|
|
2588
3387
|
message HSMDateTimeUnixEpoch {
|
|
2589
3388
|
optional int64 timestamp = 1;
|
|
2590
3389
|
}
|
|
2591
|
-
|
|
3390
|
+
|
|
2592
3391
|
}
|
|
2593
|
-
|
|
3392
|
+
|
|
2594
3393
|
}
|
|
2595
|
-
|
|
3394
|
+
|
|
2596
3395
|
}
|
|
2597
|
-
|
|
3396
|
+
|
|
3397
|
+
message HistoryShareMessageEntry {
|
|
3398
|
+
optional string stanzaId = 1;
|
|
3399
|
+
optional bytes messageSecretProof = 2;
|
|
3400
|
+
}
|
|
3401
|
+
|
|
2598
3402
|
message HistorySyncMessageAccessStatus {
|
|
2599
3403
|
optional bool completeAccessGranted = 1;
|
|
2600
3404
|
}
|
|
2601
|
-
|
|
3405
|
+
|
|
2602
3406
|
message HistorySyncNotification {
|
|
2603
3407
|
optional bytes fileSha256 = 1;
|
|
2604
3408
|
optional uint64 fileLength = 2;
|
|
@@ -2616,7 +3420,7 @@ message Message {
|
|
|
2616
3420
|
optional string encHandle = 14;
|
|
2617
3421
|
optional Message.HistorySyncMessageAccessStatus messageAccessStatus = 15;
|
|
2618
3422
|
}
|
|
2619
|
-
|
|
3423
|
+
|
|
2620
3424
|
enum HistorySyncType {
|
|
2621
3425
|
INITIAL_BOOTSTRAP = 0;
|
|
2622
3426
|
INITIAL_STATUS_V3 = 1;
|
|
@@ -2627,6 +3431,7 @@ message Message {
|
|
|
2627
3431
|
ON_DEMAND = 6;
|
|
2628
3432
|
NO_HISTORY = 7;
|
|
2629
3433
|
MESSAGE_ACCESS_STATUS = 8;
|
|
3434
|
+
RECENT_CONVERSATIONS_ON_DEMAND = 9;
|
|
2630
3435
|
}
|
|
2631
3436
|
message ImageMessage {
|
|
2632
3437
|
optional string url = 1;
|
|
@@ -2658,7 +3463,6 @@ message Message {
|
|
|
2658
3463
|
repeated InteractiveAnnotation annotations = 30;
|
|
2659
3464
|
optional ImageSourceType imageSourceType = 31;
|
|
2660
3465
|
optional string accessibilityLabel = 32;
|
|
2661
|
-
optional Message.MediaKeyDomain mediaKeyDomain = 33;
|
|
2662
3466
|
optional string qrUrl = 34;
|
|
2663
3467
|
enum ImageSourceType {
|
|
2664
3468
|
USER_IMAGE = 0;
|
|
@@ -2667,15 +3471,24 @@ message Message {
|
|
|
2667
3471
|
RASTERIZED_TEXT_STATUS = 3;
|
|
2668
3472
|
}
|
|
2669
3473
|
}
|
|
2670
|
-
|
|
3474
|
+
|
|
2671
3475
|
message InitialSecurityNotificationSettingSync {
|
|
2672
3476
|
optional bool securityNotificationEnabled = 1;
|
|
3477
|
+
optional int32 initialAppTheme = 2;
|
|
3478
|
+
}
|
|
3479
|
+
|
|
3480
|
+
enum InsightDeliveryState {
|
|
3481
|
+
SENT = 0;
|
|
3482
|
+
DELIVERED = 1;
|
|
3483
|
+
READ = 2;
|
|
3484
|
+
REPLIED = 3;
|
|
3485
|
+
QUICK_REPLIED = 4;
|
|
2673
3486
|
}
|
|
2674
|
-
|
|
2675
3487
|
message InteractiveMessage {
|
|
2676
3488
|
optional Header header = 1;
|
|
2677
3489
|
optional Body body = 2;
|
|
2678
3490
|
optional Footer footer = 3;
|
|
3491
|
+
optional BloksWidget bloksWidget = 8;
|
|
2679
3492
|
optional ContextInfo contextInfo = 15;
|
|
2680
3493
|
optional UrlTrackingMap urlTrackingMap = 16;
|
|
2681
3494
|
oneof interactiveMessage {
|
|
@@ -2684,10 +3497,17 @@ message Message {
|
|
|
2684
3497
|
Message.InteractiveMessage.NativeFlowMessage nativeFlowMessage = 6;
|
|
2685
3498
|
Message.InteractiveMessage.CarouselMessage carouselMessage = 7;
|
|
2686
3499
|
}
|
|
3500
|
+
message BloksWidget {
|
|
3501
|
+
optional string uuid = 1;
|
|
3502
|
+
optional string data = 2;
|
|
3503
|
+
optional string type = 3;
|
|
3504
|
+
optional string fallback = 4;
|
|
3505
|
+
}
|
|
3506
|
+
|
|
2687
3507
|
message Body {
|
|
2688
3508
|
optional string text = 1;
|
|
2689
3509
|
}
|
|
2690
|
-
|
|
3510
|
+
|
|
2691
3511
|
message CarouselMessage {
|
|
2692
3512
|
repeated Message.InteractiveMessage cards = 1;
|
|
2693
3513
|
optional int32 messageVersion = 2;
|
|
@@ -2698,13 +3518,13 @@ message Message {
|
|
|
2698
3518
|
ALBUM_IMAGE = 2;
|
|
2699
3519
|
}
|
|
2700
3520
|
}
|
|
2701
|
-
|
|
3521
|
+
|
|
2702
3522
|
message CollectionMessage {
|
|
2703
3523
|
optional string bizJid = 1;
|
|
2704
3524
|
optional string id = 2;
|
|
2705
3525
|
optional int32 messageVersion = 3;
|
|
2706
3526
|
}
|
|
2707
|
-
|
|
3527
|
+
|
|
2708
3528
|
message Footer {
|
|
2709
3529
|
optional string text = 1;
|
|
2710
3530
|
optional bool hasMediaAttachment = 3;
|
|
@@ -2712,11 +3532,12 @@ message Message {
|
|
|
2712
3532
|
Message.AudioMessage audioMessage = 2;
|
|
2713
3533
|
}
|
|
2714
3534
|
}
|
|
2715
|
-
|
|
3535
|
+
|
|
2716
3536
|
message Header {
|
|
2717
3537
|
optional string title = 1;
|
|
2718
3538
|
optional string subtitle = 2;
|
|
2719
3539
|
optional bool hasMediaAttachment = 5;
|
|
3540
|
+
optional Message.InteractiveMessage.BloksWidget bloksWidget = 10;
|
|
2720
3541
|
oneof media {
|
|
2721
3542
|
Message.DocumentMessage documentMessage = 3;
|
|
2722
3543
|
Message.ImageMessage imageMessage = 4;
|
|
@@ -2726,7 +3547,7 @@ message Message {
|
|
|
2726
3547
|
Message.ProductMessage productMessage = 9;
|
|
2727
3548
|
}
|
|
2728
3549
|
}
|
|
2729
|
-
|
|
3550
|
+
|
|
2730
3551
|
message NativeFlowMessage {
|
|
2731
3552
|
repeated NativeFlowButton buttons = 1;
|
|
2732
3553
|
optional string messageParamsJson = 2;
|
|
@@ -2735,9 +3556,9 @@ message Message {
|
|
|
2735
3556
|
optional string name = 1;
|
|
2736
3557
|
optional string buttonParamsJson = 2;
|
|
2737
3558
|
}
|
|
2738
|
-
|
|
3559
|
+
|
|
2739
3560
|
}
|
|
2740
|
-
|
|
3561
|
+
|
|
2741
3562
|
message ShopMessage {
|
|
2742
3563
|
optional string id = 1;
|
|
2743
3564
|
optional Surface surface = 2;
|
|
@@ -2749,9 +3570,9 @@ message Message {
|
|
|
2749
3570
|
WA = 3;
|
|
2750
3571
|
}
|
|
2751
3572
|
}
|
|
2752
|
-
|
|
3573
|
+
|
|
2753
3574
|
}
|
|
2754
|
-
|
|
3575
|
+
|
|
2755
3576
|
message InteractiveResponseMessage {
|
|
2756
3577
|
optional Body body = 1;
|
|
2757
3578
|
optional ContextInfo contextInfo = 15;
|
|
@@ -2766,15 +3587,15 @@ message Message {
|
|
|
2766
3587
|
EXTENSIONS_1 = 1;
|
|
2767
3588
|
}
|
|
2768
3589
|
}
|
|
2769
|
-
|
|
3590
|
+
|
|
2770
3591
|
message NativeFlowResponseMessage {
|
|
2771
3592
|
optional string name = 1;
|
|
2772
3593
|
optional string paramsJson = 2;
|
|
2773
3594
|
optional int32 version = 3;
|
|
2774
3595
|
}
|
|
2775
|
-
|
|
3596
|
+
|
|
2776
3597
|
}
|
|
2777
|
-
|
|
3598
|
+
|
|
2778
3599
|
message InvoiceMessage {
|
|
2779
3600
|
optional string note = 1;
|
|
2780
3601
|
optional string token = 2;
|
|
@@ -2791,13 +3612,13 @@ message Message {
|
|
|
2791
3612
|
PDF = 1;
|
|
2792
3613
|
}
|
|
2793
3614
|
}
|
|
2794
|
-
|
|
3615
|
+
|
|
2795
3616
|
message KeepInChatMessage {
|
|
2796
3617
|
optional MessageKey key = 1;
|
|
2797
3618
|
optional KeepType keepType = 2;
|
|
2798
3619
|
optional int64 timestampMs = 3;
|
|
2799
3620
|
}
|
|
2800
|
-
|
|
3621
|
+
|
|
2801
3622
|
message LinkPreviewMetadata {
|
|
2802
3623
|
optional Message.PaymentLinkMetadata paymentLinkMetadata = 1;
|
|
2803
3624
|
optional Message.URLMetadata urlMetadata = 2;
|
|
@@ -2808,6 +3629,7 @@ message Message {
|
|
|
2808
3629
|
optional string videoContentUrl = 7;
|
|
2809
3630
|
optional EmbeddedMusic musicMetadata = 8;
|
|
2810
3631
|
optional string videoContentCaption = 9;
|
|
3632
|
+
optional string videoId = 10;
|
|
2811
3633
|
enum SocialMediaPostType {
|
|
2812
3634
|
NONE = 0;
|
|
2813
3635
|
REEL = 1;
|
|
@@ -2817,7 +3639,7 @@ message Message {
|
|
|
2817
3639
|
CAROUSEL = 5;
|
|
2818
3640
|
}
|
|
2819
3641
|
}
|
|
2820
|
-
|
|
3642
|
+
|
|
2821
3643
|
message ListMessage {
|
|
2822
3644
|
optional string title = 1;
|
|
2823
3645
|
optional string description = 2;
|
|
@@ -2835,36 +3657,36 @@ message Message {
|
|
|
2835
3657
|
message Product {
|
|
2836
3658
|
optional string productId = 1;
|
|
2837
3659
|
}
|
|
2838
|
-
|
|
3660
|
+
|
|
2839
3661
|
message ProductListHeaderImage {
|
|
2840
3662
|
optional string productId = 1;
|
|
2841
3663
|
optional bytes jpegThumbnail = 2;
|
|
2842
3664
|
}
|
|
2843
|
-
|
|
3665
|
+
|
|
2844
3666
|
message ProductListInfo {
|
|
2845
3667
|
repeated Message.ListMessage.ProductSection productSections = 1;
|
|
2846
3668
|
optional Message.ListMessage.ProductListHeaderImage headerImage = 2;
|
|
2847
3669
|
optional string businessOwnerJid = 3;
|
|
2848
3670
|
}
|
|
2849
|
-
|
|
3671
|
+
|
|
2850
3672
|
message ProductSection {
|
|
2851
3673
|
optional string title = 1;
|
|
2852
3674
|
repeated Message.ListMessage.Product products = 2;
|
|
2853
3675
|
}
|
|
2854
|
-
|
|
3676
|
+
|
|
2855
3677
|
message Row {
|
|
2856
3678
|
optional string title = 1;
|
|
2857
3679
|
optional string description = 2;
|
|
2858
3680
|
optional string rowId = 3;
|
|
2859
3681
|
}
|
|
2860
|
-
|
|
3682
|
+
|
|
2861
3683
|
message Section {
|
|
2862
3684
|
optional string title = 1;
|
|
2863
3685
|
repeated Message.ListMessage.Row rows = 2;
|
|
2864
3686
|
}
|
|
2865
|
-
|
|
3687
|
+
|
|
2866
3688
|
}
|
|
2867
|
-
|
|
3689
|
+
|
|
2868
3690
|
message ListResponseMessage {
|
|
2869
3691
|
optional string title = 1;
|
|
2870
3692
|
optional ListType listType = 2;
|
|
@@ -2878,9 +3700,9 @@ message Message {
|
|
|
2878
3700
|
message SingleSelectReply {
|
|
2879
3701
|
optional string selectedRowId = 1;
|
|
2880
3702
|
}
|
|
2881
|
-
|
|
3703
|
+
|
|
2882
3704
|
}
|
|
2883
|
-
|
|
3705
|
+
|
|
2884
3706
|
message LiveLocationMessage {
|
|
2885
3707
|
optional double degreesLatitude = 1;
|
|
2886
3708
|
optional double degreesLongitude = 2;
|
|
@@ -2893,7 +3715,7 @@ message Message {
|
|
|
2893
3715
|
optional bytes jpegThumbnail = 16;
|
|
2894
3716
|
optional ContextInfo contextInfo = 17;
|
|
2895
3717
|
}
|
|
2896
|
-
|
|
3718
|
+
|
|
2897
3719
|
message LocationMessage {
|
|
2898
3720
|
optional double degreesLatitude = 1;
|
|
2899
3721
|
optional double degreesLongitude = 2;
|
|
@@ -2908,7 +3730,7 @@ message Message {
|
|
|
2908
3730
|
optional bytes jpegThumbnail = 16;
|
|
2909
3731
|
optional ContextInfo contextInfo = 17;
|
|
2910
3732
|
}
|
|
2911
|
-
|
|
3733
|
+
|
|
2912
3734
|
message MMSThumbnailMetadata {
|
|
2913
3735
|
optional string thumbnailDirectPath = 1;
|
|
2914
3736
|
optional bytes thumbnailSha256 = 2;
|
|
@@ -2917,16 +3739,15 @@ message Message {
|
|
|
2917
3739
|
optional int64 mediaKeyTimestamp = 5;
|
|
2918
3740
|
optional uint32 thumbnailHeight = 6;
|
|
2919
3741
|
optional uint32 thumbnailWidth = 7;
|
|
2920
|
-
optional Message.MediaKeyDomain mediaKeyDomain = 8;
|
|
2921
3742
|
}
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
BOT = 4;
|
|
3743
|
+
|
|
3744
|
+
message MarkAsVerifiedAction {
|
|
3745
|
+
optional string userJidString = 1;
|
|
3746
|
+
optional bool verified = 2;
|
|
3747
|
+
optional bytes verifiedIdentityKey = 3;
|
|
3748
|
+
optional uint64 actionSeq = 4;
|
|
2929
3749
|
}
|
|
3750
|
+
|
|
2930
3751
|
message MessageHistoryBundle {
|
|
2931
3752
|
optional string mimetype = 1;
|
|
2932
3753
|
optional bytes fileSha256 = 2;
|
|
@@ -2937,18 +3758,55 @@ message Message {
|
|
|
2937
3758
|
optional ContextInfo contextInfo = 7;
|
|
2938
3759
|
optional Message.MessageHistoryMetadata messageHistoryMetadata = 8;
|
|
2939
3760
|
}
|
|
2940
|
-
|
|
3761
|
+
|
|
2941
3762
|
message MessageHistoryMetadata {
|
|
2942
3763
|
repeated string historyReceivers = 1;
|
|
2943
|
-
optional int64
|
|
3764
|
+
optional int64 oldestMessageTimestampInWindow = 2;
|
|
2944
3765
|
optional int64 messageCount = 3;
|
|
3766
|
+
repeated string nonHistoryReceivers = 4;
|
|
3767
|
+
optional int64 oldestMessageTimestampInBundle = 5;
|
|
3768
|
+
optional bool includesChatTheme = 6;
|
|
2945
3769
|
}
|
|
2946
|
-
|
|
3770
|
+
|
|
2947
3771
|
message MessageHistoryNotice {
|
|
2948
3772
|
optional ContextInfo contextInfo = 1;
|
|
2949
3773
|
optional Message.MessageHistoryMetadata messageHistoryMetadata = 2;
|
|
3774
|
+
optional Message.BotHistoryShareSyncMetadata botHistoryShareSyncMetadata = 3;
|
|
3775
|
+
}
|
|
3776
|
+
|
|
3777
|
+
message MusicMessage {
|
|
3778
|
+
optional EmbeddedMusic embeddedMusic = 1;
|
|
3779
|
+
optional string songUri = 2;
|
|
3780
|
+
optional string artworkUri = 3;
|
|
3781
|
+
optional int32 style = 4;
|
|
3782
|
+
optional ContextInfo contextInfo = 5;
|
|
3783
|
+
optional Lyrics lyrics = 6;
|
|
3784
|
+
message Lyrics {
|
|
3785
|
+
repeated Line lines = 1;
|
|
3786
|
+
message Line {
|
|
3787
|
+
optional int64 startTimeInMs = 1;
|
|
3788
|
+
optional int64 endTimeInMs = 2;
|
|
3789
|
+
optional string text = 3;
|
|
3790
|
+
repeated WordOffset wordOffsets = 4;
|
|
3791
|
+
message WordOffset {
|
|
3792
|
+
optional int32 startIndex = 1;
|
|
3793
|
+
optional int32 endIndex = 2;
|
|
3794
|
+
optional int64 startOffsetMs = 3;
|
|
3795
|
+
optional int64 endOffsetMs = 4;
|
|
3796
|
+
}
|
|
3797
|
+
|
|
3798
|
+
}
|
|
3799
|
+
|
|
3800
|
+
}
|
|
3801
|
+
|
|
3802
|
+
enum MusicMessageStyle {
|
|
3803
|
+
UNKNOWN = 0;
|
|
3804
|
+
VINYL = 1;
|
|
3805
|
+
MESSAGE_BUBBLE = 2;
|
|
3806
|
+
LYRICS = 3;
|
|
3807
|
+
}
|
|
2950
3808
|
}
|
|
2951
|
-
|
|
3809
|
+
|
|
2952
3810
|
message NewsletterAdminInviteMessage {
|
|
2953
3811
|
optional string newsletterJid = 1;
|
|
2954
3812
|
optional string newsletterName = 2;
|
|
@@ -2957,7 +3815,7 @@ message Message {
|
|
|
2957
3815
|
optional int64 inviteExpiration = 5;
|
|
2958
3816
|
optional ContextInfo contextInfo = 6;
|
|
2959
3817
|
}
|
|
2960
|
-
|
|
3818
|
+
|
|
2961
3819
|
message NewsletterFollowerInviteMessage {
|
|
2962
3820
|
optional string newsletterJid = 1;
|
|
2963
3821
|
optional string newsletterName = 2;
|
|
@@ -2965,7 +3823,7 @@ message Message {
|
|
|
2965
3823
|
optional string caption = 4;
|
|
2966
3824
|
optional ContextInfo contextInfo = 5;
|
|
2967
3825
|
}
|
|
2968
|
-
|
|
3826
|
+
|
|
2969
3827
|
message OrderMessage {
|
|
2970
3828
|
optional string orderId = 1;
|
|
2971
3829
|
optional bytes thumbnail = 2;
|
|
@@ -2991,24 +3849,51 @@ message Message {
|
|
|
2991
3849
|
CATALOG = 1;
|
|
2992
3850
|
}
|
|
2993
3851
|
}
|
|
2994
|
-
|
|
3852
|
+
|
|
3853
|
+
message PaymentDetailsMessage {
|
|
3854
|
+
optional ServiceType serviceType = 1;
|
|
3855
|
+
optional Money amount = 2;
|
|
3856
|
+
optional string payeeName = 3;
|
|
3857
|
+
optional string payerName = 4;
|
|
3858
|
+
optional int64 transactionTimestampMs = 5;
|
|
3859
|
+
optional string transactionId = 6;
|
|
3860
|
+
optional Status status = 7;
|
|
3861
|
+
optional ContextInfo contextInfo = 17;
|
|
3862
|
+
enum ServiceType {
|
|
3863
|
+
UNKNOWN = 0;
|
|
3864
|
+
UPI = 1;
|
|
3865
|
+
}
|
|
3866
|
+
enum Status {
|
|
3867
|
+
STATUS_UNKNOWN = 0;
|
|
3868
|
+
SUCCESS = 1;
|
|
3869
|
+
}
|
|
3870
|
+
}
|
|
3871
|
+
|
|
2995
3872
|
message PaymentExtendedMetadata {
|
|
2996
3873
|
optional uint32 type = 1;
|
|
2997
3874
|
optional string platform = 2;
|
|
2998
3875
|
optional string messageParamsJson = 3;
|
|
2999
3876
|
}
|
|
3000
|
-
|
|
3877
|
+
|
|
3001
3878
|
message PaymentInviteMessage {
|
|
3002
3879
|
optional ServiceType serviceType = 1;
|
|
3003
3880
|
optional int64 expiryTimestamp = 2;
|
|
3881
|
+
optional bool incentiveEligible = 3;
|
|
3882
|
+
optional string referralId = 4;
|
|
3883
|
+
optional InviteType inviteType = 5;
|
|
3884
|
+
enum InviteType {
|
|
3885
|
+
DEFAULT = 0;
|
|
3886
|
+
MAPPER = 1;
|
|
3887
|
+
}
|
|
3004
3888
|
enum ServiceType {
|
|
3005
3889
|
UNKNOWN = 0;
|
|
3006
3890
|
FBPAY = 1;
|
|
3007
3891
|
NOVI = 2;
|
|
3008
3892
|
UPI = 3;
|
|
3893
|
+
PIX = 4;
|
|
3009
3894
|
}
|
|
3010
3895
|
}
|
|
3011
|
-
|
|
3896
|
+
|
|
3012
3897
|
message PaymentLinkMetadata {
|
|
3013
3898
|
optional PaymentLinkButton button = 1;
|
|
3014
3899
|
optional PaymentLinkHeader header = 2;
|
|
@@ -3016,7 +3901,7 @@ message Message {
|
|
|
3016
3901
|
message PaymentLinkButton {
|
|
3017
3902
|
optional string displayText = 1;
|
|
3018
3903
|
}
|
|
3019
|
-
|
|
3904
|
+
|
|
3020
3905
|
message PaymentLinkHeader {
|
|
3021
3906
|
optional PaymentLinkHeaderType headerType = 1;
|
|
3022
3907
|
enum PaymentLinkHeaderType {
|
|
@@ -3024,13 +3909,40 @@ message Message {
|
|
|
3024
3909
|
ORDER = 1;
|
|
3025
3910
|
}
|
|
3026
3911
|
}
|
|
3027
|
-
|
|
3912
|
+
|
|
3028
3913
|
message PaymentLinkProvider {
|
|
3029
3914
|
optional string paramsJson = 1;
|
|
3030
3915
|
}
|
|
3031
|
-
|
|
3032
|
-
}
|
|
3033
|
-
|
|
3916
|
+
|
|
3917
|
+
}
|
|
3918
|
+
|
|
3919
|
+
message PaymentReminderMessage {
|
|
3920
|
+
optional string reminderId = 1;
|
|
3921
|
+
optional string instanceId = 2;
|
|
3922
|
+
optional string description = 3;
|
|
3923
|
+
optional ReminderFrequency frequency = 4;
|
|
3924
|
+
optional ReminderStatus status = 5;
|
|
3925
|
+
optional string payeeVpa = 6;
|
|
3926
|
+
optional string payeeJid = 7;
|
|
3927
|
+
optional string payerJid = 8;
|
|
3928
|
+
optional Money amount = 9;
|
|
3929
|
+
enum ReminderFrequency {
|
|
3930
|
+
REMINDER_FREQUENCY_UNKNOWN = 0;
|
|
3931
|
+
WEEKLY = 1;
|
|
3932
|
+
BI_WEEKLY = 2;
|
|
3933
|
+
MONTHLY = 3;
|
|
3934
|
+
QUARTERLY = 4;
|
|
3935
|
+
}
|
|
3936
|
+
enum ReminderStatus {
|
|
3937
|
+
REMINDER_STATUS_UNKNOWN = 0;
|
|
3938
|
+
ACTIVE = 1;
|
|
3939
|
+
CANCELLED_BY_CREATOR = 2;
|
|
3940
|
+
STOPPED_BY_RECEIVER = 3;
|
|
3941
|
+
EXPIRED = 4;
|
|
3942
|
+
PAID = 5;
|
|
3943
|
+
}
|
|
3944
|
+
}
|
|
3945
|
+
|
|
3034
3946
|
message PeerDataOperationRequestMessage {
|
|
3035
3947
|
optional Message.PeerDataOperationRequestType peerDataOperationRequestType = 1;
|
|
3036
3948
|
repeated RequestStickerReupload requestStickerReupload = 2;
|
|
@@ -3041,27 +3953,47 @@ message Message {
|
|
|
3041
3953
|
optional SyncDCollectionFatalRecoveryRequest syncdCollectionFatalRecoveryRequest = 7;
|
|
3042
3954
|
optional HistorySyncChunkRetryRequest historySyncChunkRetryRequest = 8;
|
|
3043
3955
|
optional GalaxyFlowAction galaxyFlowAction = 9;
|
|
3956
|
+
optional CompanionCanonicalUserNonceFetchRequest companionCanonicalUserNonceFetchRequest = 10;
|
|
3957
|
+
optional BizBroadcastInsightsContactListRequest bizBroadcastInsightsContactListRequest = 11;
|
|
3958
|
+
optional BizBroadcastInsightsRefreshRequest bizBroadcastInsightsRefreshRequest = 12;
|
|
3959
|
+
optional RecentConversationsOnDemandRequest recentConversationsOnDemandRequest = 13;
|
|
3960
|
+
message BizBroadcastInsightsContactListRequest {
|
|
3961
|
+
optional string campaignId = 1;
|
|
3962
|
+
}
|
|
3963
|
+
|
|
3964
|
+
message BizBroadcastInsightsRefreshRequest {
|
|
3965
|
+
optional string campaignId = 1;
|
|
3966
|
+
}
|
|
3967
|
+
|
|
3968
|
+
message CompanionCanonicalUserNonceFetchRequest {
|
|
3969
|
+
optional string registrationTraceId = 1;
|
|
3970
|
+
}
|
|
3971
|
+
|
|
3044
3972
|
message FullHistorySyncOnDemandRequest {
|
|
3045
3973
|
optional Message.FullHistorySyncOnDemandRequestMetadata requestMetadata = 1;
|
|
3046
3974
|
optional DeviceProps.HistorySyncConfig historySyncConfig = 2;
|
|
3975
|
+
optional Message.FullHistorySyncOnDemandConfig fullHistorySyncOnDemandConfig = 3;
|
|
3047
3976
|
}
|
|
3048
|
-
|
|
3977
|
+
|
|
3049
3978
|
message GalaxyFlowAction {
|
|
3050
3979
|
optional GalaxyFlowActionType type = 1;
|
|
3051
3980
|
optional string flowId = 2;
|
|
3052
3981
|
optional string stanzaId = 3;
|
|
3982
|
+
optional string galaxyFlowDownloadRequestId = 4;
|
|
3983
|
+
optional string agmId = 5;
|
|
3053
3984
|
enum GalaxyFlowActionType {
|
|
3054
3985
|
NOTIFY_LAUNCH = 1;
|
|
3986
|
+
DOWNLOAD_RESPONSES = 2;
|
|
3055
3987
|
}
|
|
3056
3988
|
}
|
|
3057
|
-
|
|
3989
|
+
|
|
3058
3990
|
message HistorySyncChunkRetryRequest {
|
|
3059
3991
|
optional Message.HistorySyncType syncType = 1;
|
|
3060
3992
|
optional uint32 chunkOrder = 2;
|
|
3061
3993
|
optional string chunkNotificationId = 3;
|
|
3062
3994
|
optional bool regenerateChunk = 4;
|
|
3063
3995
|
}
|
|
3064
|
-
|
|
3996
|
+
|
|
3065
3997
|
message HistorySyncOnDemandRequest {
|
|
3066
3998
|
optional string chatJid = 1;
|
|
3067
3999
|
optional string oldestMsgId = 2;
|
|
@@ -3069,28 +4001,39 @@ message Message {
|
|
|
3069
4001
|
optional int32 onDemandMsgCount = 4;
|
|
3070
4002
|
optional int64 oldestMsgTimestampMs = 5;
|
|
3071
4003
|
optional string accountLid = 6;
|
|
4004
|
+
optional bool supportInlineResponse = 7;
|
|
4005
|
+
optional Mode mode = 8;
|
|
4006
|
+
enum Mode {
|
|
4007
|
+
MODE_UNSPECIFIED = 0;
|
|
4008
|
+
INITIAL_REVERSE_HISTORY = 1;
|
|
4009
|
+
}
|
|
3072
4010
|
}
|
|
3073
|
-
|
|
4011
|
+
|
|
3074
4012
|
message PlaceholderMessageResendRequest {
|
|
3075
4013
|
optional MessageKey messageKey = 1;
|
|
3076
4014
|
}
|
|
3077
|
-
|
|
4015
|
+
|
|
4016
|
+
message RecentConversationsOnDemandRequest {
|
|
4017
|
+
optional uint32 conversationCount = 1;
|
|
4018
|
+
optional uint32 messagesPerConversation = 2;
|
|
4019
|
+
}
|
|
4020
|
+
|
|
3078
4021
|
message RequestStickerReupload {
|
|
3079
4022
|
optional string fileSha256 = 1;
|
|
3080
4023
|
}
|
|
3081
|
-
|
|
4024
|
+
|
|
3082
4025
|
message RequestUrlPreview {
|
|
3083
4026
|
optional string url = 1;
|
|
3084
4027
|
optional bool includeHqThumbnail = 2;
|
|
3085
4028
|
}
|
|
3086
|
-
|
|
4029
|
+
|
|
3087
4030
|
message SyncDCollectionFatalRecoveryRequest {
|
|
3088
4031
|
optional string collectionName = 1;
|
|
3089
4032
|
optional int64 timestamp = 2;
|
|
3090
4033
|
}
|
|
3091
|
-
|
|
4034
|
+
|
|
3092
4035
|
}
|
|
3093
|
-
|
|
4036
|
+
|
|
3094
4037
|
message PeerDataOperationRequestResponseMessage {
|
|
3095
4038
|
optional Message.PeerDataOperationRequestType peerDataOperationRequestType = 1;
|
|
3096
4039
|
optional string stanzaId = 2;
|
|
@@ -3106,21 +4049,55 @@ message Message {
|
|
|
3106
4049
|
optional SyncDSnapshotFatalRecoveryResponse syncdSnapshotFatalRecoveryResponse = 8;
|
|
3107
4050
|
optional CompanionCanonicalUserNonceFetchResponse companionCanonicalUserNonceFetchRequestResponse = 9;
|
|
3108
4051
|
optional HistorySyncChunkRetryResponse historySyncChunkRetryResponse = 10;
|
|
4052
|
+
optional FlowResponsesCsvBundle flowResponsesCsvBundle = 11;
|
|
4053
|
+
optional BizBroadcastInsightsContactListResponse bizBroadcastInsightsContactListResponse = 12;
|
|
4054
|
+
optional ContactRefreshResponse contactRefreshResponse = 13;
|
|
4055
|
+
message BizBroadcastInsightsContactListResponse {
|
|
4056
|
+
optional string campaignId = 1;
|
|
4057
|
+
optional int64 timestampMs = 2;
|
|
4058
|
+
repeated Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.BizBroadcastInsightsContactState contacts = 3;
|
|
4059
|
+
}
|
|
4060
|
+
|
|
4061
|
+
message BizBroadcastInsightsContactState {
|
|
4062
|
+
optional string contactJid = 1;
|
|
4063
|
+
optional Message.InsightDeliveryState state = 2;
|
|
4064
|
+
}
|
|
4065
|
+
|
|
3109
4066
|
message CompanionCanonicalUserNonceFetchResponse {
|
|
3110
4067
|
optional string nonce = 1;
|
|
3111
4068
|
optional string waFbid = 2;
|
|
3112
4069
|
optional bool forceRefresh = 3;
|
|
3113
4070
|
}
|
|
3114
|
-
|
|
4071
|
+
|
|
3115
4072
|
message CompanionMetaNonceFetchResponse {
|
|
3116
4073
|
optional string nonce = 1;
|
|
3117
4074
|
}
|
|
3118
|
-
|
|
4075
|
+
|
|
4076
|
+
message ContactRefreshResponse {
|
|
4077
|
+
repeated string coveredRequestIds = 1;
|
|
4078
|
+
optional uint64 collectionVersion = 2;
|
|
4079
|
+
optional int64 primaryDurationMs = 3;
|
|
4080
|
+
optional uint32 uniqueContactCount = 4;
|
|
4081
|
+
}
|
|
4082
|
+
|
|
4083
|
+
message FlowResponsesCsvBundle {
|
|
4084
|
+
optional string flowId = 1;
|
|
4085
|
+
optional string galaxyFlowDownloadRequestId = 2;
|
|
4086
|
+
optional string fileName = 3;
|
|
4087
|
+
optional string mimetype = 4;
|
|
4088
|
+
optional bytes fileSha256 = 5;
|
|
4089
|
+
optional bytes mediaKey = 6;
|
|
4090
|
+
optional bytes fileEncSha256 = 7;
|
|
4091
|
+
optional string directPath = 8;
|
|
4092
|
+
optional int64 mediaKeyTimestamp = 9;
|
|
4093
|
+
optional uint64 fileLength = 10;
|
|
4094
|
+
}
|
|
4095
|
+
|
|
3119
4096
|
message FullHistorySyncOnDemandRequestResponse {
|
|
3120
4097
|
optional Message.FullHistorySyncOnDemandRequestMetadata requestMetadata = 1;
|
|
3121
4098
|
optional Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FullHistorySyncOnDemandResponseCode responseCode = 2;
|
|
3122
4099
|
}
|
|
3123
|
-
|
|
4100
|
+
|
|
3124
4101
|
enum FullHistorySyncOnDemandResponseCode {
|
|
3125
4102
|
REQUEST_SUCCESS = 0;
|
|
3126
4103
|
REQUEST_TIME_EXPIRED = 1;
|
|
@@ -3129,6 +4106,7 @@ message Message {
|
|
|
3129
4106
|
ERROR_REQUEST_ON_NON_SMB_PRIMARY = 4;
|
|
3130
4107
|
ERROR_HOSTED_DEVICE_NOT_CONNECTED = 5;
|
|
3131
4108
|
ERROR_HOSTED_DEVICE_LOGIN_TIME_NOT_SET = 6;
|
|
4109
|
+
ERROR_MULTI_PROVIDER_NOT_CONFIGURED = 7;
|
|
3132
4110
|
}
|
|
3133
4111
|
message HistorySyncChunkRetryResponse {
|
|
3134
4112
|
optional Message.HistorySyncType syncType = 1;
|
|
@@ -3137,7 +4115,7 @@ message Message {
|
|
|
3137
4115
|
optional Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.HistorySyncChunkRetryResponseCode responseCode = 4;
|
|
3138
4116
|
optional bool canRecover = 5;
|
|
3139
4117
|
}
|
|
3140
|
-
|
|
4118
|
+
|
|
3141
4119
|
enum HistorySyncChunkRetryResponseCode {
|
|
3142
4120
|
GENERATION_ERROR = 1;
|
|
3143
4121
|
CHUNK_CONSUMED = 2;
|
|
@@ -3164,32 +4142,35 @@ message Message {
|
|
|
3164
4142
|
optional int32 thumbWidth = 6;
|
|
3165
4143
|
optional int32 thumbHeight = 7;
|
|
3166
4144
|
}
|
|
3167
|
-
|
|
4145
|
+
|
|
3168
4146
|
message PaymentLinkPreviewMetadata {
|
|
3169
4147
|
optional bool isBusinessVerified = 1;
|
|
3170
4148
|
optional string providerName = 2;
|
|
4149
|
+
optional string amount = 3;
|
|
4150
|
+
optional string offset = 4;
|
|
4151
|
+
optional string currency = 5;
|
|
3171
4152
|
}
|
|
3172
|
-
|
|
4153
|
+
|
|
3173
4154
|
}
|
|
3174
|
-
|
|
4155
|
+
|
|
3175
4156
|
message PlaceholderMessageResendResponse {
|
|
3176
4157
|
optional bytes webMessageInfoBytes = 1;
|
|
3177
4158
|
}
|
|
3178
|
-
|
|
4159
|
+
|
|
3179
4160
|
message SyncDSnapshotFatalRecoveryResponse {
|
|
3180
4161
|
optional bytes collectionSnapshot = 1;
|
|
3181
4162
|
optional bool isCompressed = 2;
|
|
3182
4163
|
}
|
|
3183
|
-
|
|
4164
|
+
|
|
3184
4165
|
message WaffleNonceFetchResponse {
|
|
3185
4166
|
optional string nonce = 1;
|
|
3186
4167
|
optional string waEntFbid = 2;
|
|
3187
4168
|
}
|
|
3188
|
-
|
|
4169
|
+
|
|
3189
4170
|
}
|
|
3190
|
-
|
|
4171
|
+
|
|
3191
4172
|
}
|
|
3192
|
-
|
|
4173
|
+
|
|
3193
4174
|
enum PeerDataOperationRequestType {
|
|
3194
4175
|
UPLOAD_STICKER = 0;
|
|
3195
4176
|
SEND_RECENT_STICKER_BOOTSTRAP = 1;
|
|
@@ -3203,6 +4184,10 @@ message Message {
|
|
|
3203
4184
|
COMPANION_CANONICAL_USER_NONCE_FETCH = 9;
|
|
3204
4185
|
HISTORY_SYNC_CHUNK_RETRY = 10;
|
|
3205
4186
|
GALAXY_FLOW_ACTION = 11;
|
|
4187
|
+
BUSINESS_BROADCAST_INSIGHTS_DELIVERED_TO = 12;
|
|
4188
|
+
BUSINESS_BROADCAST_INSIGHTS_REFRESH = 13;
|
|
4189
|
+
CONTACT_REFRESH_REQUEST = 14;
|
|
4190
|
+
RECENT_CONVERSATIONS_ON_DEMAND_REQUEST = 15;
|
|
3206
4191
|
}
|
|
3207
4192
|
message PinInChatMessage {
|
|
3208
4193
|
optional MessageKey key = 1;
|
|
@@ -3214,14 +4199,20 @@ message Message {
|
|
|
3214
4199
|
UNPIN_FOR_ALL = 2;
|
|
3215
4200
|
}
|
|
3216
4201
|
}
|
|
3217
|
-
|
|
4202
|
+
|
|
3218
4203
|
message PlaceholderMessage {
|
|
3219
4204
|
optional PlaceholderType type = 1;
|
|
3220
4205
|
enum PlaceholderType {
|
|
3221
4206
|
MASK_LINKED_DEVICES = 0;
|
|
3222
4207
|
}
|
|
3223
4208
|
}
|
|
3224
|
-
|
|
4209
|
+
|
|
4210
|
+
message PollAddOptionMessage {
|
|
4211
|
+
optional MessageKey pollCreationMessageKey = 1;
|
|
4212
|
+
optional Message.PollCreationMessage.Option addOption = 2;
|
|
4213
|
+
optional Message.PollUpdateMessageMetadata metadata = 3;
|
|
4214
|
+
}
|
|
4215
|
+
|
|
3225
4216
|
enum PollContentType {
|
|
3226
4217
|
UNKNOWN = 0;
|
|
3227
4218
|
TEXT = 1;
|
|
@@ -3236,18 +4227,23 @@ message Message {
|
|
|
3236
4227
|
optional Message.PollContentType pollContentType = 6;
|
|
3237
4228
|
optional Message.PollType pollType = 7;
|
|
3238
4229
|
optional Option correctAnswer = 8;
|
|
4230
|
+
optional int64 endTime = 9;
|
|
4231
|
+
optional bool hideParticipantName = 10;
|
|
4232
|
+
optional bool allowAddOption = 11;
|
|
4233
|
+
optional bool shuffleOptions = 12;
|
|
3239
4234
|
message Option {
|
|
3240
4235
|
optional string optionName = 1;
|
|
3241
4236
|
optional string optionHash = 2;
|
|
4237
|
+
optional int64 optionDatetime = 3;
|
|
3242
4238
|
}
|
|
3243
|
-
|
|
4239
|
+
|
|
3244
4240
|
}
|
|
3245
|
-
|
|
4241
|
+
|
|
3246
4242
|
message PollEncValue {
|
|
3247
4243
|
optional bytes encPayload = 1;
|
|
3248
4244
|
optional bytes encIv = 2;
|
|
3249
4245
|
}
|
|
3250
|
-
|
|
4246
|
+
|
|
3251
4247
|
message PollResultSnapshotMessage {
|
|
3252
4248
|
optional string name = 1;
|
|
3253
4249
|
repeated PollVote pollVotes = 2;
|
|
@@ -3257,9 +4253,9 @@ message Message {
|
|
|
3257
4253
|
optional string optionName = 1;
|
|
3258
4254
|
optional int64 optionVoteCount = 2;
|
|
3259
4255
|
}
|
|
3260
|
-
|
|
4256
|
+
|
|
3261
4257
|
}
|
|
3262
|
-
|
|
4258
|
+
|
|
3263
4259
|
enum PollType {
|
|
3264
4260
|
POLL = 0;
|
|
3265
4261
|
QUIZ = 1;
|
|
@@ -3270,14 +4266,16 @@ message Message {
|
|
|
3270
4266
|
optional Message.PollUpdateMessageMetadata metadata = 3;
|
|
3271
4267
|
optional int64 senderTimestampMs = 4;
|
|
3272
4268
|
}
|
|
3273
|
-
|
|
4269
|
+
|
|
3274
4270
|
message PollUpdateMessageMetadata {
|
|
4271
|
+
optional bytes pollNameHash = 1;
|
|
4272
|
+
optional string lastEditStanzaId = 2;
|
|
3275
4273
|
}
|
|
3276
|
-
|
|
4274
|
+
|
|
3277
4275
|
message PollVoteMessage {
|
|
3278
4276
|
repeated bytes selectedOptions = 1;
|
|
3279
4277
|
}
|
|
3280
|
-
|
|
4278
|
+
|
|
3281
4279
|
message ProductMessage {
|
|
3282
4280
|
optional ProductSnapshot product = 1;
|
|
3283
4281
|
optional string businessOwnerJid = 2;
|
|
@@ -3290,7 +4288,7 @@ message Message {
|
|
|
3290
4288
|
optional string title = 2;
|
|
3291
4289
|
optional string description = 3;
|
|
3292
4290
|
}
|
|
3293
|
-
|
|
4291
|
+
|
|
3294
4292
|
message ProductSnapshot {
|
|
3295
4293
|
optional Message.ImageMessage productImage = 1;
|
|
3296
4294
|
optional string productId = 2;
|
|
@@ -3305,9 +4303,9 @@ message Message {
|
|
|
3305
4303
|
optional int64 salePriceAmount1000 = 12;
|
|
3306
4304
|
optional string signedUrl = 13;
|
|
3307
4305
|
}
|
|
3308
|
-
|
|
4306
|
+
|
|
3309
4307
|
}
|
|
3310
|
-
|
|
4308
|
+
|
|
3311
4309
|
message ProtocolMessage {
|
|
3312
4310
|
optional MessageKey key = 1;
|
|
3313
4311
|
optional Type type = 2;
|
|
@@ -3333,6 +4331,26 @@ message Message {
|
|
|
3333
4331
|
optional bytes aiPsiMetadata = 25;
|
|
3334
4332
|
optional AIQueryFanout aiQueryFanout = 26;
|
|
3335
4333
|
optional MemberLabel memberLabel = 27;
|
|
4334
|
+
optional AIMediaCollectionMessage aiMediaCollectionMessage = 28;
|
|
4335
|
+
optional uint32 afterReadDuration = 29;
|
|
4336
|
+
optional Message.ChatThemeSetting chatThemeSetting = 30;
|
|
4337
|
+
optional AIMetadataOperation aiMetadataOperation = 31;
|
|
4338
|
+
optional Message.MarkAsVerifiedAction markAsVerifiedAction = 32;
|
|
4339
|
+
optional CoexStateSync coexStateSync = 33;
|
|
4340
|
+
optional ACP2Setting acp2Setting = 35;
|
|
4341
|
+
optional Message.SharedDeviceContactHashKeyShare sharedDeviceContactHashKeyShare = 36;
|
|
4342
|
+
optional Message.SharedDeviceContactHashKeyRequest sharedDeviceContactHashKeyRequest = 37;
|
|
4343
|
+
repeated string additionalPromptIds = 38;
|
|
4344
|
+
optional GroupRootKeyRequest groupRootKeyRequest = 39;
|
|
4345
|
+
optional MembershipFormKeyFingerprintVerification membershipFormKeyFingerprintVerification = 40;
|
|
4346
|
+
optional GroupRootKeyShare groupRootKeyShare = 41;
|
|
4347
|
+
optional MessageEditDisplayType messageEditDisplayType = 42;
|
|
4348
|
+
optional DraftMessageSync draftMessageSync = 43;
|
|
4349
|
+
optional Message.CompanionRecoveryKeyDistribution companionRecoveryKeyDistribution = 44;
|
|
4350
|
+
enum MessageEditDisplayType {
|
|
4351
|
+
DEFAULT = 0;
|
|
4352
|
+
LINK_PREVIEW_ONLY = 1;
|
|
4353
|
+
}
|
|
3336
4354
|
enum Type {
|
|
3337
4355
|
REVOKE = 0;
|
|
3338
4356
|
EPHEMERAL_SETTING = 3;
|
|
@@ -3360,21 +4378,49 @@ message Message {
|
|
|
3360
4378
|
AI_PSI_METADATA = 28;
|
|
3361
4379
|
AI_QUERY_FANOUT = 29;
|
|
3362
4380
|
GROUP_MEMBER_LABEL_CHANGE = 30;
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
4381
|
+
AI_MEDIA_COLLECTION_MESSAGE = 31;
|
|
4382
|
+
MESSAGE_UNSCHEDULE = 32;
|
|
4383
|
+
CHAT_THEME_SETTING = 34;
|
|
4384
|
+
AI_METADATA_OPERATION = 35;
|
|
4385
|
+
MARK_AS_VERIFIED_ACTION = 36;
|
|
4386
|
+
COEX_STATE_SYNC = 37;
|
|
4387
|
+
ACP2_SETTING = 39;
|
|
4388
|
+
SHARED_DEVICE_CONTACT_HASH_KEY_SHARE = 40;
|
|
4389
|
+
SHARED_DEVICE_CONTACT_HASH_KEY_REQUEST = 41;
|
|
4390
|
+
GROUP_ROOT_KEY_REQUEST = 42;
|
|
4391
|
+
MEMBERSHIP_FORM_KEY_FINGERPRINT_VERIFICATION = 43;
|
|
4392
|
+
GROUP_ROOT_KEY_SHARE = 44;
|
|
4393
|
+
DRAFT_MESSAGE_SYNC = 45;
|
|
4394
|
+
COMPANION_RECOVERY_KEY_DISTRIBUTION = 46;
|
|
4395
|
+
}
|
|
4396
|
+
}
|
|
4397
|
+
|
|
3366
4398
|
message QuestionResponseMessage {
|
|
3367
4399
|
optional MessageKey key = 1;
|
|
3368
4400
|
optional string text = 2;
|
|
3369
4401
|
}
|
|
3370
|
-
|
|
4402
|
+
|
|
3371
4403
|
message ReactionMessage {
|
|
3372
4404
|
optional MessageKey key = 1;
|
|
3373
4405
|
optional string text = 2;
|
|
3374
4406
|
optional string groupingKey = 3;
|
|
3375
4407
|
optional int64 senderTimestampMs = 4;
|
|
3376
4408
|
}
|
|
3377
|
-
|
|
4409
|
+
|
|
4410
|
+
message RequestLocationMessage {
|
|
4411
|
+
optional ContextInfo contextInfo = 1;
|
|
4412
|
+
}
|
|
4413
|
+
|
|
4414
|
+
message RequestLocationUpdateMessage {
|
|
4415
|
+
optional MessageKey key = 1;
|
|
4416
|
+
optional UpdateType updateType = 2;
|
|
4417
|
+
optional int64 senderTimestampMs = 3;
|
|
4418
|
+
enum UpdateType {
|
|
4419
|
+
UNKNOWN = 0;
|
|
4420
|
+
CANCEL = 1;
|
|
4421
|
+
}
|
|
4422
|
+
}
|
|
4423
|
+
|
|
3378
4424
|
message RequestPaymentMessage {
|
|
3379
4425
|
optional Message noteMessage = 4;
|
|
3380
4426
|
optional string currencyCodeIso4217 = 1;
|
|
@@ -3384,19 +4430,30 @@ message Message {
|
|
|
3384
4430
|
optional Money amount = 6;
|
|
3385
4431
|
optional PaymentBackground background = 7;
|
|
3386
4432
|
}
|
|
3387
|
-
|
|
4433
|
+
|
|
3388
4434
|
message RequestPhoneNumberMessage {
|
|
3389
4435
|
optional ContextInfo contextInfo = 1;
|
|
3390
4436
|
}
|
|
3391
|
-
|
|
4437
|
+
|
|
3392
4438
|
message RequestWelcomeMessageMetadata {
|
|
3393
4439
|
optional LocalChatState localChatState = 1;
|
|
4440
|
+
optional WelcomeTrigger welcomeTrigger = 2;
|
|
4441
|
+
optional BotAgentMetadata botAgentMetadata = 3;
|
|
3394
4442
|
enum LocalChatState {
|
|
3395
4443
|
EMPTY = 0;
|
|
3396
4444
|
NON_EMPTY = 1;
|
|
3397
4445
|
}
|
|
4446
|
+
enum WelcomeTrigger {
|
|
4447
|
+
CHAT_OPEN = 0;
|
|
4448
|
+
COMPANION_PAIRING = 1;
|
|
4449
|
+
NON_META_AI_ACTIVATION = 2;
|
|
4450
|
+
}
|
|
3398
4451
|
}
|
|
3399
|
-
|
|
4452
|
+
|
|
4453
|
+
message RootSecretDistributeMessage {
|
|
4454
|
+
optional string chatJid = 1;
|
|
4455
|
+
}
|
|
4456
|
+
|
|
3400
4457
|
message ScheduledCallCreationMessage {
|
|
3401
4458
|
optional int64 scheduledTimestampMs = 1;
|
|
3402
4459
|
optional CallType callType = 2;
|
|
@@ -3407,7 +4464,7 @@ message Message {
|
|
|
3407
4464
|
VIDEO = 2;
|
|
3408
4465
|
}
|
|
3409
4466
|
}
|
|
3410
|
-
|
|
4467
|
+
|
|
3411
4468
|
message ScheduledCallEditMessage {
|
|
3412
4469
|
optional MessageKey key = 1;
|
|
3413
4470
|
optional EditType editType = 2;
|
|
@@ -3416,31 +4473,90 @@ message Message {
|
|
|
3416
4473
|
CANCEL = 1;
|
|
3417
4474
|
}
|
|
3418
4475
|
}
|
|
3419
|
-
|
|
4476
|
+
|
|
3420
4477
|
message SecretEncryptedMessage {
|
|
3421
4478
|
optional MessageKey targetMessageKey = 1;
|
|
3422
4479
|
optional bytes encPayload = 2;
|
|
3423
4480
|
optional bytes encIv = 3;
|
|
3424
4481
|
optional SecretEncType secretEncType = 4;
|
|
4482
|
+
optional string remoteKeyId = 5;
|
|
3425
4483
|
enum SecretEncType {
|
|
3426
4484
|
UNKNOWN = 0;
|
|
3427
4485
|
EVENT_EDIT = 1;
|
|
3428
4486
|
MESSAGE_EDIT = 2;
|
|
4487
|
+
MESSAGE_SCHEDULE = 3;
|
|
4488
|
+
POLL_EDIT = 4;
|
|
4489
|
+
POLL_ADD_OPTION = 5;
|
|
3429
4490
|
}
|
|
3430
4491
|
}
|
|
3431
|
-
|
|
4492
|
+
|
|
3432
4493
|
message SendPaymentMessage {
|
|
3433
4494
|
optional Message noteMessage = 2;
|
|
3434
4495
|
optional MessageKey requestMessageKey = 3;
|
|
3435
4496
|
optional PaymentBackground background = 4;
|
|
3436
4497
|
optional string transactionData = 5;
|
|
4498
|
+
optional PaymentGift gift = 6;
|
|
3437
4499
|
}
|
|
3438
|
-
|
|
4500
|
+
|
|
3439
4501
|
message SenderKeyDistributionMessage {
|
|
3440
4502
|
optional string groupId = 1;
|
|
3441
4503
|
optional bytes axolotlSenderKeyDistributionMessage = 2;
|
|
3442
4504
|
}
|
|
3443
|
-
|
|
4505
|
+
|
|
4506
|
+
message SharedDeviceContactHashKey {
|
|
4507
|
+
optional uint32 epoch = 1;
|
|
4508
|
+
optional Kind kind = 2;
|
|
4509
|
+
optional bytes keyData = 3;
|
|
4510
|
+
enum Kind {
|
|
4511
|
+
UNKNOWN = 0;
|
|
4512
|
+
LID = 1;
|
|
4513
|
+
PHONE_NUMBER = 2;
|
|
4514
|
+
}
|
|
4515
|
+
}
|
|
4516
|
+
|
|
4517
|
+
message SharedDeviceContactHashKeyRequest {
|
|
4518
|
+
optional uint32 knownEpoch = 1;
|
|
4519
|
+
}
|
|
4520
|
+
|
|
4521
|
+
message SharedDeviceContactHashKeyShare {
|
|
4522
|
+
repeated Message.SharedDeviceContactHashKey keys = 1;
|
|
4523
|
+
}
|
|
4524
|
+
|
|
4525
|
+
message SplitPaymentMessage {
|
|
4526
|
+
optional string splitId = 1;
|
|
4527
|
+
optional Money totalAmount = 2;
|
|
4528
|
+
optional string description = 3;
|
|
4529
|
+
optional string requesterJid = 4;
|
|
4530
|
+
repeated Message.SplitPaymentParticipant participants = 5;
|
|
4531
|
+
optional int64 createdAtMs = 6;
|
|
4532
|
+
optional ContextInfo contextInfo = 17;
|
|
4533
|
+
}
|
|
4534
|
+
|
|
4535
|
+
message SplitPaymentParticipant {
|
|
4536
|
+
optional string jid = 1;
|
|
4537
|
+
optional Money amount = 2;
|
|
4538
|
+
optional SplitPaymentStatus status = 3;
|
|
4539
|
+
enum SplitPaymentStatus {
|
|
4540
|
+
PENDING = 0;
|
|
4541
|
+
PAID = 1;
|
|
4542
|
+
}
|
|
4543
|
+
}
|
|
4544
|
+
|
|
4545
|
+
message SplitPaymentUpdateMessage {
|
|
4546
|
+
optional string splitId = 1;
|
|
4547
|
+
optional string participantJid = 2;
|
|
4548
|
+
}
|
|
4549
|
+
|
|
4550
|
+
message StatusLinkPreviewMetadata {
|
|
4551
|
+
optional Style style = 1;
|
|
4552
|
+
enum Style {
|
|
4553
|
+
AUTO = 0;
|
|
4554
|
+
COMPACT = 1;
|
|
4555
|
+
FULL = 2;
|
|
4556
|
+
IMMERSIVE = 3;
|
|
4557
|
+
}
|
|
4558
|
+
}
|
|
4559
|
+
|
|
3444
4560
|
message StatusNotificationMessage {
|
|
3445
4561
|
optional MessageKey responseMessageKey = 1;
|
|
3446
4562
|
optional MessageKey originalMessageKey = 2;
|
|
@@ -3450,14 +4566,15 @@ message Message {
|
|
|
3450
4566
|
STATUS_ADD_YOURS = 1;
|
|
3451
4567
|
STATUS_RESHARE = 2;
|
|
3452
4568
|
STATUS_QUESTION_ANSWER_RESHARE = 3;
|
|
4569
|
+
STATUS_GROUP_STATUS_REPLY = 4;
|
|
3453
4570
|
}
|
|
3454
4571
|
}
|
|
3455
|
-
|
|
4572
|
+
|
|
3456
4573
|
message StatusQuestionAnswerMessage {
|
|
3457
4574
|
optional MessageKey key = 1;
|
|
3458
4575
|
optional string text = 2;
|
|
3459
4576
|
}
|
|
3460
|
-
|
|
4577
|
+
|
|
3461
4578
|
message StatusQuotedMessage {
|
|
3462
4579
|
optional StatusQuotedMessageType type = 1;
|
|
3463
4580
|
optional string text = 2;
|
|
@@ -3467,7 +4584,7 @@ message Message {
|
|
|
3467
4584
|
QUESTION_ANSWER = 1;
|
|
3468
4585
|
}
|
|
3469
4586
|
}
|
|
3470
|
-
|
|
4587
|
+
|
|
3471
4588
|
message StatusStickerInteractionMessage {
|
|
3472
4589
|
optional MessageKey key = 1;
|
|
3473
4590
|
optional string stickerKey = 2;
|
|
@@ -3477,7 +4594,7 @@ message Message {
|
|
|
3477
4594
|
REACTION = 1;
|
|
3478
4595
|
}
|
|
3479
4596
|
}
|
|
3480
|
-
|
|
4597
|
+
|
|
3481
4598
|
message StickerMessage {
|
|
3482
4599
|
optional string url = 1;
|
|
3483
4600
|
optional bytes fileSha256 = 2;
|
|
@@ -3499,9 +4616,13 @@ message Message {
|
|
|
3499
4616
|
optional bool isAiSticker = 20;
|
|
3500
4617
|
optional bool isLottie = 21;
|
|
3501
4618
|
optional string accessibilityLabel = 22;
|
|
3502
|
-
optional
|
|
4619
|
+
optional int32 premium = 24;
|
|
4620
|
+
optional string emojis = 25;
|
|
4621
|
+
oneof audio {
|
|
4622
|
+
Message.AudioMessage audioMessage = 26;
|
|
4623
|
+
}
|
|
3503
4624
|
}
|
|
3504
|
-
|
|
4625
|
+
|
|
3505
4626
|
message StickerPackMessage {
|
|
3506
4627
|
optional string stickerPackId = 1;
|
|
3507
4628
|
optional string name = 2;
|
|
@@ -3532,21 +4653,30 @@ message Message {
|
|
|
3532
4653
|
optional string accessibilityLabel = 4;
|
|
3533
4654
|
optional bool isLottie = 5;
|
|
3534
4655
|
optional string mimetype = 6;
|
|
4656
|
+
optional int32 premium = 7;
|
|
4657
|
+
optional Audio audio = 8;
|
|
4658
|
+
message Audio {
|
|
4659
|
+
optional string fileName = 1;
|
|
4660
|
+
optional bytes fileSha256 = 2;
|
|
4661
|
+
optional string mimetype = 3;
|
|
4662
|
+
optional bytes waveform = 4;
|
|
4663
|
+
}
|
|
4664
|
+
|
|
3535
4665
|
}
|
|
3536
|
-
|
|
4666
|
+
|
|
3537
4667
|
enum StickerPackOrigin {
|
|
3538
4668
|
FIRST_PARTY = 0;
|
|
3539
4669
|
THIRD_PARTY = 1;
|
|
3540
4670
|
USER_CREATED = 2;
|
|
3541
4671
|
}
|
|
3542
4672
|
}
|
|
3543
|
-
|
|
4673
|
+
|
|
3544
4674
|
message StickerSyncRMRMessage {
|
|
3545
4675
|
repeated string filehash = 1;
|
|
3546
4676
|
optional string rmrSource = 2;
|
|
3547
4677
|
optional int64 requestTimestamp = 3;
|
|
3548
4678
|
}
|
|
3549
|
-
|
|
4679
|
+
|
|
3550
4680
|
message TemplateButtonReplyMessage {
|
|
3551
4681
|
optional string selectedId = 1;
|
|
3552
4682
|
optional string selectedDisplayText = 2;
|
|
@@ -3554,7 +4684,7 @@ message Message {
|
|
|
3554
4684
|
optional uint32 selectedIndex = 4;
|
|
3555
4685
|
optional uint32 selectedCarouselCardIndex = 5;
|
|
3556
4686
|
}
|
|
3557
|
-
|
|
4687
|
+
|
|
3558
4688
|
message TemplateMessage {
|
|
3559
4689
|
optional ContextInfo contextInfo = 3;
|
|
3560
4690
|
optional HydratedFourRowTemplate hydratedTemplate = 4;
|
|
@@ -3576,7 +4706,7 @@ message Message {
|
|
|
3576
4706
|
Message.LocationMessage locationMessage = 5;
|
|
3577
4707
|
}
|
|
3578
4708
|
}
|
|
3579
|
-
|
|
4709
|
+
|
|
3580
4710
|
message HydratedFourRowTemplate {
|
|
3581
4711
|
optional string hydratedContentText = 6;
|
|
3582
4712
|
optional string hydratedFooterText = 7;
|
|
@@ -3591,20 +4721,20 @@ message Message {
|
|
|
3591
4721
|
Message.LocationMessage locationMessage = 5;
|
|
3592
4722
|
}
|
|
3593
4723
|
}
|
|
3594
|
-
|
|
4724
|
+
|
|
3595
4725
|
}
|
|
3596
|
-
|
|
4726
|
+
|
|
3597
4727
|
message URLMetadata {
|
|
3598
4728
|
optional uint32 fbExperimentId = 1;
|
|
3599
4729
|
}
|
|
3600
|
-
|
|
4730
|
+
|
|
3601
4731
|
message VideoEndCard {
|
|
3602
|
-
string username = 1;
|
|
3603
|
-
string caption = 2;
|
|
3604
|
-
string thumbnailImageUrl = 3;
|
|
3605
|
-
string profilePictureUrl = 4;
|
|
4732
|
+
optional string username = 1;
|
|
4733
|
+
optional string caption = 2;
|
|
4734
|
+
optional string thumbnailImageUrl = 3;
|
|
4735
|
+
optional string profilePictureUrl = 4;
|
|
3606
4736
|
}
|
|
3607
|
-
|
|
4737
|
+
|
|
3608
4738
|
message VideoMessage {
|
|
3609
4739
|
optional string url = 1;
|
|
3610
4740
|
optional string mimetype = 2;
|
|
@@ -3636,7 +4766,8 @@ message Message {
|
|
|
3636
4766
|
optional uint64 motionPhotoPresentationOffsetMs = 29;
|
|
3637
4767
|
optional string metadataUrl = 30;
|
|
3638
4768
|
optional VideoSourceType videoSourceType = 31;
|
|
3639
|
-
optional
|
|
4769
|
+
optional string dashManifestUrl = 33;
|
|
4770
|
+
optional int64 smartThumbnailTs = 34;
|
|
3640
4771
|
enum Attribution {
|
|
3641
4772
|
NONE = 0;
|
|
3642
4773
|
GIPHY = 1;
|
|
@@ -3648,7 +4779,21 @@ message Message {
|
|
|
3648
4779
|
AI_GENERATED = 1;
|
|
3649
4780
|
}
|
|
3650
4781
|
}
|
|
3651
|
-
|
|
4782
|
+
|
|
4783
|
+
message VpcRequestMessage {
|
|
4784
|
+
optional uint32 payloadSchemaVersion = 1;
|
|
4785
|
+
optional ScopeHint scopeHint = 3;
|
|
4786
|
+
optional bytes token = 4;
|
|
4787
|
+
enum ScopeHint {
|
|
4788
|
+
UNKNOWN = 0;
|
|
4789
|
+
WA_ONLY = 1;
|
|
4790
|
+
WAFFLE = 2;
|
|
4791
|
+
WA_META_AI = 3;
|
|
4792
|
+
META_AI_ONLY = 4;
|
|
4793
|
+
FOA_ONLY = 5;
|
|
4794
|
+
}
|
|
4795
|
+
}
|
|
4796
|
+
|
|
3652
4797
|
}
|
|
3653
4798
|
|
|
3654
4799
|
message MessageAddOn {
|
|
@@ -3666,6 +4811,7 @@ message MessageAddOn {
|
|
|
3666
4811
|
EVENT_RESPONSE = 2;
|
|
3667
4812
|
POLL_UPDATE = 3;
|
|
3668
4813
|
PIN_IN_CHAT = 4;
|
|
4814
|
+
REQUEST_LOCATION_UPDATE = 5;
|
|
3669
4815
|
}
|
|
3670
4816
|
}
|
|
3671
4817
|
|
|
@@ -3699,6 +4845,12 @@ message MessageAssociation {
|
|
|
3699
4845
|
STATUS_ADD_YOURS_DIWALI = 17;
|
|
3700
4846
|
STATUS_REACTION = 18;
|
|
3701
4847
|
HEVC_VIDEO_DUAL_UPLOAD = 19;
|
|
4848
|
+
POLL_ADD_OPTION = 20;
|
|
4849
|
+
AV1_VIDEO_DUAL_UPLOAD = 21;
|
|
4850
|
+
STREAMED_HD_VIDEO_DUAL_UPLOAD = 22;
|
|
4851
|
+
ORIGINAL_VIDEO_DUAL_UPLOAD = 23;
|
|
4852
|
+
ORIGINAL_IMAGE_DUAL_UPLOAD = 24;
|
|
4853
|
+
STREAMED_HEVC_VIDEO_DUAL_UPLOAD = 25;
|
|
3702
4854
|
}
|
|
3703
4855
|
}
|
|
3704
4856
|
|
|
@@ -3719,6 +4871,12 @@ message MessageContextInfo {
|
|
|
3719
4871
|
optional LimitSharing limitSharingV2 = 14;
|
|
3720
4872
|
repeated ThreadID threadId = 15;
|
|
3721
4873
|
optional WebLinkRenderConfig weblinkRenderConfig = 16;
|
|
4874
|
+
optional bytes teeBotMetadata = 17;
|
|
4875
|
+
optional NonE2EEAttestation accountEncryptionAttestation = 18;
|
|
4876
|
+
optional bytes associatedPrimaryIdentityKey = 19;
|
|
4877
|
+
optional string teeContextAnchorMessageId = 20;
|
|
4878
|
+
optional ACP2Setting acp2Setting = 21;
|
|
4879
|
+
optional Message.ChatModeFutureProof chatModeFutureProof = 23;
|
|
3722
4880
|
enum MessageAddonExpiryType {
|
|
3723
4881
|
STATIC = 1;
|
|
3724
4882
|
DEPENDENT_ON_PARENT = 2;
|
|
@@ -3788,6 +4946,28 @@ message MsgOpaqueData {
|
|
|
3788
4946
|
optional bool eventIsScheduledCall = 44;
|
|
3789
4947
|
optional bool eventExtraGuestsAllowed = 45;
|
|
3790
4948
|
optional bytes plainProtobufBytes = 43;
|
|
4949
|
+
optional string quarantineExtractedText = 48;
|
|
4950
|
+
optional int64 pollEndTime = 49;
|
|
4951
|
+
optional bool pollHideVoterNames = 50;
|
|
4952
|
+
optional bool pollAllowAddOption = 52;
|
|
4953
|
+
optional string sharableEventInviteId = 53;
|
|
4954
|
+
optional string sharableEventInviteTitle = 54;
|
|
4955
|
+
optional int64 sharableEventInviteStartTime = 55;
|
|
4956
|
+
optional int64 sharableEventInviteEndTime = 56;
|
|
4957
|
+
optional string sharableEventInviteCaption = 57;
|
|
4958
|
+
optional bool sharableEventInviteIsCanceled = 58;
|
|
4959
|
+
optional bytes sharableEventInviteJpegThumbnail = 59;
|
|
4960
|
+
optional string sharableEventInviteCallLink = 60;
|
|
4961
|
+
optional string mediaPngThumbnail = 61;
|
|
4962
|
+
optional string qrUrl = 62;
|
|
4963
|
+
optional MusicData musicData = 63;
|
|
4964
|
+
optional string pollAddedOptionName = 64;
|
|
4965
|
+
optional string sharableEventInviteStatus = 65;
|
|
4966
|
+
optional string sharableEventInviteLocationName = 66;
|
|
4967
|
+
optional string sharableEventInviteCoverImageHandle = 67;
|
|
4968
|
+
optional int64 sharableEventInviteLastUpdatedTsUsec = 68;
|
|
4969
|
+
optional ReportingTokenContentInfo reportingTokenContentInfo = 69;
|
|
4970
|
+
optional bool pollShuffleOptions = 70;
|
|
3791
4971
|
message EventLocation {
|
|
3792
4972
|
optional double degreesLatitude = 1;
|
|
3793
4973
|
optional double degreesLongitude = 2;
|
|
@@ -3796,7 +4976,44 @@ message MsgOpaqueData {
|
|
|
3796
4976
|
optional string url = 5;
|
|
3797
4977
|
optional bytes jpegThumbnail = 6;
|
|
3798
4978
|
}
|
|
3799
|
-
|
|
4979
|
+
|
|
4980
|
+
message MusicData {
|
|
4981
|
+
optional string musicContentMediaId = 1;
|
|
4982
|
+
optional string songId = 2;
|
|
4983
|
+
optional string author = 3;
|
|
4984
|
+
optional string title = 4;
|
|
4985
|
+
optional string songUri = 5;
|
|
4986
|
+
optional string artworkUri = 6;
|
|
4987
|
+
optional int32 style = 7;
|
|
4988
|
+
optional int32 songStartTimeMs = 8;
|
|
4989
|
+
optional int32 clipDurationMs = 9;
|
|
4990
|
+
optional bool isExplicit = 10;
|
|
4991
|
+
optional bytes countryBlocklist = 11;
|
|
4992
|
+
optional string artistAttribution = 12;
|
|
4993
|
+
optional string artworkDirectPath = 13;
|
|
4994
|
+
optional bytes artworkSha256 = 14;
|
|
4995
|
+
optional bytes artworkEncSha256 = 15;
|
|
4996
|
+
optional bytes artworkMediaKey = 16;
|
|
4997
|
+
optional int64 consumptionCheckedAtS = 17;
|
|
4998
|
+
optional bool isAvailableForConsumption = 18;
|
|
4999
|
+
repeated LyricsLine lyrics = 19;
|
|
5000
|
+
optional int64 lyricsConfirmedAtS = 20;
|
|
5001
|
+
message LyricsLine {
|
|
5002
|
+
optional int32 startTimeMs = 1;
|
|
5003
|
+
optional int32 endTimeMs = 2;
|
|
5004
|
+
optional string text = 3;
|
|
5005
|
+
repeated WordOffset wordOffsets = 4;
|
|
5006
|
+
message WordOffset {
|
|
5007
|
+
optional int32 startIndex = 1;
|
|
5008
|
+
optional int32 endIndex = 2;
|
|
5009
|
+
optional int32 startOffsetMs = 3;
|
|
5010
|
+
optional int32 endOffsetMs = 4;
|
|
5011
|
+
}
|
|
5012
|
+
|
|
5013
|
+
}
|
|
5014
|
+
|
|
5015
|
+
}
|
|
5016
|
+
|
|
3800
5017
|
enum PollContentType {
|
|
3801
5018
|
UNKNOWN = 0;
|
|
3802
5019
|
TEXT = 1;
|
|
@@ -3805,8 +5022,12 @@ message MsgOpaqueData {
|
|
|
3805
5022
|
message PollOption {
|
|
3806
5023
|
optional string name = 1;
|
|
3807
5024
|
optional string hash = 2;
|
|
5025
|
+
optional string addOptionMsgKey = 3;
|
|
5026
|
+
optional uint32 localId = 4;
|
|
5027
|
+
optional uint32 addOptionMsgT = 5;
|
|
5028
|
+
optional uint32 authoredIndex = 6;
|
|
3808
5029
|
}
|
|
3809
|
-
|
|
5030
|
+
|
|
3810
5031
|
enum PollType {
|
|
3811
5032
|
POLL = 0;
|
|
3812
5033
|
QUIZ = 1;
|
|
@@ -3815,11 +5036,16 @@ message MsgOpaqueData {
|
|
|
3815
5036
|
optional MsgOpaqueData.PollOption option = 1;
|
|
3816
5037
|
optional int32 optionVoteCount = 2;
|
|
3817
5038
|
}
|
|
3818
|
-
|
|
5039
|
+
|
|
3819
5040
|
message PollVotesSnapshot {
|
|
3820
5041
|
repeated MsgOpaqueData.PollVoteSnapshot pollVotes = 1;
|
|
3821
5042
|
}
|
|
3822
|
-
|
|
5043
|
+
|
|
5044
|
+
message ReportingTokenContentInfo {
|
|
5045
|
+
optional bytes content = 1;
|
|
5046
|
+
optional uint32 version = 2;
|
|
5047
|
+
}
|
|
5048
|
+
|
|
3823
5049
|
}
|
|
3824
5050
|
|
|
3825
5051
|
message MsgRowOpaqueData {
|
|
@@ -3899,8 +5125,34 @@ enum MutationProps {
|
|
|
3899
5125
|
NEWSLETTER_SAVED_INTERESTS_ACTION = 75;
|
|
3900
5126
|
AI_THREAD_RENAME_ACTION = 76;
|
|
3901
5127
|
INTERACTIVE_MESSAGE_ACTION = 77;
|
|
5128
|
+
SETTINGS_SYNC_ACTION = 78;
|
|
5129
|
+
OUT_CONTACT_ACTION = 79;
|
|
5130
|
+
NCT_SALT_SYNC_ACTION = 80;
|
|
5131
|
+
BUSINESS_BROADCAST_CAMPAIGN_ACTION = 81;
|
|
5132
|
+
BUSINESS_BROADCAST_INSIGHTS_ACTION = 82;
|
|
5133
|
+
CUSTOMER_DATA_ACTION = 83;
|
|
5134
|
+
SUBSCRIPTIONS_SYNC_V2_ACTION = 84;
|
|
5135
|
+
THREAD_PIN_ACTION = 85;
|
|
5136
|
+
AUTO_ORGANIZE_BUSINESS_CHAT_SETTING = 86;
|
|
5137
|
+
BIZ_AI_SETTINGS_NUDGE_ACTION = 87;
|
|
5138
|
+
COEX_V2_VERSION_ACTION = 88;
|
|
5139
|
+
WASA_ROOT_SECRET_ACTION = 89;
|
|
5140
|
+
BUBBLE_LOCK_MESSAGE_ACTION = 90;
|
|
5141
|
+
LABEL_SUBLIST_ACTION = 91;
|
|
5142
|
+
DEVICE_CAPABILITIES_V2 = 92;
|
|
5143
|
+
CTWA_MESSAGE_RECEIVED_ACTION = 93;
|
|
5144
|
+
SHARED_DEVICE_ALLOWLIST_ACTION = 94;
|
|
5145
|
+
CONTACT_MANAGER_METADATA_ACTION = 95;
|
|
5146
|
+
BUSINESS_FOLDER_ACTIVATION_ACTION = 96;
|
|
5147
|
+
GROUP_HISTORY_TOGGLE_ACTION = 97;
|
|
5148
|
+
BB_PRO_PENDING_CUSTOMER_BASE_ACTION = 98;
|
|
5149
|
+
COMMUNITY_NESTING_STATE_ACTION = 99;
|
|
5150
|
+
SHARED_DEVICE_SECRET_ACTION = 100;
|
|
5151
|
+
HATCH_CVM_SECRET_ACTION = 101;
|
|
5152
|
+
BUSINESS_FOLDER_CHAT_PREFERENCE_ACTION = 102;
|
|
3902
5153
|
SHARE_OWN_PN = 10001;
|
|
3903
5154
|
BUSINESS_BROADCAST_ACTION = 10002;
|
|
5155
|
+
AI_THREAD_DELETE_ACTION = 10003;
|
|
3904
5156
|
}
|
|
3905
5157
|
message NoiseCertificate {
|
|
3906
5158
|
optional bytes details = 1;
|
|
@@ -3912,7 +5164,16 @@ message NoiseCertificate {
|
|
|
3912
5164
|
optional string subject = 4;
|
|
3913
5165
|
optional bytes key = 5;
|
|
3914
5166
|
}
|
|
5167
|
+
|
|
5168
|
+
}
|
|
3915
5169
|
|
|
5170
|
+
message NonE2EEAttestation {
|
|
5171
|
+
optional AccountType accountType = 1;
|
|
5172
|
+
enum AccountType {
|
|
5173
|
+
E2EE = 0;
|
|
5174
|
+
HYBRID_E2EE = 1;
|
|
5175
|
+
NON_E2EE = 2;
|
|
5176
|
+
}
|
|
3916
5177
|
}
|
|
3917
5178
|
|
|
3918
5179
|
message NotificationMessageInfo {
|
|
@@ -3931,6 +5192,15 @@ message NotificationSettings {
|
|
|
3931
5192
|
optional string callVibrate = 6;
|
|
3932
5193
|
}
|
|
3933
5194
|
|
|
5195
|
+
message OmittedConversationMetadata {
|
|
5196
|
+
optional string snapshotId = 1;
|
|
5197
|
+
optional uint64 snapshotTimestampMs = 2;
|
|
5198
|
+
optional uint32 batchIndex = 3;
|
|
5199
|
+
optional uint32 batchCount = 4;
|
|
5200
|
+
optional bool complete = 5;
|
|
5201
|
+
repeated Conversation conversations = 6;
|
|
5202
|
+
}
|
|
5203
|
+
|
|
3934
5204
|
message PairingRequest {
|
|
3935
5205
|
optional bytes companionPublicKey = 1;
|
|
3936
5206
|
optional bytes companionIdentityKey = 2;
|
|
@@ -3998,13 +5268,27 @@ message PaymentBackground {
|
|
|
3998
5268
|
optional bytes fileEncSha256 = 4;
|
|
3999
5269
|
optional string directPath = 5;
|
|
4000
5270
|
}
|
|
4001
|
-
|
|
5271
|
+
|
|
4002
5272
|
enum Type {
|
|
4003
5273
|
UNKNOWN = 0;
|
|
4004
5274
|
DEFAULT = 1;
|
|
4005
5275
|
}
|
|
4006
5276
|
}
|
|
4007
5277
|
|
|
5278
|
+
message PaymentGift {
|
|
5279
|
+
optional uint32 version = 1;
|
|
5280
|
+
optional string look = 2;
|
|
5281
|
+
optional uint32 design = 3;
|
|
5282
|
+
optional int64 seed = 4;
|
|
5283
|
+
optional Occasion occasion = 5;
|
|
5284
|
+
enum Occasion {
|
|
5285
|
+
UNKNOWN = 0;
|
|
5286
|
+
BIRTHDAY = 1;
|
|
5287
|
+
NEW_YEAR = 2;
|
|
5288
|
+
CHRISTMAS = 3;
|
|
5289
|
+
}
|
|
5290
|
+
}
|
|
5291
|
+
|
|
4008
5292
|
message PaymentInfo {
|
|
4009
5293
|
optional Currency currencyDeprecated = 1;
|
|
4010
5294
|
optional uint64 amount1000 = 2;
|
|
@@ -4106,6 +5390,42 @@ message Point {
|
|
|
4106
5390
|
|
|
4107
5391
|
message PollAdditionalMetadata {
|
|
4108
5392
|
optional bool pollInvalidated = 1;
|
|
5393
|
+
repeated PollNameHashHistoryEntry pollNameHashHistory = 2;
|
|
5394
|
+
repeated Message.PollCreationMessage.Option originalOptions = 3;
|
|
5395
|
+
repeated PollOptionReplayEntry pollOptionReplayEntries = 4;
|
|
5396
|
+
optional PollOptionReplayBase pollOptionReplayBase = 5;
|
|
5397
|
+
message PollNameHashHistoryEntry {
|
|
5398
|
+
optional string editStanzaId = 1;
|
|
5399
|
+
optional bytes pollNameHash = 2;
|
|
5400
|
+
}
|
|
5401
|
+
|
|
5402
|
+
message PollOptionReplayBase {
|
|
5403
|
+
optional int64 boundaryTimestampMs = 1;
|
|
5404
|
+
optional int64 editTimestampMs = 2;
|
|
5405
|
+
repeated Option options = 3;
|
|
5406
|
+
message Option {
|
|
5407
|
+
optional bytes optionHash = 1;
|
|
5408
|
+
optional int64 enteredTimestampMs = 2;
|
|
5409
|
+
optional MessageKey addMessageKey = 3;
|
|
5410
|
+
}
|
|
5411
|
+
|
|
5412
|
+
}
|
|
5413
|
+
|
|
5414
|
+
message PollOptionReplayEntry {
|
|
5415
|
+
optional Type type = 1;
|
|
5416
|
+
optional MessageKey messageKey = 2;
|
|
5417
|
+
optional int64 serverTimestampMs = 3;
|
|
5418
|
+
optional int64 editTimestampMs = 4;
|
|
5419
|
+
repeated bytes optionHashes = 5;
|
|
5420
|
+
optional MessageKey revokedMessageKey = 6;
|
|
5421
|
+
enum Type {
|
|
5422
|
+
UNKNOWN = 0;
|
|
5423
|
+
EDIT = 1;
|
|
5424
|
+
ADD = 2;
|
|
5425
|
+
REVOKE = 3;
|
|
5426
|
+
}
|
|
5427
|
+
}
|
|
5428
|
+
|
|
4109
5429
|
}
|
|
4110
5430
|
|
|
4111
5431
|
message PollEncValue {
|
|
@@ -4119,6 +5439,7 @@ message PollUpdate {
|
|
|
4119
5439
|
optional int64 senderTimestampMs = 3;
|
|
4120
5440
|
optional int64 serverTimestampMs = 4;
|
|
4121
5441
|
optional bool unread = 5;
|
|
5442
|
+
optional Message.PollUpdateMessageMetadata metadata = 6;
|
|
4122
5443
|
}
|
|
4123
5444
|
|
|
4124
5445
|
message PreKeyRecordStructure {
|
|
@@ -4134,6 +5455,8 @@ message PreKeySignalMessage {
|
|
|
4134
5455
|
optional bytes baseKey = 2;
|
|
4135
5456
|
optional bytes identityKey = 3;
|
|
4136
5457
|
optional bytes message = 4;
|
|
5458
|
+
optional uint32 kyberPreKeyId = 7;
|
|
5459
|
+
optional bytes kyberCiphertext = 8;
|
|
4137
5460
|
}
|
|
4138
5461
|
|
|
4139
5462
|
message PremiumMessageInfo {
|
|
@@ -4200,15 +5523,15 @@ message RecordStructure {
|
|
|
4200
5523
|
repeated SessionStructure previousSessions = 2;
|
|
4201
5524
|
}
|
|
4202
5525
|
|
|
4203
|
-
message Reportable {
|
|
4204
|
-
optional uint32 minVersion = 1;
|
|
4205
|
-
optional uint32 maxVersion = 2;
|
|
4206
|
-
optional uint32 notReportableMinVersion = 3;
|
|
4207
|
-
optional bool never = 4;
|
|
4208
|
-
}
|
|
4209
|
-
|
|
4210
5526
|
message ReportingTokenInfo {
|
|
4211
5527
|
optional bytes reportingTag = 1;
|
|
5528
|
+
optional uint64 reportingTagTimestamp = 2;
|
|
5529
|
+
}
|
|
5530
|
+
|
|
5531
|
+
message ScheduledMessageMetadata {
|
|
5532
|
+
optional string revealKeyId = 1;
|
|
5533
|
+
optional bytes revealKey = 2;
|
|
5534
|
+
optional uint64 scheduledTime = 3;
|
|
4212
5535
|
}
|
|
4213
5536
|
|
|
4214
5537
|
message SenderKeyDistributionMessage {
|
|
@@ -4237,21 +5560,22 @@ message SenderKeyStateStructure {
|
|
|
4237
5560
|
optional uint32 iteration = 1;
|
|
4238
5561
|
optional bytes seed = 2;
|
|
4239
5562
|
}
|
|
4240
|
-
|
|
5563
|
+
|
|
4241
5564
|
message SenderMessageKey {
|
|
4242
5565
|
optional uint32 iteration = 1;
|
|
4243
5566
|
optional bytes seed = 2;
|
|
4244
5567
|
}
|
|
4245
|
-
|
|
5568
|
+
|
|
4246
5569
|
message SenderSigningKey {
|
|
4247
5570
|
optional bytes public = 1;
|
|
4248
5571
|
optional bytes private = 2;
|
|
4249
5572
|
}
|
|
4250
|
-
|
|
5573
|
+
|
|
4251
5574
|
}
|
|
4252
5575
|
|
|
4253
5576
|
message ServerErrorReceipt {
|
|
4254
5577
|
optional string stanzaId = 1;
|
|
5578
|
+
optional bool keepMediaKey = 2;
|
|
4255
5579
|
}
|
|
4256
5580
|
|
|
4257
5581
|
message SessionStructure {
|
|
@@ -4277,16 +5601,16 @@ message SessionStructure {
|
|
|
4277
5601
|
optional uint32 index = 1;
|
|
4278
5602
|
optional bytes key = 2;
|
|
4279
5603
|
}
|
|
4280
|
-
|
|
5604
|
+
|
|
4281
5605
|
message MessageKey {
|
|
4282
5606
|
optional uint32 index = 1;
|
|
4283
5607
|
optional bytes cipherKey = 2;
|
|
4284
5608
|
optional bytes macKey = 3;
|
|
4285
5609
|
optional bytes iv = 4;
|
|
4286
5610
|
}
|
|
4287
|
-
|
|
5611
|
+
|
|
4288
5612
|
}
|
|
4289
|
-
|
|
5613
|
+
|
|
4290
5614
|
message PendingKeyExchange {
|
|
4291
5615
|
optional uint32 sequence = 1;
|
|
4292
5616
|
optional bytes localBaseKey = 2;
|
|
@@ -4296,13 +5620,15 @@ message SessionStructure {
|
|
|
4296
5620
|
optional bytes localIdentityKey = 7;
|
|
4297
5621
|
optional bytes localIdentityKeyPrivate = 8;
|
|
4298
5622
|
}
|
|
4299
|
-
|
|
5623
|
+
|
|
4300
5624
|
message PendingPreKey {
|
|
4301
5625
|
optional uint32 preKeyId = 1;
|
|
4302
5626
|
optional int32 signedPreKeyId = 3;
|
|
4303
5627
|
optional bytes baseKey = 2;
|
|
5628
|
+
optional uint32 kyberPreKeyId = 4;
|
|
5629
|
+
optional bytes kyberCiphertext = 5;
|
|
4304
5630
|
}
|
|
4305
|
-
|
|
5631
|
+
|
|
4306
5632
|
}
|
|
4307
5633
|
|
|
4308
5634
|
message SessionTransparencyMetadata {
|
|
@@ -4340,6 +5666,7 @@ message StatusAttribution {
|
|
|
4340
5666
|
StatusAttribution.GroupStatus groupStatus = 6;
|
|
4341
5667
|
StatusAttribution.RLAttribution rlAttribution = 7;
|
|
4342
5668
|
StatusAttribution.AiCreatedAttribution aiCreatedAttribution = 8;
|
|
5669
|
+
StatusAttribution.StatusTemplate statusTemplate = 9;
|
|
4343
5670
|
}
|
|
4344
5671
|
message AiCreatedAttribution {
|
|
4345
5672
|
optional Source source = 1;
|
|
@@ -4348,7 +5675,7 @@ message StatusAttribution {
|
|
|
4348
5675
|
STATUS_MIMICRY = 1;
|
|
4349
5676
|
}
|
|
4350
5677
|
}
|
|
4351
|
-
|
|
5678
|
+
|
|
4352
5679
|
message ExternalShare {
|
|
4353
5680
|
optional string actionUrl = 1;
|
|
4354
5681
|
optional Source source = 2;
|
|
@@ -4366,13 +5693,16 @@ message StatusAttribution {
|
|
|
4366
5693
|
APPLE_MUSIC = 8;
|
|
4367
5694
|
SHARECHAT = 9;
|
|
4368
5695
|
GOOGLE_PHOTOS = 10;
|
|
5696
|
+
SOUNDCLOUD = 11;
|
|
5697
|
+
SHAZAM = 12;
|
|
5698
|
+
PICSART = 13;
|
|
4369
5699
|
}
|
|
4370
5700
|
}
|
|
4371
|
-
|
|
5701
|
+
|
|
4372
5702
|
message GroupStatus {
|
|
4373
5703
|
optional string authorJid = 1;
|
|
4374
5704
|
}
|
|
4375
|
-
|
|
5705
|
+
|
|
4376
5706
|
message Music {
|
|
4377
5707
|
optional string authorName = 1;
|
|
4378
5708
|
optional string songId = 2;
|
|
@@ -4381,7 +5711,7 @@ message StatusAttribution {
|
|
|
4381
5711
|
optional string artistAttribution = 5;
|
|
4382
5712
|
optional bool isExplicit = 6;
|
|
4383
5713
|
}
|
|
4384
|
-
|
|
5714
|
+
|
|
4385
5715
|
message RLAttribution {
|
|
4386
5716
|
optional Source source = 1;
|
|
4387
5717
|
enum Source {
|
|
@@ -4389,9 +5719,10 @@ message StatusAttribution {
|
|
|
4389
5719
|
RAY_BAN_META_GLASSES = 1;
|
|
4390
5720
|
OAKLEY_META_GLASSES = 2;
|
|
4391
5721
|
HYPERNOVA_GLASSES = 3;
|
|
5722
|
+
META_GLASSES = 4;
|
|
4392
5723
|
}
|
|
4393
5724
|
}
|
|
4394
|
-
|
|
5725
|
+
|
|
4395
5726
|
message StatusReshare {
|
|
4396
5727
|
optional Source source = 1;
|
|
4397
5728
|
optional Metadata metadata = 2;
|
|
@@ -4401,7 +5732,7 @@ message StatusAttribution {
|
|
|
4401
5732
|
optional int32 channelMessageId = 3;
|
|
4402
5733
|
optional bool hasMultipleReshares = 4;
|
|
4403
5734
|
}
|
|
4404
|
-
|
|
5735
|
+
|
|
4405
5736
|
enum Source {
|
|
4406
5737
|
UNKNOWN = 0;
|
|
4407
5738
|
INTERNAL_RESHARE = 1;
|
|
@@ -4410,7 +5741,15 @@ message StatusAttribution {
|
|
|
4410
5741
|
FORWARD = 4;
|
|
4411
5742
|
}
|
|
4412
5743
|
}
|
|
4413
|
-
|
|
5744
|
+
|
|
5745
|
+
message StatusTemplate {
|
|
5746
|
+
optional string templateId = 1;
|
|
5747
|
+
optional string templateName = 2;
|
|
5748
|
+
optional string thumbnailUrl = 3;
|
|
5749
|
+
optional bool isAiGenerated = 4;
|
|
5750
|
+
optional string categoryId = 5;
|
|
5751
|
+
}
|
|
5752
|
+
|
|
4414
5753
|
enum Type {
|
|
4415
5754
|
UNKNOWN = 0;
|
|
4416
5755
|
RESHARE = 1;
|
|
@@ -4421,6 +5760,11 @@ message StatusAttribution {
|
|
|
4421
5760
|
RL_ATTRIBUTION = 6;
|
|
4422
5761
|
AI_CREATED = 7;
|
|
4423
5762
|
LAYOUTS = 8;
|
|
5763
|
+
NEWSLETTER_STATUS = 9;
|
|
5764
|
+
STATUS_CLOSE_SHARING = 10;
|
|
5765
|
+
PAID_PARTNERSHIP = 11;
|
|
5766
|
+
USERNAME_STATUS = 12;
|
|
5767
|
+
STATUS_TEMPLATES = 13;
|
|
4424
5768
|
}
|
|
4425
5769
|
}
|
|
4426
5770
|
|
|
@@ -4429,10 +5773,37 @@ message StatusMentionMessage {
|
|
|
4429
5773
|
}
|
|
4430
5774
|
|
|
4431
5775
|
message StatusPSA {
|
|
4432
|
-
uint64 campaignId = 44;
|
|
5776
|
+
optional uint64 campaignId = 44;
|
|
4433
5777
|
optional uint64 campaignExpirationTimestamp = 45;
|
|
4434
5778
|
}
|
|
4435
5779
|
|
|
5780
|
+
message StatusPixKey {
|
|
5781
|
+
optional string key = 1;
|
|
5782
|
+
optional KeyType keyType = 2;
|
|
5783
|
+
optional string displayName = 3;
|
|
5784
|
+
enum KeyType {
|
|
5785
|
+
UNKNOWN = 0;
|
|
5786
|
+
CPF = 1;
|
|
5787
|
+
CNPJ = 2;
|
|
5788
|
+
PHONE = 3;
|
|
5789
|
+
EMAIL = 4;
|
|
5790
|
+
EVP = 5;
|
|
5791
|
+
}
|
|
5792
|
+
}
|
|
5793
|
+
|
|
5794
|
+
message StickerAudio {
|
|
5795
|
+
optional string url = 1;
|
|
5796
|
+
optional string mimetype = 2;
|
|
5797
|
+
optional bytes fileSha256 = 3;
|
|
5798
|
+
optional uint64 fileLength = 4;
|
|
5799
|
+
optional uint32 seconds = 5;
|
|
5800
|
+
optional bytes mediaKey = 7;
|
|
5801
|
+
optional bytes fileEncSha256 = 8;
|
|
5802
|
+
optional string directPath = 9;
|
|
5803
|
+
optional int64 mediaKeyTimestamp = 10;
|
|
5804
|
+
optional bytes waveform = 19;
|
|
5805
|
+
}
|
|
5806
|
+
|
|
4436
5807
|
message StickerMetadata {
|
|
4437
5808
|
optional string url = 1;
|
|
4438
5809
|
optional bytes fileSha256 = 2;
|
|
@@ -4448,6 +5819,7 @@ message StickerMetadata {
|
|
|
4448
5819
|
optional bool isLottie = 12;
|
|
4449
5820
|
optional string imageHash = 13;
|
|
4450
5821
|
optional bool isAvatarSticker = 14;
|
|
5822
|
+
optional StickerAudio audio = 15;
|
|
4451
5823
|
}
|
|
4452
5824
|
|
|
4453
5825
|
message SyncActionData {
|
|
@@ -4516,7 +5888,6 @@ message SyncActionValue {
|
|
|
4516
5888
|
optional CtwaPerCustomerDataSharingAction ctwaPerCustomerDataSharingAction = 62;
|
|
4517
5889
|
optional PaymentTosAction paymentTosAction = 63;
|
|
4518
5890
|
optional PrivacySettingChannelsPersonalisedRecommendationAction privacySettingChannelsPersonalisedRecommendationAction = 64;
|
|
4519
|
-
optional BusinessBroadcastAssociationAction businessBroadcastAssociationAction = 65;
|
|
4520
5891
|
optional DetectedOutcomesStatusAction detectedOutcomesStatusAction = 66;
|
|
4521
5892
|
optional MaibaAIFeaturesControlAction maibaAiFeaturesControlAction = 68;
|
|
4522
5893
|
optional BusinessBroadcastListAction businessBroadcastListAction = 69;
|
|
@@ -4527,25 +5898,54 @@ message SyncActionValue {
|
|
|
4527
5898
|
optional NewsletterSavedInterestsAction newsletterSavedInterestsAction = 75;
|
|
4528
5899
|
optional AiThreadRenameAction aiThreadRenameAction = 76;
|
|
4529
5900
|
optional InteractiveMessageAction interactiveMessageAction = 77;
|
|
5901
|
+
optional SettingsSyncAction settingsSyncAction = 78;
|
|
5902
|
+
optional OutContactAction outContactAction = 79;
|
|
5903
|
+
optional NctSaltSyncAction nctSaltSyncAction = 80;
|
|
5904
|
+
optional BusinessBroadcastCampaignAction businessBroadcastCampaignAction = 81;
|
|
5905
|
+
optional BusinessBroadcastInsightsAction businessBroadcastInsightsAction = 82;
|
|
5906
|
+
optional CustomerDataAction customerDataAction = 83;
|
|
5907
|
+
optional SubscriptionsSyncV2Action subscriptionsSyncV2Action = 84;
|
|
5908
|
+
optional ThreadPinAction threadPinAction = 85;
|
|
5909
|
+
optional AutoOrganizeBusinessChatSetting autoOrganizeBusinessChatSetting = 86;
|
|
5910
|
+
optional BizAISettingsNudgeAction bizAiSettingsNudgeAction = 87;
|
|
5911
|
+
optional CoexV2VersionAction coexV2VersionAction = 88;
|
|
5912
|
+
optional WASARootSecretAction wasaRootSecretAction = 89;
|
|
5913
|
+
optional BubbleLockMessageAction bubbleLockMessageAction = 90;
|
|
5914
|
+
optional LabelSublistAction labelSublistAction = 91;
|
|
5915
|
+
optional DeviceCapabilities deviceCapabilitiesV2 = 92;
|
|
5916
|
+
optional CtwaMessageReceivedAction ctwaMessageReceivedAction = 93;
|
|
5917
|
+
optional SharedDeviceAllowlistAction sharedDeviceAllowlistAction = 94;
|
|
5918
|
+
optional ContactManagerMetadataAction contactManagerMetadataAction = 95;
|
|
5919
|
+
optional BusinessFolderActivationAction businessFolderActivationAction = 96;
|
|
5920
|
+
optional GroupHistoryToggleAction groupHistoryToggleAction = 97;
|
|
5921
|
+
optional BBProPendingCustomerBaseAction bbProPendingCustomerBaseAction = 98;
|
|
5922
|
+
optional CommunityNestingStateAction communityNestingStateAction = 99;
|
|
5923
|
+
optional SharedDeviceSecretAction sharedDeviceSecretAction = 100;
|
|
5924
|
+
optional HatchCVMSecretAction hatchCvmSecretAction = 101;
|
|
5925
|
+
optional BusinessFolderChatPreferenceAction businessFolderChatPreferenceAction = 102;
|
|
4530
5926
|
message AgentAction {
|
|
4531
5927
|
optional string name = 1;
|
|
4532
|
-
optional int32
|
|
5928
|
+
optional int32 deviceId = 2;
|
|
4533
5929
|
optional bool isDeleted = 3;
|
|
4534
5930
|
}
|
|
4535
|
-
|
|
5931
|
+
|
|
4536
5932
|
message AiThreadRenameAction {
|
|
4537
5933
|
optional string newTitle = 1;
|
|
4538
5934
|
}
|
|
4539
|
-
|
|
5935
|
+
|
|
4540
5936
|
message AndroidUnsupportedActions {
|
|
4541
5937
|
optional bool allowed = 1;
|
|
4542
5938
|
}
|
|
4543
|
-
|
|
5939
|
+
|
|
4544
5940
|
message ArchiveChatAction {
|
|
4545
5941
|
optional bool archived = 1;
|
|
4546
5942
|
optional SyncActionValue.SyncActionMessageRange messageRange = 2;
|
|
4547
5943
|
}
|
|
4548
|
-
|
|
5944
|
+
|
|
5945
|
+
message AutoOrganizeBusinessChatSetting {
|
|
5946
|
+
optional bool autoOrganize = 1;
|
|
5947
|
+
}
|
|
5948
|
+
|
|
4549
5949
|
message AvatarUpdatedAction {
|
|
4550
5950
|
optional AvatarEventType eventType = 1;
|
|
4551
5951
|
repeated SyncActionValue.StickerAction recentAvatarStickers = 2;
|
|
@@ -4555,42 +5955,136 @@ message SyncActionValue {
|
|
|
4555
5955
|
DELETED = 2;
|
|
4556
5956
|
}
|
|
4557
5957
|
}
|
|
4558
|
-
|
|
5958
|
+
|
|
5959
|
+
message BBProPendingCustomerBaseAction {
|
|
5960
|
+
optional bool pending = 1;
|
|
5961
|
+
}
|
|
5962
|
+
|
|
5963
|
+
message BizAISettingsNudgeAction {
|
|
5964
|
+
optional BizAISettingsCategory category = 1;
|
|
5965
|
+
optional int64 version = 2;
|
|
5966
|
+
optional int64 updatedAtMs = 3;
|
|
5967
|
+
enum BizAISettingsCategory {
|
|
5968
|
+
UNKNOWN = 0;
|
|
5969
|
+
INSTRUCTIONS = 1;
|
|
5970
|
+
RESPONSE_SETTINGS = 2;
|
|
5971
|
+
EXAMPLE_RESPONSES = 3;
|
|
5972
|
+
KNOWLEDGE = 4;
|
|
5973
|
+
LEAD_GEN = 5;
|
|
5974
|
+
HANDOFF_REMOVAL_TIMING = 6;
|
|
5975
|
+
}
|
|
5976
|
+
}
|
|
5977
|
+
|
|
4559
5978
|
message BotWelcomeRequestAction {
|
|
4560
5979
|
optional bool isSent = 1;
|
|
4561
5980
|
}
|
|
4562
|
-
|
|
5981
|
+
|
|
4563
5982
|
message BroadcastListParticipant {
|
|
4564
|
-
string lidJid = 1;
|
|
5983
|
+
optional string lidJid = 1;
|
|
4565
5984
|
optional string pnJid = 2;
|
|
4566
5985
|
}
|
|
4567
|
-
|
|
5986
|
+
|
|
5987
|
+
message BubbleLockMessageAction {
|
|
5988
|
+
optional bool locked = 1;
|
|
5989
|
+
}
|
|
5990
|
+
|
|
4568
5991
|
message BusinessBroadcastAssociationAction {
|
|
4569
5992
|
optional bool deleted = 1;
|
|
4570
5993
|
}
|
|
4571
|
-
|
|
5994
|
+
|
|
5995
|
+
message BusinessBroadcastCampaignAction {
|
|
5996
|
+
optional int32 deviceId = 1;
|
|
5997
|
+
optional string adId = 2;
|
|
5998
|
+
optional string name = 3;
|
|
5999
|
+
optional string msgId = 4;
|
|
6000
|
+
optional string broadcastJid = 5;
|
|
6001
|
+
optional int32 reservedQuota = 6;
|
|
6002
|
+
optional int64 scheduledTimestamp = 7;
|
|
6003
|
+
optional int64 createTimestamp = 8;
|
|
6004
|
+
optional SyncActionValue.BusinessBroadcastCampaignStatus status = 9;
|
|
6005
|
+
optional SyncActionValue.BusinessBroadcastCampaignBBProStatus bbProStatus = 10;
|
|
6006
|
+
optional string customAudienceFbid = 11;
|
|
6007
|
+
}
|
|
6008
|
+
|
|
6009
|
+
enum BusinessBroadcastCampaignBBProStatus {
|
|
6010
|
+
BB_PRO_ACTIVE = 1;
|
|
6011
|
+
BB_PRO_COMPLETED = 2;
|
|
6012
|
+
BB_PRO_IN_DRAFT = 3;
|
|
6013
|
+
BB_PRO_IN_REVIEW = 4;
|
|
6014
|
+
BB_PRO_NOT_SENDING = 5;
|
|
6015
|
+
BB_PRO_OFF = 6;
|
|
6016
|
+
BB_PRO_REJECTED = 7;
|
|
6017
|
+
BB_PRO_SCHEDULED = 8;
|
|
6018
|
+
BB_PRO_SENDING_LIMITED = 9;
|
|
6019
|
+
BB_PRO_PROCESSING = 10;
|
|
6020
|
+
}
|
|
6021
|
+
enum BusinessBroadcastCampaignStatus {
|
|
6022
|
+
DRAFT = 1;
|
|
6023
|
+
SCHEDULED = 2;
|
|
6024
|
+
PROCESSING = 3;
|
|
6025
|
+
FAILED = 4;
|
|
6026
|
+
SENT = 5;
|
|
6027
|
+
}
|
|
6028
|
+
message BusinessBroadcastInsightsAction {
|
|
6029
|
+
optional int32 recipientCount = 1;
|
|
6030
|
+
optional int32 deliveredCount = 2;
|
|
6031
|
+
optional int32 readCount = 3;
|
|
6032
|
+
optional int32 repliedCount = 4;
|
|
6033
|
+
optional int32 quickReplyCount = 5;
|
|
6034
|
+
}
|
|
6035
|
+
|
|
4572
6036
|
message BusinessBroadcastListAction {
|
|
4573
6037
|
optional bool deleted = 1;
|
|
4574
6038
|
repeated SyncActionValue.BroadcastListParticipant participants = 2;
|
|
4575
6039
|
optional string listName = 3;
|
|
6040
|
+
repeated string labelIds = 4;
|
|
6041
|
+
optional string audienceExpression = 5;
|
|
6042
|
+
optional string customAudienceFbid = 6;
|
|
4576
6043
|
}
|
|
4577
|
-
|
|
6044
|
+
|
|
6045
|
+
message BusinessFolderActivationAction {
|
|
6046
|
+
optional bool activated = 1;
|
|
6047
|
+
}
|
|
6048
|
+
|
|
6049
|
+
message BusinessFolderChatPreferenceAction {
|
|
6050
|
+
optional BusinessFolderChatPreference preference = 1;
|
|
6051
|
+
enum BusinessFolderChatPreference {
|
|
6052
|
+
BUSINESS_FOLDER_CHAT_PREFERENCE_UNKNOWN = 0;
|
|
6053
|
+
BUSINESS_FOLDER_CHAT_PREFERENCE_AUTOMATIC = 1;
|
|
6054
|
+
BUSINESS_FOLDER_CHAT_PREFERENCE_INBOX = 2;
|
|
6055
|
+
BUSINESS_FOLDER_CHAT_PREFERENCE_BUSINESS = 3;
|
|
6056
|
+
}
|
|
6057
|
+
}
|
|
6058
|
+
|
|
4578
6059
|
message CallLogAction {
|
|
4579
6060
|
optional CallLogRecord callLogRecord = 1;
|
|
4580
6061
|
}
|
|
4581
|
-
|
|
6062
|
+
|
|
4582
6063
|
message ChatAssignmentAction {
|
|
4583
|
-
optional string
|
|
6064
|
+
optional string deviceAgentId = 1;
|
|
4584
6065
|
}
|
|
4585
|
-
|
|
6066
|
+
|
|
4586
6067
|
message ChatAssignmentOpenedStatusAction {
|
|
4587
6068
|
optional bool chatOpened = 1;
|
|
4588
6069
|
}
|
|
4589
|
-
|
|
6070
|
+
|
|
4590
6071
|
message ClearChatAction {
|
|
4591
6072
|
optional SyncActionValue.SyncActionMessageRange messageRange = 1;
|
|
4592
6073
|
}
|
|
4593
|
-
|
|
6074
|
+
|
|
6075
|
+
message CoexV2VersionAction {
|
|
6076
|
+
optional uint64 version = 1;
|
|
6077
|
+
}
|
|
6078
|
+
|
|
6079
|
+
message CommunityNestingStateAction {
|
|
6080
|
+
optional NestingState nestingState = 1;
|
|
6081
|
+
enum NestingState {
|
|
6082
|
+
PLATFORM_DEFAULT = 0;
|
|
6083
|
+
NESTED = 1;
|
|
6084
|
+
UNNESTED = 2;
|
|
6085
|
+
}
|
|
6086
|
+
}
|
|
6087
|
+
|
|
4594
6088
|
message ContactAction {
|
|
4595
6089
|
optional string fullName = 1;
|
|
4596
6090
|
optional string firstName = 2;
|
|
@@ -4598,73 +6092,113 @@ message SyncActionValue {
|
|
|
4598
6092
|
optional bool saveOnPrimaryAddressbook = 4;
|
|
4599
6093
|
optional string pnJid = 5;
|
|
4600
6094
|
optional string username = 6;
|
|
6095
|
+
optional string birthday = 7;
|
|
6096
|
+
optional int32 nonE2EeType = 8;
|
|
4601
6097
|
}
|
|
4602
|
-
|
|
6098
|
+
|
|
6099
|
+
message ContactManagerMetadataAction {
|
|
6100
|
+
optional bool isHidden = 1;
|
|
6101
|
+
}
|
|
6102
|
+
|
|
6103
|
+
message CtwaMessageReceivedAction {
|
|
6104
|
+
optional bool isCtwaMessageReceived = 1;
|
|
6105
|
+
}
|
|
6106
|
+
|
|
4603
6107
|
message CtwaPerCustomerDataSharingAction {
|
|
4604
6108
|
optional bool isCtwaPerCustomerDataSharingEnabled = 1;
|
|
4605
6109
|
}
|
|
4606
|
-
|
|
6110
|
+
|
|
4607
6111
|
message CustomPaymentMethod {
|
|
4608
|
-
string credentialId = 1;
|
|
4609
|
-
string country = 2;
|
|
4610
|
-
string type = 3;
|
|
6112
|
+
optional string credentialId = 1;
|
|
6113
|
+
optional string country = 2;
|
|
6114
|
+
optional string type = 3;
|
|
4611
6115
|
repeated SyncActionValue.CustomPaymentMethodMetadata metadata = 4;
|
|
4612
6116
|
}
|
|
4613
|
-
|
|
6117
|
+
|
|
4614
6118
|
message CustomPaymentMethodMetadata {
|
|
4615
|
-
string key = 1;
|
|
4616
|
-
string value = 2;
|
|
6119
|
+
optional string key = 1;
|
|
6120
|
+
optional string value = 2;
|
|
4617
6121
|
}
|
|
4618
|
-
|
|
6122
|
+
|
|
4619
6123
|
message CustomPaymentMethodsAction {
|
|
4620
6124
|
repeated SyncActionValue.CustomPaymentMethod customPaymentMethods = 1;
|
|
4621
6125
|
}
|
|
4622
|
-
|
|
6126
|
+
|
|
6127
|
+
message CustomerDataAction {
|
|
6128
|
+
optional string chatJid = 1;
|
|
6129
|
+
optional int32 contactType = 2;
|
|
6130
|
+
optional string email = 3;
|
|
6131
|
+
optional string altPhoneNumbers = 4;
|
|
6132
|
+
optional int64 birthday = 5;
|
|
6133
|
+
optional string address = 6;
|
|
6134
|
+
optional int32 acquisitionSource = 7;
|
|
6135
|
+
optional int32 leadStage = 8;
|
|
6136
|
+
optional int64 lastOrder = 9;
|
|
6137
|
+
optional int64 createdAt = 10;
|
|
6138
|
+
optional int64 modifiedAt = 11;
|
|
6139
|
+
}
|
|
6140
|
+
|
|
4623
6141
|
message DeleteChatAction {
|
|
4624
6142
|
optional SyncActionValue.SyncActionMessageRange messageRange = 1;
|
|
4625
6143
|
}
|
|
4626
|
-
|
|
6144
|
+
|
|
4627
6145
|
message DeleteIndividualCallLogAction {
|
|
4628
6146
|
optional string peerJid = 1;
|
|
4629
6147
|
optional bool isIncoming = 2;
|
|
4630
6148
|
}
|
|
4631
|
-
|
|
6149
|
+
|
|
4632
6150
|
message DeleteMessageForMeAction {
|
|
4633
6151
|
optional bool deleteMedia = 1;
|
|
4634
6152
|
optional int64 messageTimestamp = 2;
|
|
4635
6153
|
}
|
|
4636
|
-
|
|
6154
|
+
|
|
4637
6155
|
message DetectedOutcomesStatusAction {
|
|
4638
6156
|
optional bool isEnabled = 1;
|
|
4639
6157
|
}
|
|
4640
|
-
|
|
6158
|
+
|
|
4641
6159
|
message ExternalWebBetaAction {
|
|
4642
6160
|
optional bool isOptIn = 1;
|
|
4643
6161
|
}
|
|
4644
|
-
|
|
6162
|
+
|
|
4645
6163
|
message FavoritesAction {
|
|
4646
6164
|
repeated Favorite favorites = 1;
|
|
4647
6165
|
message Favorite {
|
|
4648
6166
|
optional string id = 1;
|
|
4649
6167
|
}
|
|
4650
|
-
|
|
6168
|
+
|
|
4651
6169
|
}
|
|
4652
|
-
|
|
6170
|
+
|
|
6171
|
+
message GroupHistoryToggleAction {
|
|
6172
|
+
optional GroupHistoryToggleMode groupHistoryToggleMode = 1;
|
|
6173
|
+
enum GroupHistoryToggleMode {
|
|
6174
|
+
GROUP_HISTORY_TOGGLE_MODE_UNKNOWN = 0;
|
|
6175
|
+
GROUP_HISTORY_TOGGLE_MODE_ON = 1;
|
|
6176
|
+
GROUP_HISTORY_TOGGLE_MODE_OFF = 2;
|
|
6177
|
+
}
|
|
6178
|
+
}
|
|
6179
|
+
|
|
6180
|
+
message HatchCVMSecretAction {
|
|
6181
|
+
optional bytes secret = 1;
|
|
6182
|
+
optional int64 generation = 2;
|
|
6183
|
+
}
|
|
6184
|
+
|
|
4653
6185
|
message InteractiveMessageAction {
|
|
4654
|
-
InteractiveMessageActionMode type = 1;
|
|
6186
|
+
optional InteractiveMessageActionMode type = 1;
|
|
6187
|
+
optional string agmId = 2;
|
|
4655
6188
|
enum InteractiveMessageActionMode {
|
|
4656
6189
|
DISABLE_CTA = 1;
|
|
4657
6190
|
}
|
|
4658
6191
|
}
|
|
4659
|
-
|
|
6192
|
+
|
|
4660
6193
|
message KeyExpiration {
|
|
4661
6194
|
optional int32 expiredKeyEpoch = 1;
|
|
4662
6195
|
}
|
|
4663
|
-
|
|
6196
|
+
|
|
4664
6197
|
message LabelAssociationAction {
|
|
4665
6198
|
optional bool labeled = 1;
|
|
6199
|
+
optional string modelMetaData = 2;
|
|
4666
6200
|
}
|
|
4667
|
-
|
|
6201
|
+
|
|
4668
6202
|
message LabelEditAction {
|
|
4669
6203
|
optional string name = 1;
|
|
4670
6204
|
optional int32 color = 2;
|
|
@@ -4686,41 +6220,64 @@ message SyncActionValue {
|
|
|
4686
6220
|
SERVER_ASSIGNED = 7;
|
|
4687
6221
|
DRAFTED = 8;
|
|
4688
6222
|
AI_HANDOFF = 9;
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
6223
|
+
CHANNELS = 10;
|
|
6224
|
+
AI_RESPONDING = 11;
|
|
6225
|
+
ARCHIVED = 12;
|
|
6226
|
+
LOCKED = 13;
|
|
6227
|
+
INVITES = 14;
|
|
6228
|
+
THIRD_PARTY = 15;
|
|
6229
|
+
LEAD = 16;
|
|
6230
|
+
MENTIONS_AND_REPLIES = 17;
|
|
6231
|
+
REQUESTS = 18;
|
|
6232
|
+
BUSINESS = 19;
|
|
6233
|
+
ONE_ON_ONE = 20;
|
|
6234
|
+
}
|
|
6235
|
+
}
|
|
6236
|
+
|
|
4692
6237
|
message LabelReorderingAction {
|
|
4693
6238
|
repeated int32 sortedLabelIds = 1;
|
|
4694
6239
|
}
|
|
4695
|
-
|
|
6240
|
+
|
|
6241
|
+
message LabelSublistAction {
|
|
6242
|
+
optional int32 subListId = 1;
|
|
6243
|
+
}
|
|
6244
|
+
|
|
4696
6245
|
message LidContactAction {
|
|
4697
6246
|
optional string fullName = 1;
|
|
4698
6247
|
optional string firstName = 2;
|
|
4699
6248
|
optional string username = 3;
|
|
6249
|
+
optional string birthday = 4;
|
|
6250
|
+
optional int32 nonE2EeType = 5;
|
|
4700
6251
|
}
|
|
4701
|
-
|
|
6252
|
+
|
|
4702
6253
|
message LocaleSetting {
|
|
4703
6254
|
optional string locale = 1;
|
|
4704
6255
|
}
|
|
4705
|
-
|
|
6256
|
+
|
|
4706
6257
|
message LockChatAction {
|
|
4707
6258
|
optional bool locked = 1;
|
|
4708
6259
|
}
|
|
4709
|
-
|
|
6260
|
+
|
|
4710
6261
|
message MaibaAIFeaturesControlAction {
|
|
4711
6262
|
optional MaibaAIFeatureStatus aiFeatureStatus = 1;
|
|
6263
|
+
optional MaibaAIReplyMode aiReplyMode = 2;
|
|
4712
6264
|
enum MaibaAIFeatureStatus {
|
|
4713
6265
|
ENABLED = 0;
|
|
4714
6266
|
ENABLED_HAS_LEARNING = 1;
|
|
4715
6267
|
DISABLED = 2;
|
|
4716
6268
|
}
|
|
6269
|
+
enum MaibaAIReplyMode {
|
|
6270
|
+
MUTED = 0;
|
|
6271
|
+
AI_AGENT = 1;
|
|
6272
|
+
SUGGESTIONS = 2;
|
|
6273
|
+
}
|
|
4717
6274
|
}
|
|
4718
|
-
|
|
6275
|
+
|
|
4719
6276
|
message MarkChatAsReadAction {
|
|
4720
6277
|
optional bool read = 1;
|
|
4721
6278
|
optional SyncActionValue.SyncActionMessageRange messageRange = 2;
|
|
4722
6279
|
}
|
|
4723
|
-
|
|
6280
|
+
|
|
4724
6281
|
message MarketingMessageAction {
|
|
4725
6282
|
optional string name = 1;
|
|
4726
6283
|
optional string message = 2;
|
|
@@ -4733,14 +6290,14 @@ message SyncActionValue {
|
|
|
4733
6290
|
PERSONALIZED = 0;
|
|
4734
6291
|
}
|
|
4735
6292
|
}
|
|
4736
|
-
|
|
6293
|
+
|
|
4737
6294
|
message MarketingMessageBroadcastAction {
|
|
4738
6295
|
optional int32 repliedCount = 1;
|
|
4739
6296
|
}
|
|
4740
|
-
|
|
6297
|
+
|
|
4741
6298
|
message MerchantPaymentPartnerAction {
|
|
4742
|
-
Status status = 1;
|
|
4743
|
-
string country = 2;
|
|
6299
|
+
optional Status status = 1;
|
|
6300
|
+
optional string country = 2;
|
|
4744
6301
|
optional string gatewayName = 3;
|
|
4745
6302
|
optional string credentialId = 4;
|
|
4746
6303
|
enum Status {
|
|
@@ -4748,22 +6305,27 @@ message SyncActionValue {
|
|
|
4748
6305
|
INACTIVE = 1;
|
|
4749
6306
|
}
|
|
4750
6307
|
}
|
|
4751
|
-
|
|
6308
|
+
|
|
4752
6309
|
message MusicUserIdAction {
|
|
4753
6310
|
optional string musicUserId = 1;
|
|
4754
6311
|
map<string, string> music_user_id_map = 2;
|
|
4755
6312
|
}
|
|
4756
|
-
|
|
6313
|
+
|
|
4757
6314
|
message MuteAction {
|
|
4758
6315
|
optional bool muted = 1;
|
|
4759
6316
|
optional int64 muteEndTimestamp = 2;
|
|
4760
6317
|
optional bool autoMuted = 3;
|
|
6318
|
+
optional int64 muteEveryoneMentionEndTimestamp = 4;
|
|
4761
6319
|
}
|
|
4762
|
-
|
|
6320
|
+
|
|
6321
|
+
message NctSaltSyncAction {
|
|
6322
|
+
optional bytes salt = 1;
|
|
6323
|
+
}
|
|
6324
|
+
|
|
4763
6325
|
message NewsletterSavedInterestsAction {
|
|
4764
6326
|
optional string newsletterSavedInterests = 1;
|
|
4765
6327
|
}
|
|
4766
|
-
|
|
6328
|
+
|
|
4767
6329
|
message NoteEditAction {
|
|
4768
6330
|
optional NoteType type = 1;
|
|
4769
6331
|
optional string chatJid = 2;
|
|
@@ -4775,7 +6337,7 @@ message SyncActionValue {
|
|
|
4775
6337
|
STRUCTURED = 2;
|
|
4776
6338
|
}
|
|
4777
6339
|
}
|
|
4778
|
-
|
|
6340
|
+
|
|
4779
6341
|
message NotificationActivitySettingAction {
|
|
4780
6342
|
optional NotificationActivitySetting notificationActivitySetting = 1;
|
|
4781
6343
|
enum NotificationActivitySetting {
|
|
@@ -4785,51 +6347,56 @@ message SyncActionValue {
|
|
|
4785
6347
|
DEFAULT_HIGHLIGHTS = 3;
|
|
4786
6348
|
}
|
|
4787
6349
|
}
|
|
4788
|
-
|
|
6350
|
+
|
|
4789
6351
|
message NuxAction {
|
|
4790
6352
|
optional bool acknowledged = 1;
|
|
4791
6353
|
}
|
|
4792
|
-
|
|
6354
|
+
|
|
6355
|
+
message OutContactAction {
|
|
6356
|
+
optional string fullName = 1;
|
|
6357
|
+
optional string firstName = 2;
|
|
6358
|
+
}
|
|
6359
|
+
|
|
4793
6360
|
message PaymentInfoAction {
|
|
4794
6361
|
optional string cpi = 1;
|
|
4795
6362
|
}
|
|
4796
|
-
|
|
6363
|
+
|
|
4797
6364
|
message PaymentTosAction {
|
|
4798
|
-
PaymentNotice paymentNotice = 1;
|
|
4799
|
-
bool accepted = 2;
|
|
6365
|
+
optional PaymentNotice paymentNotice = 1;
|
|
6366
|
+
optional bool accepted = 2;
|
|
4800
6367
|
enum PaymentNotice {
|
|
4801
6368
|
BR_PAY_PRIVACY_POLICY = 0;
|
|
4802
6369
|
}
|
|
4803
6370
|
}
|
|
4804
|
-
|
|
6371
|
+
|
|
4805
6372
|
message PinAction {
|
|
4806
6373
|
optional bool pinned = 1;
|
|
4807
6374
|
}
|
|
4808
|
-
|
|
6375
|
+
|
|
4809
6376
|
message PnForLidChatAction {
|
|
4810
6377
|
optional string pnJid = 1;
|
|
4811
6378
|
}
|
|
4812
|
-
|
|
6379
|
+
|
|
4813
6380
|
message PrimaryFeature {
|
|
4814
6381
|
repeated string flags = 1;
|
|
4815
6382
|
}
|
|
4816
|
-
|
|
6383
|
+
|
|
4817
6384
|
message PrimaryVersionAction {
|
|
4818
6385
|
optional string version = 1;
|
|
4819
6386
|
}
|
|
4820
|
-
|
|
6387
|
+
|
|
4821
6388
|
message PrivacySettingChannelsPersonalisedRecommendationAction {
|
|
4822
6389
|
optional bool isUserOptedOut = 1;
|
|
4823
6390
|
}
|
|
4824
|
-
|
|
6391
|
+
|
|
4825
6392
|
message PrivacySettingDisableLinkPreviewsAction {
|
|
4826
6393
|
optional bool isPreviewsDisabled = 1;
|
|
4827
6394
|
}
|
|
4828
|
-
|
|
6395
|
+
|
|
4829
6396
|
message PrivacySettingRelayAllCalls {
|
|
4830
6397
|
optional bool isEnabled = 1;
|
|
4831
6398
|
}
|
|
4832
|
-
|
|
6399
|
+
|
|
4833
6400
|
message PrivateProcessingSettingAction {
|
|
4834
6401
|
optional PrivateProcessingStatus privateProcessingStatus = 1;
|
|
4835
6402
|
enum PrivateProcessingStatus {
|
|
@@ -4838,46 +6405,169 @@ message SyncActionValue {
|
|
|
4838
6405
|
DISABLED = 2;
|
|
4839
6406
|
}
|
|
4840
6407
|
}
|
|
4841
|
-
|
|
6408
|
+
|
|
4842
6409
|
message PushNameSetting {
|
|
4843
6410
|
optional string name = 1;
|
|
4844
6411
|
}
|
|
4845
|
-
|
|
6412
|
+
|
|
4846
6413
|
message QuickReplyAction {
|
|
4847
6414
|
optional string shortcut = 1;
|
|
4848
6415
|
optional string message = 2;
|
|
4849
6416
|
repeated string keywords = 3;
|
|
4850
6417
|
optional int32 count = 4;
|
|
4851
6418
|
optional bool deleted = 5;
|
|
6419
|
+
repeated string associatedLabelIds = 6;
|
|
4852
6420
|
}
|
|
4853
|
-
|
|
6421
|
+
|
|
4854
6422
|
message RecentEmojiWeightsAction {
|
|
4855
6423
|
repeated RecentEmojiWeight weights = 1;
|
|
4856
6424
|
}
|
|
4857
|
-
|
|
6425
|
+
|
|
4858
6426
|
message RemoveRecentStickerAction {
|
|
4859
6427
|
optional int64 lastStickerSentTs = 1;
|
|
4860
6428
|
}
|
|
4861
|
-
|
|
6429
|
+
|
|
6430
|
+
message SettingsSyncAction {
|
|
6431
|
+
optional bool startAtLogin = 1;
|
|
6432
|
+
optional bool minimizeToTray = 2;
|
|
6433
|
+
optional string language = 3;
|
|
6434
|
+
optional bool replaceTextWithEmoji = 4;
|
|
6435
|
+
optional DisplayMode bannerNotificationDisplayMode = 5;
|
|
6436
|
+
optional DisplayMode unreadCounterBadgeDisplayMode = 6;
|
|
6437
|
+
optional bool isMessagesNotificationEnabled = 7;
|
|
6438
|
+
optional bool isCallsNotificationEnabled = 8;
|
|
6439
|
+
optional bool isReactionsNotificationEnabled = 9;
|
|
6440
|
+
optional bool isStatusReactionsNotificationEnabled = 10;
|
|
6441
|
+
optional bool isTextPreviewForNotificationEnabled = 11;
|
|
6442
|
+
optional int32 defaultNotificationToneId = 12;
|
|
6443
|
+
optional int32 groupDefaultNotificationToneId = 13;
|
|
6444
|
+
optional int32 appTheme = 14;
|
|
6445
|
+
optional int32 wallpaperId = 15;
|
|
6446
|
+
optional bool isDoodleWallpaperEnabled = 16;
|
|
6447
|
+
optional int32 fontSize = 17;
|
|
6448
|
+
optional bool isPhotosAutodownloadEnabled = 18;
|
|
6449
|
+
optional bool isAudiosAutodownloadEnabled = 19;
|
|
6450
|
+
optional bool isVideosAutodownloadEnabled = 20;
|
|
6451
|
+
optional bool isDocumentsAutodownloadEnabled = 21;
|
|
6452
|
+
optional bool disableLinkPreviews = 22;
|
|
6453
|
+
optional int32 notificationToneId = 23;
|
|
6454
|
+
optional MediaQualitySetting mediaUploadQuality = 24;
|
|
6455
|
+
optional bool isSpellCheckEnabled = 25;
|
|
6456
|
+
optional bool isEnterToSendEnabled = 26;
|
|
6457
|
+
optional bool isGroupMessageNotificationEnabled = 27;
|
|
6458
|
+
optional bool isGroupReactionsNotificationEnabled = 28;
|
|
6459
|
+
optional bool isStatusNotificationEnabled = 29;
|
|
6460
|
+
optional int32 statusNotificationToneId = 30;
|
|
6461
|
+
optional bool shouldPlaySoundForCallNotification = 31;
|
|
6462
|
+
optional string chatThemeId = 32;
|
|
6463
|
+
optional string colorSchemeId = 33;
|
|
6464
|
+
optional string stockWallpaperImageId = 34;
|
|
6465
|
+
optional MediaAutoDownloadQualitySetting mediaAutoDownloadQuality = 35;
|
|
6466
|
+
enum DisplayMode {
|
|
6467
|
+
DISPLAY_MODE_UNKNOWN = 0;
|
|
6468
|
+
ALWAYS = 1;
|
|
6469
|
+
NEVER = 2;
|
|
6470
|
+
ONLY_WHEN_APP_IS_OPEN = 3;
|
|
6471
|
+
}
|
|
6472
|
+
enum MediaAutoDownloadQualitySetting {
|
|
6473
|
+
MEDIA_AUTO_DOWNLOAD_QUALITY_UNKNOWN = 0;
|
|
6474
|
+
MEDIA_AUTO_DOWNLOAD_QUALITY_STANDARD = 1;
|
|
6475
|
+
MEDIA_AUTO_DOWNLOAD_QUALITY_HD = 2;
|
|
6476
|
+
MEDIA_AUTO_DOWNLOAD_QUALITY_AUTO = 3;
|
|
6477
|
+
}
|
|
6478
|
+
enum MediaQualitySetting {
|
|
6479
|
+
MEDIA_QUALITY_UNKNOWN = 0;
|
|
6480
|
+
STANDARD = 1;
|
|
6481
|
+
HD = 2;
|
|
6482
|
+
}
|
|
6483
|
+
enum SettingKey {
|
|
6484
|
+
SETTING_KEY_UNKNOWN = 0;
|
|
6485
|
+
START_AT_LOGIN = 1;
|
|
6486
|
+
MINIMIZE_TO_TRAY = 2;
|
|
6487
|
+
LANGUAGE = 3;
|
|
6488
|
+
REPLACE_TEXT_WITH_EMOJI = 4;
|
|
6489
|
+
BANNER_NOTIFICATION_DISPLAY_MODE = 5;
|
|
6490
|
+
UNREAD_COUNTER_BADGE_DISPLAY_MODE = 6;
|
|
6491
|
+
IS_MESSAGES_NOTIFICATION_ENABLED = 7;
|
|
6492
|
+
IS_CALLS_NOTIFICATION_ENABLED = 8;
|
|
6493
|
+
IS_REACTIONS_NOTIFICATION_ENABLED = 9;
|
|
6494
|
+
IS_STATUS_REACTIONS_NOTIFICATION_ENABLED = 10;
|
|
6495
|
+
IS_TEXT_PREVIEW_FOR_NOTIFICATION_ENABLED = 11;
|
|
6496
|
+
DEFAULT_NOTIFICATION_TONE_ID = 12;
|
|
6497
|
+
GROUP_DEFAULT_NOTIFICATION_TONE_ID = 13;
|
|
6498
|
+
APP_THEME = 14;
|
|
6499
|
+
WALLPAPER_ID = 15;
|
|
6500
|
+
IS_DOODLE_WALLPAPER_ENABLED = 16;
|
|
6501
|
+
FONT_SIZE = 17;
|
|
6502
|
+
IS_PHOTOS_AUTODOWNLOAD_ENABLED = 18;
|
|
6503
|
+
IS_AUDIOS_AUTODOWNLOAD_ENABLED = 19;
|
|
6504
|
+
IS_VIDEOS_AUTODOWNLOAD_ENABLED = 20;
|
|
6505
|
+
IS_DOCUMENTS_AUTODOWNLOAD_ENABLED = 21;
|
|
6506
|
+
DISABLE_LINK_PREVIEWS = 22;
|
|
6507
|
+
NOTIFICATION_TONE_ID = 23;
|
|
6508
|
+
MEDIA_UPLOAD_QUALITY = 24;
|
|
6509
|
+
IS_SPELL_CHECK_ENABLED = 25;
|
|
6510
|
+
IS_ENTER_TO_SEND_ENABLED = 26;
|
|
6511
|
+
IS_GROUP_MESSAGE_NOTIFICATION_ENABLED = 27;
|
|
6512
|
+
IS_GROUP_REACTIONS_NOTIFICATION_ENABLED = 28;
|
|
6513
|
+
IS_STATUS_NOTIFICATION_ENABLED = 29;
|
|
6514
|
+
STATUS_NOTIFICATION_TONE_ID = 30;
|
|
6515
|
+
SHOULD_PLAY_SOUND_FOR_CALL_NOTIFICATION = 31;
|
|
6516
|
+
CHAT_THEME_ID = 32;
|
|
6517
|
+
COLOR_SCHEME_ID = 33;
|
|
6518
|
+
STOCK_WALLPAPER_IMAGE_ID = 34;
|
|
6519
|
+
MEDIA_AUTO_DOWNLOAD_QUALITY = 35;
|
|
6520
|
+
}
|
|
6521
|
+
enum SettingPlatform {
|
|
6522
|
+
PLATFORM_UNKNOWN = 0;
|
|
6523
|
+
WEB = 1;
|
|
6524
|
+
HYBRID = 2;
|
|
6525
|
+
WINDOWS = 3;
|
|
6526
|
+
MAC = 4;
|
|
6527
|
+
}
|
|
6528
|
+
}
|
|
6529
|
+
|
|
6530
|
+
message SharedDeviceAllowlistAction {
|
|
6531
|
+
optional bool allowed = 1;
|
|
6532
|
+
}
|
|
6533
|
+
|
|
6534
|
+
message SharedDeviceSecretAction {
|
|
6535
|
+
optional bytes secret = 1;
|
|
6536
|
+
optional int64 ttlMs = 2;
|
|
6537
|
+
}
|
|
6538
|
+
|
|
4862
6539
|
message StarAction {
|
|
4863
6540
|
optional bool starred = 1;
|
|
4864
6541
|
}
|
|
4865
|
-
|
|
6542
|
+
|
|
4866
6543
|
message StatusPostOptInNotificationPreferencesAction {
|
|
4867
6544
|
optional bool enabled = 1;
|
|
4868
6545
|
}
|
|
4869
|
-
|
|
6546
|
+
|
|
4870
6547
|
message StatusPrivacyAction {
|
|
4871
6548
|
optional StatusDistributionMode mode = 1;
|
|
4872
6549
|
repeated string userJid = 2;
|
|
6550
|
+
optional bool shareToFb = 3;
|
|
6551
|
+
optional bool shareToIg = 4;
|
|
6552
|
+
repeated CustomList customLists = 5;
|
|
6553
|
+
repeated StatusDistributionMode modes = 6;
|
|
6554
|
+
message CustomList {
|
|
6555
|
+
optional string listId = 1;
|
|
6556
|
+
optional string name = 2;
|
|
6557
|
+
optional string emoji = 3;
|
|
6558
|
+
optional bool isSelected = 4;
|
|
6559
|
+
repeated string userJid = 5;
|
|
6560
|
+
}
|
|
6561
|
+
|
|
4873
6562
|
enum StatusDistributionMode {
|
|
4874
6563
|
ALLOW_LIST = 0;
|
|
4875
6564
|
DENY_LIST = 1;
|
|
4876
6565
|
CONTACTS = 2;
|
|
4877
6566
|
CLOSE_FRIENDS = 3;
|
|
6567
|
+
CUSTOM_LIST = 4;
|
|
4878
6568
|
}
|
|
4879
6569
|
}
|
|
4880
|
-
|
|
6570
|
+
|
|
4881
6571
|
message StickerAction {
|
|
4882
6572
|
optional string url = 1;
|
|
4883
6573
|
optional bytes fileEncSha256 = 2;
|
|
@@ -4892,41 +6582,70 @@ message SyncActionValue {
|
|
|
4892
6582
|
optional bool isLottie = 11;
|
|
4893
6583
|
optional string imageHash = 12;
|
|
4894
6584
|
optional bool isAvatarSticker = 13;
|
|
6585
|
+
optional StickerAudio audio = 14;
|
|
4895
6586
|
}
|
|
4896
|
-
|
|
6587
|
+
|
|
4897
6588
|
message SubscriptionAction {
|
|
4898
6589
|
optional bool isDeactivated = 1;
|
|
4899
6590
|
optional bool isAutoRenewing = 2;
|
|
4900
6591
|
optional int64 expirationDate = 3;
|
|
4901
6592
|
}
|
|
4902
|
-
|
|
6593
|
+
|
|
6594
|
+
message SubscriptionsSyncV2Action {
|
|
6595
|
+
repeated SubscriptionInfo subscriptions = 1;
|
|
6596
|
+
repeated PaidFeature paidFeature = 2;
|
|
6597
|
+
message PaidFeature {
|
|
6598
|
+
optional string name = 1;
|
|
6599
|
+
optional bool enabled = 2;
|
|
6600
|
+
optional int32 limit = 3;
|
|
6601
|
+
optional int64 expirationTime = 4;
|
|
6602
|
+
}
|
|
6603
|
+
|
|
6604
|
+
message SubscriptionInfo {
|
|
6605
|
+
optional string id = 1;
|
|
6606
|
+
optional int32 tier = 2;
|
|
6607
|
+
optional string status = 3;
|
|
6608
|
+
optional int64 startTime = 4;
|
|
6609
|
+
optional int64 endTime = 5;
|
|
6610
|
+
optional bool isPlatformChanged = 6;
|
|
6611
|
+
optional string source = 7;
|
|
6612
|
+
optional int64 creationTime = 8;
|
|
6613
|
+
}
|
|
6614
|
+
|
|
6615
|
+
}
|
|
6616
|
+
|
|
4903
6617
|
message SyncActionMessage {
|
|
4904
6618
|
optional MessageKey key = 1;
|
|
4905
6619
|
optional int64 timestamp = 2;
|
|
4906
6620
|
}
|
|
4907
|
-
|
|
6621
|
+
|
|
4908
6622
|
message SyncActionMessageRange {
|
|
4909
6623
|
optional int64 lastMessageTimestamp = 1;
|
|
4910
6624
|
optional int64 lastSystemMessageTimestamp = 2;
|
|
4911
6625
|
repeated SyncActionValue.SyncActionMessage messages = 3;
|
|
4912
6626
|
}
|
|
4913
|
-
|
|
6627
|
+
|
|
6628
|
+
message ThreadPinAction {
|
|
6629
|
+
optional bool pinned = 1;
|
|
6630
|
+
}
|
|
6631
|
+
|
|
4914
6632
|
message TimeFormatAction {
|
|
4915
6633
|
optional bool isTwentyFourHourFormatEnabled = 1;
|
|
4916
6634
|
}
|
|
4917
|
-
|
|
6635
|
+
|
|
4918
6636
|
message UGCBot {
|
|
4919
6637
|
optional bytes definition = 1;
|
|
4920
6638
|
}
|
|
4921
|
-
|
|
6639
|
+
|
|
4922
6640
|
message UnarchiveChatsSetting {
|
|
4923
6641
|
optional bool unarchiveChats = 1;
|
|
6642
|
+
optional bool unarchiveChannels = 2;
|
|
4924
6643
|
}
|
|
4925
|
-
|
|
6644
|
+
|
|
4926
6645
|
message UserStatusMuteAction {
|
|
4927
6646
|
optional bool muted = 1;
|
|
4928
6647
|
}
|
|
4929
|
-
|
|
6648
|
+
|
|
4930
6649
|
message UsernameChatStartModeAction {
|
|
4931
6650
|
optional ChatStartMode chatStartMode = 1;
|
|
4932
6651
|
enum ChatStartMode {
|
|
@@ -4934,7 +6653,22 @@ message SyncActionValue {
|
|
|
4934
6653
|
PN = 2;
|
|
4935
6654
|
}
|
|
4936
6655
|
}
|
|
4937
|
-
|
|
6656
|
+
|
|
6657
|
+
message WASARootSecretAction {
|
|
6658
|
+
repeated RootSecretEntry secrets = 1;
|
|
6659
|
+
message RootSecretEntry {
|
|
6660
|
+
optional string id = 1;
|
|
6661
|
+
optional bytes rootSecret = 2;
|
|
6662
|
+
optional int64 epoch = 3;
|
|
6663
|
+
optional Status status = 4;
|
|
6664
|
+
enum Status {
|
|
6665
|
+
INACTIVE = 0;
|
|
6666
|
+
ACTIVE = 1;
|
|
6667
|
+
}
|
|
6668
|
+
}
|
|
6669
|
+
|
|
6670
|
+
}
|
|
6671
|
+
|
|
4938
6672
|
message WaffleAccountLinkStateAction {
|
|
4939
6673
|
optional AccountLinkState linkState = 2;
|
|
4940
6674
|
enum AccountLinkState {
|
|
@@ -4943,11 +6677,11 @@ message SyncActionValue {
|
|
|
4943
6677
|
UNLINKED = 2;
|
|
4944
6678
|
}
|
|
4945
6679
|
}
|
|
4946
|
-
|
|
6680
|
+
|
|
4947
6681
|
message WamoUserIdentifierAction {
|
|
4948
6682
|
optional string identifier = 1;
|
|
4949
6683
|
}
|
|
4950
|
-
|
|
6684
|
+
|
|
4951
6685
|
}
|
|
4952
6686
|
|
|
4953
6687
|
message SyncdIndex {
|
|
@@ -5016,17 +6750,17 @@ message TemplateButton {
|
|
|
5016
6750
|
optional Message.HighlyStructuredMessage displayText = 1;
|
|
5017
6751
|
optional Message.HighlyStructuredMessage phoneNumber = 2;
|
|
5018
6752
|
}
|
|
5019
|
-
|
|
6753
|
+
|
|
5020
6754
|
message QuickReplyButton {
|
|
5021
6755
|
optional Message.HighlyStructuredMessage displayText = 1;
|
|
5022
6756
|
optional string id = 2;
|
|
5023
6757
|
}
|
|
5024
|
-
|
|
6758
|
+
|
|
5025
6759
|
message URLButton {
|
|
5026
6760
|
optional Message.HighlyStructuredMessage displayText = 1;
|
|
5027
6761
|
optional Message.HighlyStructuredMessage url = 2;
|
|
5028
6762
|
}
|
|
5029
|
-
|
|
6763
|
+
|
|
5030
6764
|
}
|
|
5031
6765
|
|
|
5032
6766
|
message ThreadID {
|
|
@@ -5047,7 +6781,7 @@ message UrlTrackingMap {
|
|
|
5047
6781
|
optional string consentedUsersUrl = 3;
|
|
5048
6782
|
optional uint32 cardIndex = 4;
|
|
5049
6783
|
}
|
|
5050
|
-
|
|
6784
|
+
|
|
5051
6785
|
}
|
|
5052
6786
|
|
|
5053
6787
|
message UserPassword {
|
|
@@ -5073,13 +6807,13 @@ message UserPassword {
|
|
|
5073
6807
|
uint32 asUnsignedInteger = 2;
|
|
5074
6808
|
}
|
|
5075
6809
|
}
|
|
5076
|
-
|
|
6810
|
+
|
|
5077
6811
|
}
|
|
5078
|
-
|
|
6812
|
+
|
|
5079
6813
|
}
|
|
5080
6814
|
|
|
5081
6815
|
message UserReceipt {
|
|
5082
|
-
string userJid = 1;
|
|
6816
|
+
optional string userJid = 1;
|
|
5083
6817
|
optional int64 receiptTimestamp = 2;
|
|
5084
6818
|
optional int64 readTimestamp = 3;
|
|
5085
6819
|
optional int64 playedTimestamp = 4;
|
|
@@ -5098,12 +6832,13 @@ message VerifiedNameCertificate {
|
|
|
5098
6832
|
repeated LocalizedName localizedNames = 8;
|
|
5099
6833
|
optional uint64 issueTime = 10;
|
|
5100
6834
|
}
|
|
5101
|
-
|
|
6835
|
+
|
|
5102
6836
|
}
|
|
5103
6837
|
|
|
5104
6838
|
message WallpaperSettings {
|
|
5105
6839
|
optional string filename = 1;
|
|
5106
6840
|
optional uint32 opacity = 2;
|
|
6841
|
+
optional bool isGenAi = 3;
|
|
5107
6842
|
}
|
|
5108
6843
|
|
|
5109
6844
|
message WebFeatures {
|
|
@@ -5165,7 +6900,7 @@ enum WebLinkRenderConfig {
|
|
|
5165
6900
|
SYSTEM = 1;
|
|
5166
6901
|
}
|
|
5167
6902
|
message WebMessageInfo {
|
|
5168
|
-
MessageKey key = 1;
|
|
6903
|
+
optional MessageKey key = 1;
|
|
5169
6904
|
optional Message message = 2;
|
|
5170
6905
|
optional uint64 messageTimestamp = 3;
|
|
5171
6906
|
optional Status status = 4;
|
|
@@ -5231,6 +6966,14 @@ message WebMessageInfo {
|
|
|
5231
6966
|
optional GroupHistoryBundleInfo groupHistoryBundleInfo = 75;
|
|
5232
6967
|
optional InteractiveMessageAdditionalMetadata interactiveMessageAdditionalMetadata = 76;
|
|
5233
6968
|
optional QuarantinedMessage quarantinedMessage = 77;
|
|
6969
|
+
optional uint32 nonJidMentions = 78;
|
|
6970
|
+
optional string hsmTag = 79;
|
|
6971
|
+
optional uint64 ephemeralExpirationTimestamp = 80;
|
|
6972
|
+
optional ScheduledMessageMetadata scheduledMessageMetadata = 81;
|
|
6973
|
+
optional string decisionId = 82;
|
|
6974
|
+
repeated string decisionSources = 83;
|
|
6975
|
+
optional EventInviteAdditionalMetadata eventInviteAdditionalMetadata = 84;
|
|
6976
|
+
optional uint64 groupHistoryLastCountedMessageTimestamp = 85;
|
|
5234
6977
|
enum BizPrivacyStatus {
|
|
5235
6978
|
E2EE = 0;
|
|
5236
6979
|
FB = 2;
|
|
@@ -5468,6 +7211,54 @@ message WebMessageInfo {
|
|
|
5468
7211
|
PHONE_NUMBER_HIDING_CHAT_DEPRECATED_MESSAGE = 219;
|
|
5469
7212
|
QUARANTINED_MESSAGE = 220;
|
|
5470
7213
|
GROUP_MEMBER_SHARE_GROUP_HISTORY_MODE = 221;
|
|
7214
|
+
GROUP_OPEN_BOT_ADDED = 222;
|
|
7215
|
+
GROUP_TEE_BOT_ADDED = 223;
|
|
7216
|
+
CONTACT_INFO = 224;
|
|
7217
|
+
SCHEDULED_MESSAGE_CREATED = 225;
|
|
7218
|
+
IDENTITY_TRUST_MARKED = 226;
|
|
7219
|
+
IDENTITY_TRUST_UNMARKED = 227;
|
|
7220
|
+
IDENTITY_TRUST_REVOKED = 228;
|
|
7221
|
+
CTWA_CONSUMER_DISCLOSURE = 230;
|
|
7222
|
+
CHANGE_ACP2_SETTING = 240;
|
|
7223
|
+
BIZ_CALLBACK_DISABLED = 244;
|
|
7224
|
+
BIZ_CALLBACK_ENABLED = 247;
|
|
7225
|
+
EPHEMERAL_CHANGED_FOR_COEX = 248;
|
|
7226
|
+
UGC_BOT_PROFILE_UPDATED = 249;
|
|
7227
|
+
ORDER_EPHEMERAL_EXEMPTION = 250;
|
|
7228
|
+
GROUP_DEFAULT_SUB_GROUP_DEMOTE = 251;
|
|
7229
|
+
BIZ_BUSINESS_BROADCAST_ENTRY_POINT = 252;
|
|
7230
|
+
BOT_INLINE_TOS_CHAT = 253;
|
|
7231
|
+
CAMEO_CHAT_CREATED = 254;
|
|
7232
|
+
SENDER_SIDE_CONTACT_INFO = 255;
|
|
7233
|
+
CAMEO_TRANSITIONED = 256;
|
|
7234
|
+
CAMEO_REGISTERED_WITH_NEW_CHAT = 257;
|
|
7235
|
+
PRIVACY_SYSTEM_MESSAGE = 258;
|
|
7236
|
+
BIZ_AI_LEARNING_ENABLED_DISCLOSURE = 259;
|
|
7237
|
+
BIZ_AI_LEARNING_DISABLED_DISCLOSURE = 260;
|
|
7238
|
+
BIZ_AI_REPLIES_MUTED_HISTORICAL_CHAT = 261;
|
|
7239
|
+
INVITE_FROM_IG = 262;
|
|
7240
|
+
GROUP_ADMIN_FIRST_JOIN_VIA_LINK = 263;
|
|
7241
|
+
GROUP_ADMIN_FLOOD_JOIN_VIA_LINK = 264;
|
|
7242
|
+
BIZ_AI_REPLIES_MUTED_IRRELEVANT_HISTORICAL_CHAT = 265;
|
|
7243
|
+
PENDING_INVITE_CREATED = 266;
|
|
7244
|
+
CAMEO_CHAT_EXPIRED = 267;
|
|
7245
|
+
GROUP_PUSHNAME_SHARED = 270;
|
|
7246
|
+
BIZ_POST_SEND_OPT_OUT = 271;
|
|
7247
|
+
BB_PRO_BROADCAST_CHAT_CARD = 272;
|
|
7248
|
+
BOT_PROACTIVE_MESSAGE_ENABLED = 273;
|
|
7249
|
+
BOT_PROACTIVE_MESSAGE_DISABLED = 274;
|
|
7250
|
+
BOT_PROACTIVE_MESSAGE_FIRST_TIME = 275;
|
|
7251
|
+
DYNAMIC_AUDIENCE_LIST_CREATE = 276;
|
|
7252
|
+
DYNAMIC_AUDIENCE_LIST_UPDATE_LINK = 277;
|
|
7253
|
+
CHAT_WITH_BUSINESS_IN_DIRECTORY = 283;
|
|
7254
|
+
META_AI_THREAD_CREATED = 284;
|
|
7255
|
+
META_AI_CONNECTOR_LINKED = 285;
|
|
7256
|
+
SPLIT_PAYMENT_MARKED_AS_PAID = 289;
|
|
7257
|
+
POLL_OPTIONS_REMOVED = 290;
|
|
7258
|
+
POLL_ADDED_OPTION_REMOVED = 291;
|
|
7259
|
+
POLL_OPTION_ADDED = 292;
|
|
7260
|
+
GROUP_CUSTOM_REACTIONS = 293;
|
|
7261
|
+
SCHEDULED_MESSAGE_DELETED = 294;
|
|
5471
7262
|
}
|
|
5472
7263
|
}
|
|
5473
7264
|
|