@neelegirl/baileys 1.4.8 → 1.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/WAProto/WAProto.proto +1299 -286
- package/lib/Socket/messages-recv.js +40 -5
- package/lib/Socket/messages-send.js +1 -22
- package/lib/Store/make-in-memory-store.js +1 -0
- package/lib/Utils/generics.js +1 -1
- package/lib/Utils/process-message.js +2 -0
- package/lib/Utils/use-multi-file-auth-state.js +1 -1
- package/package.json +6 -7
- package/lib/Socket/Client/types.d.ts +0 -17
- package/lib/Socket/Client/types.js +0 -13
- package/lib/Socket/Client/websocket.d.ts +0 -12
- package/lib/Socket/Client/websocket.js +0 -62
- package/lib/index.d.ts +0 -12
- /package/{readme.md → README.md} +0 -0
package/WAProto/WAProto.proto
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
syntax = "
|
|
1
|
+
syntax = "proto3";
|
|
2
2
|
package proto;
|
|
3
3
|
|
|
4
|
+
/// WhatsApp Version: 2.3000.1020608496
|
|
5
|
+
|
|
4
6
|
message ADVDeviceIdentity {
|
|
5
7
|
optional uint32 rawId = 1;
|
|
6
8
|
optional uint64 timestamp = 2;
|
|
@@ -40,6 +42,159 @@ message ADVSignedKeyIndexList {
|
|
|
40
42
|
optional bytes accountSignatureKey = 3;
|
|
41
43
|
}
|
|
42
44
|
|
|
45
|
+
message AIRichResponseMessage {
|
|
46
|
+
optional AIRichResponseMessageType messageType = 1;
|
|
47
|
+
repeated AIRichResponseSubMessage submessages = 2;
|
|
48
|
+
optional AIRichResponseAbstractData abstractData = 3;
|
|
49
|
+
message AIRichResponseAbstractData {
|
|
50
|
+
optional bytes data = 1;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
message AIRichResponseCodeMetadata {
|
|
54
|
+
optional string codeLanguage = 1;
|
|
55
|
+
repeated AIRichResponseCodeBlock codeBlocks = 2;
|
|
56
|
+
message AIRichResponseCodeBlock {
|
|
57
|
+
optional AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeHighlightType highlightType = 1;
|
|
58
|
+
optional string codeContent = 2;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
enum AIRichResponseCodeHighlightType {
|
|
62
|
+
AI_RICH_RESPONSE_CODE_HIGHLIGHT_DEFAULT = 0;
|
|
63
|
+
AI_RICH_RESPONSE_CODE_HIGHLIGHT_KEYWORD = 1;
|
|
64
|
+
AI_RICH_RESPONSE_CODE_HIGHLIGHT_METHOD = 2;
|
|
65
|
+
AI_RICH_RESPONSE_CODE_HIGHLIGHT_STRING = 3;
|
|
66
|
+
AI_RICH_RESPONSE_CODE_HIGHLIGHT_NUMBER = 4;
|
|
67
|
+
AI_RICH_RESPONSE_CODE_HIGHLIGHT_COMMENT = 5;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
message AIRichResponseContentItemsMetadata {
|
|
72
|
+
repeated AIRichResponseContentItemMetadata itemsMetadata = 1;
|
|
73
|
+
optional ContentType contentType = 2;
|
|
74
|
+
message AIRichResponseContentItemMetadata {
|
|
75
|
+
oneof aIRichResponseContentItem {
|
|
76
|
+
AIRichResponseMessage.AIRichResponseContentItemsMetadata.AIRichResponseReelItem reelItem = 1;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
message AIRichResponseReelItem {
|
|
81
|
+
optional string title = 1;
|
|
82
|
+
optional string profileIconUrl = 2;
|
|
83
|
+
optional string thumbnailUrl = 3;
|
|
84
|
+
optional string videoUrl = 4;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
enum ContentType {
|
|
88
|
+
DEFAULT = 0;
|
|
89
|
+
CAROUSEL = 1;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
message AIRichResponseDynamicMetadata {
|
|
94
|
+
optional AIRichResponseDynamicMetadataType type = 1;
|
|
95
|
+
optional uint64 version = 2;
|
|
96
|
+
optional string url = 3;
|
|
97
|
+
optional uint32 loopCount = 4;
|
|
98
|
+
enum AIRichResponseDynamicMetadataType {
|
|
99
|
+
AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_UNKNOWN = 0;
|
|
100
|
+
AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_IMAGE = 1;
|
|
101
|
+
AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_GIF = 2;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
message AIRichResponseGridImageMetadata {
|
|
106
|
+
optional AIRichResponseMessage.AIRichResponseImageURL gridImageUrl = 1;
|
|
107
|
+
repeated AIRichResponseMessage.AIRichResponseImageURL imageUrls = 2;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
message AIRichResponseImageURL {
|
|
111
|
+
optional string imagePreviewUrl = 1;
|
|
112
|
+
optional string imageHighResUrl = 2;
|
|
113
|
+
optional string sourceUrl = 3;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
message AIRichResponseInlineImageMetadata {
|
|
117
|
+
optional AIRichResponseMessage.AIRichResponseImageURL imageUrl = 1;
|
|
118
|
+
optional string imageText = 2;
|
|
119
|
+
optional AIRichResponseImageAlignment alignment = 3;
|
|
120
|
+
optional string tapLinkUrl = 4;
|
|
121
|
+
enum AIRichResponseImageAlignment {
|
|
122
|
+
AI_RICH_RESPONSE_IMAGE_LAYOUT_LEADING_ALIGNED = 0;
|
|
123
|
+
AI_RICH_RESPONSE_IMAGE_LAYOUT_TRAILING_ALIGNED = 1;
|
|
124
|
+
AI_RICH_RESPONSE_IMAGE_LAYOUT_CENTER_ALIGNED = 2;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
message AIRichResponseLatexMetadata {
|
|
129
|
+
optional string text = 1;
|
|
130
|
+
repeated AIRichResponseLatexExpression expressions = 2;
|
|
131
|
+
message AIRichResponseLatexExpression {
|
|
132
|
+
optional string latexExpression = 1;
|
|
133
|
+
optional string url = 2;
|
|
134
|
+
optional double width = 3;
|
|
135
|
+
optional double height = 4;
|
|
136
|
+
optional double fontHeight = 5;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
message AIRichResponseMapMetadata {
|
|
142
|
+
optional double centerLatitude = 1;
|
|
143
|
+
optional double centerLongitude = 2;
|
|
144
|
+
optional double latitudeDelta = 3;
|
|
145
|
+
optional double longitudeDelta = 4;
|
|
146
|
+
repeated AIRichResponseMapAnnotation annotations = 5;
|
|
147
|
+
optional bool showInfoList = 6;
|
|
148
|
+
message AIRichResponseMapAnnotation {
|
|
149
|
+
optional uint32 annotationNumber = 1;
|
|
150
|
+
optional double latitude = 2;
|
|
151
|
+
optional double longitude = 3;
|
|
152
|
+
optional string title = 4;
|
|
153
|
+
optional string body = 5;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
enum AIRichResponseMessageType {
|
|
159
|
+
AI_RICH_RESPONSE_TYPE_UNKNOWN = 0;
|
|
160
|
+
AI_RICH_RESPONSE_TYPE_STANDARD = 1;
|
|
161
|
+
}
|
|
162
|
+
message AIRichResponseSubMessage {
|
|
163
|
+
optional AIRichResponseMessage.AIRichResponseSubMessageType messageType = 1;
|
|
164
|
+
optional AIRichResponseMessage.AIRichResponseGridImageMetadata gridImageMetadata = 2;
|
|
165
|
+
optional string messageText = 3;
|
|
166
|
+
optional AIRichResponseMessage.AIRichResponseInlineImageMetadata imageMetadata = 4;
|
|
167
|
+
optional AIRichResponseMessage.AIRichResponseCodeMetadata codeMetadata = 5;
|
|
168
|
+
optional AIRichResponseMessage.AIRichResponseTableMetadata tableMetadata = 6;
|
|
169
|
+
optional AIRichResponseMessage.AIRichResponseDynamicMetadata dynamicMetadata = 7;
|
|
170
|
+
optional AIRichResponseMessage.AIRichResponseLatexMetadata latexMetadata = 8;
|
|
171
|
+
optional AIRichResponseMessage.AIRichResponseMapMetadata mapMetadata = 9;
|
|
172
|
+
optional AIRichResponseMessage.AIRichResponseContentItemsMetadata contentItemsMetadata = 10;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
enum AIRichResponseSubMessageType {
|
|
176
|
+
AI_RICH_RESPONSE_UNKNOWN = 0;
|
|
177
|
+
AI_RICH_RESPONSE_GRID_IMAGE = 1;
|
|
178
|
+
AI_RICH_RESPONSE_TEXT = 2;
|
|
179
|
+
AI_RICH_RESPONSE_INLINE_IMAGE = 3;
|
|
180
|
+
AI_RICH_RESPONSE_TABLE = 4;
|
|
181
|
+
AI_RICH_RESPONSE_CODE = 5;
|
|
182
|
+
AI_RICH_RESPONSE_DYNAMIC = 6;
|
|
183
|
+
AI_RICH_RESPONSE_MAP = 7;
|
|
184
|
+
AI_RICH_RESPONSE_LATEX = 8;
|
|
185
|
+
AI_RICH_RESPONSE_CONTENT_ITEMS = 9;
|
|
186
|
+
}
|
|
187
|
+
message AIRichResponseTableMetadata {
|
|
188
|
+
repeated AIRichResponseTableRow rows = 1;
|
|
189
|
+
message AIRichResponseTableRow {
|
|
190
|
+
repeated string items = 1;
|
|
191
|
+
optional bool isHeading = 2;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
}
|
|
197
|
+
|
|
43
198
|
message ActionLink {
|
|
44
199
|
optional string url = 1;
|
|
45
200
|
optional string buttonTitle = 2;
|
|
@@ -109,12 +264,153 @@ message BotAvatarMetadata {
|
|
|
109
264
|
optional uint32 wordCount = 5;
|
|
110
265
|
}
|
|
111
266
|
|
|
267
|
+
message BotCapabilityMetadata {
|
|
268
|
+
repeated BotCapabilityType capabilities = 1;
|
|
269
|
+
enum BotCapabilityType {
|
|
270
|
+
UNKNOWN = 0;
|
|
271
|
+
PROGRESS_INDICATOR = 1;
|
|
272
|
+
RICH_RESPONSE_HEADING = 2;
|
|
273
|
+
RICH_RESPONSE_NESTED_LIST = 3;
|
|
274
|
+
AI_MEMORY = 4;
|
|
275
|
+
RICH_RESPONSE_THREAD_SURFING = 5;
|
|
276
|
+
RICH_RESPONSE_TABLE = 6;
|
|
277
|
+
RICH_RESPONSE_CODE = 7;
|
|
278
|
+
RICH_RESPONSE_STRUCTURED_RESPONSE = 8;
|
|
279
|
+
RICH_RESPONSE_INLINE_IMAGE = 9;
|
|
280
|
+
WA_IG_1P_PLUGIN_RANKING_CONTROL = 10;
|
|
281
|
+
WA_IG_1P_PLUGIN_RANKING_UPDATE_1 = 11;
|
|
282
|
+
WA_IG_1P_PLUGIN_RANKING_UPDATE_2 = 12;
|
|
283
|
+
WA_IG_1P_PLUGIN_RANKING_UPDATE_3 = 13;
|
|
284
|
+
WA_IG_1P_PLUGIN_RANKING_UPDATE_4 = 14;
|
|
285
|
+
WA_IG_1P_PLUGIN_RANKING_UPDATE_5 = 15;
|
|
286
|
+
WA_IG_1P_PLUGIN_RANKING_UPDATE_6 = 16;
|
|
287
|
+
WA_IG_1P_PLUGIN_RANKING_UPDATE_7 = 17;
|
|
288
|
+
WA_IG_1P_PLUGIN_RANKING_UPDATE_8 = 18;
|
|
289
|
+
WA_IG_1P_PLUGIN_RANKING_UPDATE_9 = 19;
|
|
290
|
+
WA_IG_1P_PLUGIN_RANKING_UPDATE_10 = 20;
|
|
291
|
+
RICH_RESPONSE_SUB_HEADING = 21;
|
|
292
|
+
RICH_RESPONSE_GRID_IMAGE = 22;
|
|
293
|
+
AI_STUDIO_UGC_MEMORY = 23;
|
|
294
|
+
RICH_RESPONSE_LATEX = 24;
|
|
295
|
+
RICH_RESPONSE_MAPS = 25;
|
|
296
|
+
RICH_RESPONSE_INLINE_REELS = 26;
|
|
297
|
+
AGENTIC_PLANNING = 27;
|
|
298
|
+
ACCOUNT_LINKING = 28;
|
|
299
|
+
STREAMING_DISAGGREGATION = 29;
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
message BotImagineMetadata {
|
|
304
|
+
optional ImagineType imagineType = 1;
|
|
305
|
+
enum ImagineType {
|
|
306
|
+
UNKNOWN = 0;
|
|
307
|
+
IMAGINE = 1;
|
|
308
|
+
MEMU = 2;
|
|
309
|
+
FLASH = 3;
|
|
310
|
+
EDIT = 4;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
message BotLinkedAccount {
|
|
315
|
+
optional BotLinkedAccountType type = 1;
|
|
316
|
+
enum BotLinkedAccountType {
|
|
317
|
+
BOT_LINKED_ACCOUNT_TYPE_1P = 0;
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
message BotLinkedAccountsMetadata {
|
|
322
|
+
repeated BotLinkedAccount accounts = 1;
|
|
323
|
+
optional bytes acAuthTokens = 2;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
message BotMediaMetadata {
|
|
327
|
+
optional string fileSha256 = 1;
|
|
328
|
+
optional string mediaKey = 2;
|
|
329
|
+
optional string fileEncSha256 = 3;
|
|
330
|
+
optional string directPath = 4;
|
|
331
|
+
optional int64 mediaKeyTimestamp = 5;
|
|
332
|
+
optional string mimetype = 6;
|
|
333
|
+
optional OrientationType orientationType = 7;
|
|
334
|
+
enum OrientationType {
|
|
335
|
+
CENTER = 1;
|
|
336
|
+
LEFT = 2;
|
|
337
|
+
RIGHT = 3;
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
message BotMemoryFact {
|
|
342
|
+
optional string fact = 1;
|
|
343
|
+
optional string factId = 2;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
message BotMemoryMetadata {
|
|
347
|
+
repeated BotMemoryFact addedFacts = 1;
|
|
348
|
+
repeated BotMemoryFact removedFacts = 2;
|
|
349
|
+
optional string disclaimer = 3;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
message BotMemuMetadata {
|
|
353
|
+
repeated BotMediaMetadata faceImages = 1;
|
|
354
|
+
}
|
|
355
|
+
|
|
112
356
|
message BotMetadata {
|
|
113
357
|
optional BotAvatarMetadata avatarMetadata = 1;
|
|
114
358
|
optional string personaId = 2;
|
|
115
359
|
optional BotPluginMetadata pluginMetadata = 3;
|
|
116
360
|
optional BotSuggestedPromptMetadata suggestedPromptMetadata = 4;
|
|
117
361
|
optional string invokerJid = 5;
|
|
362
|
+
optional BotSessionMetadata sessionMetadata = 6;
|
|
363
|
+
optional BotMemuMetadata memuMetadata = 7;
|
|
364
|
+
optional string timezone = 8;
|
|
365
|
+
optional BotReminderMetadata reminderMetadata = 9;
|
|
366
|
+
optional BotModelMetadata modelMetadata = 10;
|
|
367
|
+
optional string messageDisclaimerText = 11;
|
|
368
|
+
optional BotProgressIndicatorMetadata progressIndicatorMetadata = 12;
|
|
369
|
+
optional BotCapabilityMetadata capabilityMetadata = 13;
|
|
370
|
+
optional BotImagineMetadata imagineMetadata = 14;
|
|
371
|
+
optional BotMemoryMetadata memoryMetadata = 15;
|
|
372
|
+
optional BotRenderingMetadata renderingMetadata = 16;
|
|
373
|
+
optional BotMetricsMetadata botMetricsMetadata = 17;
|
|
374
|
+
optional BotLinkedAccountsMetadata botLinkedAccountsMetadata = 18;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
enum BotMetricsEntryPoint {
|
|
378
|
+
FAVICON = 1;
|
|
379
|
+
CHATLIST = 2;
|
|
380
|
+
AISEARCH_NULL_STATE_PAPER_PLANE = 3;
|
|
381
|
+
AISEARCH_NULL_STATE_SUGGESTION = 4;
|
|
382
|
+
AISEARCH_TYPE_AHEAD_SUGGESTION = 5;
|
|
383
|
+
AISEARCH_TYPE_AHEAD_PAPER_PLANE = 6;
|
|
384
|
+
AISEARCH_TYPE_AHEAD_RESULT_CHATLIST = 7;
|
|
385
|
+
AISEARCH_TYPE_AHEAD_RESULT_MESSAGES = 8;
|
|
386
|
+
AIVOICE_SEARCH_BAR = 9;
|
|
387
|
+
AIVOICE_FAVICON = 10;
|
|
388
|
+
AISTUDIO = 11;
|
|
389
|
+
DEEPLINK = 12;
|
|
390
|
+
NOTIFICATION = 13;
|
|
391
|
+
PROFILE_MESSAGE_BUTTON = 14;
|
|
392
|
+
FORWARD = 15;
|
|
393
|
+
APP_SHORTCUT = 16;
|
|
394
|
+
FF_FAMILY = 17;
|
|
395
|
+
}
|
|
396
|
+
message BotMetricsMetadata {
|
|
397
|
+
optional string destinationId = 1;
|
|
398
|
+
optional BotMetricsEntryPoint destinationEntryPoint = 2;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
message BotModelMetadata {
|
|
402
|
+
optional ModelType modelType = 1;
|
|
403
|
+
optional PremiumModelStatus premiumModelStatus = 2;
|
|
404
|
+
enum ModelType {
|
|
405
|
+
UNKNOWN_TYPE = 0;
|
|
406
|
+
LLAMA_PROD = 1;
|
|
407
|
+
LLAMA_PROD_PREMIUM = 2;
|
|
408
|
+
}
|
|
409
|
+
enum PremiumModelStatus {
|
|
410
|
+
UNKNOWN_STATUS = 0;
|
|
411
|
+
AVAILABLE = 1;
|
|
412
|
+
QUOTA_EXCEED_LIMIT = 2;
|
|
413
|
+
}
|
|
118
414
|
}
|
|
119
415
|
|
|
120
416
|
message BotPluginMetadata {
|
|
@@ -125,20 +421,114 @@ message BotPluginMetadata {
|
|
|
125
421
|
optional string searchProviderUrl = 5;
|
|
126
422
|
optional uint32 referenceIndex = 6;
|
|
127
423
|
optional uint32 expectedLinksCount = 7;
|
|
128
|
-
optional
|
|
424
|
+
optional string searchQuery = 9;
|
|
425
|
+
optional MessageKey parentPluginMessageKey = 10;
|
|
426
|
+
optional PluginType deprecatedField = 11;
|
|
427
|
+
optional PluginType parentPluginType = 12;
|
|
428
|
+
optional string faviconCdnUrl = 13;
|
|
129
429
|
enum PluginType {
|
|
430
|
+
UNKNOWN_PLUGIN = 0;
|
|
130
431
|
REELS = 1;
|
|
131
432
|
SEARCH = 2;
|
|
132
433
|
}
|
|
133
434
|
enum SearchProvider {
|
|
435
|
+
UNKNOWN = 0;
|
|
134
436
|
BING = 1;
|
|
135
437
|
GOOGLE = 2;
|
|
438
|
+
SUPPORT = 3;
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
message BotProgressIndicatorMetadata {
|
|
443
|
+
optional string progressDescription = 1;
|
|
444
|
+
repeated BotPlanningStepMetadata stepsMetadata = 2;
|
|
445
|
+
message BotPlanningStepMetadata {
|
|
446
|
+
optional string statusTitle = 1;
|
|
447
|
+
optional string statusBody = 2;
|
|
448
|
+
repeated BotPlanningSearchSourcesMetadata sourcesMetadata = 3;
|
|
449
|
+
optional PlanningStepStatus status = 4;
|
|
450
|
+
optional bool isReasoning = 5;
|
|
451
|
+
optional bool isEnhancedSearch = 6;
|
|
452
|
+
message BotPlanningSearchSourcesMetadata {
|
|
453
|
+
optional string sourceTitle = 1;
|
|
454
|
+
optional BotPlanningSearchSourceProvider provider = 2;
|
|
455
|
+
optional string sourceUrl = 3;
|
|
456
|
+
enum BotPlanningSearchSourceProvider {
|
|
457
|
+
UNKNOWN = 0;
|
|
458
|
+
OTHER = 1;
|
|
459
|
+
GOOGLE = 2;
|
|
460
|
+
BING = 3;
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
enum PlanningStepStatus {
|
|
465
|
+
UNKNOWN = 0;
|
|
466
|
+
PLANNED = 1;
|
|
467
|
+
EXECUTING = 2;
|
|
468
|
+
FINISHED = 3;
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
message BotPromptSuggestion {
|
|
475
|
+
optional string prompt = 1;
|
|
476
|
+
optional string promptId = 2;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
message BotPromptSuggestions {
|
|
480
|
+
repeated BotPromptSuggestion suggestions = 1;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
message BotReminderMetadata {
|
|
484
|
+
optional MessageKey requestMessageKey = 1;
|
|
485
|
+
optional ReminderAction action = 2;
|
|
486
|
+
optional string name = 3;
|
|
487
|
+
optional uint64 nextTriggerTimestamp = 4;
|
|
488
|
+
optional ReminderFrequency frequency = 5;
|
|
489
|
+
enum ReminderAction {
|
|
490
|
+
NOTIFY = 1;
|
|
491
|
+
CREATE = 2;
|
|
492
|
+
DELETE = 3;
|
|
493
|
+
UPDATE = 4;
|
|
494
|
+
}
|
|
495
|
+
enum ReminderFrequency {
|
|
496
|
+
ONCE = 1;
|
|
497
|
+
DAILY = 2;
|
|
498
|
+
WEEKLY = 3;
|
|
499
|
+
BIWEEKLY = 4;
|
|
500
|
+
MONTHLY = 5;
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
message BotRenderingMetadata {
|
|
505
|
+
repeated Keyword keywords = 1;
|
|
506
|
+
message Keyword {
|
|
507
|
+
optional string value = 1;
|
|
508
|
+
repeated string associatedPrompts = 2;
|
|
136
509
|
}
|
|
510
|
+
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
message BotSessionMetadata {
|
|
514
|
+
optional string sessionId = 1;
|
|
515
|
+
optional BotSessionSource sessionSource = 2;
|
|
137
516
|
}
|
|
138
517
|
|
|
518
|
+
enum BotSessionSource {
|
|
519
|
+
NONE = 0;
|
|
520
|
+
NULL_STATE = 1;
|
|
521
|
+
TYPEAHEAD = 2;
|
|
522
|
+
USER_INPUT = 3;
|
|
523
|
+
EMU_FLASH = 4;
|
|
524
|
+
EMU_FLASH_FOLLOWUP = 5;
|
|
525
|
+
VOICE = 6;
|
|
526
|
+
}
|
|
139
527
|
message BotSuggestedPromptMetadata {
|
|
140
528
|
repeated string suggestedPrompts = 1;
|
|
141
529
|
optional uint32 selectedPromptIndex = 2;
|
|
530
|
+
optional BotPromptSuggestions promptSuggestions = 3;
|
|
531
|
+
optional string selectedPromptId = 4;
|
|
142
532
|
}
|
|
143
533
|
|
|
144
534
|
message CallLogRecord {
|
|
@@ -179,7 +569,7 @@ message CallLogRecord {
|
|
|
179
569
|
optional string userJid = 1;
|
|
180
570
|
optional CallLogRecord.CallResult callResult = 2;
|
|
181
571
|
}
|
|
182
|
-
|
|
572
|
+
|
|
183
573
|
enum SilenceReason {
|
|
184
574
|
NONE = 0;
|
|
185
575
|
SCHEDULED = 1;
|
|
@@ -201,9 +591,14 @@ message CertChain {
|
|
|
201
591
|
optional uint64 notBefore = 4;
|
|
202
592
|
optional uint64 notAfter = 5;
|
|
203
593
|
}
|
|
204
|
-
|
|
594
|
+
|
|
205
595
|
}
|
|
206
|
-
|
|
596
|
+
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
message ChatLockSettings {
|
|
600
|
+
optional bool hideLockedChats = 1;
|
|
601
|
+
optional UserPassword secretCode = 2;
|
|
207
602
|
}
|
|
208
603
|
|
|
209
604
|
message ChatRowOpaqueData {
|
|
@@ -233,16 +628,28 @@ message ChatRowOpaqueData {
|
|
|
233
628
|
VIDEO = 2;
|
|
234
629
|
}
|
|
235
630
|
}
|
|
236
|
-
|
|
631
|
+
|
|
237
632
|
message CtwaContextLinkData {
|
|
238
633
|
optional string context = 1;
|
|
239
634
|
optional string sourceUrl = 2;
|
|
240
635
|
optional string icebreaker = 3;
|
|
241
636
|
optional string phone = 4;
|
|
242
637
|
}
|
|
243
|
-
|
|
638
|
+
|
|
244
639
|
}
|
|
245
|
-
|
|
640
|
+
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
message Citation {
|
|
644
|
+
required string title = 1;
|
|
645
|
+
required string subtitle = 2;
|
|
646
|
+
required string cmsId = 3;
|
|
647
|
+
required string imageUrl = 4;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
message ClientPairingProps {
|
|
651
|
+
optional bool isChatDbLidMigrated = 1;
|
|
652
|
+
optional bool isSyncdPureLidSession = 2;
|
|
246
653
|
}
|
|
247
654
|
|
|
248
655
|
message ClientPayload {
|
|
@@ -273,6 +680,7 @@ message ClientPayload {
|
|
|
273
680
|
optional int32 yearClass = 36;
|
|
274
681
|
optional int32 memClass = 37;
|
|
275
682
|
optional InteropData interopData = 38;
|
|
683
|
+
optional TrafficAnonymization trafficAnonymization = 40;
|
|
276
684
|
enum ConnectReason {
|
|
277
685
|
PUSH = 0;
|
|
278
686
|
USER_ACTIVATED = 1;
|
|
@@ -308,9 +716,10 @@ message ClientPayload {
|
|
|
308
716
|
HARDCODED = 2;
|
|
309
717
|
OVERRIDE = 3;
|
|
310
718
|
FALLBACK = 4;
|
|
719
|
+
MNS = 5;
|
|
311
720
|
}
|
|
312
721
|
}
|
|
313
|
-
|
|
722
|
+
|
|
314
723
|
message DevicePairingRegistrationData {
|
|
315
724
|
optional bytes eRegid = 1;
|
|
316
725
|
optional bytes eKeytype = 2;
|
|
@@ -321,7 +730,7 @@ message ClientPayload {
|
|
|
321
730
|
optional bytes buildHash = 7;
|
|
322
731
|
optional bytes deviceProps = 8;
|
|
323
732
|
}
|
|
324
|
-
|
|
733
|
+
|
|
325
734
|
enum IOSAppExtension {
|
|
326
735
|
SHARE_EXTENSION = 0;
|
|
327
736
|
SERVICE_EXTENSION = 1;
|
|
@@ -330,14 +739,19 @@ message ClientPayload {
|
|
|
330
739
|
message InteropData {
|
|
331
740
|
optional uint64 accountId = 1;
|
|
332
741
|
optional bytes token = 2;
|
|
742
|
+
optional bool enableReadReceipts = 3;
|
|
333
743
|
}
|
|
334
|
-
|
|
744
|
+
|
|
335
745
|
enum Product {
|
|
336
746
|
WHATSAPP = 0;
|
|
337
747
|
MESSENGER = 1;
|
|
338
748
|
INTEROP = 2;
|
|
339
749
|
INTEROP_MSGR = 3;
|
|
340
750
|
}
|
|
751
|
+
enum TrafficAnonymization {
|
|
752
|
+
OFF = 0;
|
|
753
|
+
STANDARD = 1;
|
|
754
|
+
}
|
|
341
755
|
message UserAgent {
|
|
342
756
|
optional Platform platform = 1;
|
|
343
757
|
optional AppVersion appVersion = 2;
|
|
@@ -354,6 +768,7 @@ message ClientPayload {
|
|
|
354
768
|
optional string deviceBoard = 13;
|
|
355
769
|
optional string deviceExpId = 14;
|
|
356
770
|
optional DeviceType deviceType = 15;
|
|
771
|
+
optional string deviceModelType = 16;
|
|
357
772
|
message AppVersion {
|
|
358
773
|
optional uint32 primary = 1;
|
|
359
774
|
optional uint32 secondary = 2;
|
|
@@ -361,7 +776,7 @@ message ClientPayload {
|
|
|
361
776
|
optional uint32 quaternary = 4;
|
|
362
777
|
optional uint32 quinary = 5;
|
|
363
778
|
}
|
|
364
|
-
|
|
779
|
+
|
|
365
780
|
enum DeviceType {
|
|
366
781
|
PHONE = 0;
|
|
367
782
|
TABLET = 1;
|
|
@@ -414,7 +829,7 @@ message ClientPayload {
|
|
|
414
829
|
DEBUG = 3;
|
|
415
830
|
}
|
|
416
831
|
}
|
|
417
|
-
|
|
832
|
+
|
|
418
833
|
message WebInfo {
|
|
419
834
|
optional string refToken = 1;
|
|
420
835
|
optional string version = 2;
|
|
@@ -426,6 +841,7 @@ message ClientPayload {
|
|
|
426
841
|
WIN_STORE = 2;
|
|
427
842
|
DARWIN = 3;
|
|
428
843
|
WIN32 = 4;
|
|
844
|
+
WIN_HYBRID = 5;
|
|
429
845
|
}
|
|
430
846
|
message WebdPayload {
|
|
431
847
|
optional bool usesParticipantInKey = 1;
|
|
@@ -440,9 +856,9 @@ message ClientPayload {
|
|
|
440
856
|
optional string documentTypes = 10;
|
|
441
857
|
optional bytes features = 11;
|
|
442
858
|
}
|
|
443
|
-
|
|
859
|
+
|
|
444
860
|
}
|
|
445
|
-
|
|
861
|
+
|
|
446
862
|
}
|
|
447
863
|
|
|
448
864
|
message CommentMetadata {
|
|
@@ -450,6 +866,21 @@ message CommentMetadata {
|
|
|
450
866
|
optional uint32 replyCount = 2;
|
|
451
867
|
}
|
|
452
868
|
|
|
869
|
+
message CompanionCommitment {
|
|
870
|
+
optional bytes hash = 1;
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
message CompanionEphemeralIdentity {
|
|
874
|
+
optional bytes publicKey = 1;
|
|
875
|
+
optional DeviceProps.PlatformType deviceType = 2;
|
|
876
|
+
optional string ref = 3;
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
message Config {
|
|
880
|
+
map<uint32, Field> field = 1;
|
|
881
|
+
optional uint32 version = 2;
|
|
882
|
+
}
|
|
883
|
+
|
|
453
884
|
message ContextInfo {
|
|
454
885
|
optional string stanzaId = 1;
|
|
455
886
|
optional string participant = 2;
|
|
@@ -484,6 +915,17 @@ message ContextInfo {
|
|
|
484
915
|
optional string smbClientCampaignId = 45;
|
|
485
916
|
optional string smbServerCampaignId = 46;
|
|
486
917
|
optional DataSharingContext dataSharingContext = 47;
|
|
918
|
+
optional bool alwaysShowAdAttribution = 48;
|
|
919
|
+
optional FeatureEligibilities featureEligibilities = 49;
|
|
920
|
+
optional string entryPointConversionExternalSource = 50;
|
|
921
|
+
optional string entryPointConversionExternalMedium = 51;
|
|
922
|
+
optional string ctwaSignals = 54;
|
|
923
|
+
optional bytes ctwaPayload = 55;
|
|
924
|
+
optional ForwardedAIBotMessageInfo forwardedAiBotMessageInfo = 56;
|
|
925
|
+
optional StatusAttributionType statusAttributionType = 57;
|
|
926
|
+
optional UrlTrackingMap urlTrackingMap = 58;
|
|
927
|
+
optional PairedMediaType pairedMediaType = 59;
|
|
928
|
+
optional uint32 rankingVersion = 60;
|
|
487
929
|
message AdReplyInfo {
|
|
488
930
|
optional string advertiserName = 1;
|
|
489
931
|
optional MediaType mediaType = 2;
|
|
@@ -495,15 +937,25 @@ message ContextInfo {
|
|
|
495
937
|
VIDEO = 2;
|
|
496
938
|
}
|
|
497
939
|
}
|
|
498
|
-
|
|
940
|
+
|
|
499
941
|
message BusinessMessageForwardInfo {
|
|
500
942
|
optional string businessOwnerJid = 1;
|
|
501
943
|
}
|
|
502
|
-
|
|
944
|
+
|
|
503
945
|
message DataSharingContext {
|
|
504
946
|
optional bool showMmDisclosure = 1;
|
|
947
|
+
optional string encryptedSignalTokenConsented = 2;
|
|
948
|
+
repeated Parameters parameters = 3;
|
|
949
|
+
message Parameters {
|
|
950
|
+
optional string key = 1;
|
|
951
|
+
optional string stringData = 2;
|
|
952
|
+
optional int64 intData = 3;
|
|
953
|
+
optional float floatData = 4;
|
|
954
|
+
optional ContextInfo.DataSharingContext.Parameters contents = 5;
|
|
955
|
+
}
|
|
956
|
+
|
|
505
957
|
}
|
|
506
|
-
|
|
958
|
+
|
|
507
959
|
message ExternalAdReplyInfo {
|
|
508
960
|
optional string title = 1;
|
|
509
961
|
optional string body = 2;
|
|
@@ -519,13 +971,34 @@ message ContextInfo {
|
|
|
519
971
|
optional bool showAdAttribution = 12;
|
|
520
972
|
optional string ctwaClid = 13;
|
|
521
973
|
optional string ref = 14;
|
|
974
|
+
optional bool clickToWhatsappCall = 15;
|
|
975
|
+
optional bool adContextPreviewDismissed = 16;
|
|
976
|
+
optional string sourceApp = 17;
|
|
977
|
+
optional bool automatedGreetingMessageShown = 18;
|
|
978
|
+
optional string greetingMessageBody = 19;
|
|
979
|
+
optional string ctaPayload = 20;
|
|
980
|
+
optional bool disableNudge = 21;
|
|
981
|
+
optional string originalImageUrl = 22;
|
|
522
982
|
enum MediaType {
|
|
523
983
|
NONE = 0;
|
|
524
984
|
IMAGE = 1;
|
|
525
985
|
VIDEO = 2;
|
|
526
986
|
}
|
|
527
987
|
}
|
|
528
|
-
|
|
988
|
+
|
|
989
|
+
message FeatureEligibilities {
|
|
990
|
+
optional bool cannotBeReactedTo = 1;
|
|
991
|
+
optional bool cannotBeRanked = 2;
|
|
992
|
+
optional bool canRequestFeedback = 3;
|
|
993
|
+
optional bool canBeReshared = 4;
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
message ForwardedAIBotMessageInfo {
|
|
997
|
+
optional string botName = 1;
|
|
998
|
+
optional string botJid = 2;
|
|
999
|
+
optional string creatorName = 3;
|
|
1000
|
+
}
|
|
1001
|
+
|
|
529
1002
|
message ForwardedNewsletterMessageInfo {
|
|
530
1003
|
optional string newsletterJid = 1;
|
|
531
1004
|
optional int32 serverMessageId = 2;
|
|
@@ -538,12 +1011,24 @@ message ContextInfo {
|
|
|
538
1011
|
LINK_CARD = 3;
|
|
539
1012
|
}
|
|
540
1013
|
}
|
|
541
|
-
|
|
1014
|
+
|
|
1015
|
+
enum PairedMediaType {
|
|
1016
|
+
NOT_PAIRED_MEDIA = 0;
|
|
1017
|
+
SD_VIDEO_PARENT = 1;
|
|
1018
|
+
HD_VIDEO_CHILD = 2;
|
|
1019
|
+
SD_IMAGE_PARENT = 3;
|
|
1020
|
+
HD_IMAGE_CHILD = 4;
|
|
1021
|
+
}
|
|
1022
|
+
enum StatusAttributionType {
|
|
1023
|
+
NONE = 0;
|
|
1024
|
+
RESHARED_FROM_MENTION = 1;
|
|
1025
|
+
RESHARED_FROM_POST = 2;
|
|
1026
|
+
}
|
|
542
1027
|
message UTMInfo {
|
|
543
1028
|
optional string utmSource = 1;
|
|
544
1029
|
optional string utmCampaign = 2;
|
|
545
1030
|
}
|
|
546
|
-
|
|
1031
|
+
|
|
547
1032
|
}
|
|
548
1033
|
|
|
549
1034
|
message Conversation {
|
|
@@ -592,6 +1077,11 @@ message Conversation {
|
|
|
592
1077
|
optional string username = 43;
|
|
593
1078
|
optional string lidOriginType = 44;
|
|
594
1079
|
optional uint32 commentsCount = 45;
|
|
1080
|
+
optional bool locked = 46;
|
|
1081
|
+
optional PrivacySystemMessage systemMessageToInsert = 47;
|
|
1082
|
+
optional bool capiCreatedGroup = 48;
|
|
1083
|
+
optional string accountLid = 49;
|
|
1084
|
+
optional bool limitSharing = 50;
|
|
595
1085
|
enum EndOfHistoryTransferType {
|
|
596
1086
|
COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0;
|
|
597
1087
|
COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1;
|
|
@@ -599,6 +1089,20 @@ message Conversation {
|
|
|
599
1089
|
}
|
|
600
1090
|
}
|
|
601
1091
|
|
|
1092
|
+
message DeviceCapabilities {
|
|
1093
|
+
optional ChatLockSupportLevel chatLockSupportLevel = 1;
|
|
1094
|
+
optional LIDMigration lidMigration = 2;
|
|
1095
|
+
enum ChatLockSupportLevel {
|
|
1096
|
+
NONE = 0;
|
|
1097
|
+
MINIMAL = 1;
|
|
1098
|
+
FULL = 2;
|
|
1099
|
+
}
|
|
1100
|
+
message LIDMigration {
|
|
1101
|
+
optional uint64 chatDbMigrationTimestamp = 1;
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
}
|
|
1105
|
+
|
|
602
1106
|
message DeviceConsistencyCodeMessage {
|
|
603
1107
|
optional uint32 generation = 1;
|
|
604
1108
|
optional bytes signature = 2;
|
|
@@ -628,7 +1132,7 @@ message DeviceProps {
|
|
|
628
1132
|
optional uint32 quaternary = 4;
|
|
629
1133
|
optional uint32 quinary = 5;
|
|
630
1134
|
}
|
|
631
|
-
|
|
1135
|
+
|
|
632
1136
|
message HistorySyncConfig {
|
|
633
1137
|
optional uint32 fullSyncDaysLimit = 1;
|
|
634
1138
|
optional uint32 fullSyncSizeMbLimit = 2;
|
|
@@ -638,8 +1142,14 @@ message DeviceProps {
|
|
|
638
1142
|
optional bool supportCallLogHistory = 6;
|
|
639
1143
|
optional bool supportBotUserAgentChatHistory = 7;
|
|
640
1144
|
optional bool supportCagReactionsAndPolls = 8;
|
|
1145
|
+
optional bool supportBizHostedMsg = 9;
|
|
1146
|
+
optional bool supportRecentSyncChunkMessageCountTuning = 10;
|
|
1147
|
+
optional bool supportHostedGroupMsg = 11;
|
|
1148
|
+
optional bool supportFbidBotChatHistory = 12;
|
|
1149
|
+
optional bool supportAddOnHistorySyncMigration = 13;
|
|
1150
|
+
optional bool supportMessageAssociation = 14;
|
|
641
1151
|
}
|
|
642
|
-
|
|
1152
|
+
|
|
643
1153
|
enum PlatformType {
|
|
644
1154
|
UNKNOWN = 0;
|
|
645
1155
|
CHROME = 1;
|
|
@@ -664,6 +1174,8 @@ message DeviceProps {
|
|
|
664
1174
|
AR_DEVICE = 20;
|
|
665
1175
|
UWP = 21;
|
|
666
1176
|
VR = 22;
|
|
1177
|
+
CLOUD_API = 23;
|
|
1178
|
+
SMARTGLASSES = 24;
|
|
667
1179
|
}
|
|
668
1180
|
}
|
|
669
1181
|
|
|
@@ -684,14 +1196,50 @@ message DisappearingMode {
|
|
|
684
1196
|
ACCOUNT_SETTING = 2;
|
|
685
1197
|
BULK_CHANGE = 3;
|
|
686
1198
|
BIZ_SUPPORTS_FB_HOSTING = 4;
|
|
1199
|
+
UNKNOWN_GROUPS = 5;
|
|
687
1200
|
}
|
|
688
1201
|
}
|
|
689
1202
|
|
|
1203
|
+
message EmbeddedContent {
|
|
1204
|
+
oneof content {
|
|
1205
|
+
EmbeddedMessage embeddedMessage = 1;
|
|
1206
|
+
EmbeddedMusic embeddedMusic = 2;
|
|
1207
|
+
}
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
message EmbeddedMessage {
|
|
1211
|
+
optional string stanzaId = 1;
|
|
1212
|
+
optional Message message = 2;
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
message EmbeddedMusic {
|
|
1216
|
+
optional string musicContentMediaId = 1;
|
|
1217
|
+
optional string songId = 2;
|
|
1218
|
+
optional string author = 3;
|
|
1219
|
+
optional string title = 4;
|
|
1220
|
+
optional string artworkDirectPath = 5;
|
|
1221
|
+
optional bytes artworkSha256 = 6;
|
|
1222
|
+
optional bytes artworkEncSha256 = 7;
|
|
1223
|
+
optional bytes artworkMediaKey = 11;
|
|
1224
|
+
optional string artistAttribution = 8;
|
|
1225
|
+
optional bytes countryBlocklist = 9;
|
|
1226
|
+
optional bool isExplicit = 10;
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
message EncryptedPairingRequest {
|
|
1230
|
+
optional bytes encryptedPayload = 1;
|
|
1231
|
+
optional bytes iv = 2;
|
|
1232
|
+
}
|
|
1233
|
+
|
|
690
1234
|
message EphemeralSetting {
|
|
691
1235
|
optional sfixed32 duration = 1;
|
|
692
1236
|
optional sfixed64 timestamp = 2;
|
|
693
1237
|
}
|
|
694
1238
|
|
|
1239
|
+
message EventAdditionalMetadata {
|
|
1240
|
+
optional bool isStale = 1;
|
|
1241
|
+
}
|
|
1242
|
+
|
|
695
1243
|
message EventResponse {
|
|
696
1244
|
optional MessageKey eventResponseMessageKey = 1;
|
|
697
1245
|
optional int64 timestampMs = 2;
|
|
@@ -713,6 +1261,14 @@ message ExternalBlobReference {
|
|
|
713
1261
|
optional bytes fileEncSha256 = 6;
|
|
714
1262
|
}
|
|
715
1263
|
|
|
1264
|
+
message Field {
|
|
1265
|
+
optional uint32 minVersion = 1;
|
|
1266
|
+
optional uint32 maxVersion = 2;
|
|
1267
|
+
optional uint32 notReportableMinVersion = 3;
|
|
1268
|
+
optional bool isMessage = 4;
|
|
1269
|
+
map<uint32, Field> subfield = 5;
|
|
1270
|
+
}
|
|
1271
|
+
|
|
716
1272
|
message GlobalSettings {
|
|
717
1273
|
optional WallpaperSettings lightThemeWallpaper = 1;
|
|
718
1274
|
optional MediaVisibility mediaVisibility = 2;
|
|
@@ -732,6 +1288,7 @@ message GlobalSettings {
|
|
|
732
1288
|
optional int32 photoQualityMode = 16;
|
|
733
1289
|
optional NotificationSettings individualNotificationSettings = 17;
|
|
734
1290
|
optional NotificationSettings groupNotificationSettings = 18;
|
|
1291
|
+
optional ChatLockSettings chatLockSettings = 19;
|
|
735
1292
|
}
|
|
736
1293
|
|
|
737
1294
|
message GroupMention {
|
|
@@ -757,19 +1314,19 @@ message HandshakeMessage {
|
|
|
757
1314
|
optional bytes static = 1;
|
|
758
1315
|
optional bytes payload = 2;
|
|
759
1316
|
}
|
|
760
|
-
|
|
1317
|
+
|
|
761
1318
|
message ClientHello {
|
|
762
1319
|
optional bytes ephemeral = 1;
|
|
763
1320
|
optional bytes static = 2;
|
|
764
1321
|
optional bytes payload = 3;
|
|
765
1322
|
}
|
|
766
|
-
|
|
1323
|
+
|
|
767
1324
|
message ServerHello {
|
|
768
1325
|
optional bytes ephemeral = 1;
|
|
769
1326
|
optional bytes static = 2;
|
|
770
1327
|
optional bytes payload = 3;
|
|
771
1328
|
}
|
|
772
|
-
|
|
1329
|
+
|
|
773
1330
|
}
|
|
774
1331
|
|
|
775
1332
|
message HistorySync {
|
|
@@ -787,6 +1344,8 @@ message HistorySync {
|
|
|
787
1344
|
repeated CallLogRecord callLogRecords = 13;
|
|
788
1345
|
optional BotAIWaitListState aiWaitListState = 14;
|
|
789
1346
|
repeated PhoneNumberToLIDMapping phoneNumberToLidMappings = 15;
|
|
1347
|
+
optional string companionMetaNonce = 16;
|
|
1348
|
+
optional bytes shareableChatIdentifierEncryptionKey = 17;
|
|
790
1349
|
enum BotAIWaitListState {
|
|
791
1350
|
IN_WAITLIST = 0;
|
|
792
1351
|
AI_AVAILABLE = 1;
|
|
@@ -818,12 +1377,12 @@ message HydratedTemplateButton {
|
|
|
818
1377
|
optional string displayText = 1;
|
|
819
1378
|
optional string phoneNumber = 2;
|
|
820
1379
|
}
|
|
821
|
-
|
|
1380
|
+
|
|
822
1381
|
message HydratedQuickReplyButton {
|
|
823
1382
|
optional string displayText = 1;
|
|
824
1383
|
optional string id = 2;
|
|
825
1384
|
}
|
|
826
|
-
|
|
1385
|
+
|
|
827
1386
|
message HydratedURLButton {
|
|
828
1387
|
optional string displayText = 1;
|
|
829
1388
|
optional string url = 2;
|
|
@@ -835,7 +1394,7 @@ message HydratedTemplateButton {
|
|
|
835
1394
|
COMPACT = 3;
|
|
836
1395
|
}
|
|
837
1396
|
}
|
|
838
|
-
|
|
1397
|
+
|
|
839
1398
|
}
|
|
840
1399
|
|
|
841
1400
|
message IdentityKeyPairStructure {
|
|
@@ -846,9 +1405,12 @@ message IdentityKeyPairStructure {
|
|
|
846
1405
|
message InteractiveAnnotation {
|
|
847
1406
|
repeated Point polygonVertices = 1;
|
|
848
1407
|
optional bool shouldSkipConfirmation = 4;
|
|
1408
|
+
optional EmbeddedContent embeddedContent = 5;
|
|
849
1409
|
oneof action {
|
|
850
1410
|
Location location = 2;
|
|
851
1411
|
ContextInfo.ForwardedNewsletterMessageInfo newsletter = 3;
|
|
1412
|
+
bool embeddedAction = 6;
|
|
1413
|
+
TapLinkAction tapAction = 7;
|
|
852
1414
|
}
|
|
853
1415
|
}
|
|
854
1416
|
|
|
@@ -878,6 +1440,34 @@ message KeyId {
|
|
|
878
1440
|
optional bytes id = 1;
|
|
879
1441
|
}
|
|
880
1442
|
|
|
1443
|
+
message LIDMigrationMapping {
|
|
1444
|
+
required uint64 pn = 1;
|
|
1445
|
+
required uint64 assignedLid = 2;
|
|
1446
|
+
optional uint64 latestLid = 3;
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
message LIDMigrationMappingSyncMessage {
|
|
1450
|
+
optional bytes encodedMappingPayload = 1;
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1453
|
+
message LIDMigrationMappingSyncPayload {
|
|
1454
|
+
repeated LIDMigrationMapping pnToLidMappings = 1;
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
message LegacyMessage {
|
|
1458
|
+
optional Message.EventResponseMessage eventResponseMessage = 1;
|
|
1459
|
+
optional Message.PollVoteMessage pollVote = 2;
|
|
1460
|
+
}
|
|
1461
|
+
|
|
1462
|
+
message LimitSharing {
|
|
1463
|
+
optional bool sharingLimited = 1;
|
|
1464
|
+
optional Trigger trigger = 2;
|
|
1465
|
+
enum Trigger {
|
|
1466
|
+
CHAT_SETTING = 0;
|
|
1467
|
+
BIZ_SUPPORTS_FB_HOSTING = 1;
|
|
1468
|
+
}
|
|
1469
|
+
}
|
|
1470
|
+
|
|
881
1471
|
message LocalizedName {
|
|
882
1472
|
optional string lg = 1;
|
|
883
1473
|
optional string lc = 2;
|
|
@@ -894,38 +1484,6 @@ message MediaData {
|
|
|
894
1484
|
optional string localPath = 1;
|
|
895
1485
|
}
|
|
896
1486
|
|
|
897
|
-
message MediaEntry {
|
|
898
|
-
optional bytes fileSha256 = 1;
|
|
899
|
-
optional bytes mediaKey = 2;
|
|
900
|
-
optional bytes fileEncSha256 = 3;
|
|
901
|
-
optional string directPath = 4;
|
|
902
|
-
optional int64 mediaKeyTimestamp = 5;
|
|
903
|
-
optional string serverMediaType = 6;
|
|
904
|
-
optional bytes uploadToken = 7;
|
|
905
|
-
optional bytes validatedTimestamp = 8;
|
|
906
|
-
optional bytes sidecar = 9;
|
|
907
|
-
optional string objectId = 10;
|
|
908
|
-
optional string fbid = 11;
|
|
909
|
-
optional DownloadableThumbnail downloadableThumbnail = 12;
|
|
910
|
-
optional string handle = 13;
|
|
911
|
-
optional string filename = 14;
|
|
912
|
-
optional ProgressiveJpegDetails progressiveJpegDetails = 15;
|
|
913
|
-
message DownloadableThumbnail {
|
|
914
|
-
optional bytes fileSha256 = 1;
|
|
915
|
-
optional bytes fileEncSha256 = 2;
|
|
916
|
-
optional string directPath = 3;
|
|
917
|
-
optional bytes mediaKey = 4;
|
|
918
|
-
optional int64 mediaKeyTimestamp = 5;
|
|
919
|
-
optional string objectId = 6;
|
|
920
|
-
}
|
|
921
|
-
|
|
922
|
-
message ProgressiveJpegDetails {
|
|
923
|
-
repeated int64 scanLengths = 1;
|
|
924
|
-
optional bytes sidecar = 2;
|
|
925
|
-
}
|
|
926
|
-
|
|
927
|
-
}
|
|
928
|
-
|
|
929
1487
|
message MediaNotifyMessage {
|
|
930
1488
|
optional string expressPathUrl = 1;
|
|
931
1489
|
optional bytes fileEncSha256 = 2;
|
|
@@ -936,6 +1494,7 @@ message MediaRetryNotification {
|
|
|
936
1494
|
optional string stanzaId = 1;
|
|
937
1495
|
optional string directPath = 2;
|
|
938
1496
|
optional ResultType result = 3;
|
|
1497
|
+
optional bytes messageSecret = 4;
|
|
939
1498
|
enum ResultType {
|
|
940
1499
|
GENERAL_ERROR = 0;
|
|
941
1500
|
SUCCESS = 1;
|
|
@@ -1013,45 +1572,65 @@ message Message {
|
|
|
1013
1572
|
optional BCallMessage bcallMessage = 72;
|
|
1014
1573
|
optional FutureProofMessage lottieStickerMessage = 74;
|
|
1015
1574
|
optional EventMessage eventMessage = 75;
|
|
1575
|
+
optional EncEventResponseMessage encEventResponseMessage = 76;
|
|
1016
1576
|
optional CommentMessage commentMessage = 77;
|
|
1017
1577
|
optional NewsletterAdminInviteMessage newsletterAdminInviteMessage = 78;
|
|
1018
|
-
optional ExtendedTextMessageWithParentKey extendedTextMessageWithParentKey = 79;
|
|
1019
1578
|
optional PlaceholderMessage placeholderMessage = 80;
|
|
1020
|
-
optional
|
|
1579
|
+
optional SecretEncryptedMessage secretEncryptedMessage = 82;
|
|
1580
|
+
optional AlbumMessage albumMessage = 83;
|
|
1581
|
+
optional FutureProofMessage eventCoverImage = 85;
|
|
1582
|
+
optional StickerPackMessage stickerPackMessage = 86;
|
|
1583
|
+
optional FutureProofMessage statusMentionMessage = 87;
|
|
1584
|
+
optional PollResultSnapshotMessage pollResultSnapshotMessage = 88;
|
|
1585
|
+
optional FutureProofMessage pollCreationOptionImageMessage = 90;
|
|
1586
|
+
optional FutureProofMessage associatedChildMessage = 91;
|
|
1587
|
+
optional FutureProofMessage groupStatusMentionMessage = 92;
|
|
1588
|
+
optional FutureProofMessage pollCreationMessageV4 = 93;
|
|
1589
|
+
optional FutureProofMessage pollCreationMessageV5 = 94;
|
|
1590
|
+
optional FutureProofMessage statusAddYours = 95;
|
|
1591
|
+
optional FutureProofMessage groupStatusMessage = 96;
|
|
1592
|
+
optional AIRichResponseMessage richResponseMessage = 97;
|
|
1593
|
+
optional StatusNotificationMessage statusNotificationMessage = 98;
|
|
1594
|
+
message AlbumMessage {
|
|
1595
|
+
optional uint32 expectedImageCount = 2;
|
|
1596
|
+
optional uint32 expectedVideoCount = 3;
|
|
1597
|
+
optional ContextInfo contextInfo = 17;
|
|
1598
|
+
}
|
|
1599
|
+
|
|
1021
1600
|
message AppStateFatalExceptionNotification {
|
|
1022
1601
|
repeated string collectionNames = 1;
|
|
1023
1602
|
optional int64 timestamp = 2;
|
|
1024
1603
|
}
|
|
1025
|
-
|
|
1604
|
+
|
|
1026
1605
|
message AppStateSyncKey {
|
|
1027
1606
|
optional Message.AppStateSyncKeyId keyId = 1;
|
|
1028
1607
|
optional Message.AppStateSyncKeyData keyData = 2;
|
|
1029
1608
|
}
|
|
1030
|
-
|
|
1609
|
+
|
|
1031
1610
|
message AppStateSyncKeyData {
|
|
1032
1611
|
optional bytes keyData = 1;
|
|
1033
1612
|
optional Message.AppStateSyncKeyFingerprint fingerprint = 2;
|
|
1034
1613
|
optional int64 timestamp = 3;
|
|
1035
1614
|
}
|
|
1036
|
-
|
|
1615
|
+
|
|
1037
1616
|
message AppStateSyncKeyFingerprint {
|
|
1038
1617
|
optional uint32 rawId = 1;
|
|
1039
1618
|
optional uint32 currentIndex = 2;
|
|
1040
1619
|
repeated uint32 deviceIndexes = 3 [packed=true];
|
|
1041
1620
|
}
|
|
1042
|
-
|
|
1621
|
+
|
|
1043
1622
|
message AppStateSyncKeyId {
|
|
1044
1623
|
optional bytes keyId = 1;
|
|
1045
1624
|
}
|
|
1046
|
-
|
|
1625
|
+
|
|
1047
1626
|
message AppStateSyncKeyRequest {
|
|
1048
1627
|
repeated Message.AppStateSyncKeyId keyIds = 1;
|
|
1049
1628
|
}
|
|
1050
|
-
|
|
1629
|
+
|
|
1051
1630
|
message AppStateSyncKeyShare {
|
|
1052
1631
|
repeated Message.AppStateSyncKey keys = 1;
|
|
1053
1632
|
}
|
|
1054
|
-
|
|
1633
|
+
|
|
1055
1634
|
message AudioMessage {
|
|
1056
1635
|
optional string url = 1;
|
|
1057
1636
|
optional string mimetype = 2;
|
|
@@ -1068,8 +1647,9 @@ message Message {
|
|
|
1068
1647
|
optional bytes waveform = 19;
|
|
1069
1648
|
optional fixed32 backgroundArgb = 20;
|
|
1070
1649
|
optional bool viewOnce = 21;
|
|
1650
|
+
optional string accessibilityLabel = 22;
|
|
1071
1651
|
}
|
|
1072
|
-
|
|
1652
|
+
|
|
1073
1653
|
message BCallMessage {
|
|
1074
1654
|
optional string sessionId = 1;
|
|
1075
1655
|
optional MediaType mediaType = 2;
|
|
@@ -1081,13 +1661,14 @@ message Message {
|
|
|
1081
1661
|
VIDEO = 2;
|
|
1082
1662
|
}
|
|
1083
1663
|
}
|
|
1084
|
-
|
|
1664
|
+
|
|
1085
1665
|
message BotFeedbackMessage {
|
|
1086
1666
|
optional MessageKey messageKey = 1;
|
|
1087
1667
|
optional BotFeedbackKind kind = 2;
|
|
1088
1668
|
optional string text = 3;
|
|
1089
1669
|
optional uint64 kindNegative = 4;
|
|
1090
1670
|
optional uint64 kindPositive = 5;
|
|
1671
|
+
optional ReportKind kindReport = 6;
|
|
1091
1672
|
enum BotFeedbackKind {
|
|
1092
1673
|
BOT_FEEDBACK_POSITIVE = 0;
|
|
1093
1674
|
BOT_FEEDBACK_NEGATIVE_GENERIC = 1;
|
|
@@ -1099,6 +1680,9 @@ message Message {
|
|
|
1099
1680
|
BOT_FEEDBACK_NEGATIVE_REFUSED = 7;
|
|
1100
1681
|
BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING = 8;
|
|
1101
1682
|
BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT = 9;
|
|
1683
|
+
BOT_FEEDBACK_NEGATIVE_PERSONALIZED = 10;
|
|
1684
|
+
BOT_FEEDBACK_NEGATIVE_CLARITY = 11;
|
|
1685
|
+
BOT_FEEDBACK_NEGATIVE_DOESNT_LOOK_LIKE_THE_PERSON = 12;
|
|
1102
1686
|
}
|
|
1103
1687
|
enum BotFeedbackKindMultipleNegative {
|
|
1104
1688
|
BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC = 1;
|
|
@@ -1114,8 +1698,11 @@ message Message {
|
|
|
1114
1698
|
enum BotFeedbackKindMultiplePositive {
|
|
1115
1699
|
BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC = 1;
|
|
1116
1700
|
}
|
|
1701
|
+
enum ReportKind {
|
|
1702
|
+
GENERIC = 0;
|
|
1703
|
+
}
|
|
1117
1704
|
}
|
|
1118
|
-
|
|
1705
|
+
|
|
1119
1706
|
message ButtonsMessage {
|
|
1120
1707
|
optional string contentText = 6;
|
|
1121
1708
|
optional string footerText = 7;
|
|
@@ -1137,19 +1724,19 @@ message Message {
|
|
|
1137
1724
|
message ButtonText {
|
|
1138
1725
|
optional string displayText = 1;
|
|
1139
1726
|
}
|
|
1140
|
-
|
|
1727
|
+
|
|
1141
1728
|
message NativeFlowInfo {
|
|
1142
1729
|
optional string name = 1;
|
|
1143
1730
|
optional string paramsJson = 2;
|
|
1144
1731
|
}
|
|
1145
|
-
|
|
1732
|
+
|
|
1146
1733
|
enum Type {
|
|
1147
1734
|
UNKNOWN = 0;
|
|
1148
1735
|
RESPONSE = 1;
|
|
1149
1736
|
NATIVE_FLOW = 2;
|
|
1150
1737
|
}
|
|
1151
1738
|
}
|
|
1152
|
-
|
|
1739
|
+
|
|
1153
1740
|
enum HeaderType {
|
|
1154
1741
|
UNKNOWN = 0;
|
|
1155
1742
|
EMPTY = 1;
|
|
@@ -1160,7 +1747,7 @@ message Message {
|
|
|
1160
1747
|
LOCATION = 6;
|
|
1161
1748
|
}
|
|
1162
1749
|
}
|
|
1163
|
-
|
|
1750
|
+
|
|
1164
1751
|
message ButtonsResponseMessage {
|
|
1165
1752
|
optional string selectedButtonId = 1;
|
|
1166
1753
|
optional ContextInfo contextInfo = 3;
|
|
@@ -1173,14 +1760,16 @@ message Message {
|
|
|
1173
1760
|
DISPLAY_TEXT = 1;
|
|
1174
1761
|
}
|
|
1175
1762
|
}
|
|
1176
|
-
|
|
1763
|
+
|
|
1177
1764
|
message Call {
|
|
1178
1765
|
optional bytes callKey = 1;
|
|
1179
1766
|
optional string conversionSource = 2;
|
|
1180
1767
|
optional bytes conversionData = 3;
|
|
1181
1768
|
optional uint32 conversionDelaySeconds = 4;
|
|
1769
|
+
optional string ctwaSignals = 5;
|
|
1770
|
+
optional bytes ctwaPayload = 6;
|
|
1182
1771
|
}
|
|
1183
|
-
|
|
1772
|
+
|
|
1184
1773
|
message CallLogMessage {
|
|
1185
1774
|
optional bool isVideo = 1;
|
|
1186
1775
|
optional CallOutcome callOutcome = 2;
|
|
@@ -1201,50 +1790,62 @@ message Message {
|
|
|
1201
1790
|
optional string jid = 1;
|
|
1202
1791
|
optional Message.CallLogMessage.CallOutcome callOutcome = 2;
|
|
1203
1792
|
}
|
|
1204
|
-
|
|
1793
|
+
|
|
1205
1794
|
enum CallType {
|
|
1206
1795
|
REGULAR = 0;
|
|
1207
1796
|
SCHEDULED_CALL = 1;
|
|
1208
1797
|
VOICE_CHAT = 2;
|
|
1209
1798
|
}
|
|
1210
1799
|
}
|
|
1211
|
-
|
|
1800
|
+
|
|
1212
1801
|
message CancelPaymentRequestMessage {
|
|
1213
1802
|
optional MessageKey key = 1;
|
|
1214
1803
|
}
|
|
1215
|
-
|
|
1804
|
+
|
|
1216
1805
|
message Chat {
|
|
1217
1806
|
optional string displayName = 1;
|
|
1218
1807
|
optional string id = 2;
|
|
1219
1808
|
}
|
|
1220
|
-
|
|
1809
|
+
|
|
1810
|
+
message CloudAPIThreadControlNotification {
|
|
1811
|
+
optional CloudAPIThreadControl status = 1;
|
|
1812
|
+
optional int64 senderNotificationTimestampMs = 2;
|
|
1813
|
+
optional string consumerLid = 3;
|
|
1814
|
+
optional string consumerPhoneNumber = 4;
|
|
1815
|
+
enum CloudAPIThreadControl {
|
|
1816
|
+
UNKNOWN = 0;
|
|
1817
|
+
CONTROL_PASSED = 1;
|
|
1818
|
+
CONTROL_TAKEN = 2;
|
|
1819
|
+
}
|
|
1820
|
+
}
|
|
1821
|
+
|
|
1221
1822
|
message CommentMessage {
|
|
1222
1823
|
optional Message message = 1;
|
|
1223
1824
|
optional MessageKey targetMessageKey = 2;
|
|
1224
1825
|
}
|
|
1225
|
-
|
|
1826
|
+
|
|
1226
1827
|
message ContactMessage {
|
|
1227
1828
|
optional string displayName = 1;
|
|
1228
1829
|
optional string vcard = 16;
|
|
1229
1830
|
optional ContextInfo contextInfo = 17;
|
|
1230
1831
|
}
|
|
1231
|
-
|
|
1832
|
+
|
|
1232
1833
|
message ContactsArrayMessage {
|
|
1233
1834
|
optional string displayName = 1;
|
|
1234
1835
|
repeated Message.ContactMessage contacts = 2;
|
|
1235
1836
|
optional ContextInfo contextInfo = 17;
|
|
1236
1837
|
}
|
|
1237
|
-
|
|
1838
|
+
|
|
1238
1839
|
message DeclinePaymentRequestMessage {
|
|
1239
1840
|
optional MessageKey key = 1;
|
|
1240
1841
|
}
|
|
1241
|
-
|
|
1842
|
+
|
|
1242
1843
|
message DeviceSentMessage {
|
|
1243
1844
|
optional string destinationJid = 1;
|
|
1244
1845
|
optional Message message = 2;
|
|
1245
1846
|
optional string phash = 3;
|
|
1246
1847
|
}
|
|
1247
|
-
|
|
1848
|
+
|
|
1248
1849
|
message DocumentMessage {
|
|
1249
1850
|
optional string url = 1;
|
|
1250
1851
|
optional string mimetype = 2;
|
|
@@ -1266,31 +1867,27 @@ message Message {
|
|
|
1266
1867
|
optional uint32 thumbnailHeight = 18;
|
|
1267
1868
|
optional uint32 thumbnailWidth = 19;
|
|
1268
1869
|
optional string caption = 20;
|
|
1870
|
+
optional string accessibilityLabel = 21;
|
|
1269
1871
|
}
|
|
1270
|
-
|
|
1872
|
+
|
|
1271
1873
|
message EncCommentMessage {
|
|
1272
1874
|
optional MessageKey targetMessageKey = 1;
|
|
1273
1875
|
optional bytes encPayload = 2;
|
|
1274
1876
|
optional bytes encIv = 3;
|
|
1275
1877
|
}
|
|
1276
|
-
|
|
1277
|
-
message
|
|
1878
|
+
|
|
1879
|
+
message EncEventResponseMessage {
|
|
1278
1880
|
optional MessageKey eventCreationMessageKey = 1;
|
|
1279
1881
|
optional bytes encPayload = 2;
|
|
1280
1882
|
optional bytes encIv = 3;
|
|
1281
1883
|
}
|
|
1282
|
-
|
|
1884
|
+
|
|
1283
1885
|
message EncReactionMessage {
|
|
1284
1886
|
optional MessageKey targetMessageKey = 1;
|
|
1285
1887
|
optional bytes encPayload = 2;
|
|
1286
1888
|
optional bytes encIv = 3;
|
|
1287
1889
|
}
|
|
1288
|
-
|
|
1289
|
-
message EventEditMessage {
|
|
1290
|
-
optional Message.EventMessage eventEditMessage = 1;
|
|
1291
|
-
optional int64 editTimestampMs = 2;
|
|
1292
|
-
}
|
|
1293
|
-
|
|
1890
|
+
|
|
1294
1891
|
message EventMessage {
|
|
1295
1892
|
optional ContextInfo contextInfo = 1;
|
|
1296
1893
|
optional bool isCanceled = 2;
|
|
@@ -1299,27 +1896,25 @@ message Message {
|
|
|
1299
1896
|
optional Message.LocationMessage location = 5;
|
|
1300
1897
|
optional string joinLink = 6;
|
|
1301
1898
|
optional int64 startTime = 7;
|
|
1899
|
+
optional int64 endTime = 8;
|
|
1900
|
+
optional bool extraGuestsAllowed = 9;
|
|
1302
1901
|
}
|
|
1303
|
-
|
|
1902
|
+
|
|
1304
1903
|
message EventResponseMessage {
|
|
1305
1904
|
optional EventResponseType response = 1;
|
|
1306
1905
|
optional int64 timestampMs = 2;
|
|
1906
|
+
optional int32 extraGuestCount = 3;
|
|
1307
1907
|
enum EventResponseType {
|
|
1308
1908
|
UNKNOWN = 0;
|
|
1309
1909
|
GOING = 1;
|
|
1310
1910
|
NOT_GOING = 2;
|
|
1911
|
+
MAYBE = 3;
|
|
1311
1912
|
}
|
|
1312
1913
|
}
|
|
1313
|
-
|
|
1314
|
-
message EventUpdateMessage {
|
|
1315
|
-
optional Message.EventResponseMessage response = 1;
|
|
1316
|
-
optional Message.EventEditMessage edit = 2;
|
|
1317
|
-
}
|
|
1318
|
-
|
|
1914
|
+
|
|
1319
1915
|
message ExtendedTextMessage {
|
|
1320
1916
|
optional string text = 1;
|
|
1321
1917
|
optional string matchedText = 2;
|
|
1322
|
-
optional string canonicalUrl = 4;
|
|
1323
1918
|
optional string description = 5;
|
|
1324
1919
|
optional string title = 6;
|
|
1325
1920
|
optional fixed32 textArgb = 7;
|
|
@@ -1341,6 +1936,9 @@ message Message {
|
|
|
1341
1936
|
optional bytes inviteLinkParentGroupThumbnailV2 = 28;
|
|
1342
1937
|
optional InviteLinkGroupType inviteLinkGroupTypeV2 = 29;
|
|
1343
1938
|
optional bool viewOnce = 30;
|
|
1939
|
+
optional uint32 videoHeight = 31;
|
|
1940
|
+
optional uint32 videoWidth = 32;
|
|
1941
|
+
optional Message.MMSThumbnailMetadata faviconMMSMetadata = 33;
|
|
1344
1942
|
enum FontType {
|
|
1345
1943
|
SYSTEM = 0;
|
|
1346
1944
|
SYSTEM_TEXT = 1;
|
|
@@ -1362,18 +1960,19 @@ message Message {
|
|
|
1362
1960
|
VIDEO = 1;
|
|
1363
1961
|
PLACEHOLDER = 4;
|
|
1364
1962
|
IMAGE = 5;
|
|
1963
|
+
PAYMENT_LINKS = 6;
|
|
1964
|
+
PROFILE = 7;
|
|
1365
1965
|
}
|
|
1366
1966
|
}
|
|
1367
|
-
|
|
1368
|
-
message
|
|
1369
|
-
optional
|
|
1370
|
-
optional Message.ExtendedTextMessage extendedTextMessage = 2;
|
|
1967
|
+
|
|
1968
|
+
message FullHistorySyncOnDemandRequestMetadata {
|
|
1969
|
+
optional string requestId = 1;
|
|
1371
1970
|
}
|
|
1372
|
-
|
|
1971
|
+
|
|
1373
1972
|
message FutureProofMessage {
|
|
1374
1973
|
optional Message message = 1;
|
|
1375
1974
|
}
|
|
1376
|
-
|
|
1975
|
+
|
|
1377
1976
|
message GroupInviteMessage {
|
|
1378
1977
|
optional string groupJid = 1;
|
|
1379
1978
|
optional string inviteCode = 2;
|
|
@@ -1388,7 +1987,7 @@ message Message {
|
|
|
1388
1987
|
PARENT = 1;
|
|
1389
1988
|
}
|
|
1390
1989
|
}
|
|
1391
|
-
|
|
1990
|
+
|
|
1392
1991
|
message HighlyStructuredMessage {
|
|
1393
1992
|
optional string namespace = 1;
|
|
1394
1993
|
optional string elementName = 2;
|
|
@@ -1409,7 +2008,7 @@ message Message {
|
|
|
1409
2008
|
optional string currencyCode = 1;
|
|
1410
2009
|
optional int64 amount1000 = 2;
|
|
1411
2010
|
}
|
|
1412
|
-
|
|
2011
|
+
|
|
1413
2012
|
message HSMDateTime {
|
|
1414
2013
|
oneof datetimeOneof {
|
|
1415
2014
|
Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent component = 1;
|
|
@@ -1437,17 +2036,17 @@ message Message {
|
|
|
1437
2036
|
SUNDAY = 7;
|
|
1438
2037
|
}
|
|
1439
2038
|
}
|
|
1440
|
-
|
|
2039
|
+
|
|
1441
2040
|
message HSMDateTimeUnixEpoch {
|
|
1442
2041
|
optional int64 timestamp = 1;
|
|
1443
2042
|
}
|
|
1444
|
-
|
|
2043
|
+
|
|
1445
2044
|
}
|
|
1446
|
-
|
|
2045
|
+
|
|
1447
2046
|
}
|
|
1448
|
-
|
|
2047
|
+
|
|
1449
2048
|
}
|
|
1450
|
-
|
|
2049
|
+
|
|
1451
2050
|
message HistorySyncNotification {
|
|
1452
2051
|
optional bytes fileSha256 = 1;
|
|
1453
2052
|
optional uint64 fileLength = 2;
|
|
@@ -1461,6 +2060,8 @@ message Message {
|
|
|
1461
2060
|
optional int64 oldestMsgInChunkTimestampSec = 10;
|
|
1462
2061
|
optional bytes initialHistBootstrapInlinePayload = 11;
|
|
1463
2062
|
optional string peerDataRequestSessionId = 12;
|
|
2063
|
+
optional Message.FullHistorySyncOnDemandRequestMetadata fullHistorySyncOnDemandRequestMetadata = 13;
|
|
2064
|
+
optional string encHandle = 14;
|
|
1464
2065
|
enum HistorySyncType {
|
|
1465
2066
|
INITIAL_BOOTSTRAP = 0;
|
|
1466
2067
|
INITIAL_STATUS_V3 = 1;
|
|
@@ -1469,9 +2070,10 @@ message Message {
|
|
|
1469
2070
|
PUSH_NAME = 4;
|
|
1470
2071
|
NON_BLOCKING_DATA = 5;
|
|
1471
2072
|
ON_DEMAND = 6;
|
|
2073
|
+
NO_HISTORY = 7;
|
|
1472
2074
|
}
|
|
1473
2075
|
}
|
|
1474
|
-
|
|
2076
|
+
|
|
1475
2077
|
message ImageMessage {
|
|
1476
2078
|
optional string url = 1;
|
|
1477
2079
|
optional string mimetype = 2;
|
|
@@ -1500,17 +2102,26 @@ message Message {
|
|
|
1500
2102
|
optional bytes thumbnailEncSha256 = 28;
|
|
1501
2103
|
optional string staticUrl = 29;
|
|
1502
2104
|
repeated InteractiveAnnotation annotations = 30;
|
|
2105
|
+
optional ImageSourceType imageSourceType = 31;
|
|
2106
|
+
optional string accessibilityLabel = 32;
|
|
2107
|
+
enum ImageSourceType {
|
|
2108
|
+
USER_IMAGE = 0;
|
|
2109
|
+
AI_GENERATED = 1;
|
|
2110
|
+
AI_MODIFIED = 2;
|
|
2111
|
+
RASTERIZED_TEXT_STATUS = 3;
|
|
2112
|
+
}
|
|
1503
2113
|
}
|
|
1504
|
-
|
|
2114
|
+
|
|
1505
2115
|
message InitialSecurityNotificationSettingSync {
|
|
1506
2116
|
optional bool securityNotificationEnabled = 1;
|
|
1507
2117
|
}
|
|
1508
|
-
|
|
2118
|
+
|
|
1509
2119
|
message InteractiveMessage {
|
|
1510
2120
|
optional Header header = 1;
|
|
1511
2121
|
optional Body body = 2;
|
|
1512
2122
|
optional Footer footer = 3;
|
|
1513
2123
|
optional ContextInfo contextInfo = 15;
|
|
2124
|
+
optional UrlTrackingMap urlTrackingMap = 16;
|
|
1514
2125
|
oneof interactiveMessage {
|
|
1515
2126
|
Message.InteractiveMessage.ShopMessage shopStorefrontMessage = 4;
|
|
1516
2127
|
Message.InteractiveMessage.CollectionMessage collectionMessage = 5;
|
|
@@ -1520,22 +2131,22 @@ message Message {
|
|
|
1520
2131
|
message Body {
|
|
1521
2132
|
optional string text = 1;
|
|
1522
2133
|
}
|
|
1523
|
-
|
|
2134
|
+
|
|
1524
2135
|
message CarouselMessage {
|
|
1525
2136
|
repeated Message.InteractiveMessage cards = 1;
|
|
1526
2137
|
optional int32 messageVersion = 2;
|
|
1527
2138
|
}
|
|
1528
|
-
|
|
2139
|
+
|
|
1529
2140
|
message CollectionMessage {
|
|
1530
2141
|
optional string bizJid = 1;
|
|
1531
2142
|
optional string id = 2;
|
|
1532
2143
|
optional int32 messageVersion = 3;
|
|
1533
2144
|
}
|
|
1534
|
-
|
|
2145
|
+
|
|
1535
2146
|
message Footer {
|
|
1536
2147
|
optional string text = 1;
|
|
1537
2148
|
}
|
|
1538
|
-
|
|
2149
|
+
|
|
1539
2150
|
message Header {
|
|
1540
2151
|
optional string title = 1;
|
|
1541
2152
|
optional string subtitle = 2;
|
|
@@ -1546,9 +2157,10 @@ message Message {
|
|
|
1546
2157
|
bytes jpegThumbnail = 6;
|
|
1547
2158
|
Message.VideoMessage videoMessage = 7;
|
|
1548
2159
|
Message.LocationMessage locationMessage = 8;
|
|
2160
|
+
Message.ProductMessage productMessage = 9;
|
|
1549
2161
|
}
|
|
1550
2162
|
}
|
|
1551
|
-
|
|
2163
|
+
|
|
1552
2164
|
message NativeFlowMessage {
|
|
1553
2165
|
repeated NativeFlowButton buttons = 1;
|
|
1554
2166
|
optional string messageParamsJson = 2;
|
|
@@ -1557,9 +2169,9 @@ message Message {
|
|
|
1557
2169
|
optional string name = 1;
|
|
1558
2170
|
optional string buttonParamsJson = 2;
|
|
1559
2171
|
}
|
|
1560
|
-
|
|
2172
|
+
|
|
1561
2173
|
}
|
|
1562
|
-
|
|
2174
|
+
|
|
1563
2175
|
message ShopMessage {
|
|
1564
2176
|
optional string id = 1;
|
|
1565
2177
|
optional Surface surface = 2;
|
|
@@ -1571,9 +2183,9 @@ message Message {
|
|
|
1571
2183
|
WA = 3;
|
|
1572
2184
|
}
|
|
1573
2185
|
}
|
|
1574
|
-
|
|
2186
|
+
|
|
1575
2187
|
}
|
|
1576
|
-
|
|
2188
|
+
|
|
1577
2189
|
message InteractiveResponseMessage {
|
|
1578
2190
|
optional Body body = 1;
|
|
1579
2191
|
optional ContextInfo contextInfo = 15;
|
|
@@ -1588,15 +2200,15 @@ message Message {
|
|
|
1588
2200
|
EXTENSIONS_1 = 1;
|
|
1589
2201
|
}
|
|
1590
2202
|
}
|
|
1591
|
-
|
|
2203
|
+
|
|
1592
2204
|
message NativeFlowResponseMessage {
|
|
1593
2205
|
optional string name = 1;
|
|
1594
2206
|
optional string paramsJson = 2;
|
|
1595
2207
|
optional int32 version = 3;
|
|
1596
2208
|
}
|
|
1597
|
-
|
|
2209
|
+
|
|
1598
2210
|
}
|
|
1599
|
-
|
|
2211
|
+
|
|
1600
2212
|
message InvoiceMessage {
|
|
1601
2213
|
optional string note = 1;
|
|
1602
2214
|
optional string token = 2;
|
|
@@ -1613,13 +2225,13 @@ message Message {
|
|
|
1613
2225
|
PDF = 1;
|
|
1614
2226
|
}
|
|
1615
2227
|
}
|
|
1616
|
-
|
|
2228
|
+
|
|
1617
2229
|
message KeepInChatMessage {
|
|
1618
2230
|
optional MessageKey key = 1;
|
|
1619
2231
|
optional KeepType keepType = 2;
|
|
1620
2232
|
optional int64 timestampMs = 3;
|
|
1621
2233
|
}
|
|
1622
|
-
|
|
2234
|
+
|
|
1623
2235
|
message ListMessage {
|
|
1624
2236
|
optional string title = 1;
|
|
1625
2237
|
optional string description = 2;
|
|
@@ -1637,36 +2249,36 @@ message Message {
|
|
|
1637
2249
|
message Product {
|
|
1638
2250
|
optional string productId = 1;
|
|
1639
2251
|
}
|
|
1640
|
-
|
|
2252
|
+
|
|
1641
2253
|
message ProductListHeaderImage {
|
|
1642
2254
|
optional string productId = 1;
|
|
1643
2255
|
optional bytes jpegThumbnail = 2;
|
|
1644
2256
|
}
|
|
1645
|
-
|
|
2257
|
+
|
|
1646
2258
|
message ProductListInfo {
|
|
1647
2259
|
repeated Message.ListMessage.ProductSection productSections = 1;
|
|
1648
2260
|
optional Message.ListMessage.ProductListHeaderImage headerImage = 2;
|
|
1649
2261
|
optional string businessOwnerJid = 3;
|
|
1650
2262
|
}
|
|
1651
|
-
|
|
2263
|
+
|
|
1652
2264
|
message ProductSection {
|
|
1653
2265
|
optional string title = 1;
|
|
1654
2266
|
repeated Message.ListMessage.Product products = 2;
|
|
1655
2267
|
}
|
|
1656
|
-
|
|
2268
|
+
|
|
1657
2269
|
message Row {
|
|
1658
2270
|
optional string title = 1;
|
|
1659
2271
|
optional string description = 2;
|
|
1660
2272
|
optional string rowId = 3;
|
|
1661
2273
|
}
|
|
1662
|
-
|
|
2274
|
+
|
|
1663
2275
|
message Section {
|
|
1664
2276
|
optional string title = 1;
|
|
1665
2277
|
repeated Message.ListMessage.Row rows = 2;
|
|
1666
2278
|
}
|
|
1667
|
-
|
|
2279
|
+
|
|
1668
2280
|
}
|
|
1669
|
-
|
|
2281
|
+
|
|
1670
2282
|
message ListResponseMessage {
|
|
1671
2283
|
optional string title = 1;
|
|
1672
2284
|
optional ListType listType = 2;
|
|
@@ -1680,9 +2292,9 @@ message Message {
|
|
|
1680
2292
|
message SingleSelectReply {
|
|
1681
2293
|
optional string selectedRowId = 1;
|
|
1682
2294
|
}
|
|
1683
|
-
|
|
2295
|
+
|
|
1684
2296
|
}
|
|
1685
|
-
|
|
2297
|
+
|
|
1686
2298
|
message LiveLocationMessage {
|
|
1687
2299
|
optional double degreesLatitude = 1;
|
|
1688
2300
|
optional double degreesLongitude = 2;
|
|
@@ -1695,7 +2307,7 @@ message Message {
|
|
|
1695
2307
|
optional bytes jpegThumbnail = 16;
|
|
1696
2308
|
optional ContextInfo contextInfo = 17;
|
|
1697
2309
|
}
|
|
1698
|
-
|
|
2310
|
+
|
|
1699
2311
|
message LocationMessage {
|
|
1700
2312
|
optional double degreesLatitude = 1;
|
|
1701
2313
|
optional double degreesLongitude = 2;
|
|
@@ -1710,7 +2322,17 @@ message Message {
|
|
|
1710
2322
|
optional bytes jpegThumbnail = 16;
|
|
1711
2323
|
optional ContextInfo contextInfo = 17;
|
|
1712
2324
|
}
|
|
1713
|
-
|
|
2325
|
+
|
|
2326
|
+
message MMSThumbnailMetadata {
|
|
2327
|
+
optional string thumbnailDirectPath = 1;
|
|
2328
|
+
optional bytes thumbnailSha256 = 2;
|
|
2329
|
+
optional bytes thumbnailEncSha256 = 3;
|
|
2330
|
+
optional bytes mediaKey = 4;
|
|
2331
|
+
optional int64 mediaKeyTimestamp = 5;
|
|
2332
|
+
optional uint32 thumbnailHeight = 6;
|
|
2333
|
+
optional uint32 thumbnailWidth = 7;
|
|
2334
|
+
}
|
|
2335
|
+
|
|
1714
2336
|
message MessageHistoryBundle {
|
|
1715
2337
|
optional string mimetype = 2;
|
|
1716
2338
|
optional bytes fileSha256 = 3;
|
|
@@ -1721,15 +2343,16 @@ message Message {
|
|
|
1721
2343
|
optional ContextInfo contextInfo = 9;
|
|
1722
2344
|
repeated string participants = 10;
|
|
1723
2345
|
}
|
|
1724
|
-
|
|
2346
|
+
|
|
1725
2347
|
message NewsletterAdminInviteMessage {
|
|
1726
2348
|
optional string newsletterJid = 1;
|
|
1727
2349
|
optional string newsletterName = 2;
|
|
1728
2350
|
optional bytes jpegThumbnail = 3;
|
|
1729
2351
|
optional string caption = 4;
|
|
1730
2352
|
optional int64 inviteExpiration = 5;
|
|
2353
|
+
optional ContextInfo contextInfo = 6;
|
|
1731
2354
|
}
|
|
1732
|
-
|
|
2355
|
+
|
|
1733
2356
|
message OrderMessage {
|
|
1734
2357
|
optional string orderId = 1;
|
|
1735
2358
|
optional bytes thumbnail = 2;
|
|
@@ -1754,7 +2377,7 @@ message Message {
|
|
|
1754
2377
|
CATALOG = 1;
|
|
1755
2378
|
}
|
|
1756
2379
|
}
|
|
1757
|
-
|
|
2380
|
+
|
|
1758
2381
|
message PaymentInviteMessage {
|
|
1759
2382
|
optional ServiceType serviceType = 1;
|
|
1760
2383
|
optional int64 expiryTimestamp = 2;
|
|
@@ -1765,36 +2388,43 @@ message Message {
|
|
|
1765
2388
|
UPI = 3;
|
|
1766
2389
|
}
|
|
1767
2390
|
}
|
|
1768
|
-
|
|
2391
|
+
|
|
1769
2392
|
message PeerDataOperationRequestMessage {
|
|
1770
2393
|
optional Message.PeerDataOperationRequestType peerDataOperationRequestType = 1;
|
|
1771
2394
|
repeated RequestStickerReupload requestStickerReupload = 2;
|
|
1772
2395
|
repeated RequestUrlPreview requestUrlPreview = 3;
|
|
1773
2396
|
optional HistorySyncOnDemandRequest historySyncOnDemandRequest = 4;
|
|
1774
2397
|
repeated PlaceholderMessageResendRequest placeholderMessageResendRequest = 5;
|
|
2398
|
+
optional FullHistorySyncOnDemandRequest fullHistorySyncOnDemandRequest = 6;
|
|
2399
|
+
message FullHistorySyncOnDemandRequest {
|
|
2400
|
+
optional Message.FullHistorySyncOnDemandRequestMetadata requestMetadata = 1;
|
|
2401
|
+
optional DeviceProps.HistorySyncConfig historySyncConfig = 2;
|
|
2402
|
+
}
|
|
2403
|
+
|
|
1775
2404
|
message HistorySyncOnDemandRequest {
|
|
1776
2405
|
optional string chatJid = 1;
|
|
1777
2406
|
optional string oldestMsgId = 2;
|
|
1778
2407
|
optional bool oldestMsgFromMe = 3;
|
|
1779
2408
|
optional int32 onDemandMsgCount = 4;
|
|
1780
2409
|
optional int64 oldestMsgTimestampMs = 5;
|
|
2410
|
+
optional string accountLid = 6;
|
|
1781
2411
|
}
|
|
1782
|
-
|
|
2412
|
+
|
|
1783
2413
|
message PlaceholderMessageResendRequest {
|
|
1784
2414
|
optional MessageKey messageKey = 1;
|
|
1785
2415
|
}
|
|
1786
|
-
|
|
2416
|
+
|
|
1787
2417
|
message RequestStickerReupload {
|
|
1788
2418
|
optional string fileSha256 = 1;
|
|
1789
2419
|
}
|
|
1790
|
-
|
|
2420
|
+
|
|
1791
2421
|
message RequestUrlPreview {
|
|
1792
2422
|
optional string url = 1;
|
|
1793
2423
|
optional bool includeHqThumbnail = 2;
|
|
1794
2424
|
}
|
|
1795
|
-
|
|
2425
|
+
|
|
1796
2426
|
}
|
|
1797
|
-
|
|
2427
|
+
|
|
1798
2428
|
message PeerDataOperationRequestResponseMessage {
|
|
1799
2429
|
optional Message.PeerDataOperationRequestType peerDataOperationRequestType = 1;
|
|
1800
2430
|
optional string stanzaId = 2;
|
|
@@ -1804,12 +2434,32 @@ message Message {
|
|
|
1804
2434
|
optional Message.StickerMessage stickerMessage = 2;
|
|
1805
2435
|
optional LinkPreviewResponse linkPreviewResponse = 3;
|
|
1806
2436
|
optional PlaceholderMessageResendResponse placeholderMessageResendResponse = 4;
|
|
2437
|
+
optional WaffleNonceFetchResponse waffleNonceFetchRequestResponse = 5;
|
|
2438
|
+
optional FullHistorySyncOnDemandRequestResponse fullHistorySyncOnDemandRequestResponse = 6;
|
|
2439
|
+
optional CompanionMetaNonceFetchResponse companionMetaNonceFetchRequestResponse = 7;
|
|
2440
|
+
message CompanionMetaNonceFetchResponse {
|
|
2441
|
+
optional string nonce = 1;
|
|
2442
|
+
}
|
|
2443
|
+
|
|
2444
|
+
message FullHistorySyncOnDemandRequestResponse {
|
|
2445
|
+
optional Message.FullHistorySyncOnDemandRequestMetadata requestMetadata = 1;
|
|
2446
|
+
optional Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FullHistorySyncOnDemandResponseCode responseCode = 2;
|
|
2447
|
+
}
|
|
2448
|
+
|
|
2449
|
+
enum FullHistorySyncOnDemandResponseCode {
|
|
2450
|
+
REQUEST_SUCCESS = 0;
|
|
2451
|
+
REQUEST_TIME_EXPIRED = 1;
|
|
2452
|
+
DECLINED_SHARING_HISTORY = 2;
|
|
2453
|
+
GENERIC_ERROR = 3;
|
|
2454
|
+
ERROR_REQUEST_ON_NON_SMB_PRIMARY = 4;
|
|
2455
|
+
ERROR_HOSTED_DEVICE_NOT_CONNECTED = 5;
|
|
2456
|
+
ERROR_HOSTED_DEVICE_LOGIN_TIME_NOT_SET = 6;
|
|
2457
|
+
}
|
|
1807
2458
|
message LinkPreviewResponse {
|
|
1808
2459
|
optional string url = 1;
|
|
1809
2460
|
optional string title = 2;
|
|
1810
2461
|
optional string description = 3;
|
|
1811
2462
|
optional bytes thumbData = 4;
|
|
1812
|
-
optional string canonicalUrl = 5;
|
|
1813
2463
|
optional string matchText = 6;
|
|
1814
2464
|
optional string previewType = 7;
|
|
1815
2465
|
optional LinkPreviewHighQualityThumbnail hqThumbnail = 8;
|
|
@@ -1822,23 +2472,31 @@ message Message {
|
|
|
1822
2472
|
optional int32 thumbWidth = 6;
|
|
1823
2473
|
optional int32 thumbHeight = 7;
|
|
1824
2474
|
}
|
|
1825
|
-
|
|
2475
|
+
|
|
1826
2476
|
}
|
|
1827
|
-
|
|
2477
|
+
|
|
1828
2478
|
message PlaceholderMessageResendResponse {
|
|
1829
2479
|
optional bytes webMessageInfoBytes = 1;
|
|
1830
2480
|
}
|
|
1831
|
-
|
|
2481
|
+
|
|
2482
|
+
message WaffleNonceFetchResponse {
|
|
2483
|
+
optional string nonce = 1;
|
|
2484
|
+
optional string waEntFbid = 2;
|
|
2485
|
+
}
|
|
2486
|
+
|
|
1832
2487
|
}
|
|
1833
|
-
|
|
2488
|
+
|
|
1834
2489
|
}
|
|
1835
|
-
|
|
2490
|
+
|
|
1836
2491
|
enum PeerDataOperationRequestType {
|
|
1837
2492
|
UPLOAD_STICKER = 0;
|
|
1838
2493
|
SEND_RECENT_STICKER_BOOTSTRAP = 1;
|
|
1839
2494
|
GENERATE_LINK_PREVIEW = 2;
|
|
1840
2495
|
HISTORY_SYNC_ON_DEMAND = 3;
|
|
1841
2496
|
PLACEHOLDER_MESSAGE_RESEND = 4;
|
|
2497
|
+
WAFFLE_LINKING_NONCE_FETCH = 5;
|
|
2498
|
+
FULL_HISTORY_SYNC_ON_DEMAND = 6;
|
|
2499
|
+
COMPANION_META_NONCE_FETCH = 7;
|
|
1842
2500
|
}
|
|
1843
2501
|
message PinInChatMessage {
|
|
1844
2502
|
optional MessageKey key = 1;
|
|
@@ -1850,45 +2508,69 @@ message Message {
|
|
|
1850
2508
|
UNPIN_FOR_ALL = 2;
|
|
1851
2509
|
}
|
|
1852
2510
|
}
|
|
1853
|
-
|
|
2511
|
+
|
|
1854
2512
|
message PlaceholderMessage {
|
|
1855
2513
|
optional PlaceholderType type = 1;
|
|
1856
2514
|
enum PlaceholderType {
|
|
1857
2515
|
MASK_LINKED_DEVICES = 0;
|
|
1858
2516
|
}
|
|
1859
2517
|
}
|
|
1860
|
-
|
|
2518
|
+
|
|
2519
|
+
enum PollContentType {
|
|
2520
|
+
UNKNOWN = 0;
|
|
2521
|
+
TEXT = 1;
|
|
2522
|
+
IMAGE = 2;
|
|
2523
|
+
}
|
|
1861
2524
|
message PollCreationMessage {
|
|
1862
2525
|
optional bytes encKey = 1;
|
|
1863
2526
|
optional string name = 2;
|
|
1864
2527
|
repeated Option options = 3;
|
|
1865
2528
|
optional uint32 selectableOptionsCount = 4;
|
|
1866
2529
|
optional ContextInfo contextInfo = 5;
|
|
2530
|
+
optional Message.PollContentType pollContentType = 6;
|
|
2531
|
+
optional PollType pollType = 7;
|
|
2532
|
+
optional Option correctAnswer = 8;
|
|
1867
2533
|
message Option {
|
|
1868
2534
|
optional string optionName = 1;
|
|
2535
|
+
optional string optionHash = 2;
|
|
2536
|
+
}
|
|
2537
|
+
|
|
2538
|
+
enum PollType {
|
|
2539
|
+
POLL = 0;
|
|
2540
|
+
QUIZ = 1;
|
|
1869
2541
|
}
|
|
1870
|
-
|
|
1871
2542
|
}
|
|
1872
|
-
|
|
2543
|
+
|
|
1873
2544
|
message PollEncValue {
|
|
1874
2545
|
optional bytes encPayload = 1;
|
|
1875
2546
|
optional bytes encIv = 2;
|
|
1876
2547
|
}
|
|
1877
|
-
|
|
2548
|
+
|
|
2549
|
+
message PollResultSnapshotMessage {
|
|
2550
|
+
optional string name = 1;
|
|
2551
|
+
repeated PollVote pollVotes = 2;
|
|
2552
|
+
optional ContextInfo contextInfo = 3;
|
|
2553
|
+
message PollVote {
|
|
2554
|
+
optional string optionName = 1;
|
|
2555
|
+
optional int64 optionVoteCount = 2;
|
|
2556
|
+
}
|
|
2557
|
+
|
|
2558
|
+
}
|
|
2559
|
+
|
|
1878
2560
|
message PollUpdateMessage {
|
|
1879
2561
|
optional MessageKey pollCreationMessageKey = 1;
|
|
1880
2562
|
optional Message.PollEncValue vote = 2;
|
|
1881
2563
|
optional Message.PollUpdateMessageMetadata metadata = 3;
|
|
1882
2564
|
optional int64 senderTimestampMs = 4;
|
|
1883
2565
|
}
|
|
1884
|
-
|
|
2566
|
+
|
|
1885
2567
|
message PollUpdateMessageMetadata {
|
|
1886
2568
|
}
|
|
1887
|
-
|
|
2569
|
+
|
|
1888
2570
|
message PollVoteMessage {
|
|
1889
2571
|
repeated bytes selectedOptions = 1;
|
|
1890
2572
|
}
|
|
1891
|
-
|
|
2573
|
+
|
|
1892
2574
|
message ProductMessage {
|
|
1893
2575
|
optional ProductSnapshot product = 1;
|
|
1894
2576
|
optional string businessOwnerJid = 2;
|
|
@@ -1901,7 +2583,7 @@ message Message {
|
|
|
1901
2583
|
optional string title = 2;
|
|
1902
2584
|
optional string description = 3;
|
|
1903
2585
|
}
|
|
1904
|
-
|
|
2586
|
+
|
|
1905
2587
|
message ProductSnapshot {
|
|
1906
2588
|
optional Message.ImageMessage productImage = 1;
|
|
1907
2589
|
optional string productId = 2;
|
|
@@ -1914,10 +2596,11 @@ message Message {
|
|
|
1914
2596
|
optional uint32 productImageCount = 9;
|
|
1915
2597
|
optional string firstImageId = 11;
|
|
1916
2598
|
optional int64 salePriceAmount1000 = 12;
|
|
2599
|
+
optional string signedUrl = 13;
|
|
1917
2600
|
}
|
|
1918
|
-
|
|
2601
|
+
|
|
1919
2602
|
}
|
|
1920
|
-
|
|
2603
|
+
|
|
1921
2604
|
message ProtocolMessage {
|
|
1922
2605
|
optional MessageKey key = 1;
|
|
1923
2606
|
optional Type type = 2;
|
|
@@ -1937,6 +2620,9 @@ message Message {
|
|
|
1937
2620
|
optional string invokerJid = 19;
|
|
1938
2621
|
optional Message.RequestWelcomeMessageMetadata requestWelcomeMessageMetadata = 20;
|
|
1939
2622
|
optional MediaNotifyMessage mediaNotifyMessage = 21;
|
|
2623
|
+
optional Message.CloudAPIThreadControlNotification cloudApiThreadControlNotification = 22;
|
|
2624
|
+
optional LIDMigrationMappingSyncMessage lidMigrationMappingSyncMessage = 23;
|
|
2625
|
+
optional LimitSharing limitSharing = 24;
|
|
1940
2626
|
enum Type {
|
|
1941
2627
|
REVOKE = 0;
|
|
1942
2628
|
EPHEMERAL_SETTING = 3;
|
|
@@ -1954,16 +2640,23 @@ message Message {
|
|
|
1954
2640
|
REQUEST_WELCOME_MESSAGE = 18;
|
|
1955
2641
|
BOT_FEEDBACK_MESSAGE = 19;
|
|
1956
2642
|
MEDIA_NOTIFY_MESSAGE = 20;
|
|
2643
|
+
CLOUD_API_THREAD_CONTROL_NOTIFICATION = 21;
|
|
2644
|
+
LID_MIGRATION_MAPPING_SYNC = 22;
|
|
2645
|
+
REMINDER_MESSAGE = 23;
|
|
2646
|
+
BOT_MEMU_ONBOARDING_MESSAGE = 24;
|
|
2647
|
+
STATUS_MENTION_MESSAGE = 25;
|
|
2648
|
+
STOP_GENERATION_MESSAGE = 26;
|
|
2649
|
+
LIMIT_SHARING = 27;
|
|
1957
2650
|
}
|
|
1958
2651
|
}
|
|
1959
|
-
|
|
2652
|
+
|
|
1960
2653
|
message ReactionMessage {
|
|
1961
2654
|
optional MessageKey key = 1;
|
|
1962
2655
|
optional string text = 2;
|
|
1963
2656
|
optional string groupingKey = 3;
|
|
1964
2657
|
optional int64 senderTimestampMs = 4;
|
|
1965
2658
|
}
|
|
1966
|
-
|
|
2659
|
+
|
|
1967
2660
|
message RequestPaymentMessage {
|
|
1968
2661
|
optional Message noteMessage = 4;
|
|
1969
2662
|
optional string currencyCodeIso4217 = 1;
|
|
@@ -1973,11 +2666,11 @@ message Message {
|
|
|
1973
2666
|
optional Money amount = 6;
|
|
1974
2667
|
optional PaymentBackground background = 7;
|
|
1975
2668
|
}
|
|
1976
|
-
|
|
2669
|
+
|
|
1977
2670
|
message RequestPhoneNumberMessage {
|
|
1978
2671
|
optional ContextInfo contextInfo = 1;
|
|
1979
2672
|
}
|
|
1980
|
-
|
|
2673
|
+
|
|
1981
2674
|
message RequestWelcomeMessageMetadata {
|
|
1982
2675
|
optional LocalChatState localChatState = 1;
|
|
1983
2676
|
enum LocalChatState {
|
|
@@ -1985,7 +2678,7 @@ message Message {
|
|
|
1985
2678
|
NON_EMPTY = 1;
|
|
1986
2679
|
}
|
|
1987
2680
|
}
|
|
1988
|
-
|
|
2681
|
+
|
|
1989
2682
|
message ScheduledCallCreationMessage {
|
|
1990
2683
|
optional int64 scheduledTimestampMs = 1;
|
|
1991
2684
|
optional CallType callType = 2;
|
|
@@ -1996,7 +2689,7 @@ message Message {
|
|
|
1996
2689
|
VIDEO = 2;
|
|
1997
2690
|
}
|
|
1998
2691
|
}
|
|
1999
|
-
|
|
2692
|
+
|
|
2000
2693
|
message ScheduledCallEditMessage {
|
|
2001
2694
|
optional MessageKey key = 1;
|
|
2002
2695
|
optional EditType editType = 2;
|
|
@@ -2005,18 +2698,40 @@ message Message {
|
|
|
2005
2698
|
CANCEL = 1;
|
|
2006
2699
|
}
|
|
2007
2700
|
}
|
|
2008
|
-
|
|
2701
|
+
|
|
2702
|
+
message SecretEncryptedMessage {
|
|
2703
|
+
optional MessageKey targetMessageKey = 1;
|
|
2704
|
+
optional bytes encPayload = 2;
|
|
2705
|
+
optional bytes encIv = 3;
|
|
2706
|
+
optional SecretEncType secretEncType = 4;
|
|
2707
|
+
enum SecretEncType {
|
|
2708
|
+
UNKNOWN = 0;
|
|
2709
|
+
EVENT_EDIT = 1;
|
|
2710
|
+
}
|
|
2711
|
+
}
|
|
2712
|
+
|
|
2009
2713
|
message SendPaymentMessage {
|
|
2010
2714
|
optional Message noteMessage = 2;
|
|
2011
2715
|
optional MessageKey requestMessageKey = 3;
|
|
2012
2716
|
optional PaymentBackground background = 4;
|
|
2013
2717
|
}
|
|
2014
|
-
|
|
2718
|
+
|
|
2015
2719
|
message SenderKeyDistributionMessage {
|
|
2016
2720
|
optional string groupId = 1;
|
|
2017
2721
|
optional bytes axolotlSenderKeyDistributionMessage = 2;
|
|
2018
2722
|
}
|
|
2019
|
-
|
|
2723
|
+
|
|
2724
|
+
message StatusNotificationMessage {
|
|
2725
|
+
optional MessageKey responseMessageKey = 1;
|
|
2726
|
+
optional MessageKey originalMessageKey = 2;
|
|
2727
|
+
optional StatusNotificationType type = 3;
|
|
2728
|
+
enum StatusNotificationType {
|
|
2729
|
+
UNKNOWN = 0;
|
|
2730
|
+
STATUS_ADD_YOURS = 1;
|
|
2731
|
+
STATUS_RESHARE = 2;
|
|
2732
|
+
}
|
|
2733
|
+
}
|
|
2734
|
+
|
|
2020
2735
|
message StickerMessage {
|
|
2021
2736
|
optional string url = 1;
|
|
2022
2737
|
optional bytes fileSha256 = 2;
|
|
@@ -2037,14 +2752,54 @@ message Message {
|
|
|
2037
2752
|
optional bool isAvatar = 19;
|
|
2038
2753
|
optional bool isAiSticker = 20;
|
|
2039
2754
|
optional bool isLottie = 21;
|
|
2755
|
+
optional string accessibilityLabel = 22;
|
|
2040
2756
|
}
|
|
2041
|
-
|
|
2757
|
+
|
|
2758
|
+
message StickerPackMessage {
|
|
2759
|
+
optional string stickerPackId = 1;
|
|
2760
|
+
optional string name = 2;
|
|
2761
|
+
optional string publisher = 3;
|
|
2762
|
+
repeated Sticker stickers = 4;
|
|
2763
|
+
optional uint64 fileLength = 5;
|
|
2764
|
+
optional bytes fileSha256 = 6;
|
|
2765
|
+
optional bytes fileEncSha256 = 7;
|
|
2766
|
+
optional bytes mediaKey = 8;
|
|
2767
|
+
optional string directPath = 9;
|
|
2768
|
+
optional string caption = 10;
|
|
2769
|
+
optional ContextInfo contextInfo = 11;
|
|
2770
|
+
optional string packDescription = 12;
|
|
2771
|
+
optional int64 mediaKeyTimestamp = 13;
|
|
2772
|
+
optional string trayIconFileName = 14;
|
|
2773
|
+
optional string thumbnailDirectPath = 15;
|
|
2774
|
+
optional bytes thumbnailSha256 = 16;
|
|
2775
|
+
optional bytes thumbnailEncSha256 = 17;
|
|
2776
|
+
optional uint32 thumbnailHeight = 18;
|
|
2777
|
+
optional uint32 thumbnailWidth = 19;
|
|
2778
|
+
optional string imageDataHash = 20;
|
|
2779
|
+
optional uint64 stickerPackSize = 21;
|
|
2780
|
+
optional StickerPackOrigin stickerPackOrigin = 22;
|
|
2781
|
+
message Sticker {
|
|
2782
|
+
optional string fileName = 1;
|
|
2783
|
+
optional bool isAnimated = 2;
|
|
2784
|
+
repeated string emojis = 3;
|
|
2785
|
+
optional string accessibilityLabel = 4;
|
|
2786
|
+
optional bool isLottie = 5;
|
|
2787
|
+
optional string mimetype = 6;
|
|
2788
|
+
}
|
|
2789
|
+
|
|
2790
|
+
enum StickerPackOrigin {
|
|
2791
|
+
FIRST_PARTY = 0;
|
|
2792
|
+
THIRD_PARTY = 1;
|
|
2793
|
+
USER_CREATED = 2;
|
|
2794
|
+
}
|
|
2795
|
+
}
|
|
2796
|
+
|
|
2042
2797
|
message StickerSyncRMRMessage {
|
|
2043
2798
|
repeated string filehash = 1;
|
|
2044
2799
|
optional string rmrSource = 2;
|
|
2045
2800
|
optional int64 requestTimestamp = 3;
|
|
2046
2801
|
}
|
|
2047
|
-
|
|
2802
|
+
|
|
2048
2803
|
message TemplateButtonReplyMessage {
|
|
2049
2804
|
optional string selectedId = 1;
|
|
2050
2805
|
optional string selectedDisplayText = 2;
|
|
@@ -2052,7 +2807,7 @@ message Message {
|
|
|
2052
2807
|
optional uint32 selectedIndex = 4;
|
|
2053
2808
|
optional uint32 selectedCarouselCardIndex = 5;
|
|
2054
2809
|
}
|
|
2055
|
-
|
|
2810
|
+
|
|
2056
2811
|
message TemplateMessage {
|
|
2057
2812
|
optional ContextInfo contextInfo = 3;
|
|
2058
2813
|
optional HydratedFourRowTemplate hydratedTemplate = 4;
|
|
@@ -2074,7 +2829,7 @@ message Message {
|
|
|
2074
2829
|
Message.LocationMessage locationMessage = 5;
|
|
2075
2830
|
}
|
|
2076
2831
|
}
|
|
2077
|
-
|
|
2832
|
+
|
|
2078
2833
|
message HydratedFourRowTemplate {
|
|
2079
2834
|
optional string hydratedContentText = 6;
|
|
2080
2835
|
optional string hydratedFooterText = 7;
|
|
@@ -2089,9 +2844,9 @@ message Message {
|
|
|
2089
2844
|
Message.LocationMessage locationMessage = 5;
|
|
2090
2845
|
}
|
|
2091
2846
|
}
|
|
2092
|
-
|
|
2847
|
+
|
|
2093
2848
|
}
|
|
2094
|
-
|
|
2849
|
+
|
|
2095
2850
|
message VideoMessage {
|
|
2096
2851
|
optional string url = 1;
|
|
2097
2852
|
optional string mimetype = 2;
|
|
@@ -2117,17 +2872,59 @@ message Message {
|
|
|
2117
2872
|
optional bytes thumbnailEncSha256 = 23;
|
|
2118
2873
|
optional string staticUrl = 24;
|
|
2119
2874
|
repeated InteractiveAnnotation annotations = 25;
|
|
2875
|
+
optional string accessibilityLabel = 26;
|
|
2876
|
+
repeated ProcessedVideo processedVideos = 27;
|
|
2877
|
+
optional uint32 externalShareFullVideoDurationInSeconds = 28;
|
|
2120
2878
|
enum Attribution {
|
|
2121
2879
|
NONE = 0;
|
|
2122
2880
|
GIPHY = 1;
|
|
2123
2881
|
TENOR = 2;
|
|
2124
2882
|
}
|
|
2125
2883
|
}
|
|
2126
|
-
|
|
2884
|
+
|
|
2885
|
+
}
|
|
2886
|
+
|
|
2887
|
+
message MessageAddOn {
|
|
2888
|
+
optional MessageAddOnType messageAddOnType = 1;
|
|
2889
|
+
optional Message messageAddOn = 2;
|
|
2890
|
+
optional int64 senderTimestampMs = 3;
|
|
2891
|
+
optional int64 serverTimestampMs = 4;
|
|
2892
|
+
optional WebMessageInfo.Status status = 5;
|
|
2893
|
+
optional MessageAddOnContextInfo addOnContextInfo = 6;
|
|
2894
|
+
optional MessageKey messageAddOnKey = 7;
|
|
2895
|
+
optional LegacyMessage legacyMessage = 8;
|
|
2896
|
+
enum MessageAddOnType {
|
|
2897
|
+
UNDEFINED = 0;
|
|
2898
|
+
REACTION = 1;
|
|
2899
|
+
EVENT_RESPONSE = 2;
|
|
2900
|
+
POLL_UPDATE = 3;
|
|
2901
|
+
PIN_IN_CHAT = 4;
|
|
2902
|
+
}
|
|
2127
2903
|
}
|
|
2128
2904
|
|
|
2129
2905
|
message MessageAddOnContextInfo {
|
|
2130
2906
|
optional uint32 messageAddOnDurationInSecs = 1;
|
|
2907
|
+
optional MessageContextInfo.MessageAddonExpiryType messageAddOnExpiryType = 2;
|
|
2908
|
+
}
|
|
2909
|
+
|
|
2910
|
+
message MessageAssociation {
|
|
2911
|
+
optional AssociationType associationType = 1;
|
|
2912
|
+
optional MessageKey parentMessageKey = 2;
|
|
2913
|
+
optional int32 messageIndex = 3;
|
|
2914
|
+
enum AssociationType {
|
|
2915
|
+
UNKNOWN = 0;
|
|
2916
|
+
MEDIA_ALBUM = 1;
|
|
2917
|
+
BOT_PLUGIN = 2;
|
|
2918
|
+
EVENT_COVER_IMAGE = 3;
|
|
2919
|
+
STATUS_POLL = 4;
|
|
2920
|
+
HD_VIDEO_DUAL_UPLOAD = 5;
|
|
2921
|
+
STATUS_TAPPABLE_MESSAGE = 6;
|
|
2922
|
+
MEDIA_POLL = 7;
|
|
2923
|
+
STATUS_ADD_YOURS = 8;
|
|
2924
|
+
STATUS_NOTIFICATION = 9;
|
|
2925
|
+
HD_IMAGE_DUAL_UPLOAD = 10;
|
|
2926
|
+
STICKER_ANNOTATION = 11;
|
|
2927
|
+
}
|
|
2131
2928
|
}
|
|
2132
2929
|
|
|
2133
2930
|
message MessageContextInfo {
|
|
@@ -2139,6 +2936,14 @@ message MessageContextInfo {
|
|
|
2139
2936
|
optional bytes botMessageSecret = 6;
|
|
2140
2937
|
optional BotMetadata botMetadata = 7;
|
|
2141
2938
|
optional int32 reportingTokenVersion = 8;
|
|
2939
|
+
optional MessageAddonExpiryType messageAddOnExpiryType = 9;
|
|
2940
|
+
optional MessageAssociation messageAssociation = 10;
|
|
2941
|
+
optional bool capiCreatedGroup = 11;
|
|
2942
|
+
optional string supportPayload = 12;
|
|
2943
|
+
enum MessageAddonExpiryType {
|
|
2944
|
+
STATIC = 1;
|
|
2945
|
+
DEPENDENT_ON_PARENT = 2;
|
|
2946
|
+
}
|
|
2142
2947
|
}
|
|
2143
2948
|
|
|
2144
2949
|
message MessageKey {
|
|
@@ -2168,7 +2973,6 @@ message MsgOpaqueData {
|
|
|
2168
2973
|
optional double lat = 7;
|
|
2169
2974
|
optional int32 paymentAmount1000 = 8;
|
|
2170
2975
|
optional string paymentNoteMsgBody = 9;
|
|
2171
|
-
optional string canonicalUrl = 10;
|
|
2172
2976
|
optional string matchedText = 11;
|
|
2173
2977
|
optional string title = 12;
|
|
2174
2978
|
optional string description = 13;
|
|
@@ -2184,6 +2988,8 @@ message MsgOpaqueData {
|
|
|
2184
2988
|
optional string pollUpdateParentKey = 23;
|
|
2185
2989
|
optional PollEncValue encPollVote = 24;
|
|
2186
2990
|
optional bool isSentCagPollCreation = 28;
|
|
2991
|
+
optional PollContentType pollContentType = 42;
|
|
2992
|
+
optional PollVotesSnapshot pollVotesSnapshot = 41;
|
|
2187
2993
|
optional string encReactionTargetMessageKey = 25;
|
|
2188
2994
|
optional bytes encReactionEncPayload = 26;
|
|
2189
2995
|
optional bytes encReactionEncIv = 27;
|
|
@@ -2191,10 +2997,41 @@ message MsgOpaqueData {
|
|
|
2191
2997
|
optional string targetMessageKey = 30;
|
|
2192
2998
|
optional bytes encPayload = 31;
|
|
2193
2999
|
optional bytes encIv = 32;
|
|
3000
|
+
optional string eventName = 33;
|
|
3001
|
+
optional bool isEventCanceled = 34;
|
|
3002
|
+
optional string eventDescription = 35;
|
|
3003
|
+
optional string eventJoinLink = 36;
|
|
3004
|
+
optional int64 eventStartTime = 37;
|
|
3005
|
+
optional EventLocation eventLocation = 38;
|
|
3006
|
+
optional int64 eventEndTime = 40;
|
|
3007
|
+
message EventLocation {
|
|
3008
|
+
optional double degreesLatitude = 1;
|
|
3009
|
+
optional double degreesLongitude = 2;
|
|
3010
|
+
optional string name = 3;
|
|
3011
|
+
optional string address = 4;
|
|
3012
|
+
optional string url = 5;
|
|
3013
|
+
optional bytes jpegThumbnail = 6;
|
|
3014
|
+
}
|
|
3015
|
+
|
|
3016
|
+
enum PollContentType {
|
|
3017
|
+
UNKNOWN = 0;
|
|
3018
|
+
TEXT = 1;
|
|
3019
|
+
IMAGE = 2;
|
|
3020
|
+
}
|
|
2194
3021
|
message PollOption {
|
|
2195
3022
|
optional string name = 1;
|
|
3023
|
+
optional string hash = 2;
|
|
3024
|
+
}
|
|
3025
|
+
|
|
3026
|
+
message PollVoteSnapshot {
|
|
3027
|
+
optional MsgOpaqueData.PollOption option = 1;
|
|
3028
|
+
optional int32 optionVoteCount = 2;
|
|
3029
|
+
}
|
|
3030
|
+
|
|
3031
|
+
message PollVotesSnapshot {
|
|
3032
|
+
repeated MsgOpaqueData.PollVoteSnapshot pollVotes = 1;
|
|
2196
3033
|
}
|
|
2197
|
-
|
|
3034
|
+
|
|
2198
3035
|
}
|
|
2199
3036
|
|
|
2200
3037
|
message MsgRowOpaqueData {
|
|
@@ -2212,7 +3049,7 @@ message NoiseCertificate {
|
|
|
2212
3049
|
optional string subject = 4;
|
|
2213
3050
|
optional bytes key = 5;
|
|
2214
3051
|
}
|
|
2215
|
-
|
|
3052
|
+
|
|
2216
3053
|
}
|
|
2217
3054
|
|
|
2218
3055
|
message NotificationMessageInfo {
|
|
@@ -2231,6 +3068,12 @@ message NotificationSettings {
|
|
|
2231
3068
|
optional string callVibrate = 6;
|
|
2232
3069
|
}
|
|
2233
3070
|
|
|
3071
|
+
message PairingRequest {
|
|
3072
|
+
optional bytes companionPublicKey = 1;
|
|
3073
|
+
optional bytes companionIdentityKey = 2;
|
|
3074
|
+
optional bytes advSecret = 3;
|
|
3075
|
+
}
|
|
3076
|
+
|
|
2234
3077
|
message PastParticipant {
|
|
2235
3078
|
optional string userJid = 1;
|
|
2236
3079
|
optional LeaveReason leaveReason = 2;
|
|
@@ -2266,6 +3109,8 @@ message PatchDebugData {
|
|
|
2266
3109
|
WEB = 4;
|
|
2267
3110
|
UWP = 5;
|
|
2268
3111
|
DARWIN = 6;
|
|
3112
|
+
IPAD = 7;
|
|
3113
|
+
WEAROS = 8;
|
|
2269
3114
|
}
|
|
2270
3115
|
}
|
|
2271
3116
|
|
|
@@ -2287,7 +3132,7 @@ message PaymentBackground {
|
|
|
2287
3132
|
optional bytes fileEncSha256 = 4;
|
|
2288
3133
|
optional string directPath = 5;
|
|
2289
3134
|
}
|
|
2290
|
-
|
|
3135
|
+
|
|
2291
3136
|
enum Type {
|
|
2292
3137
|
UNKNOWN = 0;
|
|
2293
3138
|
DEFAULT = 1;
|
|
@@ -2429,46 +3274,43 @@ message PremiumMessageInfo {
|
|
|
2429
3274
|
optional string serverCampaignId = 1;
|
|
2430
3275
|
}
|
|
2431
3276
|
|
|
2432
|
-
message
|
|
2433
|
-
optional
|
|
2434
|
-
optional
|
|
3277
|
+
message PrimaryEphemeralIdentity {
|
|
3278
|
+
optional bytes publicKey = 1;
|
|
3279
|
+
optional bytes nonce = 2;
|
|
2435
3280
|
}
|
|
2436
3281
|
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
enum FilterClientNotSupportedConfig {
|
|
2457
|
-
PASS_BY_DEFAULT = 1;
|
|
2458
|
-
FAIL_BY_DEFAULT = 2;
|
|
2459
|
-
}
|
|
2460
|
-
message FilterParameters {
|
|
2461
|
-
optional string key = 1;
|
|
2462
|
-
optional string value = 2;
|
|
2463
|
-
}
|
|
2464
|
-
|
|
2465
|
-
enum FilterResult {
|
|
2466
|
-
TRUE = 1;
|
|
2467
|
-
FALSE = 2;
|
|
2468
|
-
UNKNOWN = 3;
|
|
3282
|
+
enum PrivacySystemMessage {
|
|
3283
|
+
E2EE_MSG = 1;
|
|
3284
|
+
NE2EE_SELF = 2;
|
|
3285
|
+
NE2EE_OTHER = 3;
|
|
3286
|
+
}
|
|
3287
|
+
message ProcessedVideo {
|
|
3288
|
+
optional string directPath = 1;
|
|
3289
|
+
optional bytes fileSha256 = 2;
|
|
3290
|
+
optional uint32 height = 3;
|
|
3291
|
+
optional uint32 width = 4;
|
|
3292
|
+
optional uint64 fileLength = 5;
|
|
3293
|
+
optional uint32 bitrate = 6;
|
|
3294
|
+
optional VideoQuality quality = 7;
|
|
3295
|
+
repeated string capabilities = 8;
|
|
3296
|
+
enum VideoQuality {
|
|
3297
|
+
UNDEFINED = 0;
|
|
3298
|
+
LOW = 1;
|
|
3299
|
+
MID = 2;
|
|
3300
|
+
HIGH = 3;
|
|
2469
3301
|
}
|
|
2470
3302
|
}
|
|
2471
3303
|
|
|
3304
|
+
message ProloguePayload {
|
|
3305
|
+
optional bytes companionEphemeralIdentity = 1;
|
|
3306
|
+
optional CompanionCommitment commitment = 2;
|
|
3307
|
+
}
|
|
3308
|
+
|
|
3309
|
+
message Pushname {
|
|
3310
|
+
optional string id = 1;
|
|
3311
|
+
optional string pushname = 2;
|
|
3312
|
+
}
|
|
3313
|
+
|
|
2472
3314
|
message Reaction {
|
|
2473
3315
|
optional MessageKey key = 1;
|
|
2474
3316
|
optional string text = 2;
|
|
@@ -2487,6 +3329,13 @@ message RecordStructure {
|
|
|
2487
3329
|
repeated SessionStructure previousSessions = 2;
|
|
2488
3330
|
}
|
|
2489
3331
|
|
|
3332
|
+
message Reportable {
|
|
3333
|
+
optional uint32 minVersion = 1;
|
|
3334
|
+
optional uint32 maxVersion = 2;
|
|
3335
|
+
optional uint32 notReportableMinVersion = 3;
|
|
3336
|
+
optional bool never = 4;
|
|
3337
|
+
}
|
|
3338
|
+
|
|
2490
3339
|
message ReportingTokenInfo {
|
|
2491
3340
|
optional bytes reportingTag = 1;
|
|
2492
3341
|
}
|
|
@@ -2517,17 +3366,17 @@ message SenderKeyStateStructure {
|
|
|
2517
3366
|
optional uint32 iteration = 1;
|
|
2518
3367
|
optional bytes seed = 2;
|
|
2519
3368
|
}
|
|
2520
|
-
|
|
3369
|
+
|
|
2521
3370
|
message SenderMessageKey {
|
|
2522
3371
|
optional uint32 iteration = 1;
|
|
2523
3372
|
optional bytes seed = 2;
|
|
2524
3373
|
}
|
|
2525
|
-
|
|
3374
|
+
|
|
2526
3375
|
message SenderSigningKey {
|
|
2527
3376
|
optional bytes public = 1;
|
|
2528
3377
|
optional bytes private = 2;
|
|
2529
3378
|
}
|
|
2530
|
-
|
|
3379
|
+
|
|
2531
3380
|
}
|
|
2532
3381
|
|
|
2533
3382
|
message ServerErrorReceipt {
|
|
@@ -2557,16 +3406,16 @@ message SessionStructure {
|
|
|
2557
3406
|
optional uint32 index = 1;
|
|
2558
3407
|
optional bytes key = 2;
|
|
2559
3408
|
}
|
|
2560
|
-
|
|
3409
|
+
|
|
2561
3410
|
message MessageKey {
|
|
2562
3411
|
optional uint32 index = 1;
|
|
2563
3412
|
optional bytes cipherKey = 2;
|
|
2564
3413
|
optional bytes macKey = 3;
|
|
2565
3414
|
optional bytes iv = 4;
|
|
2566
3415
|
}
|
|
2567
|
-
|
|
3416
|
+
|
|
2568
3417
|
}
|
|
2569
|
-
|
|
3418
|
+
|
|
2570
3419
|
message PendingKeyExchange {
|
|
2571
3420
|
optional uint32 sequence = 1;
|
|
2572
3421
|
optional bytes localBaseKey = 2;
|
|
@@ -2576,13 +3425,13 @@ message SessionStructure {
|
|
|
2576
3425
|
optional bytes localIdentityKey = 7;
|
|
2577
3426
|
optional bytes localIdentityKeyPrivate = 8;
|
|
2578
3427
|
}
|
|
2579
|
-
|
|
3428
|
+
|
|
2580
3429
|
message PendingPreKey {
|
|
2581
3430
|
optional uint32 preKeyId = 1;
|
|
2582
3431
|
optional int32 signedPreKeyId = 3;
|
|
2583
3432
|
optional bytes baseKey = 2;
|
|
2584
3433
|
}
|
|
2585
|
-
|
|
3434
|
+
|
|
2586
3435
|
}
|
|
2587
3436
|
|
|
2588
3437
|
message SignalMessage {
|
|
@@ -2600,6 +3449,10 @@ message SignedPreKeyRecordStructure {
|
|
|
2600
3449
|
optional fixed64 timestamp = 5;
|
|
2601
3450
|
}
|
|
2602
3451
|
|
|
3452
|
+
message StatusMentionMessage {
|
|
3453
|
+
optional Message quotedStatus = 1;
|
|
3454
|
+
}
|
|
3455
|
+
|
|
2603
3456
|
message StatusPSA {
|
|
2604
3457
|
required uint64 campaignId = 44;
|
|
2605
3458
|
optional uint64 campaignExpirationTimestamp = 45;
|
|
@@ -2617,6 +3470,7 @@ message StickerMetadata {
|
|
|
2617
3470
|
optional uint64 fileLength = 9;
|
|
2618
3471
|
optional float weight = 10;
|
|
2619
3472
|
optional int64 lastStickerSentTs = 11;
|
|
3473
|
+
optional bool isLottie = 12;
|
|
2620
3474
|
}
|
|
2621
3475
|
|
|
2622
3476
|
message SyncActionData {
|
|
@@ -2670,111 +3524,144 @@ message SyncActionValue {
|
|
|
2670
3524
|
optional LabelReorderingAction labelReorderingAction = 47;
|
|
2671
3525
|
optional PaymentInfoAction paymentInfoAction = 48;
|
|
2672
3526
|
optional CustomPaymentMethodsAction customPaymentMethodsAction = 49;
|
|
3527
|
+
optional LockChatAction lockChatAction = 50;
|
|
3528
|
+
optional ChatLockSettings chatLockSettings = 51;
|
|
3529
|
+
optional WamoUserIdentifierAction wamoUserIdentifierAction = 52;
|
|
3530
|
+
optional PrivacySettingDisableLinkPreviewsAction privacySettingDisableLinkPreviewsAction = 53;
|
|
3531
|
+
optional DeviceCapabilities deviceCapabilities = 54;
|
|
3532
|
+
optional NoteEditAction noteEditAction = 55;
|
|
3533
|
+
optional FavoritesAction favoritesAction = 56;
|
|
3534
|
+
optional MerchantPaymentPartnerAction merchantPaymentPartnerAction = 57;
|
|
3535
|
+
optional WaffleAccountLinkStateAction waffleAccountLinkStateAction = 58;
|
|
3536
|
+
optional UsernameChatStartModeAction usernameChatStartMode = 59;
|
|
3537
|
+
optional NotificationActivitySettingAction notificationActivitySettingAction = 60;
|
|
2673
3538
|
message AgentAction {
|
|
2674
3539
|
optional string name = 1;
|
|
2675
3540
|
optional int32 deviceID = 2;
|
|
2676
3541
|
optional bool isDeleted = 3;
|
|
2677
3542
|
}
|
|
2678
|
-
|
|
3543
|
+
|
|
2679
3544
|
message AndroidUnsupportedActions {
|
|
2680
3545
|
optional bool allowed = 1;
|
|
2681
3546
|
}
|
|
2682
|
-
|
|
3547
|
+
|
|
2683
3548
|
message ArchiveChatAction {
|
|
2684
3549
|
optional bool archived = 1;
|
|
2685
3550
|
optional SyncActionValue.SyncActionMessageRange messageRange = 2;
|
|
2686
3551
|
}
|
|
2687
|
-
|
|
3552
|
+
|
|
2688
3553
|
message BotWelcomeRequestAction {
|
|
2689
3554
|
optional bool isSent = 1;
|
|
2690
3555
|
}
|
|
2691
|
-
|
|
3556
|
+
|
|
2692
3557
|
message CallLogAction {
|
|
2693
3558
|
optional CallLogRecord callLogRecord = 1;
|
|
2694
3559
|
}
|
|
2695
|
-
|
|
3560
|
+
|
|
2696
3561
|
message ChatAssignmentAction {
|
|
2697
3562
|
optional string deviceAgentID = 1;
|
|
2698
3563
|
}
|
|
2699
|
-
|
|
3564
|
+
|
|
2700
3565
|
message ChatAssignmentOpenedStatusAction {
|
|
2701
3566
|
optional bool chatOpened = 1;
|
|
2702
3567
|
}
|
|
2703
|
-
|
|
3568
|
+
|
|
2704
3569
|
message ClearChatAction {
|
|
2705
3570
|
optional SyncActionValue.SyncActionMessageRange messageRange = 1;
|
|
2706
3571
|
}
|
|
2707
|
-
|
|
3572
|
+
|
|
2708
3573
|
message ContactAction {
|
|
2709
3574
|
optional string fullName = 1;
|
|
2710
3575
|
optional string firstName = 2;
|
|
2711
3576
|
optional string lidJid = 3;
|
|
2712
3577
|
optional bool saveOnPrimaryAddressbook = 4;
|
|
2713
3578
|
}
|
|
2714
|
-
|
|
3579
|
+
|
|
2715
3580
|
message CustomPaymentMethod {
|
|
2716
3581
|
required string credentialId = 1;
|
|
2717
3582
|
required string country = 2;
|
|
2718
3583
|
required string type = 3;
|
|
2719
3584
|
repeated SyncActionValue.CustomPaymentMethodMetadata metadata = 4;
|
|
2720
3585
|
}
|
|
2721
|
-
|
|
3586
|
+
|
|
2722
3587
|
message CustomPaymentMethodMetadata {
|
|
2723
3588
|
required string key = 1;
|
|
2724
3589
|
required string value = 2;
|
|
2725
3590
|
}
|
|
2726
|
-
|
|
3591
|
+
|
|
2727
3592
|
message CustomPaymentMethodsAction {
|
|
2728
3593
|
repeated SyncActionValue.CustomPaymentMethod customPaymentMethods = 1;
|
|
2729
3594
|
}
|
|
2730
|
-
|
|
3595
|
+
|
|
2731
3596
|
message DeleteChatAction {
|
|
2732
3597
|
optional SyncActionValue.SyncActionMessageRange messageRange = 1;
|
|
2733
3598
|
}
|
|
2734
|
-
|
|
3599
|
+
|
|
2735
3600
|
message DeleteIndividualCallLogAction {
|
|
2736
3601
|
optional string peerJid = 1;
|
|
2737
3602
|
optional bool isIncoming = 2;
|
|
2738
3603
|
}
|
|
2739
|
-
|
|
3604
|
+
|
|
2740
3605
|
message DeleteMessageForMeAction {
|
|
2741
3606
|
optional bool deleteMedia = 1;
|
|
2742
3607
|
optional int64 messageTimestamp = 2;
|
|
2743
3608
|
}
|
|
2744
|
-
|
|
3609
|
+
|
|
2745
3610
|
message ExternalWebBetaAction {
|
|
2746
3611
|
optional bool isOptIn = 1;
|
|
2747
3612
|
}
|
|
2748
|
-
|
|
3613
|
+
|
|
3614
|
+
message FavoritesAction {
|
|
3615
|
+
repeated Favorite favorites = 1;
|
|
3616
|
+
message Favorite {
|
|
3617
|
+
optional string id = 1;
|
|
3618
|
+
}
|
|
3619
|
+
|
|
3620
|
+
}
|
|
3621
|
+
|
|
2749
3622
|
message KeyExpiration {
|
|
2750
3623
|
optional int32 expiredKeyEpoch = 1;
|
|
2751
3624
|
}
|
|
2752
|
-
|
|
3625
|
+
|
|
2753
3626
|
message LabelAssociationAction {
|
|
2754
3627
|
optional bool labeled = 1;
|
|
2755
3628
|
}
|
|
2756
|
-
|
|
3629
|
+
|
|
2757
3630
|
message LabelEditAction {
|
|
2758
3631
|
optional string name = 1;
|
|
2759
3632
|
optional int32 color = 2;
|
|
2760
3633
|
optional int32 predefinedId = 3;
|
|
2761
3634
|
optional bool deleted = 4;
|
|
2762
3635
|
optional int32 orderIndex = 5;
|
|
3636
|
+
optional bool isActive = 6;
|
|
3637
|
+
optional ListType type = 7;
|
|
3638
|
+
enum ListType {
|
|
3639
|
+
NONE = 0;
|
|
3640
|
+
UNREAD = 1;
|
|
3641
|
+
GROUPS = 2;
|
|
3642
|
+
FAVORITES = 3;
|
|
3643
|
+
PREDEFINED = 4;
|
|
3644
|
+
CUSTOM = 5;
|
|
3645
|
+
}
|
|
2763
3646
|
}
|
|
2764
|
-
|
|
3647
|
+
|
|
2765
3648
|
message LabelReorderingAction {
|
|
2766
3649
|
repeated int32 sortedLabelIds = 1;
|
|
2767
3650
|
}
|
|
2768
|
-
|
|
3651
|
+
|
|
2769
3652
|
message LocaleSetting {
|
|
2770
3653
|
optional string locale = 1;
|
|
2771
3654
|
}
|
|
2772
|
-
|
|
3655
|
+
|
|
3656
|
+
message LockChatAction {
|
|
3657
|
+
optional bool locked = 1;
|
|
3658
|
+
}
|
|
3659
|
+
|
|
2773
3660
|
message MarkChatAsReadAction {
|
|
2774
3661
|
optional bool read = 1;
|
|
2775
3662
|
optional SyncActionValue.SyncActionMessageRange messageRange = 2;
|
|
2776
3663
|
}
|
|
2777
|
-
|
|
3664
|
+
|
|
2778
3665
|
message MarketingMessageAction {
|
|
2779
3666
|
optional string name = 1;
|
|
2780
3667
|
optional string message = 2;
|
|
@@ -2787,49 +3674,86 @@ message SyncActionValue {
|
|
|
2787
3674
|
PERSONALIZED = 0;
|
|
2788
3675
|
}
|
|
2789
3676
|
}
|
|
2790
|
-
|
|
3677
|
+
|
|
2791
3678
|
message MarketingMessageBroadcastAction {
|
|
2792
3679
|
optional int32 repliedCount = 1;
|
|
2793
3680
|
}
|
|
2794
|
-
|
|
3681
|
+
|
|
3682
|
+
message MerchantPaymentPartnerAction {
|
|
3683
|
+
required Status status = 1;
|
|
3684
|
+
required string country = 2;
|
|
3685
|
+
optional string gatewayName = 3;
|
|
3686
|
+
optional string credentialId = 4;
|
|
3687
|
+
enum Status {
|
|
3688
|
+
ACTIVE = 0;
|
|
3689
|
+
INACTIVE = 1;
|
|
3690
|
+
}
|
|
3691
|
+
}
|
|
3692
|
+
|
|
2795
3693
|
message MuteAction {
|
|
2796
3694
|
optional bool muted = 1;
|
|
2797
3695
|
optional int64 muteEndTimestamp = 2;
|
|
2798
3696
|
optional bool autoMuted = 3;
|
|
2799
3697
|
}
|
|
2800
|
-
|
|
3698
|
+
|
|
3699
|
+
message NoteEditAction {
|
|
3700
|
+
optional NoteType type = 1;
|
|
3701
|
+
optional string chatJid = 2;
|
|
3702
|
+
optional int64 createdAt = 3;
|
|
3703
|
+
optional bool deleted = 4;
|
|
3704
|
+
optional string unstructuredContent = 5;
|
|
3705
|
+
enum NoteType {
|
|
3706
|
+
UNSTRUCTURED = 1;
|
|
3707
|
+
STRUCTURED = 2;
|
|
3708
|
+
}
|
|
3709
|
+
}
|
|
3710
|
+
|
|
3711
|
+
message NotificationActivitySettingAction {
|
|
3712
|
+
optional NotificationActivitySetting notificationActivitySetting = 1;
|
|
3713
|
+
enum NotificationActivitySetting {
|
|
3714
|
+
DEFAULT_ALL_MESSAGES = 0;
|
|
3715
|
+
ALL_MESSAGES = 1;
|
|
3716
|
+
HIGHLIGHTS = 2;
|
|
3717
|
+
DEFAULT_HIGHLIGHTS = 3;
|
|
3718
|
+
}
|
|
3719
|
+
}
|
|
3720
|
+
|
|
2801
3721
|
message NuxAction {
|
|
2802
3722
|
optional bool acknowledged = 1;
|
|
2803
3723
|
}
|
|
2804
|
-
|
|
3724
|
+
|
|
2805
3725
|
message PaymentInfoAction {
|
|
2806
3726
|
optional string cpi = 1;
|
|
2807
3727
|
}
|
|
2808
|
-
|
|
3728
|
+
|
|
2809
3729
|
message PinAction {
|
|
2810
3730
|
optional bool pinned = 1;
|
|
2811
3731
|
}
|
|
2812
|
-
|
|
3732
|
+
|
|
2813
3733
|
message PnForLidChatAction {
|
|
2814
3734
|
optional string pnJid = 1;
|
|
2815
3735
|
}
|
|
2816
|
-
|
|
3736
|
+
|
|
2817
3737
|
message PrimaryFeature {
|
|
2818
3738
|
repeated string flags = 1;
|
|
2819
3739
|
}
|
|
2820
|
-
|
|
3740
|
+
|
|
2821
3741
|
message PrimaryVersionAction {
|
|
2822
3742
|
optional string version = 1;
|
|
2823
3743
|
}
|
|
2824
|
-
|
|
3744
|
+
|
|
3745
|
+
message PrivacySettingDisableLinkPreviewsAction {
|
|
3746
|
+
optional bool isPreviewsDisabled = 1;
|
|
3747
|
+
}
|
|
3748
|
+
|
|
2825
3749
|
message PrivacySettingRelayAllCalls {
|
|
2826
3750
|
optional bool isEnabled = 1;
|
|
2827
3751
|
}
|
|
2828
|
-
|
|
3752
|
+
|
|
2829
3753
|
message PushNameSetting {
|
|
2830
3754
|
optional string name = 1;
|
|
2831
3755
|
}
|
|
2832
|
-
|
|
3756
|
+
|
|
2833
3757
|
message QuickReplyAction {
|
|
2834
3758
|
optional string shortcut = 1;
|
|
2835
3759
|
optional string message = 2;
|
|
@@ -2837,23 +3761,23 @@ message SyncActionValue {
|
|
|
2837
3761
|
optional int32 count = 4;
|
|
2838
3762
|
optional bool deleted = 5;
|
|
2839
3763
|
}
|
|
2840
|
-
|
|
3764
|
+
|
|
2841
3765
|
message RecentEmojiWeightsAction {
|
|
2842
3766
|
repeated RecentEmojiWeight weights = 1;
|
|
2843
3767
|
}
|
|
2844
|
-
|
|
3768
|
+
|
|
2845
3769
|
message RemoveRecentStickerAction {
|
|
2846
3770
|
optional int64 lastStickerSentTs = 1;
|
|
2847
3771
|
}
|
|
2848
|
-
|
|
3772
|
+
|
|
2849
3773
|
message SecurityNotificationSetting {
|
|
2850
3774
|
optional bool showNotification = 1;
|
|
2851
3775
|
}
|
|
2852
|
-
|
|
3776
|
+
|
|
2853
3777
|
message StarAction {
|
|
2854
3778
|
optional bool starred = 1;
|
|
2855
3779
|
}
|
|
2856
|
-
|
|
3780
|
+
|
|
2857
3781
|
message StatusPrivacyAction {
|
|
2858
3782
|
optional StatusDistributionMode mode = 1;
|
|
2859
3783
|
repeated string userJid = 2;
|
|
@@ -2863,7 +3787,7 @@ message SyncActionValue {
|
|
|
2863
3787
|
CONTACTS = 2;
|
|
2864
3788
|
}
|
|
2865
3789
|
}
|
|
2866
|
-
|
|
3790
|
+
|
|
2867
3791
|
message StickerAction {
|
|
2868
3792
|
optional string url = 1;
|
|
2869
3793
|
optional bytes fileEncSha256 = 2;
|
|
@@ -2875,37 +3799,57 @@ message SyncActionValue {
|
|
|
2875
3799
|
optional uint64 fileLength = 8;
|
|
2876
3800
|
optional bool isFavorite = 9;
|
|
2877
3801
|
optional uint32 deviceIdHint = 10;
|
|
3802
|
+
optional bool isLottie = 11;
|
|
2878
3803
|
}
|
|
2879
|
-
|
|
3804
|
+
|
|
2880
3805
|
message SubscriptionAction {
|
|
2881
3806
|
optional bool isDeactivated = 1;
|
|
2882
3807
|
optional bool isAutoRenewing = 2;
|
|
2883
3808
|
optional int64 expirationDate = 3;
|
|
2884
3809
|
}
|
|
2885
|
-
|
|
3810
|
+
|
|
2886
3811
|
message SyncActionMessage {
|
|
2887
3812
|
optional MessageKey key = 1;
|
|
2888
3813
|
optional int64 timestamp = 2;
|
|
2889
3814
|
}
|
|
2890
|
-
|
|
3815
|
+
|
|
2891
3816
|
message SyncActionMessageRange {
|
|
2892
3817
|
optional int64 lastMessageTimestamp = 1;
|
|
2893
3818
|
optional int64 lastSystemMessageTimestamp = 2;
|
|
2894
3819
|
repeated SyncActionValue.SyncActionMessage messages = 3;
|
|
2895
3820
|
}
|
|
2896
|
-
|
|
3821
|
+
|
|
2897
3822
|
message TimeFormatAction {
|
|
2898
3823
|
optional bool isTwentyFourHourFormatEnabled = 1;
|
|
2899
3824
|
}
|
|
2900
|
-
|
|
3825
|
+
|
|
2901
3826
|
message UnarchiveChatsSetting {
|
|
2902
3827
|
optional bool unarchiveChats = 1;
|
|
2903
3828
|
}
|
|
2904
|
-
|
|
3829
|
+
|
|
2905
3830
|
message UserStatusMuteAction {
|
|
2906
3831
|
optional bool muted = 1;
|
|
2907
3832
|
}
|
|
2908
|
-
|
|
3833
|
+
|
|
3834
|
+
message UsernameChatStartModeAction {
|
|
3835
|
+
optional ChatStartMode chatStartMode = 1;
|
|
3836
|
+
enum ChatStartMode {
|
|
3837
|
+
LID = 1;
|
|
3838
|
+
PN = 2;
|
|
3839
|
+
}
|
|
3840
|
+
}
|
|
3841
|
+
|
|
3842
|
+
message WaffleAccountLinkStateAction {
|
|
3843
|
+
optional AccountLinkState linkState = 2;
|
|
3844
|
+
enum AccountLinkState {
|
|
3845
|
+
ACTIVE = 0;
|
|
3846
|
+
}
|
|
3847
|
+
}
|
|
3848
|
+
|
|
3849
|
+
message WamoUserIdentifierAction {
|
|
3850
|
+
optional string identifier = 1;
|
|
3851
|
+
}
|
|
3852
|
+
|
|
2909
3853
|
}
|
|
2910
3854
|
|
|
2911
3855
|
message SyncdIndex {
|
|
@@ -2958,6 +3902,11 @@ message SyncdVersion {
|
|
|
2958
3902
|
optional uint64 version = 1;
|
|
2959
3903
|
}
|
|
2960
3904
|
|
|
3905
|
+
message TapLinkAction {
|
|
3906
|
+
optional string title = 1;
|
|
3907
|
+
optional string tapUrl = 2;
|
|
3908
|
+
}
|
|
3909
|
+
|
|
2961
3910
|
message TemplateButton {
|
|
2962
3911
|
optional uint32 index = 4;
|
|
2963
3912
|
oneof button {
|
|
@@ -2969,17 +3918,56 @@ message TemplateButton {
|
|
|
2969
3918
|
optional Message.HighlyStructuredMessage displayText = 1;
|
|
2970
3919
|
optional Message.HighlyStructuredMessage phoneNumber = 2;
|
|
2971
3920
|
}
|
|
2972
|
-
|
|
3921
|
+
|
|
2973
3922
|
message QuickReplyButton {
|
|
2974
3923
|
optional Message.HighlyStructuredMessage displayText = 1;
|
|
2975
3924
|
optional string id = 2;
|
|
2976
3925
|
}
|
|
2977
|
-
|
|
3926
|
+
|
|
2978
3927
|
message URLButton {
|
|
2979
3928
|
optional Message.HighlyStructuredMessage displayText = 1;
|
|
2980
3929
|
optional Message.HighlyStructuredMessage url = 2;
|
|
2981
3930
|
}
|
|
2982
|
-
|
|
3931
|
+
|
|
3932
|
+
}
|
|
3933
|
+
|
|
3934
|
+
message UrlTrackingMap {
|
|
3935
|
+
repeated UrlTrackingMapElement urlTrackingMapElements = 1;
|
|
3936
|
+
message UrlTrackingMapElement {
|
|
3937
|
+
optional string originalUrl = 1;
|
|
3938
|
+
optional string unconsentedUsersUrl = 2;
|
|
3939
|
+
optional string consentedUsersUrl = 3;
|
|
3940
|
+
optional uint32 cardIndex = 4;
|
|
3941
|
+
}
|
|
3942
|
+
|
|
3943
|
+
}
|
|
3944
|
+
|
|
3945
|
+
message UserPassword {
|
|
3946
|
+
optional Encoding encoding = 1;
|
|
3947
|
+
optional Transformer transformer = 2;
|
|
3948
|
+
repeated TransformerArg transformerArg = 3;
|
|
3949
|
+
optional bytes transformedData = 4;
|
|
3950
|
+
enum Encoding {
|
|
3951
|
+
UTF8 = 0;
|
|
3952
|
+
UTF8_BROKEN = 1;
|
|
3953
|
+
}
|
|
3954
|
+
enum Transformer {
|
|
3955
|
+
NONE = 0;
|
|
3956
|
+
PBKDF2_HMAC_SHA512 = 1;
|
|
3957
|
+
PBKDF2_HMAC_SHA384 = 2;
|
|
3958
|
+
}
|
|
3959
|
+
message TransformerArg {
|
|
3960
|
+
optional string key = 1;
|
|
3961
|
+
optional Value value = 2;
|
|
3962
|
+
message Value {
|
|
3963
|
+
oneof value {
|
|
3964
|
+
bytes asBlob = 1;
|
|
3965
|
+
uint32 asUnsignedInteger = 2;
|
|
3966
|
+
}
|
|
3967
|
+
}
|
|
3968
|
+
|
|
3969
|
+
}
|
|
3970
|
+
|
|
2983
3971
|
}
|
|
2984
3972
|
|
|
2985
3973
|
message UserReceipt {
|
|
@@ -3002,7 +3990,7 @@ message VerifiedNameCertificate {
|
|
|
3002
3990
|
repeated LocalizedName localizedNames = 8;
|
|
3003
3991
|
optional uint64 issueTime = 10;
|
|
3004
3992
|
}
|
|
3005
|
-
|
|
3993
|
+
|
|
3006
3994
|
}
|
|
3007
3995
|
|
|
3008
3996
|
message WallpaperSettings {
|
|
@@ -3117,6 +4105,16 @@ message WebMessageInfo {
|
|
|
3117
4105
|
repeated EventResponse eventResponses = 61;
|
|
3118
4106
|
optional ReportingTokenInfo reportingTokenInfo = 62;
|
|
3119
4107
|
optional uint64 newsletterServerId = 63;
|
|
4108
|
+
optional EventAdditionalMetadata eventAdditionalMetadata = 64;
|
|
4109
|
+
optional bool isMentionedInStatus = 65;
|
|
4110
|
+
repeated string statusMentions = 66;
|
|
4111
|
+
optional MessageKey targetMessageId = 67;
|
|
4112
|
+
repeated MessageAddOn messageAddOns = 68;
|
|
4113
|
+
optional StatusMentionMessage statusMentionMessageInfo = 69;
|
|
4114
|
+
optional bool isSupportAiMessage = 70;
|
|
4115
|
+
repeated string statusMentionSources = 71;
|
|
4116
|
+
repeated Citation supportAiCitations = 72;
|
|
4117
|
+
optional string botTargetId = 73;
|
|
3120
4118
|
enum BizPrivacyStatus {
|
|
3121
4119
|
E2EE = 0;
|
|
3122
4120
|
FB = 2;
|
|
@@ -3333,6 +4331,21 @@ message WebMessageInfo {
|
|
|
3333
4331
|
REMINDER_SETUP_MESSAGE = 198;
|
|
3334
4332
|
REMINDER_SENT_MESSAGE = 199;
|
|
3335
4333
|
REMINDER_CANCEL_MESSAGE = 200;
|
|
4334
|
+
BIZ_COEX_PRIVACY_INIT = 201;
|
|
4335
|
+
BIZ_COEX_PRIVACY_TRANSITION = 202;
|
|
4336
|
+
GROUP_DEACTIVATED = 203;
|
|
4337
|
+
COMMUNITY_DEACTIVATE_SIBLING_GROUP = 204;
|
|
4338
|
+
EVENT_UPDATED = 205;
|
|
4339
|
+
EVENT_CANCELED = 206;
|
|
4340
|
+
COMMUNITY_OWNER_UPDATED = 207;
|
|
4341
|
+
COMMUNITY_SUB_GROUP_VISIBILITY_HIDDEN = 208;
|
|
4342
|
+
CAPI_GROUP_NE2EE_SYSTEM_MESSAGE = 209;
|
|
4343
|
+
STATUS_MENTION = 210;
|
|
4344
|
+
USER_CONTROLS_SYSTEM_MESSAGE = 211;
|
|
4345
|
+
SUPPORT_SYSTEM_MESSAGE = 212;
|
|
4346
|
+
CHANGE_LID = 213;
|
|
4347
|
+
BIZ_CUSTOMER_3PD_DATA_SHARING_OPT_IN_MESSAGE = 214;
|
|
4348
|
+
BIZ_CUSTOMER_3PD_DATA_SHARING_OPT_OUT_MESSAGE = 215;
|
|
3336
4349
|
}
|
|
3337
4350
|
}
|
|
3338
4351
|
|