@wppconnect/wa-proto 1.1.43 → 2.3000.1022948279
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/CHANGELOG.md +32 -0
- package/WAProto.proto +261 -19
- package/dist/index.d.ts +2942 -122
- package/dist/index.js +8847 -367
- package/index.js +5 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,35 @@
|
|
|
1
|
+
## 2.3000.1022948279 (2025-05-17)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## [1.1.50](https://github.com/wppconnect-team/wa-proto/compare/v1.1.49...v1.1.50) (2025-03-18)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## [1.1.49](https://github.com/wppconnect-team/wa-proto/compare/v1.1.48...v1.1.49) (2025-03-15)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## [1.1.48](https://github.com/wppconnect-team/wa-proto/compare/v1.1.47...v1.1.48) (2025-03-14)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [1.1.47](https://github.com/wppconnect-team/wa-proto/compare/v1.1.46...v1.1.47) (2025-03-13)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
## 1.1.46 (2025-03-12)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## 1.1.45 (2025-03-10)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## [1.1.44](https://github.com/wppconnect-team/wa-proto/compare/v1.1.43...v1.1.44) (2025-03-10)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
1
33
|
## [1.1.43](https://github.com/wppconnect-team/wa-proto/compare/v1.1.42...v1.1.43) (2025-03-08)
|
|
2
34
|
|
|
3
35
|
|
package/WAProto.proto
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
syntax = "proto3";
|
|
2
2
|
package waproto;
|
|
3
3
|
|
|
4
|
-
/// WhatsApp Version: 2.3000.
|
|
4
|
+
/// WhatsApp Version: 2.3000.1022948279
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -42,14 +42,16 @@ message ADVSignedKeyIndexList {
|
|
|
42
42
|
optional bytes accountSignatureKey = 3;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
+
message AIQueryFanout {
|
|
46
|
+
optional MessageKey messageKey = 1;
|
|
47
|
+
optional Message message = 2;
|
|
48
|
+
optional int64 timestamp = 3;
|
|
49
|
+
}
|
|
50
|
+
|
|
45
51
|
message AIRichResponseMessage {
|
|
46
52
|
optional AIRichResponseMessageType messageType = 1;
|
|
47
53
|
repeated AIRichResponseSubMessage submessages = 2;
|
|
48
|
-
optional
|
|
49
|
-
message AIRichResponseAbstractData {
|
|
50
|
-
optional bytes data = 1;
|
|
51
|
-
}
|
|
52
|
-
|
|
54
|
+
optional AIRichResponseUnifiedResponse unifiedResponse = 3;
|
|
53
55
|
message AIRichResponseCodeMetadata {
|
|
54
56
|
optional string codeLanguage = 1;
|
|
55
57
|
repeated AIRichResponseCodeBlock codeBlocks = 2;
|
|
@@ -134,6 +136,10 @@ message AIRichResponseMessage {
|
|
|
134
136
|
optional double width = 3;
|
|
135
137
|
optional double height = 4;
|
|
136
138
|
optional double fontHeight = 5;
|
|
139
|
+
optional double imageTopPadding = 6;
|
|
140
|
+
optional double imageLeadingPadding = 7;
|
|
141
|
+
optional double imageBottomPadding = 8;
|
|
142
|
+
optional double imageTrailingPadding = 9;
|
|
137
143
|
}
|
|
138
144
|
|
|
139
145
|
}
|
|
@@ -193,6 +199,17 @@ message AIRichResponseMessage {
|
|
|
193
199
|
|
|
194
200
|
}
|
|
195
201
|
|
|
202
|
+
message AIRichResponseUnifiedResponse {
|
|
203
|
+
optional bytes data = 1;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
message Account {
|
|
209
|
+
optional string lid = 1;
|
|
210
|
+
optional string username = 2;
|
|
211
|
+
optional string countryCode = 3;
|
|
212
|
+
optional bool isUsernameDeleted = 4;
|
|
196
213
|
}
|
|
197
214
|
|
|
198
215
|
message ActionLink {
|
|
@@ -256,6 +273,11 @@ message BizIdentityInfo {
|
|
|
256
273
|
}
|
|
257
274
|
}
|
|
258
275
|
|
|
276
|
+
message BotAgeCollectionMetadata {
|
|
277
|
+
optional bool ageCollectionEligible = 1;
|
|
278
|
+
optional bool shouldTriggerAgeCollectionOnClient = 2;
|
|
279
|
+
}
|
|
280
|
+
|
|
259
281
|
message BotAvatarMetadata {
|
|
260
282
|
optional uint32 sentiment = 1;
|
|
261
283
|
optional string behaviorGraph = 2;
|
|
@@ -297,6 +319,12 @@ message BotCapabilityMetadata {
|
|
|
297
319
|
AGENTIC_PLANNING = 27;
|
|
298
320
|
ACCOUNT_LINKING = 28;
|
|
299
321
|
STREAMING_DISAGGREGATION = 29;
|
|
322
|
+
RICH_RESPONSE_GRID_IMAGE_3P = 30;
|
|
323
|
+
RICH_RESPONSE_LATEX_INLINE = 31;
|
|
324
|
+
QUERY_PLAN = 32;
|
|
325
|
+
PROACTIVE_MESSAGE = 33;
|
|
326
|
+
RICH_RESPONSE_UNIFIED_RESPONSE = 34;
|
|
327
|
+
PROMOTION_MESSAGE = 35;
|
|
300
328
|
}
|
|
301
329
|
}
|
|
302
330
|
|
|
@@ -321,6 +349,7 @@ message BotLinkedAccount {
|
|
|
321
349
|
message BotLinkedAccountsMetadata {
|
|
322
350
|
repeated BotLinkedAccount accounts = 1;
|
|
323
351
|
optional bytes acAuthTokens = 2;
|
|
352
|
+
optional int32 acErrorCode = 3;
|
|
324
353
|
}
|
|
325
354
|
|
|
326
355
|
message BotMediaMetadata {
|
|
@@ -373,6 +402,11 @@ message BotMetadata {
|
|
|
373
402
|
optional BotMetricsMetadata botMetricsMetadata = 17;
|
|
374
403
|
optional BotLinkedAccountsMetadata botLinkedAccountsMetadata = 18;
|
|
375
404
|
optional BotSourcesMetadata richResponseSourcesMetadata = 19;
|
|
405
|
+
optional bytes aiConversationContext = 20;
|
|
406
|
+
optional BotPromotionMessageMetadata botPromotionMessageMetadata = 21;
|
|
407
|
+
optional BotModeSelectionMetadata botModeSelectionMetadata = 22;
|
|
408
|
+
optional BotQuotaMetadata botQuotaMetadata = 23;
|
|
409
|
+
optional BotAgeCollectionMetadata botAgeCollectionMetadata = 24;
|
|
376
410
|
}
|
|
377
411
|
|
|
378
412
|
enum BotMetricsEntryPoint {
|
|
@@ -397,6 +431,9 @@ enum BotMetricsEntryPoint {
|
|
|
397
431
|
AI_HOME = 19;
|
|
398
432
|
AI_DEEPLINK_IMMERSIVE = 20;
|
|
399
433
|
AI_DEEPLINK = 21;
|
|
434
|
+
META_AI_CHAT_SHORTCUT_AI_STUDIO = 22;
|
|
435
|
+
UGC_CHAT_SHORTCUT_AI_STUDIO = 23;
|
|
436
|
+
NEW_CHAT_AI_STUDIO = 24;
|
|
400
437
|
}
|
|
401
438
|
message BotMetricsMetadata {
|
|
402
439
|
optional string destinationId = 1;
|
|
@@ -410,6 +447,14 @@ enum BotMetricsThreadEntryPoint {
|
|
|
410
447
|
AI_DEEPLINK_IMMERSIVE_THREAD = 3;
|
|
411
448
|
AI_DEEPLINK_THREAD = 4;
|
|
412
449
|
}
|
|
450
|
+
message BotModeSelectionMetadata {
|
|
451
|
+
repeated BotUserSelectionMode mode = 1;
|
|
452
|
+
enum BotUserSelectionMode {
|
|
453
|
+
UNKNOWN_MODE = 0;
|
|
454
|
+
REASONING_MODE = 1;
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
|
|
413
458
|
message BotModelMetadata {
|
|
414
459
|
optional ModelType modelType = 1;
|
|
415
460
|
optional PremiumModelStatus premiumModelStatus = 2;
|
|
@@ -461,6 +506,14 @@ message BotProgressIndicatorMetadata {
|
|
|
461
506
|
optional PlanningStepStatus status = 4;
|
|
462
507
|
optional bool isReasoning = 5;
|
|
463
508
|
optional bool isEnhancedSearch = 6;
|
|
509
|
+
repeated BotPlanningStepSectionMetadata sections = 7;
|
|
510
|
+
message BotPlanningSearchSourceMetadata {
|
|
511
|
+
optional string title = 1;
|
|
512
|
+
optional BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotSearchSourceProvider provider = 2;
|
|
513
|
+
optional string sourceUrl = 3;
|
|
514
|
+
optional string favIconUrl = 4;
|
|
515
|
+
}
|
|
516
|
+
|
|
464
517
|
message BotPlanningSearchSourcesMetadata {
|
|
465
518
|
optional string sourceTitle = 1;
|
|
466
519
|
optional BotPlanningSearchSourceProvider provider = 2;
|
|
@@ -473,6 +526,18 @@ message BotProgressIndicatorMetadata {
|
|
|
473
526
|
}
|
|
474
527
|
}
|
|
475
528
|
|
|
529
|
+
message BotPlanningStepSectionMetadata {
|
|
530
|
+
optional string sectionTitle = 1;
|
|
531
|
+
optional string sectionBody = 2;
|
|
532
|
+
repeated BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourceMetadata sourcesMetadata = 3;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
enum BotSearchSourceProvider {
|
|
536
|
+
UNKNOWN_PROVIDER = 0;
|
|
537
|
+
OTHER = 1;
|
|
538
|
+
GOOGLE = 2;
|
|
539
|
+
BING = 3;
|
|
540
|
+
}
|
|
476
541
|
enum PlanningStepStatus {
|
|
477
542
|
UNKNOWN = 0;
|
|
478
543
|
PLANNED = 1;
|
|
@@ -483,6 +548,15 @@ message BotProgressIndicatorMetadata {
|
|
|
483
548
|
|
|
484
549
|
}
|
|
485
550
|
|
|
551
|
+
message BotPromotionMessageMetadata {
|
|
552
|
+
optional BotPromotionType promotionType = 1;
|
|
553
|
+
optional string buttonTitle = 2;
|
|
554
|
+
enum BotPromotionType {
|
|
555
|
+
UNKNOWN_TYPE = 0;
|
|
556
|
+
C50 = 1;
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
|
|
486
560
|
message BotPromptSuggestion {
|
|
487
561
|
optional string prompt = 1;
|
|
488
562
|
optional string promptId = 2;
|
|
@@ -492,6 +566,20 @@ message BotPromptSuggestions {
|
|
|
492
566
|
repeated BotPromptSuggestion suggestions = 1;
|
|
493
567
|
}
|
|
494
568
|
|
|
569
|
+
message BotQuotaMetadata {
|
|
570
|
+
repeated BotFeatureQuotaMetadata botFeatureQuotaMetadata = 1;
|
|
571
|
+
message BotFeatureQuotaMetadata {
|
|
572
|
+
optional BotFeatureType featureType = 1;
|
|
573
|
+
optional uint32 remainingQuota = 2;
|
|
574
|
+
optional uint64 expirationTimestamp = 3;
|
|
575
|
+
enum BotFeatureType {
|
|
576
|
+
UNKNOWN_FEATURE = 0;
|
|
577
|
+
REASONING_FEATURE = 1;
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
}
|
|
582
|
+
|
|
495
583
|
message BotReminderMetadata {
|
|
496
584
|
optional MessageKey requestMessageKey = 1;
|
|
497
585
|
optional ReminderAction action = 2;
|
|
@@ -712,6 +800,12 @@ message ClientPayload {
|
|
|
712
800
|
optional int32 memClass = 37;
|
|
713
801
|
optional InteropData interopData = 38;
|
|
714
802
|
optional TrafficAnonymization trafficAnonymization = 40;
|
|
803
|
+
optional bool lidDbMigrated = 41;
|
|
804
|
+
optional AccountType accountType = 42;
|
|
805
|
+
enum AccountType {
|
|
806
|
+
DEFAULT = 0;
|
|
807
|
+
GUEST = 1;
|
|
808
|
+
}
|
|
715
809
|
enum ConnectReason {
|
|
716
810
|
PUSH = 0;
|
|
717
811
|
USER_ACTIVATED = 1;
|
|
@@ -778,6 +872,7 @@ message ClientPayload {
|
|
|
778
872
|
MESSENGER = 1;
|
|
779
873
|
INTEROP = 2;
|
|
780
874
|
INTEROP_MSGR = 3;
|
|
875
|
+
WHATSAPP_LID = 4;
|
|
781
876
|
}
|
|
782
877
|
enum TrafficAnonymization {
|
|
783
878
|
OFF = 0;
|
|
@@ -957,6 +1052,9 @@ message ContextInfo {
|
|
|
957
1052
|
optional UrlTrackingMap urlTrackingMap = 58;
|
|
958
1053
|
optional PairedMediaType pairedMediaType = 59;
|
|
959
1054
|
optional uint32 rankingVersion = 60;
|
|
1055
|
+
optional MemberLabel memberLabel = 62;
|
|
1056
|
+
optional bool isQuestion = 63;
|
|
1057
|
+
optional StatusSourceType statusSourceType = 64;
|
|
960
1058
|
message AdReplyInfo {
|
|
961
1059
|
optional string advertiserName = 1;
|
|
962
1060
|
optional MediaType mediaType = 2;
|
|
@@ -1010,6 +1108,13 @@ message ContextInfo {
|
|
|
1010
1108
|
optional string ctaPayload = 20;
|
|
1011
1109
|
optional bool disableNudge = 21;
|
|
1012
1110
|
optional string originalImageUrl = 22;
|
|
1111
|
+
optional string automatedGreetingMessageCtaType = 23;
|
|
1112
|
+
optional bool wtwaAdFormat = 24;
|
|
1113
|
+
optional AdType adType = 25;
|
|
1114
|
+
enum AdType {
|
|
1115
|
+
CTWA = 0;
|
|
1116
|
+
CAWC = 1;
|
|
1117
|
+
}
|
|
1013
1118
|
enum MediaType {
|
|
1014
1119
|
NONE = 0;
|
|
1015
1120
|
IMAGE = 1;
|
|
@@ -1049,12 +1154,22 @@ message ContextInfo {
|
|
|
1049
1154
|
HD_VIDEO_CHILD = 2;
|
|
1050
1155
|
SD_IMAGE_PARENT = 3;
|
|
1051
1156
|
HD_IMAGE_CHILD = 4;
|
|
1157
|
+
MOTION_PHOTO_PARENT = 5;
|
|
1158
|
+
MOTION_PHOTO_CHILD = 6;
|
|
1052
1159
|
}
|
|
1053
1160
|
enum StatusAttributionType {
|
|
1054
1161
|
NONE = 0;
|
|
1055
1162
|
RESHARED_FROM_MENTION = 1;
|
|
1056
1163
|
RESHARED_FROM_POST = 2;
|
|
1057
1164
|
}
|
|
1165
|
+
enum StatusSourceType {
|
|
1166
|
+
IMAGE = 0;
|
|
1167
|
+
VIDEO = 1;
|
|
1168
|
+
GIF = 2;
|
|
1169
|
+
AUDIO = 3;
|
|
1170
|
+
TEXT = 4;
|
|
1171
|
+
MUSIC_STANDALONE = 5;
|
|
1172
|
+
}
|
|
1058
1173
|
message UTMInfo {
|
|
1059
1174
|
optional string utmSource = 1;
|
|
1060
1175
|
optional string utmCampaign = 2;
|
|
@@ -1114,6 +1229,8 @@ message Conversation {
|
|
|
1114
1229
|
optional string accountLid = 49;
|
|
1115
1230
|
optional bool limitSharing = 50;
|
|
1116
1231
|
optional int64 limitSharingSettingTimestamp = 51;
|
|
1232
|
+
optional LimitSharing.TriggerType limitSharingTrigger = 52;
|
|
1233
|
+
optional bool limitSharingInitiatedByMe = 53;
|
|
1117
1234
|
enum EndOfHistoryTransferType {
|
|
1118
1235
|
COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0;
|
|
1119
1236
|
COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1;
|
|
@@ -1321,6 +1438,7 @@ message GlobalSettings {
|
|
|
1321
1438
|
optional NotificationSettings individualNotificationSettings = 17;
|
|
1322
1439
|
optional NotificationSettings groupNotificationSettings = 18;
|
|
1323
1440
|
optional ChatLockSettings chatLockSettings = 19;
|
|
1441
|
+
optional int64 chatDbLidMigrationTimestamp = 20;
|
|
1324
1442
|
}
|
|
1325
1443
|
|
|
1326
1444
|
message GroupMention {
|
|
@@ -1378,6 +1496,7 @@ message HistorySync {
|
|
|
1378
1496
|
repeated PhoneNumberToLIDMapping phoneNumberToLidMappings = 15;
|
|
1379
1497
|
optional string companionMetaNonce = 16;
|
|
1380
1498
|
optional bytes shareableChatIdentifierEncryptionKey = 17;
|
|
1499
|
+
repeated Account accounts = 18;
|
|
1381
1500
|
enum BotAIWaitListState {
|
|
1382
1501
|
IN_WAITLIST = 0;
|
|
1383
1502
|
AI_AVAILABLE = 1;
|
|
@@ -1438,12 +1557,18 @@ message InteractiveAnnotation {
|
|
|
1438
1557
|
repeated Point polygonVertices = 1;
|
|
1439
1558
|
optional bool shouldSkipConfirmation = 4;
|
|
1440
1559
|
optional EmbeddedContent embeddedContent = 5;
|
|
1560
|
+
optional StatusLinkType statusLinkType = 8;
|
|
1441
1561
|
oneof action {
|
|
1442
1562
|
Location location = 2;
|
|
1443
1563
|
ContextInfo.ForwardedNewsletterMessageInfo newsletter = 3;
|
|
1444
1564
|
bool embeddedAction = 6;
|
|
1445
1565
|
TapLinkAction tapAction = 7;
|
|
1446
1566
|
}
|
|
1567
|
+
enum StatusLinkType {
|
|
1568
|
+
RASTERIZED_LINK_PREVIEW = 1;
|
|
1569
|
+
RASTERIZED_LINK_TRUNCATED = 2;
|
|
1570
|
+
RASTERIZED_LINK_FULL_URL = 3;
|
|
1571
|
+
}
|
|
1447
1572
|
}
|
|
1448
1573
|
|
|
1449
1574
|
message KeepInChat {
|
|
@@ -1484,6 +1609,7 @@ message LIDMigrationMappingSyncMessage {
|
|
|
1484
1609
|
|
|
1485
1610
|
message LIDMigrationMappingSyncPayload {
|
|
1486
1611
|
repeated LIDMigrationMapping pnToLidMappings = 1;
|
|
1612
|
+
optional uint64 chatDbMigrationTimestamp = 2;
|
|
1487
1613
|
}
|
|
1488
1614
|
|
|
1489
1615
|
message LegacyMessage {
|
|
@@ -1493,10 +1619,14 @@ message LegacyMessage {
|
|
|
1493
1619
|
|
|
1494
1620
|
message LimitSharing {
|
|
1495
1621
|
optional bool sharingLimited = 1;
|
|
1496
|
-
optional
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1622
|
+
optional TriggerType trigger = 2;
|
|
1623
|
+
optional int64 limitSharingSettingTimestamp = 3;
|
|
1624
|
+
optional bool initiatedByMe = 4;
|
|
1625
|
+
enum TriggerType {
|
|
1626
|
+
UNKNOWN = 0;
|
|
1627
|
+
CHAT_SETTING = 1;
|
|
1628
|
+
BIZ_SUPPORTS_FB_HOSTING = 2;
|
|
1629
|
+
UNKNOWN_GROUP = 3;
|
|
1500
1630
|
}
|
|
1501
1631
|
}
|
|
1502
1632
|
|
|
@@ -1540,6 +1670,11 @@ enum MediaVisibility {
|
|
|
1540
1670
|
OFF = 1;
|
|
1541
1671
|
ON = 2;
|
|
1542
1672
|
}
|
|
1673
|
+
message MemberLabel {
|
|
1674
|
+
optional string label = 1;
|
|
1675
|
+
optional int64 labelTimestamp = 2;
|
|
1676
|
+
}
|
|
1677
|
+
|
|
1543
1678
|
message Message {
|
|
1544
1679
|
optional string conversation = 1;
|
|
1545
1680
|
optional SenderKeyDistributionMessage senderKeyDistributionMessage = 2;
|
|
@@ -1623,6 +1758,10 @@ message Message {
|
|
|
1623
1758
|
optional FutureProofMessage groupStatusMessage = 96;
|
|
1624
1759
|
optional AIRichResponseMessage richResponseMessage = 97;
|
|
1625
1760
|
optional StatusNotificationMessage statusNotificationMessage = 98;
|
|
1761
|
+
optional FutureProofMessage limitSharingMessage = 99;
|
|
1762
|
+
optional FutureProofMessage botTaskMessage = 100;
|
|
1763
|
+
optional FutureProofMessage questionMessage = 101;
|
|
1764
|
+
optional MessageHistoryNotice messageHistoryNotice = 102;
|
|
1626
1765
|
message AlbumMessage {
|
|
1627
1766
|
optional uint32 expectedImageCount = 2;
|
|
1628
1767
|
optional uint32 expectedVideoCount = 3;
|
|
@@ -1800,6 +1939,7 @@ message Message {
|
|
|
1800
1939
|
optional uint32 conversionDelaySeconds = 4;
|
|
1801
1940
|
optional string ctwaSignals = 5;
|
|
1802
1941
|
optional bytes ctwaPayload = 6;
|
|
1942
|
+
optional ContextInfo contextInfo = 7;
|
|
1803
1943
|
}
|
|
1804
1944
|
|
|
1805
1945
|
message CallLogMessage {
|
|
@@ -1844,11 +1984,17 @@ message Message {
|
|
|
1844
1984
|
optional int64 senderNotificationTimestampMs = 2;
|
|
1845
1985
|
optional string consumerLid = 3;
|
|
1846
1986
|
optional string consumerPhoneNumber = 4;
|
|
1987
|
+
optional CloudAPIThreadControlNotificationContent notificationContent = 5;
|
|
1847
1988
|
enum CloudAPIThreadControl {
|
|
1848
1989
|
UNKNOWN = 0;
|
|
1849
1990
|
CONTROL_PASSED = 1;
|
|
1850
1991
|
CONTROL_TAKEN = 2;
|
|
1851
1992
|
}
|
|
1993
|
+
message CloudAPIThreadControlNotificationContent {
|
|
1994
|
+
optional string handoffNotificationText = 1;
|
|
1995
|
+
optional string extraJson = 2;
|
|
1996
|
+
}
|
|
1997
|
+
|
|
1852
1998
|
}
|
|
1853
1999
|
|
|
1854
2000
|
message CommentMessage {
|
|
@@ -1930,6 +2076,7 @@ message Message {
|
|
|
1930
2076
|
optional int64 startTime = 7;
|
|
1931
2077
|
optional int64 endTime = 8;
|
|
1932
2078
|
optional bool extraGuestsAllowed = 9;
|
|
2079
|
+
optional bool isScheduleCall = 10;
|
|
1933
2080
|
}
|
|
1934
2081
|
|
|
1935
2082
|
message EventResponseMessage {
|
|
@@ -1971,6 +2118,8 @@ message Message {
|
|
|
1971
2118
|
optional uint32 videoHeight = 31;
|
|
1972
2119
|
optional uint32 videoWidth = 32;
|
|
1973
2120
|
optional Message.MMSThumbnailMetadata faviconMMSMetadata = 33;
|
|
2121
|
+
optional Message.LinkPreviewMetadata linkPreviewMetadata = 34;
|
|
2122
|
+
optional Message.PaymentLinkMetadata paymentLinkMetadata = 35;
|
|
1974
2123
|
enum FontType {
|
|
1975
2124
|
SYSTEM = 0;
|
|
1976
2125
|
SYSTEM_TEXT = 1;
|
|
@@ -2264,6 +2413,12 @@ message Message {
|
|
|
2264
2413
|
optional int64 timestampMs = 3;
|
|
2265
2414
|
}
|
|
2266
2415
|
|
|
2416
|
+
message LinkPreviewMetadata {
|
|
2417
|
+
optional Message.PaymentLinkMetadata paymentLinkMetadata = 1;
|
|
2418
|
+
optional Message.URLMetadata urlMetadata = 2;
|
|
2419
|
+
optional uint32 fbExperimentId = 3;
|
|
2420
|
+
}
|
|
2421
|
+
|
|
2267
2422
|
message ListMessage {
|
|
2268
2423
|
optional string title = 1;
|
|
2269
2424
|
optional string description = 2;
|
|
@@ -2366,14 +2521,25 @@ message Message {
|
|
|
2366
2521
|
}
|
|
2367
2522
|
|
|
2368
2523
|
message MessageHistoryBundle {
|
|
2369
|
-
optional string mimetype =
|
|
2370
|
-
optional bytes fileSha256 =
|
|
2371
|
-
optional bytes mediaKey =
|
|
2372
|
-
optional bytes fileEncSha256 =
|
|
2373
|
-
optional string directPath =
|
|
2374
|
-
optional int64 mediaKeyTimestamp =
|
|
2375
|
-
optional ContextInfo contextInfo =
|
|
2376
|
-
|
|
2524
|
+
optional string mimetype = 1;
|
|
2525
|
+
optional bytes fileSha256 = 2;
|
|
2526
|
+
optional bytes mediaKey = 3;
|
|
2527
|
+
optional bytes fileEncSha256 = 4;
|
|
2528
|
+
optional string directPath = 5;
|
|
2529
|
+
optional int64 mediaKeyTimestamp = 6;
|
|
2530
|
+
optional ContextInfo contextInfo = 7;
|
|
2531
|
+
optional Message.MessageHistoryMetadata messageHistoryMetadata = 8;
|
|
2532
|
+
}
|
|
2533
|
+
|
|
2534
|
+
message MessageHistoryMetadata {
|
|
2535
|
+
repeated string historyReceivers = 1;
|
|
2536
|
+
optional int64 firstMessageTimestamp = 2;
|
|
2537
|
+
optional int64 messageCount = 3;
|
|
2538
|
+
}
|
|
2539
|
+
|
|
2540
|
+
message MessageHistoryNotice {
|
|
2541
|
+
optional ContextInfo contextInfo = 1;
|
|
2542
|
+
optional Message.MessageHistoryMetadata messageHistoryMetadata = 2;
|
|
2377
2543
|
}
|
|
2378
2544
|
|
|
2379
2545
|
message NewsletterAdminInviteMessage {
|
|
@@ -2400,6 +2566,7 @@ message Message {
|
|
|
2400
2566
|
optional ContextInfo contextInfo = 17;
|
|
2401
2567
|
optional int32 messageVersion = 12;
|
|
2402
2568
|
optional MessageKey orderRequestMessageId = 13;
|
|
2569
|
+
optional string catalogType = 15;
|
|
2403
2570
|
enum OrderStatus {
|
|
2404
2571
|
INQUIRY = 1;
|
|
2405
2572
|
ACCEPTED = 2;
|
|
@@ -2421,6 +2588,23 @@ message Message {
|
|
|
2421
2588
|
}
|
|
2422
2589
|
}
|
|
2423
2590
|
|
|
2591
|
+
message PaymentLinkMetadata {
|
|
2592
|
+
optional PaymentLinkButton button = 1;
|
|
2593
|
+
optional PaymentLinkHeader header = 2;
|
|
2594
|
+
message PaymentLinkButton {
|
|
2595
|
+
optional string displayText = 1;
|
|
2596
|
+
}
|
|
2597
|
+
|
|
2598
|
+
message PaymentLinkHeader {
|
|
2599
|
+
optional PaymentLinkHeaderType headerType = 1;
|
|
2600
|
+
enum PaymentLinkHeaderType {
|
|
2601
|
+
LINK_PREVIEW = 0;
|
|
2602
|
+
ORDER = 1;
|
|
2603
|
+
}
|
|
2604
|
+
}
|
|
2605
|
+
|
|
2606
|
+
}
|
|
2607
|
+
|
|
2424
2608
|
message PeerDataOperationRequestMessage {
|
|
2425
2609
|
optional Message.PeerDataOperationRequestType peerDataOperationRequestType = 1;
|
|
2426
2610
|
repeated RequestStickerReupload requestStickerReupload = 2;
|
|
@@ -2428,6 +2612,7 @@ message Message {
|
|
|
2428
2612
|
optional HistorySyncOnDemandRequest historySyncOnDemandRequest = 4;
|
|
2429
2613
|
repeated PlaceholderMessageResendRequest placeholderMessageResendRequest = 5;
|
|
2430
2614
|
optional FullHistorySyncOnDemandRequest fullHistorySyncOnDemandRequest = 6;
|
|
2615
|
+
optional SyncDCollectionFatalRecoveryRequest syncdCollectionFatalRecoveryRequest = 7;
|
|
2431
2616
|
message FullHistorySyncOnDemandRequest {
|
|
2432
2617
|
optional Message.FullHistorySyncOnDemandRequestMetadata requestMetadata = 1;
|
|
2433
2618
|
optional DeviceProps.HistorySyncConfig historySyncConfig = 2;
|
|
@@ -2455,6 +2640,11 @@ message Message {
|
|
|
2455
2640
|
optional bool includeHqThumbnail = 2;
|
|
2456
2641
|
}
|
|
2457
2642
|
|
|
2643
|
+
message SyncDCollectionFatalRecoveryRequest {
|
|
2644
|
+
optional string collectionName = 1;
|
|
2645
|
+
optional int64 timestamp = 2;
|
|
2646
|
+
}
|
|
2647
|
+
|
|
2458
2648
|
}
|
|
2459
2649
|
|
|
2460
2650
|
message PeerDataOperationRequestResponseMessage {
|
|
@@ -2469,6 +2659,7 @@ message Message {
|
|
|
2469
2659
|
optional WaffleNonceFetchResponse waffleNonceFetchRequestResponse = 5;
|
|
2470
2660
|
optional FullHistorySyncOnDemandRequestResponse fullHistorySyncOnDemandRequestResponse = 6;
|
|
2471
2661
|
optional CompanionMetaNonceFetchResponse companionMetaNonceFetchRequestResponse = 7;
|
|
2662
|
+
optional SyncDSnapshotFatalRecoveryResponse syncdSnapshotFatalRecoveryResponse = 8;
|
|
2472
2663
|
message CompanionMetaNonceFetchResponse {
|
|
2473
2664
|
optional string nonce = 1;
|
|
2474
2665
|
}
|
|
@@ -2511,6 +2702,11 @@ message Message {
|
|
|
2511
2702
|
optional bytes webMessageInfoBytes = 1;
|
|
2512
2703
|
}
|
|
2513
2704
|
|
|
2705
|
+
message SyncDSnapshotFatalRecoveryResponse {
|
|
2706
|
+
optional bytes collectionSnapshot = 1;
|
|
2707
|
+
optional bool isCompressed = 2;
|
|
2708
|
+
}
|
|
2709
|
+
|
|
2514
2710
|
message WaffleNonceFetchResponse {
|
|
2515
2711
|
optional string nonce = 1;
|
|
2516
2712
|
optional string waEntFbid = 2;
|
|
@@ -2529,6 +2725,7 @@ message Message {
|
|
|
2529
2725
|
WAFFLE_LINKING_NONCE_FETCH = 5;
|
|
2530
2726
|
FULL_HISTORY_SYNC_ON_DEMAND = 6;
|
|
2531
2727
|
COMPANION_META_NONCE_FETCH = 7;
|
|
2728
|
+
COMPANION_SYNCD_SNAPSHOT_FATAL_RECOVERY = 8;
|
|
2532
2729
|
}
|
|
2533
2730
|
message PinInChatMessage {
|
|
2534
2731
|
optional MessageKey key = 1;
|
|
@@ -2655,6 +2852,9 @@ message Message {
|
|
|
2655
2852
|
optional Message.CloudAPIThreadControlNotification cloudApiThreadControlNotification = 22;
|
|
2656
2853
|
optional LIDMigrationMappingSyncMessage lidMigrationMappingSyncMessage = 23;
|
|
2657
2854
|
optional LimitSharing limitSharing = 24;
|
|
2855
|
+
optional bytes aiPsiMetadata = 25;
|
|
2856
|
+
optional AIQueryFanout aiQueryFanout = 26;
|
|
2857
|
+
optional MemberLabel memberLabel = 27;
|
|
2658
2858
|
enum Type {
|
|
2659
2859
|
REVOKE = 0;
|
|
2660
2860
|
EPHEMERAL_SETTING = 3;
|
|
@@ -2679,6 +2879,9 @@ message Message {
|
|
|
2679
2879
|
STATUS_MENTION_MESSAGE = 25;
|
|
2680
2880
|
STOP_GENERATION_MESSAGE = 26;
|
|
2681
2881
|
LIMIT_SHARING = 27;
|
|
2882
|
+
AI_PSI_METADATA = 28;
|
|
2883
|
+
AI_QUERY_FANOUT = 29;
|
|
2884
|
+
GROUP_MEMBER_LABEL_CHANGE = 30;
|
|
2682
2885
|
}
|
|
2683
2886
|
}
|
|
2684
2887
|
|
|
@@ -2739,6 +2942,7 @@ message Message {
|
|
|
2739
2942
|
enum SecretEncType {
|
|
2740
2943
|
UNKNOWN = 0;
|
|
2741
2944
|
EVENT_EDIT = 1;
|
|
2945
|
+
MESSAGE_EDIT = 2;
|
|
2742
2946
|
}
|
|
2743
2947
|
}
|
|
2744
2948
|
|
|
@@ -2879,6 +3083,10 @@ message Message {
|
|
|
2879
3083
|
|
|
2880
3084
|
}
|
|
2881
3085
|
|
|
3086
|
+
message URLMetadata {
|
|
3087
|
+
optional uint32 fbExperimentId = 1;
|
|
3088
|
+
}
|
|
3089
|
+
|
|
2882
3090
|
message VideoMessage {
|
|
2883
3091
|
optional string url = 1;
|
|
2884
3092
|
optional string mimetype = 2;
|
|
@@ -2950,13 +3158,15 @@ message MessageAssociation {
|
|
|
2950
3158
|
EVENT_COVER_IMAGE = 3;
|
|
2951
3159
|
STATUS_POLL = 4;
|
|
2952
3160
|
HD_VIDEO_DUAL_UPLOAD = 5;
|
|
2953
|
-
|
|
3161
|
+
STATUS_EXTERNAL_RESHARE = 6;
|
|
2954
3162
|
MEDIA_POLL = 7;
|
|
2955
3163
|
STATUS_ADD_YOURS = 8;
|
|
2956
3164
|
STATUS_NOTIFICATION = 9;
|
|
2957
3165
|
HD_IMAGE_DUAL_UPLOAD = 10;
|
|
2958
3166
|
STICKER_ANNOTATION = 11;
|
|
2959
3167
|
MOTION_PHOTO = 12;
|
|
3168
|
+
STATUS_LINK_ACTION = 13;
|
|
3169
|
+
VIEW_ALL_REPLIES = 14;
|
|
2960
3170
|
}
|
|
2961
3171
|
}
|
|
2962
3172
|
|
|
@@ -2973,6 +3183,8 @@ message MessageContextInfo {
|
|
|
2973
3183
|
optional MessageAssociation messageAssociation = 10;
|
|
2974
3184
|
optional bool capiCreatedGroup = 11;
|
|
2975
3185
|
optional string supportPayload = 12;
|
|
3186
|
+
optional LimitSharing limitSharing = 13;
|
|
3187
|
+
optional LimitSharing limitSharingV2 = 14;
|
|
2976
3188
|
enum MessageAddonExpiryType {
|
|
2977
3189
|
STATIC = 1;
|
|
2978
3190
|
DEPENDENT_ON_PARENT = 2;
|
|
@@ -3037,6 +3249,7 @@ message MsgOpaqueData {
|
|
|
3037
3249
|
optional int64 eventStartTime = 37;
|
|
3038
3250
|
optional EventLocation eventLocation = 38;
|
|
3039
3251
|
optional int64 eventEndTime = 40;
|
|
3252
|
+
optional bytes plainProtobufBytes = 43;
|
|
3040
3253
|
message EventLocation {
|
|
3041
3254
|
optional double degreesLatitude = 1;
|
|
3042
3255
|
optional double degreesLongitude = 2;
|
|
@@ -3568,6 +3781,9 @@ message SyncActionValue {
|
|
|
3568
3781
|
optional WaffleAccountLinkStateAction waffleAccountLinkStateAction = 58;
|
|
3569
3782
|
optional UsernameChatStartModeAction usernameChatStartMode = 59;
|
|
3570
3783
|
optional NotificationActivitySettingAction notificationActivitySettingAction = 60;
|
|
3784
|
+
optional LidContactAction lidContactAction = 61;
|
|
3785
|
+
optional CtwaPerCustomerDataSharingAction ctwaPerCustomerDataSharingAction = 62;
|
|
3786
|
+
optional PaymentTosAction paymentTosAction = 63;
|
|
3571
3787
|
message AgentAction {
|
|
3572
3788
|
optional string name = 1;
|
|
3573
3789
|
optional int32 deviceID = 2;
|
|
@@ -3608,6 +3824,12 @@ message SyncActionValue {
|
|
|
3608
3824
|
optional string firstName = 2;
|
|
3609
3825
|
optional string lidJid = 3;
|
|
3610
3826
|
optional bool saveOnPrimaryAddressbook = 4;
|
|
3827
|
+
optional string pnJid = 5;
|
|
3828
|
+
optional string username = 6;
|
|
3829
|
+
}
|
|
3830
|
+
|
|
3831
|
+
message CtwaPerCustomerDataSharingAction {
|
|
3832
|
+
optional bool isCtwaPerCustomerDataSharingEnabled = 1;
|
|
3611
3833
|
}
|
|
3612
3834
|
|
|
3613
3835
|
message CustomPaymentMethod {
|
|
@@ -3668,6 +3890,7 @@ message SyncActionValue {
|
|
|
3668
3890
|
optional int32 orderIndex = 5;
|
|
3669
3891
|
optional bool isActive = 6;
|
|
3670
3892
|
optional ListType type = 7;
|
|
3893
|
+
optional bool isImmutable = 8;
|
|
3671
3894
|
enum ListType {
|
|
3672
3895
|
NONE = 0;
|
|
3673
3896
|
UNREAD = 1;
|
|
@@ -3675,6 +3898,8 @@ message SyncActionValue {
|
|
|
3675
3898
|
FAVORITES = 3;
|
|
3676
3899
|
PREDEFINED = 4;
|
|
3677
3900
|
CUSTOM = 5;
|
|
3901
|
+
COMMUNITY = 6;
|
|
3902
|
+
SERVER_ASSIGNED = 7;
|
|
3678
3903
|
}
|
|
3679
3904
|
}
|
|
3680
3905
|
|
|
@@ -3682,6 +3907,13 @@ message SyncActionValue {
|
|
|
3682
3907
|
repeated int32 sortedLabelIds = 1;
|
|
3683
3908
|
}
|
|
3684
3909
|
|
|
3910
|
+
message LidContactAction {
|
|
3911
|
+
optional string fullName = 1;
|
|
3912
|
+
optional string firstName = 2;
|
|
3913
|
+
optional string username = 3;
|
|
3914
|
+
optional bool saveOnPrimaryAddressbook = 4;
|
|
3915
|
+
}
|
|
3916
|
+
|
|
3685
3917
|
message LocaleSetting {
|
|
3686
3918
|
optional string locale = 1;
|
|
3687
3919
|
}
|
|
@@ -3759,6 +3991,14 @@ message SyncActionValue {
|
|
|
3759
3991
|
optional string cpi = 1;
|
|
3760
3992
|
}
|
|
3761
3993
|
|
|
3994
|
+
message PaymentTosAction {
|
|
3995
|
+
required PaymentNotice paymentNotice = 1;
|
|
3996
|
+
required bool accepted = 2;
|
|
3997
|
+
enum PaymentNotice {
|
|
3998
|
+
BR_PAY_PRIVACY_POLICY = 0;
|
|
3999
|
+
}
|
|
4000
|
+
}
|
|
4001
|
+
|
|
3762
4002
|
message PinAction {
|
|
3763
4003
|
optional bool pinned = 1;
|
|
3764
4004
|
}
|
|
@@ -4379,6 +4619,8 @@ message WebMessageInfo {
|
|
|
4379
4619
|
CHANGE_LID = 213;
|
|
4380
4620
|
BIZ_CUSTOMER_3PD_DATA_SHARING_OPT_IN_MESSAGE = 214;
|
|
4381
4621
|
BIZ_CUSTOMER_3PD_DATA_SHARING_OPT_OUT_MESSAGE = 215;
|
|
4622
|
+
CHANGE_LIMIT_SHARING = 216;
|
|
4623
|
+
GROUP_MEMBER_LINK_MODE = 217;
|
|
4382
4624
|
}
|
|
4383
4625
|
}
|
|
4384
4626
|
|