@pontalabs/baileys 1.2.9 → 1.2.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +360 -142
- package/WAProto/CHANGES-2.26.47.10.md +429 -0
- package/WAProto/WAProto.proto +1250 -4
- package/lib/Types/Message.d.ts +61 -1
- package/lib/Utils/beta-messages.d.ts +5 -0
- package/lib/Utils/beta-messages.js +153 -0
- package/lib/Utils/index.d.ts +1 -0
- package/lib/Utils/index.js +1 -0
- package/lib/Utils/mbuilder.js +6 -0
- package/lib/Utils/messages.js +18 -1
- package/lib/Utils/proto-extension-data.js +1 -0
- package/lib/Utils/proto-extensions-core.d.ts +5 -0
- package/lib/Utils/proto-extensions-core.js +300 -0
- package/lib/Utils/proto-extensions.d.ts +5 -0
- package/lib/Utils/proto-extensions.js +5 -0
- package/lib/Utils/rich-message-utils.d.ts +8 -0
- package/lib/Utils/rich-message-utils.js +27 -11
- package/package.json +1 -1
package/WAProto/WAProto.proto
CHANGED
|
@@ -14,6 +14,7 @@ message ADVDeviceIdentity {
|
|
|
14
14
|
enum ADVEncryptionType {
|
|
15
15
|
E2EE = 0;
|
|
16
16
|
HOSTED = 1;
|
|
17
|
+
NON_E2EE = 2;
|
|
17
18
|
}
|
|
18
19
|
message ADVKeyIndexList {
|
|
19
20
|
optional uint32 rawId = 1;
|
|
@@ -189,6 +190,7 @@ message AIRichResponseMessage {
|
|
|
189
190
|
repeated AIRichResponseSubMessage submessages = 2;
|
|
190
191
|
optional AIRichResponseUnifiedResponse unifiedResponse = 3;
|
|
191
192
|
optional ContextInfo contextInfo = 4;
|
|
193
|
+
optional AIRichResponseUnifiedResponse originalRecipientMetadata = 5;
|
|
192
194
|
}
|
|
193
195
|
|
|
194
196
|
enum AIRichResponseMessageType {
|
|
@@ -232,6 +234,7 @@ message AIRichResponseTableMetadata {
|
|
|
232
234
|
|
|
233
235
|
message AIRichResponseUnifiedResponse {
|
|
234
236
|
optional bytes data = 1;
|
|
237
|
+
optional bytes gzipData = 2;
|
|
235
238
|
}
|
|
236
239
|
|
|
237
240
|
message AIThreadInfo {
|
|
@@ -243,7 +246,9 @@ message AIThreadInfo {
|
|
|
243
246
|
UNKNOWN = 0;
|
|
244
247
|
DEFAULT = 1;
|
|
245
248
|
INCOGNITO = 2;
|
|
249
|
+
RENAMED = 3;
|
|
246
250
|
}
|
|
251
|
+
optional string sourceChatJid = 2;
|
|
247
252
|
}
|
|
248
253
|
|
|
249
254
|
message AIThreadServerInfo {
|
|
@@ -257,6 +262,12 @@ message Account {
|
|
|
257
262
|
optional string username = 2;
|
|
258
263
|
optional string countryCode = 3;
|
|
259
264
|
optional bool isUsernameDeleted = 4;
|
|
265
|
+
optional Account.PnLearnState pnLearnState = 6;
|
|
266
|
+
enum PnLearnState {
|
|
267
|
+
UNSET = 0;
|
|
268
|
+
SHARED = 1;
|
|
269
|
+
HIDDEN = 2;
|
|
270
|
+
}
|
|
260
271
|
}
|
|
261
272
|
|
|
262
273
|
message ActionLink {
|
|
@@ -549,6 +560,7 @@ message BotMessageOrigin {
|
|
|
549
560
|
enum BotMessageOriginType {
|
|
550
561
|
BOT_MESSAGE_ORIGIN_TYPE_AI_INITIATED = 0;
|
|
551
562
|
}
|
|
563
|
+
optional string proactiveMessageCampaignId = 2;
|
|
552
564
|
}
|
|
553
565
|
|
|
554
566
|
message BotMessageOriginMetadata {
|
|
@@ -595,6 +607,59 @@ message BotMetadata {
|
|
|
595
607
|
optional AIRegenerateMetadata regenerateMetadata = 32;
|
|
596
608
|
optional SessionTransparencyMetadata sessionTransparencyMetadata = 33;
|
|
597
609
|
optional bytes internalMetadata = 999;
|
|
610
|
+
optional BotMetadata.BotDocumentMessageMetadata botDocumentMessageMetadata = 34;
|
|
611
|
+
optional BotMetadata.BotGroupMetadata botGroupMetadata = 35;
|
|
612
|
+
optional BotMetadata.BotRenderingConfigMetadata botRenderingConfigMetadata = 36;
|
|
613
|
+
optional BotMetadata.BotInfrastructureDiagnostics botInfrastructureDiagnostics = 37;
|
|
614
|
+
optional BotMetadata.AiMediaCollectionMetadata aiMediaCollectionMetadata = 38;
|
|
615
|
+
optional BotMetadata.CommandMetadata commandMetadata = 39;
|
|
616
|
+
optional BotMetadata.ResolvedToolCallMetadata resolvedToolCallMetadata = 40;
|
|
617
|
+
optional BotMetadata.SubscriptionUpsellMetadata subscriptionUpsellMetadata = 41;
|
|
618
|
+
optional BotMetadata.PttPromptMetadata pttPromptMetadata = 42;
|
|
619
|
+
optional BotMetadata.BotHistoryShareMetadata botHistoryShareMetadata = 43;
|
|
620
|
+
optional bool responseStoppedByUser = 44;
|
|
621
|
+
optional BotMetadata.InterjectionMetadata interjectionMetadata = 45;
|
|
622
|
+
message BotDocumentMessageMetadata {
|
|
623
|
+
}
|
|
624
|
+
message BotGroupMetadata {
|
|
625
|
+
repeated BotMetadata.BotGroupMetadata.ParticipantsMetadata participantsMetadata = 1;
|
|
626
|
+
message ParticipantsMetadata {
|
|
627
|
+
optional string botFbid = 1;
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
message BotRenderingConfigMetadata {
|
|
631
|
+
optional string bloksVersioningId = 1;
|
|
632
|
+
optional double pixelDensity = 2;
|
|
633
|
+
}
|
|
634
|
+
message BotInfrastructureDiagnostics {
|
|
635
|
+
repeated string toolsUsed = 2;
|
|
636
|
+
optional bool isThinking = 3;
|
|
637
|
+
}
|
|
638
|
+
message AiMediaCollectionMetadata {
|
|
639
|
+
optional string collectionId = 1;
|
|
640
|
+
optional uint32 uploadOrderIndex = 2;
|
|
641
|
+
}
|
|
642
|
+
message CommandMetadata {
|
|
643
|
+
optional string commandName = 1;
|
|
644
|
+
optional string commandDescription = 2;
|
|
645
|
+
optional string commandPrompt = 3;
|
|
646
|
+
}
|
|
647
|
+
message ResolvedToolCallMetadata {
|
|
648
|
+
optional string toolCallId = 1;
|
|
649
|
+
optional string resolutionDataSerialized = 2;
|
|
650
|
+
}
|
|
651
|
+
message SubscriptionUpsellMetadata {
|
|
652
|
+
}
|
|
653
|
+
message PttPromptMetadata {
|
|
654
|
+
optional string transcript = 1;
|
|
655
|
+
}
|
|
656
|
+
message BotHistoryShareMetadata {
|
|
657
|
+
repeated BotMetadata.BotGroupMetadata.ParticipantsMetadata participantsMetadata = 1;
|
|
658
|
+
}
|
|
659
|
+
message InterjectionMetadata {
|
|
660
|
+
optional string targetPromptMessageId = 1;
|
|
661
|
+
repeated string foldedPromptMessageIds = 2;
|
|
662
|
+
}
|
|
598
663
|
}
|
|
599
664
|
|
|
600
665
|
enum BotMetricsEntryPoint {
|
|
@@ -657,6 +722,7 @@ message BotModeSelectionMetadata {
|
|
|
657
722
|
UNKNOWN_MODE = 0;
|
|
658
723
|
REASONING_MODE = 1;
|
|
659
724
|
}
|
|
725
|
+
repeated uint32 overrideMode = 2;
|
|
660
726
|
}
|
|
661
727
|
|
|
662
728
|
message BotModelMetadata {
|
|
@@ -699,6 +765,7 @@ message BotPluginMetadata {
|
|
|
699
765
|
GOOGLE = 2;
|
|
700
766
|
SUPPORT = 3;
|
|
701
767
|
}
|
|
768
|
+
optional uint32 pluginVersion = 8;
|
|
702
769
|
}
|
|
703
770
|
|
|
704
771
|
message BotProgressIndicatorMetadata {
|
|
@@ -751,6 +818,7 @@ message BotProgressIndicatorMetadata {
|
|
|
751
818
|
}
|
|
752
819
|
}
|
|
753
820
|
|
|
821
|
+
optional int64 estimatedCompletionTime = 3;
|
|
754
822
|
}
|
|
755
823
|
|
|
756
824
|
message BotPromotionMessageMetadata {
|
|
@@ -829,6 +897,7 @@ enum BotSessionSource {
|
|
|
829
897
|
EMU_FLASH = 4;
|
|
830
898
|
EMU_FLASH_FOLLOWUP = 5;
|
|
831
899
|
VOICE = 6;
|
|
900
|
+
AI_HOME_SESSION = 7;
|
|
832
901
|
}
|
|
833
902
|
message BotSignatureVerificationMetadata {
|
|
834
903
|
repeated BotSignatureVerificationUseCaseProof proofs = 1;
|
|
@@ -842,6 +911,8 @@ message BotSignatureVerificationUseCaseProof {
|
|
|
842
911
|
enum BotSignatureUseCase {
|
|
843
912
|
UNSPECIFIED = 0;
|
|
844
913
|
WA_BOT_MSG = 1;
|
|
914
|
+
WA_TEE_BOT_MSG = 2;
|
|
915
|
+
P2P_PILLS = 3;
|
|
845
916
|
}
|
|
846
917
|
}
|
|
847
918
|
|
|
@@ -926,6 +997,10 @@ message CallLogRecord {
|
|
|
926
997
|
message ParticipantInfo {
|
|
927
998
|
optional string userJid = 1;
|
|
928
999
|
optional CallLogRecord.CallResult callResult = 2;
|
|
1000
|
+
optional CallLogRecord.ParticipantInfo.GuestInfo guestInfo = 3;
|
|
1001
|
+
message GuestInfo {
|
|
1002
|
+
optional string pushName = 1;
|
|
1003
|
+
}
|
|
929
1004
|
}
|
|
930
1005
|
|
|
931
1006
|
enum SilenceReason {
|
|
@@ -1086,6 +1161,8 @@ message ClientPayload {
|
|
|
1086
1161
|
OVERRIDE = 3;
|
|
1087
1162
|
FALLBACK = 4;
|
|
1088
1163
|
MNS = 5;
|
|
1164
|
+
MNS_SECONDARY = 6;
|
|
1165
|
+
SOCKS_PROXY = 7;
|
|
1089
1166
|
}
|
|
1090
1167
|
}
|
|
1091
1168
|
|
|
@@ -1153,6 +1230,9 @@ message ClientPayload {
|
|
|
1153
1230
|
DESKTOP = 2;
|
|
1154
1231
|
WEARABLE = 3;
|
|
1155
1232
|
VR = 4;
|
|
1233
|
+
SMART_DISPLAY = 5;
|
|
1234
|
+
SMART_SPEAKER = 6;
|
|
1235
|
+
AGENT = 7;
|
|
1156
1236
|
}
|
|
1157
1237
|
enum Platform {
|
|
1158
1238
|
ANDROID = 0;
|
|
@@ -1193,6 +1273,10 @@ message ClientPayload {
|
|
|
1193
1273
|
SMART_GLASSES = 35;
|
|
1194
1274
|
BLUE_VR = 36;
|
|
1195
1275
|
AR_WRIST = 37;
|
|
1276
|
+
WAIL = 38;
|
|
1277
|
+
WORK_ANDROID = 39;
|
|
1278
|
+
WORK_IOS = 40;
|
|
1279
|
+
AUTOMOTIVE = 41;
|
|
1196
1280
|
}
|
|
1197
1281
|
enum ReleaseChannel {
|
|
1198
1282
|
RELEASE = 0;
|
|
@@ -1200,6 +1284,13 @@ message ClientPayload {
|
|
|
1200
1284
|
ALPHA = 2;
|
|
1201
1285
|
DEBUG = 3;
|
|
1202
1286
|
}
|
|
1287
|
+
optional ClientPayload.UserAgent.DistributionChannel distributionChannel = 17;
|
|
1288
|
+
enum DistributionChannel {
|
|
1289
|
+
APPSTORE = 0;
|
|
1290
|
+
WEBSITE = 1;
|
|
1291
|
+
TESTFLIGHT = 2;
|
|
1292
|
+
INTERNAL = 3;
|
|
1293
|
+
}
|
|
1203
1294
|
}
|
|
1204
1295
|
|
|
1205
1296
|
message WebInfo {
|
|
@@ -1229,8 +1320,18 @@ message ClientPayload {
|
|
|
1229
1320
|
optional bytes features = 11;
|
|
1230
1321
|
}
|
|
1231
1322
|
|
|
1323
|
+
optional string browser = 5;
|
|
1324
|
+
optional string browserVersion = 6;
|
|
1232
1325
|
}
|
|
1233
1326
|
|
|
1327
|
+
repeated string pairedPeripherals = 47;
|
|
1328
|
+
optional bytes testIsolationId = 48;
|
|
1329
|
+
optional int64 messageSts = 49;
|
|
1330
|
+
optional ClientPayload.IntegrationAttestation integrationAttestation = 50;
|
|
1331
|
+
message IntegrationAttestation {
|
|
1332
|
+
optional string staticUnbound = 1;
|
|
1333
|
+
optional string onlineSigned = 3;
|
|
1334
|
+
}
|
|
1234
1335
|
}
|
|
1235
1336
|
|
|
1236
1337
|
enum CollectionName {
|
|
@@ -1389,6 +1490,20 @@ message ContextInfo {
|
|
|
1389
1490
|
IMAGE = 1;
|
|
1390
1491
|
VIDEO = 2;
|
|
1391
1492
|
}
|
|
1493
|
+
optional bool containsCtwaFlowsAutoReply = 28;
|
|
1494
|
+
optional int32 agmThumbnailStrategy = 29;
|
|
1495
|
+
optional int32 agmTitleStrategy = 30;
|
|
1496
|
+
optional int32 agmSubtitleStrategy = 31;
|
|
1497
|
+
optional int32 agmHeaderInteractionStrategy = 32;
|
|
1498
|
+
optional bool containsCtwaFlowsAutoLabel = 33;
|
|
1499
|
+
optional string productId = 34;
|
|
1500
|
+
optional bool containsCtwaPromo = 35;
|
|
1501
|
+
optional string ctwaPromoResponseId = 36;
|
|
1502
|
+
optional string ctwaPromoOfferId = 37;
|
|
1503
|
+
optional string ctwaPromoAdEntryId = 38;
|
|
1504
|
+
optional uint64 ctwaPromoResponseExpiresAtSeconds = 39;
|
|
1505
|
+
optional uint32 ctwaPromoSchemaVersion = 40;
|
|
1506
|
+
optional string ctwaPromoAdgroupId = 41;
|
|
1392
1507
|
}
|
|
1393
1508
|
|
|
1394
1509
|
message FeatureEligibilities {
|
|
@@ -1418,6 +1533,7 @@ message ContextInfo {
|
|
|
1418
1533
|
UPDATE_CARD = 2;
|
|
1419
1534
|
LINK_CARD = 3;
|
|
1420
1535
|
}
|
|
1536
|
+
optional string profileName = 6;
|
|
1421
1537
|
}
|
|
1422
1538
|
|
|
1423
1539
|
enum PairedMediaType {
|
|
@@ -1430,6 +1546,12 @@ message ContextInfo {
|
|
|
1430
1546
|
MOTION_PHOTO_CHILD = 6;
|
|
1431
1547
|
HEVC_VIDEO_PARENT = 7;
|
|
1432
1548
|
HEVC_VIDEO_CHILD = 8;
|
|
1549
|
+
AV1_VIDEO_PARENT = 9;
|
|
1550
|
+
AV1_VIDEO_CHILD = 10;
|
|
1551
|
+
STREAMED_VIDEO_PARENT = 11;
|
|
1552
|
+
STREAMED_VIDEO_CHILD = 12;
|
|
1553
|
+
ORIGINAL_VIDEO_CHILD = 13;
|
|
1554
|
+
ORIGINAL_IMAGE_CHILD = 14;
|
|
1433
1555
|
}
|
|
1434
1556
|
message QuestionReplyQuotedMessage {
|
|
1435
1557
|
optional int32 serverQuestionId = 1;
|
|
@@ -1453,7 +1575,12 @@ message ContextInfo {
|
|
|
1453
1575
|
enum AudienceType {
|
|
1454
1576
|
UNKNOWN = 0;
|
|
1455
1577
|
CLOSE_FRIENDS = 1;
|
|
1578
|
+
CUSTOM_LIST = 2;
|
|
1579
|
+
ORG = 3;
|
|
1456
1580
|
}
|
|
1581
|
+
optional string listName = 2;
|
|
1582
|
+
optional string listEmoji = 3;
|
|
1583
|
+
optional string orgId = 4;
|
|
1457
1584
|
}
|
|
1458
1585
|
|
|
1459
1586
|
enum StatusSourceType {
|
|
@@ -1469,6 +1596,84 @@ message ContextInfo {
|
|
|
1469
1596
|
optional string utmCampaign = 2;
|
|
1470
1597
|
}
|
|
1471
1598
|
|
|
1599
|
+
optional bool isSpoiler = 73;
|
|
1600
|
+
optional ContextInfo.MediaDomainInfo mediaDomainInfo = 74;
|
|
1601
|
+
optional ContextInfo.PartiallySelectedContent partiallySelectedContent = 75;
|
|
1602
|
+
optional uint32 afterReadDuration = 76;
|
|
1603
|
+
optional ContextInfo.CrossAppSource crossAppSource = 77;
|
|
1604
|
+
optional ContextInfo.BusinessInteractionPills businessInteractionPills = 78;
|
|
1605
|
+
optional string posterStatusId = 79;
|
|
1606
|
+
optional ContextInfo.InstagramThreadLink instagramThreadLink = 80;
|
|
1607
|
+
optional ContextInfo.AiProvenance aiProvenance = 81;
|
|
1608
|
+
repeated uint32 experienceIds = 82 [packed = true];
|
|
1609
|
+
optional string partnerDeepLinkToken = 83;
|
|
1610
|
+
optional uint32 sourceExperienceId = 84;
|
|
1611
|
+
repeated uint32 sourceExperienceIds = 85 [packed = true];
|
|
1612
|
+
optional bytes foaMutualsSignature = 86;
|
|
1613
|
+
optional fixed32 forwardReachScore = 87;
|
|
1614
|
+
enum CrossAppSource {
|
|
1615
|
+
CROSS_APP_SOURCE_UNKNOWN = 0;
|
|
1616
|
+
CROSS_APP_SOURCE_INSTAGRAM = 1;
|
|
1617
|
+
CROSS_APP_SOURCE_FACEBOOK = 2;
|
|
1618
|
+
}
|
|
1619
|
+
message MediaDomainInfo {
|
|
1620
|
+
optional bytes e2EeMediaKey = 2;
|
|
1621
|
+
}
|
|
1622
|
+
message PartiallySelectedContent {
|
|
1623
|
+
optional string text = 1;
|
|
1624
|
+
}
|
|
1625
|
+
message BusinessInteractionPills {
|
|
1626
|
+
optional string businessJid = 1;
|
|
1627
|
+
repeated ContextInfo.BusinessInteractionPills.Pill pills = 2;
|
|
1628
|
+
optional ContextInfo.BusinessInteractionPills.EntryPoint entryPoint = 3;
|
|
1629
|
+
optional bytes signedPayload = 4;
|
|
1630
|
+
optional BotSignatureVerificationMetadata signatureEnvelope = 5;
|
|
1631
|
+
optional ContextInfo.BusinessInteractionPills.UnauthenticatedBusinessMetadata unauthenticatedBusinessMetadata = 6;
|
|
1632
|
+
enum EntryPoint {
|
|
1633
|
+
ENTRY_POINT_UNKNOWN = 0;
|
|
1634
|
+
P2P_LINK_SHARE = 1;
|
|
1635
|
+
CONTACT_CARD_SHARING = 2;
|
|
1636
|
+
PHONE_NUMBER = 3;
|
|
1637
|
+
STATUS = 4;
|
|
1638
|
+
IN_THREAD_CONTEXT_CARD = 5;
|
|
1639
|
+
}
|
|
1640
|
+
message Pill {
|
|
1641
|
+
optional ContextInfo.BusinessInteractionPills.Pill.PillType pillType = 1;
|
|
1642
|
+
optional string actionUrl = 2;
|
|
1643
|
+
enum PillType {
|
|
1644
|
+
UNKNOWN = 0;
|
|
1645
|
+
VIEW_BUSINESS = 1;
|
|
1646
|
+
CHAT = 2;
|
|
1647
|
+
CALL = 3;
|
|
1648
|
+
CATALOG = 4;
|
|
1649
|
+
CHANNEL = 5;
|
|
1650
|
+
BOOK_APPOINTMENT = 6;
|
|
1651
|
+
OFFERS = 7;
|
|
1652
|
+
BESTSELLERS = 8;
|
|
1653
|
+
MENU = 9;
|
|
1654
|
+
ABOUT = 10;
|
|
1655
|
+
SHOP = 11;
|
|
1656
|
+
ORDER = 12;
|
|
1657
|
+
}
|
|
1658
|
+
}
|
|
1659
|
+
message UnauthenticatedBusinessMetadata {
|
|
1660
|
+
optional string businessName = 1;
|
|
1661
|
+
optional string businessCategory = 2;
|
|
1662
|
+
optional bool businessIsOpen = 3;
|
|
1663
|
+
optional int64 businessIsOpenSnapshotMs = 4;
|
|
1664
|
+
}
|
|
1665
|
+
}
|
|
1666
|
+
message InstagramThreadLink {
|
|
1667
|
+
optional string url = 1;
|
|
1668
|
+
}
|
|
1669
|
+
message AiProvenance {
|
|
1670
|
+
optional ContextInfo.AiProvenance.C2PaMetadata c2PaMetadata = 1;
|
|
1671
|
+
optional ContextInfo.AiProvenance.C2PaMetadata iptcMetadata = 2;
|
|
1672
|
+
message C2PaMetadata {
|
|
1673
|
+
optional bool createdWithGenAi = 1;
|
|
1674
|
+
optional bool editedWithGenAi = 2;
|
|
1675
|
+
}
|
|
1676
|
+
}
|
|
1472
1677
|
}
|
|
1473
1678
|
|
|
1474
1679
|
message Conversation {
|
|
@@ -1530,7 +1735,30 @@ message Conversation {
|
|
|
1530
1735
|
COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0;
|
|
1531
1736
|
COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1;
|
|
1532
1737
|
COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY = 2;
|
|
1738
|
+
COMPLETE_ON_DEMAND_SYNC_WITH_MORE_MSG_ON_PRIMARY_BUT_NO_ACCESS = 3;
|
|
1533
1739
|
}
|
|
1740
|
+
optional bool isMarketingMessageThread = 55;
|
|
1741
|
+
optional uint32 afterReadDuration = 57;
|
|
1742
|
+
optional uint64 appealUpdateTime = 60;
|
|
1743
|
+
optional Conversation.IdentityVerification identityVerification = 63;
|
|
1744
|
+
optional Conversation.Acp2Setting acp2Setting = 64;
|
|
1745
|
+
optional bool isWorkGroup = 67;
|
|
1746
|
+
optional int32 nonE2eeType = 68;
|
|
1747
|
+
optional Conversation.Draft draft = 71;
|
|
1748
|
+
message IdentityVerification {
|
|
1749
|
+
optional bool verified = 1;
|
|
1750
|
+
optional uint64 actionSeq = 2;
|
|
1751
|
+
}
|
|
1752
|
+
message Acp2Setting {
|
|
1753
|
+
optional bool enabled = 1;
|
|
1754
|
+
optional int64 settingTimestamp = 3;
|
|
1755
|
+
optional bool initiatedByMe = 4;
|
|
1756
|
+
}
|
|
1757
|
+
message Draft {
|
|
1758
|
+
optional Message content = 1;
|
|
1759
|
+
optional int64 editTimestampMs = 2;
|
|
1760
|
+
optional uint32 editorDeviceId = 3;
|
|
1761
|
+
}
|
|
1534
1762
|
}
|
|
1535
1763
|
|
|
1536
1764
|
message DeviceCapabilities {
|
|
@@ -1541,6 +1769,11 @@ message DeviceCapabilities {
|
|
|
1541
1769
|
optional MemberNameTagPrimarySupport memberNameTagPrimarySupport = 5;
|
|
1542
1770
|
message BusinessBroadcast {
|
|
1543
1771
|
optional bool importListEnabled = 1;
|
|
1772
|
+
optional bool companionSupportEnabled = 2;
|
|
1773
|
+
optional bool campaignSyncEnabled = 3;
|
|
1774
|
+
optional bool insightsSyncEnabled = 4;
|
|
1775
|
+
optional int32 recipientLimit = 5;
|
|
1776
|
+
optional bool proCompanionSupportEnabled = 6;
|
|
1544
1777
|
}
|
|
1545
1778
|
|
|
1546
1779
|
enum ChatLockSupportLevel {
|
|
@@ -1561,6 +1794,55 @@ message DeviceCapabilities {
|
|
|
1561
1794
|
optional bool userHasAvatar = 1;
|
|
1562
1795
|
}
|
|
1563
1796
|
|
|
1797
|
+
optional DeviceCapabilities.AiThread aiThread = 6;
|
|
1798
|
+
optional DeviceCapabilities.AiFbidMigration aiFbidMigration = 7;
|
|
1799
|
+
optional DeviceCapabilities.BizAiSettingsSync bizAiSettingsSync = 8;
|
|
1800
|
+
optional DeviceCapabilities.ContactRefresh contactRefresh = 9;
|
|
1801
|
+
optional DeviceCapabilities.ReverseHistorySync reverseHistorySync = 10;
|
|
1802
|
+
optional DeviceCapabilities.NewsletterChatsMigration newsletterChatsMigration = 11;
|
|
1803
|
+
optional DeviceCapabilities.HostWriteMutationSupport hostWriteMutationSupport = 12;
|
|
1804
|
+
optional DeviceCapabilities.BizAiWebOnboarding bizAiWebOnboarding = 13;
|
|
1805
|
+
optional DeviceCapabilities.PhoneNumberSharing phoneNumberSharing = 14;
|
|
1806
|
+
optional DeviceCapabilities.RecentConversationsOnDemand recentConversationsOnDemand = 15;
|
|
1807
|
+
optional DeviceCapabilities.AiMuseJarvisGzip aiMuseJarvisGzip = 16;
|
|
1808
|
+
optional DeviceCapabilities.DraftSync draftSync = 17;
|
|
1809
|
+
message AiThread {
|
|
1810
|
+
}
|
|
1811
|
+
message AiFbidMigration {
|
|
1812
|
+
optional uint64 chatDbMigrationTimestamp = 1;
|
|
1813
|
+
optional uint32 supportVersion = 2;
|
|
1814
|
+
}
|
|
1815
|
+
message BizAiSettingsSync {
|
|
1816
|
+
optional bool handoffRemovalTimingEnabled = 1;
|
|
1817
|
+
}
|
|
1818
|
+
message ContactRefresh {
|
|
1819
|
+
optional bool refreshSupported = 1;
|
|
1820
|
+
}
|
|
1821
|
+
message ReverseHistorySync {
|
|
1822
|
+
}
|
|
1823
|
+
message NewsletterChatsMigration {
|
|
1824
|
+
optional bool effectiveMigrated = 1;
|
|
1825
|
+
optional int64 countdownEndsAt = 2;
|
|
1826
|
+
optional bool rolledBack = 3;
|
|
1827
|
+
}
|
|
1828
|
+
message HostWriteMutationSupport {
|
|
1829
|
+
repeated string mutationNames = 1;
|
|
1830
|
+
}
|
|
1831
|
+
message BizAiWebOnboarding {
|
|
1832
|
+
optional uint32 version = 1;
|
|
1833
|
+
}
|
|
1834
|
+
message PhoneNumberSharing {
|
|
1835
|
+
optional bool phoneSharingSupported = 1;
|
|
1836
|
+
}
|
|
1837
|
+
message RecentConversationsOnDemand {
|
|
1838
|
+
optional bool supported = 1;
|
|
1839
|
+
}
|
|
1840
|
+
message AiMuseJarvisGzip {
|
|
1841
|
+
optional uint32 supportVersion = 1;
|
|
1842
|
+
}
|
|
1843
|
+
message DraftSync {
|
|
1844
|
+
optional uint32 version = 1;
|
|
1845
|
+
}
|
|
1564
1846
|
}
|
|
1565
1847
|
|
|
1566
1848
|
message DeviceConsistencyCodeMessage {
|
|
@@ -1613,6 +1895,15 @@ message DeviceProps {
|
|
|
1613
1895
|
optional bool supportGuestChat = 17;
|
|
1614
1896
|
optional bool completeOnDemandReady = 18;
|
|
1615
1897
|
optional uint32 thumbnailSyncDaysLimit = 19;
|
|
1898
|
+
optional uint32 initialSyncMaxMessagesPerChat = 20;
|
|
1899
|
+
optional bool supportManusHistory = 21;
|
|
1900
|
+
optional bool supportHatchHistory = 22;
|
|
1901
|
+
repeated string supportedBotChannelFbids = 23;
|
|
1902
|
+
optional bool supportInlineContacts = 24;
|
|
1903
|
+
optional bool supportNewsletter = 25;
|
|
1904
|
+
optional bool supportUniversalReachChat = 26;
|
|
1905
|
+
optional bool supportOmittedConversationMetadata = 28;
|
|
1906
|
+
optional bool supportDraftSync = 29;
|
|
1616
1907
|
}
|
|
1617
1908
|
|
|
1618
1909
|
enum PlatformType {
|
|
@@ -1641,7 +1932,14 @@ message DeviceProps {
|
|
|
1641
1932
|
VR = 22;
|
|
1642
1933
|
CLOUD_API = 23;
|
|
1643
1934
|
SMARTGLASSES = 24;
|
|
1935
|
+
WAIL = 25;
|
|
1936
|
+
WASS = 26;
|
|
1937
|
+
BUSINESS_BACK_OFFICE = 27;
|
|
1938
|
+
WAIL_WAI = 28;
|
|
1939
|
+
WAIL_ALEXA = 29;
|
|
1940
|
+
AUTOMOTIVE = 30;
|
|
1644
1941
|
}
|
|
1942
|
+
optional string deviceName = 6;
|
|
1645
1943
|
}
|
|
1646
1944
|
|
|
1647
1945
|
message DisappearingMode {
|
|
@@ -1775,6 +2073,7 @@ message GroupHistoryBundleInfo {
|
|
|
1775
2073
|
INJECTED_PARTIAL = 2;
|
|
1776
2074
|
INJECTION_FAILED = 3;
|
|
1777
2075
|
INJECTION_FAILED_NO_RETRY = 4;
|
|
2076
|
+
DEDUPED = 5;
|
|
1778
2077
|
}
|
|
1779
2078
|
}
|
|
1780
2079
|
|
|
@@ -1807,6 +2106,8 @@ message HandshakeMessage {
|
|
|
1807
2106
|
optional bytes static = 1;
|
|
1808
2107
|
optional bytes payload = 2;
|
|
1809
2108
|
optional bytes extendedCiphertext = 3;
|
|
2109
|
+
optional bytes paddedBytes = 4;
|
|
2110
|
+
optional bool simulateXxkemFs = 5;
|
|
1810
2111
|
}
|
|
1811
2112
|
|
|
1812
2113
|
message ClientHello {
|
|
@@ -1815,6 +2116,23 @@ message HandshakeMessage {
|
|
|
1815
2116
|
optional bytes payload = 3;
|
|
1816
2117
|
optional bool useExtended = 4;
|
|
1817
2118
|
optional bytes extendedCiphertext = 5;
|
|
2119
|
+
optional bytes paddedBytes = 6;
|
|
2120
|
+
optional bool sendServerHelloPaddedBytes = 7;
|
|
2121
|
+
optional bool simulateXxkemFs = 8;
|
|
2122
|
+
optional HandshakeMessage.ClientHello.PqMode pqMode = 9;
|
|
2123
|
+
optional bytes extendedEphemeral = 10;
|
|
2124
|
+
enum PqMode {
|
|
2125
|
+
HANDSHAKE_PQ_MODE_UNKNOWN = 0;
|
|
2126
|
+
XXKEM = 1;
|
|
2127
|
+
XXKEM_FS = 2;
|
|
2128
|
+
WA_CLASSICAL = 3;
|
|
2129
|
+
WA_PQ = 4;
|
|
2130
|
+
IKKEM = 5;
|
|
2131
|
+
IKKEM_FS = 6;
|
|
2132
|
+
XXKEM_2 = 7;
|
|
2133
|
+
IKKEM_2 = 8;
|
|
2134
|
+
XXKEM_EPH = 9;
|
|
2135
|
+
}
|
|
1818
2136
|
}
|
|
1819
2137
|
|
|
1820
2138
|
message ServerHello {
|
|
@@ -1822,6 +2140,8 @@ message HandshakeMessage {
|
|
|
1822
2140
|
optional bytes static = 2;
|
|
1823
2141
|
optional bytes payload = 3;
|
|
1824
2142
|
optional bytes extendedStatic = 4;
|
|
2143
|
+
optional bytes paddingBytes = 5;
|
|
2144
|
+
optional bytes extendedCiphertext = 6;
|
|
1825
2145
|
}
|
|
1826
2146
|
|
|
1827
2147
|
}
|
|
@@ -1857,6 +2177,26 @@ message HistorySync {
|
|
|
1857
2177
|
NON_BLOCKING_DATA = 5;
|
|
1858
2178
|
ON_DEMAND = 6;
|
|
1859
2179
|
}
|
|
2180
|
+
optional bytes nctSalt = 19;
|
|
2181
|
+
repeated HistorySync.InlineContact inlineContacts = 20;
|
|
2182
|
+
optional bool inlineContactsProvided = 21;
|
|
2183
|
+
optional HistorySync.OmittedConversationMetadata omittedConversationMetadata = 25;
|
|
2184
|
+
optional string omittedConversationMetadataSnapshotId = 26;
|
|
2185
|
+
message InlineContact {
|
|
2186
|
+
optional string pnJid = 1;
|
|
2187
|
+
optional string lidJid = 2;
|
|
2188
|
+
optional string fullName = 3;
|
|
2189
|
+
optional string firstName = 4;
|
|
2190
|
+
optional string username = 5;
|
|
2191
|
+
}
|
|
2192
|
+
message OmittedConversationMetadata {
|
|
2193
|
+
optional string snapshotId = 1;
|
|
2194
|
+
optional uint64 snapshotTimestampMs = 2;
|
|
2195
|
+
optional uint32 batchIndex = 3;
|
|
2196
|
+
optional uint32 batchCount = 4;
|
|
2197
|
+
optional bool complete = 5;
|
|
2198
|
+
repeated Conversation conversations = 6;
|
|
2199
|
+
}
|
|
1860
2200
|
}
|
|
1861
2201
|
|
|
1862
2202
|
message HistorySyncMsg {
|
|
@@ -1891,6 +2231,7 @@ message HydratedTemplateButton {
|
|
|
1891
2231
|
TALL = 2;
|
|
1892
2232
|
COMPACT = 3;
|
|
1893
2233
|
}
|
|
2234
|
+
optional bool webviewInteraction = 5;
|
|
1894
2235
|
}
|
|
1895
2236
|
|
|
1896
2237
|
}
|
|
@@ -1935,6 +2276,7 @@ message InThreadSurveyMetadata {
|
|
|
1935
2276
|
repeated InThreadSurveyMetadata.InThreadSurveyOption questionOptions = 3;
|
|
1936
2277
|
}
|
|
1937
2278
|
|
|
2279
|
+
optional int32 startQuestionIndex = 18;
|
|
1938
2280
|
}
|
|
1939
2281
|
|
|
1940
2282
|
message InteractiveAnnotation {
|
|
@@ -1953,6 +2295,20 @@ message InteractiveAnnotation {
|
|
|
1953
2295
|
RASTERIZED_LINK_TRUNCATED = 2;
|
|
1954
2296
|
RASTERIZED_LINK_FULL_URL = 3;
|
|
1955
2297
|
}
|
|
2298
|
+
optional InteractiveAnnotation.PixKey pixKey = 9;
|
|
2299
|
+
message PixKey {
|
|
2300
|
+
optional string key = 1;
|
|
2301
|
+
optional InteractiveAnnotation.PixKey.KeyType keyType = 2;
|
|
2302
|
+
optional string displayName = 3;
|
|
2303
|
+
enum KeyType {
|
|
2304
|
+
UNKNOWN = 0;
|
|
2305
|
+
CPF = 1;
|
|
2306
|
+
CNPJ = 2;
|
|
2307
|
+
PHONE = 3;
|
|
2308
|
+
EMAIL = 4;
|
|
2309
|
+
EVP = 5;
|
|
2310
|
+
}
|
|
2311
|
+
}
|
|
1956
2312
|
}
|
|
1957
2313
|
|
|
1958
2314
|
message InteractiveMessageAdditionalMetadata {
|
|
@@ -2061,6 +2417,7 @@ enum MediaVisibility {
|
|
|
2061
2417
|
message MemberLabel {
|
|
2062
2418
|
optional string label = 1;
|
|
2063
2419
|
optional int64 labelTimestamp = 2;
|
|
2420
|
+
optional bool showAdminBadge = 3;
|
|
2064
2421
|
}
|
|
2065
2422
|
|
|
2066
2423
|
message Message {
|
|
@@ -2158,11 +2515,12 @@ message Message {
|
|
|
2158
2515
|
optional StatusStickerInteractionMessage statusStickerInteractionMessage = 110;
|
|
2159
2516
|
optional PollCreationMessage pollCreationMessageV5 = 111;
|
|
2160
2517
|
optional NewsletterFollowerInviteMessage newsletterFollowerInviteMessageV2 = 113;
|
|
2161
|
-
optional PollResultSnapshotMessage pollResultSnapshotMessageV3 =
|
|
2518
|
+
optional PollResultSnapshotMessage pollResultSnapshotMessageV3 = 115;
|
|
2162
2519
|
message AlbumMessage {
|
|
2163
2520
|
optional uint32 expectedImageCount = 2;
|
|
2164
2521
|
optional uint32 expectedVideoCount = 3;
|
|
2165
2522
|
optional ContextInfo contextInfo = 17;
|
|
2523
|
+
optional string caption = 1;
|
|
2166
2524
|
}
|
|
2167
2525
|
|
|
2168
2526
|
message AppStateFatalExceptionNotification {
|
|
@@ -2228,6 +2586,7 @@ message Message {
|
|
|
2228
2586
|
UNKNOWN = 0;
|
|
2229
2587
|
AUDIO = 1;
|
|
2230
2588
|
VIDEO = 2;
|
|
2589
|
+
IN_PERSON = 3;
|
|
2231
2590
|
}
|
|
2232
2591
|
}
|
|
2233
2592
|
|
|
@@ -2299,6 +2658,9 @@ message Message {
|
|
|
2299
2658
|
optional ContextInfo contextInfo = 7;
|
|
2300
2659
|
optional string nativeFlowCallButtonPayload = 8;
|
|
2301
2660
|
optional string deeplinkPayload = 9;
|
|
2661
|
+
optional MessageContextInfo messageContextInfo = 10;
|
|
2662
|
+
optional uint32 callEntryPoint = 11;
|
|
2663
|
+
optional string callReason = 12;
|
|
2302
2664
|
}
|
|
2303
2665
|
|
|
2304
2666
|
message CallLogMessage {
|
|
@@ -2349,6 +2711,7 @@ message Message {
|
|
|
2349
2711
|
UNKNOWN = 0;
|
|
2350
2712
|
CONTROL_PASSED = 1;
|
|
2351
2713
|
CONTROL_TAKEN = 2;
|
|
2714
|
+
INFO = 3;
|
|
2352
2715
|
}
|
|
2353
2716
|
message CloudAPIThreadControlNotificationContent {
|
|
2354
2717
|
optional string handoffNotificationText = 1;
|
|
@@ -2366,6 +2729,7 @@ message Message {
|
|
|
2366
2729
|
optional string displayName = 1;
|
|
2367
2730
|
optional string vcard = 16;
|
|
2368
2731
|
optional ContextInfo contextInfo = 17;
|
|
2732
|
+
optional bool isSelfContact = 18;
|
|
2369
2733
|
}
|
|
2370
2734
|
|
|
2371
2735
|
message ContactsArrayMessage {
|
|
@@ -2407,6 +2771,7 @@ message Message {
|
|
|
2407
2771
|
optional string caption = 20;
|
|
2408
2772
|
optional string accessibilityLabel = 21;
|
|
2409
2773
|
optional Message.MediaKeyDomain mediaKeyDomain = 22;
|
|
2774
|
+
optional string qrUrl = 23;
|
|
2410
2775
|
}
|
|
2411
2776
|
|
|
2412
2777
|
message EncCommentMessage {
|
|
@@ -2496,6 +2861,7 @@ message Message {
|
|
|
2496
2861
|
CALISTOGA_REGULAR = 8;
|
|
2497
2862
|
EXO2_EXTRABOLD = 9;
|
|
2498
2863
|
COURIERPRIME_BOLD = 10;
|
|
2864
|
+
BEBASNEUE_REGULAR = 3;
|
|
2499
2865
|
}
|
|
2500
2866
|
enum InviteLinkGroupType {
|
|
2501
2867
|
DEFAULT = 0;
|
|
@@ -2515,6 +2881,13 @@ message Message {
|
|
|
2515
2881
|
|
|
2516
2882
|
message FullHistorySyncOnDemandRequestMetadata {
|
|
2517
2883
|
optional string requestId = 1;
|
|
2884
|
+
optional string businessProduct = 2;
|
|
2885
|
+
optional bytes opaqueClientData = 3;
|
|
2886
|
+
optional Message.FullHistorySyncOnDemandRequestMetadata.Connection connection = 4;
|
|
2887
|
+
message Connection {
|
|
2888
|
+
optional int64 providerId = 1;
|
|
2889
|
+
optional string product = 2;
|
|
2890
|
+
}
|
|
2518
2891
|
}
|
|
2519
2892
|
|
|
2520
2893
|
message FutureProofMessage {
|
|
@@ -2627,6 +3000,7 @@ message Message {
|
|
|
2627
3000
|
ON_DEMAND = 6;
|
|
2628
3001
|
NO_HISTORY = 7;
|
|
2629
3002
|
MESSAGE_ACCESS_STATUS = 8;
|
|
3003
|
+
RECENT_CONVERSATIONS_ON_DEMAND = 9;
|
|
2630
3004
|
}
|
|
2631
3005
|
message ImageMessage {
|
|
2632
3006
|
optional string url = 1;
|
|
@@ -2670,6 +3044,7 @@ message Message {
|
|
|
2670
3044
|
|
|
2671
3045
|
message InitialSecurityNotificationSettingSync {
|
|
2672
3046
|
optional bool securityNotificationEnabled = 1;
|
|
3047
|
+
optional int32 initialAppTheme = 2;
|
|
2673
3048
|
}
|
|
2674
3049
|
|
|
2675
3050
|
message InteractiveMessage {
|
|
@@ -2725,6 +3100,7 @@ message Message {
|
|
|
2725
3100
|
Message.LocationMessage locationMessage = 8;
|
|
2726
3101
|
Message.ProductMessage productMessage = 9;
|
|
2727
3102
|
}
|
|
3103
|
+
optional Message.InteractiveMessage.BloksWidget bloksWidget = 10;
|
|
2728
3104
|
}
|
|
2729
3105
|
|
|
2730
3106
|
message NativeFlowMessage {
|
|
@@ -2750,6 +3126,13 @@ message Message {
|
|
|
2750
3126
|
}
|
|
2751
3127
|
}
|
|
2752
3128
|
|
|
3129
|
+
optional Message.InteractiveMessage.BloksWidget bloksWidget = 8;
|
|
3130
|
+
message BloksWidget {
|
|
3131
|
+
optional string uuid = 1;
|
|
3132
|
+
optional string data = 2;
|
|
3133
|
+
optional string type = 3;
|
|
3134
|
+
optional string fallback = 4;
|
|
3135
|
+
}
|
|
2753
3136
|
}
|
|
2754
3137
|
|
|
2755
3138
|
message InteractiveResponseMessage {
|
|
@@ -2816,6 +3199,7 @@ message Message {
|
|
|
2816
3199
|
SINGLE_IMAGE = 4;
|
|
2817
3200
|
CAROUSEL = 5;
|
|
2818
3201
|
}
|
|
3202
|
+
optional string videoId = 10;
|
|
2819
3203
|
}
|
|
2820
3204
|
|
|
2821
3205
|
message ListMessage {
|
|
@@ -2942,11 +3326,23 @@ message Message {
|
|
|
2942
3326
|
repeated string historyReceivers = 1;
|
|
2943
3327
|
optional int64 oldestMessageTimestamp = 2;
|
|
2944
3328
|
optional int64 messageCount = 3;
|
|
3329
|
+
repeated string nonHistoryReceivers = 4;
|
|
3330
|
+
optional int64 oldestMessageTimestampInBundle = 5;
|
|
3331
|
+
optional bool includesChatTheme = 6;
|
|
2945
3332
|
}
|
|
2946
3333
|
|
|
2947
3334
|
message MessageHistoryNotice {
|
|
2948
3335
|
optional ContextInfo contextInfo = 1;
|
|
2949
3336
|
optional Message.MessageHistoryMetadata messageHistoryMetadata = 2;
|
|
3337
|
+
optional Message.MessageHistoryNotice.BotHistoryShareSyncMetadata botHistoryShareSyncMetadata = 3;
|
|
3338
|
+
message BotHistoryShareSyncMetadata {
|
|
3339
|
+
optional string botJid = 1;
|
|
3340
|
+
repeated Message.MessageHistoryNotice.BotHistoryShareSyncMetadata.HistoryShareMessage historyShareMessages = 3;
|
|
3341
|
+
message HistoryShareMessage {
|
|
3342
|
+
optional string stanzaId = 1;
|
|
3343
|
+
optional bytes messageSecretProof = 2;
|
|
3344
|
+
}
|
|
3345
|
+
}
|
|
2950
3346
|
}
|
|
2951
3347
|
|
|
2952
3348
|
message NewsletterAdminInviteMessage {
|
|
@@ -3006,7 +3402,15 @@ message Message {
|
|
|
3006
3402
|
FBPAY = 1;
|
|
3007
3403
|
NOVI = 2;
|
|
3008
3404
|
UPI = 3;
|
|
3405
|
+
PIX = 4;
|
|
3009
3406
|
}
|
|
3407
|
+
optional bool incentiveEligible = 3;
|
|
3408
|
+
optional string referralId = 4;
|
|
3409
|
+
optional Message.PaymentInviteMessage.InviteType inviteType = 5;
|
|
3410
|
+
enum InviteType {
|
|
3411
|
+
DEFAULT = 0;
|
|
3412
|
+
MAPPER = 1;
|
|
3413
|
+
}
|
|
3010
3414
|
}
|
|
3011
3415
|
|
|
3012
3416
|
message PaymentLinkMetadata {
|
|
@@ -3044,6 +3448,11 @@ message Message {
|
|
|
3044
3448
|
message FullHistorySyncOnDemandRequest {
|
|
3045
3449
|
optional Message.FullHistorySyncOnDemandRequestMetadata requestMetadata = 1;
|
|
3046
3450
|
optional DeviceProps.HistorySyncConfig historySyncConfig = 2;
|
|
3451
|
+
optional Message.PeerDataOperationRequestMessage.FullHistorySyncOnDemandRequest.FullHistorySyncOnDemandConfig fullHistorySyncOnDemandConfig = 3;
|
|
3452
|
+
message FullHistorySyncOnDemandConfig {
|
|
3453
|
+
optional int64 historyFromTimestamp = 1;
|
|
3454
|
+
optional int32 historyDurationDays = 2;
|
|
3455
|
+
}
|
|
3047
3456
|
}
|
|
3048
3457
|
|
|
3049
3458
|
message GalaxyFlowAction {
|
|
@@ -3052,7 +3461,10 @@ message Message {
|
|
|
3052
3461
|
optional string stanzaId = 3;
|
|
3053
3462
|
enum GalaxyFlowActionType {
|
|
3054
3463
|
NOTIFY_LAUNCH = 1;
|
|
3464
|
+
DOWNLOAD_RESPONSES = 2;
|
|
3055
3465
|
}
|
|
3466
|
+
optional string galaxyFlowDownloadRequestId = 4;
|
|
3467
|
+
optional string agmId = 5;
|
|
3056
3468
|
}
|
|
3057
3469
|
|
|
3058
3470
|
message HistorySyncChunkRetryRequest {
|
|
@@ -3069,6 +3481,7 @@ message Message {
|
|
|
3069
3481
|
optional int32 onDemandMsgCount = 4;
|
|
3070
3482
|
optional int64 oldestMsgTimestampMs = 5;
|
|
3071
3483
|
optional string accountLid = 6;
|
|
3484
|
+
optional bool supportInlineResponse = 7;
|
|
3072
3485
|
}
|
|
3073
3486
|
|
|
3074
3487
|
message PlaceholderMessageResendRequest {
|
|
@@ -3089,6 +3502,23 @@ message Message {
|
|
|
3089
3502
|
optional int64 timestamp = 2;
|
|
3090
3503
|
}
|
|
3091
3504
|
|
|
3505
|
+
optional Message.PeerDataOperationRequestMessage.CompanionCanonicalUserNonceFetchRequest companionCanonicalUserNonceFetchRequest = 10;
|
|
3506
|
+
optional Message.PeerDataOperationRequestMessage.BizBroadcastInsightsContactListRequest bizBroadcastInsightsContactListRequest = 11;
|
|
3507
|
+
optional Message.PeerDataOperationRequestMessage.BizBroadcastInsightsRefreshRequest bizBroadcastInsightsRefreshRequest = 12;
|
|
3508
|
+
optional Message.PeerDataOperationRequestMessage.RecentConversationsOnDemandRequest recentConversationsOnDemandRequest = 13;
|
|
3509
|
+
message CompanionCanonicalUserNonceFetchRequest {
|
|
3510
|
+
optional string registrationTraceId = 1;
|
|
3511
|
+
}
|
|
3512
|
+
message BizBroadcastInsightsContactListRequest {
|
|
3513
|
+
optional string campaignId = 1;
|
|
3514
|
+
}
|
|
3515
|
+
message BizBroadcastInsightsRefreshRequest {
|
|
3516
|
+
optional string campaignId = 1;
|
|
3517
|
+
}
|
|
3518
|
+
message RecentConversationsOnDemandRequest {
|
|
3519
|
+
optional uint32 conversationCount = 1;
|
|
3520
|
+
optional uint32 messagesPerConversation = 2;
|
|
3521
|
+
}
|
|
3092
3522
|
}
|
|
3093
3523
|
|
|
3094
3524
|
message PeerDataOperationRequestResponseMessage {
|
|
@@ -3129,6 +3559,7 @@ message Message {
|
|
|
3129
3559
|
ERROR_REQUEST_ON_NON_SMB_PRIMARY = 4;
|
|
3130
3560
|
ERROR_HOSTED_DEVICE_NOT_CONNECTED = 5;
|
|
3131
3561
|
ERROR_HOSTED_DEVICE_LOGIN_TIME_NOT_SET = 6;
|
|
3562
|
+
ERROR_MULTI_PROVIDER_NOT_CONFIGURED = 7;
|
|
3132
3563
|
}
|
|
3133
3564
|
message HistorySyncChunkRetryResponse {
|
|
3134
3565
|
optional Message.HistorySyncType syncType = 1;
|
|
@@ -3168,6 +3599,9 @@ message Message {
|
|
|
3168
3599
|
message PaymentLinkPreviewMetadata {
|
|
3169
3600
|
optional bool isBusinessVerified = 1;
|
|
3170
3601
|
optional string providerName = 2;
|
|
3602
|
+
optional string amount = 3;
|
|
3603
|
+
optional string offset = 4;
|
|
3604
|
+
optional string currency = 5;
|
|
3171
3605
|
}
|
|
3172
3606
|
|
|
3173
3607
|
}
|
|
@@ -3186,6 +3620,43 @@ message Message {
|
|
|
3186
3620
|
optional string waEntFbid = 2;
|
|
3187
3621
|
}
|
|
3188
3622
|
|
|
3623
|
+
optional Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FlowResponsesCsvBundle flowResponsesCsvBundle = 11;
|
|
3624
|
+
optional Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.BizBroadcastInsightsContactListResponse bizBroadcastInsightsContactListResponse = 12;
|
|
3625
|
+
optional Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ContactRefreshResponse contactRefreshResponse = 13;
|
|
3626
|
+
message FlowResponsesCsvBundle {
|
|
3627
|
+
optional string flowId = 1;
|
|
3628
|
+
optional string galaxyFlowDownloadRequestId = 2;
|
|
3629
|
+
optional string fileName = 3;
|
|
3630
|
+
optional string mimetype = 4;
|
|
3631
|
+
optional bytes fileSha256 = 5;
|
|
3632
|
+
optional bytes mediaKey = 6;
|
|
3633
|
+
optional bytes fileEncSha256 = 7;
|
|
3634
|
+
optional string directPath = 8;
|
|
3635
|
+
optional int64 mediaKeyTimestamp = 9;
|
|
3636
|
+
optional uint64 fileLength = 10;
|
|
3637
|
+
}
|
|
3638
|
+
message BizBroadcastInsightsContactListResponse {
|
|
3639
|
+
optional string campaignId = 1;
|
|
3640
|
+
optional int64 timestampMs = 2;
|
|
3641
|
+
repeated Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.BizBroadcastInsightsContactListResponse.Contact contacts = 3;
|
|
3642
|
+
message Contact {
|
|
3643
|
+
optional string contactJid = 1;
|
|
3644
|
+
optional Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.BizBroadcastInsightsContactListResponse.Contact.State state = 2;
|
|
3645
|
+
enum State {
|
|
3646
|
+
SENT = 0;
|
|
3647
|
+
DELIVERED = 1;
|
|
3648
|
+
READ = 2;
|
|
3649
|
+
REPLIED = 3;
|
|
3650
|
+
QUICK_REPLIED = 4;
|
|
3651
|
+
}
|
|
3652
|
+
}
|
|
3653
|
+
}
|
|
3654
|
+
message ContactRefreshResponse {
|
|
3655
|
+
repeated string coveredRequestIds = 1;
|
|
3656
|
+
optional uint64 collectionVersion = 2;
|
|
3657
|
+
optional int64 primaryDurationMs = 3;
|
|
3658
|
+
optional uint32 uniqueContactCount = 4;
|
|
3659
|
+
}
|
|
3189
3660
|
}
|
|
3190
3661
|
|
|
3191
3662
|
}
|
|
@@ -3203,6 +3674,10 @@ message Message {
|
|
|
3203
3674
|
COMPANION_CANONICAL_USER_NONCE_FETCH = 9;
|
|
3204
3675
|
HISTORY_SYNC_CHUNK_RETRY = 10;
|
|
3205
3676
|
GALAXY_FLOW_ACTION = 11;
|
|
3677
|
+
BUSINESS_BROADCAST_INSIGHTS_DELIVERED_TO = 12;
|
|
3678
|
+
BUSINESS_BROADCAST_INSIGHTS_REFRESH = 13;
|
|
3679
|
+
CONTACT_REFRESH_REQUEST = 14;
|
|
3680
|
+
RECENT_CONVERSATIONS_ON_DEMAND_REQUEST = 15;
|
|
3206
3681
|
}
|
|
3207
3682
|
message PinInChatMessage {
|
|
3208
3683
|
optional MessageKey key = 1;
|
|
@@ -3241,6 +3716,9 @@ message Message {
|
|
|
3241
3716
|
optional string optionHash = 2;
|
|
3242
3717
|
}
|
|
3243
3718
|
|
|
3719
|
+
optional int64 endTime = 9;
|
|
3720
|
+
optional bool hideParticipantName = 10;
|
|
3721
|
+
optional bool allowAddOption = 11;
|
|
3244
3722
|
}
|
|
3245
3723
|
|
|
3246
3724
|
message PollEncValue {
|
|
@@ -3272,6 +3750,8 @@ message Message {
|
|
|
3272
3750
|
}
|
|
3273
3751
|
|
|
3274
3752
|
message PollUpdateMessageMetadata {
|
|
3753
|
+
optional bytes pollNameHash = 1;
|
|
3754
|
+
optional string lastEditStanzaId = 2;
|
|
3275
3755
|
}
|
|
3276
3756
|
|
|
3277
3757
|
message PollVoteMessage {
|
|
@@ -3361,6 +3841,153 @@ message Message {
|
|
|
3361
3841
|
AI_QUERY_FANOUT = 29;
|
|
3362
3842
|
GROUP_MEMBER_LABEL_CHANGE = 30;
|
|
3363
3843
|
}
|
|
3844
|
+
optional Message.ProtocolMessage.AiMediaCollectionMessage aiMediaCollectionMessage = 28;
|
|
3845
|
+
optional uint32 afterReadDuration = 29;
|
|
3846
|
+
optional Message.ProtocolMessage.ChatThemeSetting chatThemeSetting = 30;
|
|
3847
|
+
optional Message.ProtocolMessage.AiMetadataOperation aiMetadataOperation = 31;
|
|
3848
|
+
optional Message.ProtocolMessage.MarkAsVerifiedAction markAsVerifiedAction = 32;
|
|
3849
|
+
optional Message.ProtocolMessage.CoexStateSync coexStateSync = 33;
|
|
3850
|
+
optional Message.ProtocolMessage.SyncRequestMutationRetry syncRequestMutationRetry = 34;
|
|
3851
|
+
optional Conversation.Acp2Setting acp2Setting = 35;
|
|
3852
|
+
optional Message.ProtocolMessage.SharedDeviceContactHashKeyShare sharedDeviceContactHashKeyShare = 36;
|
|
3853
|
+
optional Message.ProtocolMessage.SharedDeviceContactHashKeyRequest sharedDeviceContactHashKeyRequest = 37;
|
|
3854
|
+
repeated string additionalPromptIds = 38;
|
|
3855
|
+
optional Message.ProtocolMessage.GroupRootKeyRequest groupRootKeyRequest = 39;
|
|
3856
|
+
optional Message.ProtocolMessage.MembershipFormKeyFingerprintVerification membershipFormKeyFingerprintVerification = 40;
|
|
3857
|
+
optional Message.GroupRootKeyShare groupRootKeyShare = 41;
|
|
3858
|
+
optional Message.ProtocolMessage.MessageEditDisplayType messageEditDisplayType = 42;
|
|
3859
|
+
optional Message.ProtocolMessage.DraftMessageSync draftMessageSync = 43;
|
|
3860
|
+
enum MessageEditDisplayType {
|
|
3861
|
+
DEFAULT = 0;
|
|
3862
|
+
LINK_PREVIEW_ONLY = 1;
|
|
3863
|
+
}
|
|
3864
|
+
message AiMediaCollectionMessage {
|
|
3865
|
+
optional string collectionId = 1;
|
|
3866
|
+
optional uint32 expectedMediaCount = 2;
|
|
3867
|
+
optional bool hasGlobalCaption = 3;
|
|
3868
|
+
}
|
|
3869
|
+
message ChatThemeSetting {
|
|
3870
|
+
optional int64 settingTimestampMs = 1;
|
|
3871
|
+
optional bool clearTheme = 2;
|
|
3872
|
+
optional string colorSchemeId = 3;
|
|
3873
|
+
optional Message.ProtocolMessage.ChatThemeSetting.DefaultWallpaper defaultWallpaper = 10;
|
|
3874
|
+
optional Message.ProtocolMessage.ChatThemeSetting.SolidColor solidColor = 11;
|
|
3875
|
+
optional Message.ProtocolMessage.ChatThemeSetting.StockImage stockImage = 12;
|
|
3876
|
+
optional Message.ProtocolMessage.ChatThemeSetting.CustomImage customImage = 13;
|
|
3877
|
+
optional Message.ProtocolMessage.ChatThemeSetting.AnimatedWallpaper animatedWallpaper = 14;
|
|
3878
|
+
message DefaultWallpaper {
|
|
3879
|
+
optional bool isDoodleEnabled = 1;
|
|
3880
|
+
}
|
|
3881
|
+
message SolidColor {
|
|
3882
|
+
optional fixed32 backgroundLightArgb = 1;
|
|
3883
|
+
optional fixed32 backgroundDarkArgb = 2;
|
|
3884
|
+
optional bool isDoodleEnabled = 3;
|
|
3885
|
+
optional fixed32 doodleLightArgb = 4;
|
|
3886
|
+
optional fixed32 doodleDarkArgb = 5;
|
|
3887
|
+
}
|
|
3888
|
+
message StockImage {
|
|
3889
|
+
optional string stockImageId = 1;
|
|
3890
|
+
optional float dimLevel = 2;
|
|
3891
|
+
}
|
|
3892
|
+
message CustomImage {
|
|
3893
|
+
optional string directPath = 1;
|
|
3894
|
+
optional bytes mediaKey = 2;
|
|
3895
|
+
optional bytes fileEncSha256 = 3;
|
|
3896
|
+
optional bytes fileSha256 = 4;
|
|
3897
|
+
optional float dimLevel = 5;
|
|
3898
|
+
}
|
|
3899
|
+
message AnimatedWallpaper {
|
|
3900
|
+
optional string animatedWallpaperId = 1;
|
|
3901
|
+
optional float dimLevel = 2;
|
|
3902
|
+
}
|
|
3903
|
+
}
|
|
3904
|
+
message AiMetadataOperation {
|
|
3905
|
+
optional Message.ProtocolMessage.AiMetadataOperation.HatchMetadataSync hatchMetadataSync = 1;
|
|
3906
|
+
optional Message.ProtocolMessage.AiMetadataOperation.BizAiMetadataSync bizAiMetadataSync = 2;
|
|
3907
|
+
message HatchMetadataSync {
|
|
3908
|
+
optional bytes data = 1;
|
|
3909
|
+
optional int64 timestampMs = 2;
|
|
3910
|
+
optional string requestId = 3;
|
|
3911
|
+
}
|
|
3912
|
+
message BizAiMetadataSync {
|
|
3913
|
+
optional Message.ProtocolMessage.AiMetadataOperation.BizAiMetadataSync.ServerEvent serverEvent = 1;
|
|
3914
|
+
message ServerEvent {
|
|
3915
|
+
optional Message.ProtocolMessage.AiMetadataOperation.BizAiMetadataSync.ServerEvent.ProtocolEvent protocolEvent = 1;
|
|
3916
|
+
optional Message.ProtocolMessage.AiMetadataOperation.BizAiMetadataSync.ServerEvent.AgentOnboardingStarted agentOnboardingStarted = 2;
|
|
3917
|
+
enum ProtocolEvent {
|
|
3918
|
+
UNSPECIFIED = 0;
|
|
3919
|
+
AGENT_CHAT_READY = 1;
|
|
3920
|
+
}
|
|
3921
|
+
message AgentOnboardingStarted {
|
|
3922
|
+
optional int64 composerBlockDurationSecs = 1;
|
|
3923
|
+
}
|
|
3924
|
+
}
|
|
3925
|
+
}
|
|
3926
|
+
}
|
|
3927
|
+
message MarkAsVerifiedAction {
|
|
3928
|
+
optional string userJidString = 1;
|
|
3929
|
+
optional bool verified = 2;
|
|
3930
|
+
optional bytes verifiedIdentityKey = 3;
|
|
3931
|
+
optional uint64 actionSeq = 4;
|
|
3932
|
+
}
|
|
3933
|
+
message CoexStateSync {
|
|
3934
|
+
repeated Message.ProtocolMessage.CoexStateSync.CollectionMutation collectionMutations = 1;
|
|
3935
|
+
message CollectionMutation {
|
|
3936
|
+
optional string collection = 1;
|
|
3937
|
+
repeated Message.ProtocolMessage.CoexStateSync.CollectionMutation.Mutation mutations = 2;
|
|
3938
|
+
message Mutation {
|
|
3939
|
+
optional SyncdIndex index = 1;
|
|
3940
|
+
optional SyncdValue value = 2;
|
|
3941
|
+
optional uint64 dirtyVersion = 3;
|
|
3942
|
+
}
|
|
3943
|
+
}
|
|
3944
|
+
}
|
|
3945
|
+
message SyncRequestMutationRetry {
|
|
3946
|
+
repeated Message.ProtocolMessage.SyncRequestMutationRetry.Collection collections = 1;
|
|
3947
|
+
optional uint32 count = 2;
|
|
3948
|
+
message Collection {
|
|
3949
|
+
optional string name = 1;
|
|
3950
|
+
optional uint64 storedSyncdVersion = 2;
|
|
3951
|
+
}
|
|
3952
|
+
}
|
|
3953
|
+
message SharedDeviceContactHashKeyShare {
|
|
3954
|
+
repeated Message.ProtocolMessage.SharedDeviceContactHashKeyShare.KeyV2 keys = 1;
|
|
3955
|
+
message KeyV2 {
|
|
3956
|
+
optional uint32 epoch = 1;
|
|
3957
|
+
optional bytes keyData = 3;
|
|
3958
|
+
}
|
|
3959
|
+
}
|
|
3960
|
+
message SharedDeviceContactHashKeyRequest {
|
|
3961
|
+
optional uint32 knownEpoch = 1;
|
|
3962
|
+
}
|
|
3963
|
+
message GroupRootKeyRequest {
|
|
3964
|
+
optional string keyId = 1;
|
|
3965
|
+
}
|
|
3966
|
+
message MembershipFormKeyFingerprintVerification {
|
|
3967
|
+
optional string requestId = 1;
|
|
3968
|
+
optional string keyId = 2;
|
|
3969
|
+
optional bytes keyFingerprint = 3;
|
|
3970
|
+
}
|
|
3971
|
+
message DraftMessageSync {
|
|
3972
|
+
optional string chatJid = 1;
|
|
3973
|
+
optional string altChatJid = 2;
|
|
3974
|
+
optional Message.ProtocolMessage.DraftMessageSync.Action action = 3;
|
|
3975
|
+
optional int64 editTimestampMs = 4;
|
|
3976
|
+
optional Message draft = 5;
|
|
3977
|
+
optional Message.ProtocolMessage.DraftMessageSync.ClearReason clearReason = 6;
|
|
3978
|
+
enum Action {
|
|
3979
|
+
ACTION_UNKNOWN = 0;
|
|
3980
|
+
SET = 1;
|
|
3981
|
+
CLEAR = 2;
|
|
3982
|
+
}
|
|
3983
|
+
enum ClearReason {
|
|
3984
|
+
CLEAR_REASON_UNKNOWN = 0;
|
|
3985
|
+
USER_CLEARED = 1;
|
|
3986
|
+
SENT = 2;
|
|
3987
|
+
CHAT_LOCKED = 3;
|
|
3988
|
+
REPLACED_BY_NON_TEXT = 4;
|
|
3989
|
+
}
|
|
3990
|
+
}
|
|
3364
3991
|
}
|
|
3365
3992
|
|
|
3366
3993
|
message QuestionResponseMessage {
|
|
@@ -3395,6 +4022,14 @@ message Message {
|
|
|
3395
4022
|
EMPTY = 0;
|
|
3396
4023
|
NON_EMPTY = 1;
|
|
3397
4024
|
}
|
|
4025
|
+
optional Message.RequestWelcomeMessageMetadata.BotAgentMetadata botAgentMetadata = 3;
|
|
4026
|
+
message BotAgentMetadata {
|
|
4027
|
+
optional Message.RequestWelcomeMessageMetadata.BotAgentMetadata.DeepLinkMetadata deepLinkMetadata = 1;
|
|
4028
|
+
message DeepLinkMetadata {
|
|
4029
|
+
optional string token = 1;
|
|
4030
|
+
optional bytes clientPublicKey = 2;
|
|
4031
|
+
}
|
|
4032
|
+
}
|
|
3398
4033
|
}
|
|
3399
4034
|
|
|
3400
4035
|
message ScheduledCallCreationMessage {
|
|
@@ -3426,6 +4061,8 @@ message Message {
|
|
|
3426
4061
|
UNKNOWN = 0;
|
|
3427
4062
|
EVENT_EDIT = 1;
|
|
3428
4063
|
MESSAGE_EDIT = 2;
|
|
4064
|
+
POLL_EDIT = 4;
|
|
4065
|
+
POLL_ADD_OPTION = 5;
|
|
3429
4066
|
}
|
|
3430
4067
|
}
|
|
3431
4068
|
|
|
@@ -3450,6 +4087,7 @@ message Message {
|
|
|
3450
4087
|
STATUS_ADD_YOURS = 1;
|
|
3451
4088
|
STATUS_RESHARE = 2;
|
|
3452
4089
|
STATUS_QUESTION_ANSWER_RESHARE = 3;
|
|
4090
|
+
STATUS_GROUP_STATUS_REPLY = 4;
|
|
3453
4091
|
}
|
|
3454
4092
|
}
|
|
3455
4093
|
|
|
@@ -3500,6 +4138,9 @@ message Message {
|
|
|
3500
4138
|
optional bool isLottie = 21;
|
|
3501
4139
|
optional string accessibilityLabel = 22;
|
|
3502
4140
|
optional Message.MediaKeyDomain mediaKeyDomain = 23;
|
|
4141
|
+
optional int32 premium = 24;
|
|
4142
|
+
optional string emojis = 25;
|
|
4143
|
+
optional Message.AudioMessage audioMessage = 26;
|
|
3503
4144
|
}
|
|
3504
4145
|
|
|
3505
4146
|
message StickerPackMessage {
|
|
@@ -3647,8 +4288,179 @@ message Message {
|
|
|
3647
4288
|
USER_VIDEO = 0;
|
|
3648
4289
|
AI_GENERATED = 1;
|
|
3649
4290
|
}
|
|
3650
|
-
|
|
3651
|
-
|
|
4291
|
+
optional string dashManifestUrl = 33;
|
|
4292
|
+
optional int64 smartThumbnailTs = 34;
|
|
4293
|
+
}
|
|
4294
|
+
|
|
4295
|
+
optional Message.NewsletterFollowerInviteMessage newsletterFollowerInviteMessage = 108;
|
|
4296
|
+
optional Message.FutureProofMessage newsletterAdminProfileMessage = 116;
|
|
4297
|
+
optional Message.FutureProofMessage spoilerMessage = 118;
|
|
4298
|
+
optional Message.PollCreationMessage pollCreationMessageV6 = 119;
|
|
4299
|
+
optional Message.ConditionalRevealMessage conditionalRevealMessage = 120;
|
|
4300
|
+
optional Message.PollAddOptionMessage pollAddOptionMessage = 121;
|
|
4301
|
+
optional Message.EventInviteMessage eventInviteMessage = 122;
|
|
4302
|
+
optional Message.GroupRootKeyShare groupRootKeyShare = 123;
|
|
4303
|
+
optional Message.PaymentReminderMessage paymentReminderMessage = 124;
|
|
4304
|
+
optional Message.SplitPaymentMessage splitPaymentMessage = 125;
|
|
4305
|
+
optional Message.FutureProofMessage newsletterAdminProfileStatusMessage = 126;
|
|
4306
|
+
optional Message.RootSecretDistributeMessage rootSecretDistributeMessage = 127;
|
|
4307
|
+
optional Message.SplitPaymentUpdateMessage splitPaymentUpdateMessage = 128;
|
|
4308
|
+
optional Message.MusicMessage musicMessage = 129;
|
|
4309
|
+
optional Message.StatusLinkPreviewMetadata statusLinkPreviewMetadata = 130;
|
|
4310
|
+
optional Message.FutureProofMessage botPlatformRegistrationSuccessMessage = 131;
|
|
4311
|
+
optional Message.FutureProofMessage newsletterScheduledMessage = 132;
|
|
4312
|
+
optional Message.FutureProofMessage acp2SettingMessage = 133;
|
|
4313
|
+
optional Message.FutureProofMessage audioStickerMessage = 134;
|
|
4314
|
+
optional Message.ImageMessage instantImageMessage = 135;
|
|
4315
|
+
optional Message.RequestLocationMessage requestLocationMessage = 136;
|
|
4316
|
+
optional Message.FutureProofMessage botGroupParticipantMessage = 137;
|
|
4317
|
+
optional Message.RequestLocationUpdateMessage requestLocationUpdateMessage = 138;
|
|
4318
|
+
optional Message.VpcRequestMessage vpcRequestMessage = 139;
|
|
4319
|
+
optional Message.VideoMessage instantVideoMessage = 140;
|
|
4320
|
+
optional Message.PaymentDetailsMessage paymentDetailsMessage = 141;
|
|
4321
|
+
message ConditionalRevealMessage {
|
|
4322
|
+
optional bytes encPayload = 1;
|
|
4323
|
+
optional bytes encIv = 2;
|
|
4324
|
+
optional string revealKeyId = 4;
|
|
4325
|
+
}
|
|
4326
|
+
message PollAddOptionMessage {
|
|
4327
|
+
optional MessageKey pollCreationMessageKey = 1;
|
|
4328
|
+
optional Message.PollCreationMessage.Option addOption = 2;
|
|
4329
|
+
optional Message.PollUpdateMessageMetadata metadata = 3;
|
|
4330
|
+
}
|
|
4331
|
+
message EventInviteMessage {
|
|
4332
|
+
optional ContextInfo contextInfo = 1;
|
|
4333
|
+
optional string eventId = 2;
|
|
4334
|
+
optional string eventTitle = 3;
|
|
4335
|
+
optional bytes jpegThumbnail = 4;
|
|
4336
|
+
optional int64 startTime = 5;
|
|
4337
|
+
optional string caption = 6;
|
|
4338
|
+
optional bool isCanceled = 7;
|
|
4339
|
+
optional int64 endTime = 8;
|
|
4340
|
+
optional string callLink = 9;
|
|
4341
|
+
optional string coverImageHandle = 10;
|
|
4342
|
+
optional string locationName = 11;
|
|
4343
|
+
optional int64 lastUpdatedTsUsec = 12;
|
|
4344
|
+
optional Message.EventInviteMessage.StatusV2 status = 13;
|
|
4345
|
+
enum StatusV2 {
|
|
4346
|
+
UNKNOWN = 0;
|
|
4347
|
+
ACTIVE = 1;
|
|
4348
|
+
CANCELED = 2;
|
|
4349
|
+
SUSPENDED = 3;
|
|
4350
|
+
DELETED = 4;
|
|
4351
|
+
LEFT_EVENT = 5;
|
|
4352
|
+
REMOVED_FROM_INVITE_LIST = 6;
|
|
4353
|
+
}
|
|
4354
|
+
}
|
|
4355
|
+
message GroupRootKeyShare {
|
|
4356
|
+
repeated Message.GroupRootKeyShare.Key keys = 1;
|
|
4357
|
+
message Key {
|
|
4358
|
+
optional bytes groupRootKey = 1;
|
|
4359
|
+
optional string keyId = 2;
|
|
4360
|
+
optional int64 expiryTimestampMs = 3;
|
|
4361
|
+
optional int64 createdTimestampMs = 4;
|
|
4362
|
+
}
|
|
4363
|
+
}
|
|
4364
|
+
message PaymentReminderMessage {
|
|
4365
|
+
optional string reminderId = 1;
|
|
4366
|
+
optional string instanceId = 2;
|
|
4367
|
+
optional string description = 3;
|
|
4368
|
+
optional Message.PaymentReminderMessage.Frequency frequency = 4;
|
|
4369
|
+
optional Message.PaymentReminderMessage.StatusV3 status = 5;
|
|
4370
|
+
optional string payeeVpa = 6;
|
|
4371
|
+
optional string payeeJid = 7;
|
|
4372
|
+
optional string payerJid = 8;
|
|
4373
|
+
optional Money amount = 9;
|
|
4374
|
+
enum Frequency {
|
|
4375
|
+
REMINDER_FREQUENCY_UNKNOWN = 0;
|
|
4376
|
+
WEEKLY = 1;
|
|
4377
|
+
BI_WEEKLY = 2;
|
|
4378
|
+
MONTHLY = 3;
|
|
4379
|
+
QUARTERLY = 4;
|
|
4380
|
+
}
|
|
4381
|
+
enum StatusV3 {
|
|
4382
|
+
REMINDER_STATUS_UNKNOWN = 0;
|
|
4383
|
+
ACTIVE = 1;
|
|
4384
|
+
CANCELLED_BY_CREATOR = 2;
|
|
4385
|
+
STOPPED_BY_RECEIVER = 3;
|
|
4386
|
+
EXPIRED = 4;
|
|
4387
|
+
PAID = 5;
|
|
4388
|
+
}
|
|
4389
|
+
}
|
|
4390
|
+
message SplitPaymentMessage {
|
|
4391
|
+
optional string splitId = 1;
|
|
4392
|
+
optional Money totalAmount = 2;
|
|
4393
|
+
optional string description = 3;
|
|
4394
|
+
optional string requesterJid = 4;
|
|
4395
|
+
repeated Message.SplitPaymentMessage.Participant participants = 5;
|
|
4396
|
+
optional int64 createdAtMs = 6;
|
|
4397
|
+
optional ContextInfo contextInfo = 17;
|
|
4398
|
+
message Participant {
|
|
4399
|
+
optional string jid = 1;
|
|
4400
|
+
optional Money amount = 2;
|
|
4401
|
+
}
|
|
4402
|
+
}
|
|
4403
|
+
message RootSecretDistributeMessage {
|
|
4404
|
+
optional string chatJid = 1;
|
|
4405
|
+
}
|
|
4406
|
+
message SplitPaymentUpdateMessage {
|
|
4407
|
+
optional string splitId = 1;
|
|
4408
|
+
optional string participantJid = 2;
|
|
4409
|
+
}
|
|
4410
|
+
message MusicMessage {
|
|
4411
|
+
optional EmbeddedMusic embeddedMusic = 1;
|
|
4412
|
+
optional string songUri = 2;
|
|
4413
|
+
optional string artworkUri = 3;
|
|
4414
|
+
optional int32 style = 4;
|
|
4415
|
+
optional ContextInfo contextInfo = 5;
|
|
4416
|
+
optional Message.MusicMessage.Lyrics lyrics = 6;
|
|
4417
|
+
message Lyrics {
|
|
4418
|
+
repeated Message.MusicMessage.Lyrics.Line lines = 1;
|
|
4419
|
+
message Line {
|
|
4420
|
+
optional int64 startTimeInMs = 1;
|
|
4421
|
+
optional int64 endTimeInMs = 2;
|
|
4422
|
+
optional string text = 3;
|
|
4423
|
+
repeated Message.MusicMessage.Lyrics.Line.WordOffset wordOffsets = 4;
|
|
4424
|
+
message WordOffset {
|
|
4425
|
+
optional int32 startIndex = 1;
|
|
4426
|
+
optional int32 endIndex = 2;
|
|
4427
|
+
optional int64 startOffsetMs = 3;
|
|
4428
|
+
optional int64 endOffsetMs = 4;
|
|
4429
|
+
}
|
|
4430
|
+
}
|
|
4431
|
+
}
|
|
4432
|
+
}
|
|
4433
|
+
message StatusLinkPreviewMetadata {
|
|
4434
|
+
}
|
|
4435
|
+
message RequestLocationMessage {
|
|
4436
|
+
optional ContextInfo contextInfo = 1;
|
|
4437
|
+
}
|
|
4438
|
+
message RequestLocationUpdateMessage {
|
|
4439
|
+
optional MessageKey key = 1;
|
|
4440
|
+
optional int64 senderTimestampMs = 3;
|
|
4441
|
+
}
|
|
4442
|
+
message VpcRequestMessage {
|
|
4443
|
+
optional uint32 payloadSchemaVersion = 1;
|
|
4444
|
+
optional string requestId = 2;
|
|
4445
|
+
}
|
|
4446
|
+
message PaymentDetailsMessage {
|
|
4447
|
+
optional Message.PaymentDetailsMessage.ServiceTypeV2 serviceType = 1;
|
|
4448
|
+
optional Money amount = 2;
|
|
4449
|
+
optional string payeeName = 3;
|
|
4450
|
+
optional string payerName = 4;
|
|
4451
|
+
optional int64 transactionTimestampMs = 5;
|
|
4452
|
+
optional string transactionId = 6;
|
|
4453
|
+
optional Message.PaymentDetailsMessage.StatusV4 status = 7;
|
|
4454
|
+
optional ContextInfo contextInfo = 17;
|
|
4455
|
+
enum ServiceTypeV2 {
|
|
4456
|
+
UNKNOWN = 0;
|
|
4457
|
+
UPI = 1;
|
|
4458
|
+
}
|
|
4459
|
+
enum StatusV4 {
|
|
4460
|
+
STATUS_UNKNOWN = 0;
|
|
4461
|
+
SUCCESS = 1;
|
|
4462
|
+
}
|
|
4463
|
+
}
|
|
3652
4464
|
}
|
|
3653
4465
|
|
|
3654
4466
|
message MessageAddOn {
|
|
@@ -3666,6 +4478,7 @@ message MessageAddOn {
|
|
|
3666
4478
|
EVENT_RESPONSE = 2;
|
|
3667
4479
|
POLL_UPDATE = 3;
|
|
3668
4480
|
PIN_IN_CHAT = 4;
|
|
4481
|
+
REQUEST_LOCATION_UPDATE = 5;
|
|
3669
4482
|
}
|
|
3670
4483
|
}
|
|
3671
4484
|
|
|
@@ -3699,6 +4512,11 @@ message MessageAssociation {
|
|
|
3699
4512
|
STATUS_ADD_YOURS_DIWALI = 17;
|
|
3700
4513
|
STATUS_REACTION = 18;
|
|
3701
4514
|
HEVC_VIDEO_DUAL_UPLOAD = 19;
|
|
4515
|
+
POLL_ADD_OPTION = 20;
|
|
4516
|
+
AV1_VIDEO_DUAL_UPLOAD = 21;
|
|
4517
|
+
STREAMED_HD_VIDEO_DUAL_UPLOAD = 22;
|
|
4518
|
+
ORIGINAL_VIDEO_DUAL_UPLOAD = 23;
|
|
4519
|
+
ORIGINAL_IMAGE_DUAL_UPLOAD = 24;
|
|
3702
4520
|
}
|
|
3703
4521
|
}
|
|
3704
4522
|
|
|
@@ -3723,6 +4541,13 @@ message MessageContextInfo {
|
|
|
3723
4541
|
STATIC = 1;
|
|
3724
4542
|
DEPENDENT_ON_PARENT = 2;
|
|
3725
4543
|
}
|
|
4544
|
+
optional bytes teeBotMetadata = 17;
|
|
4545
|
+
optional MessageContextInfo.AccountEncryptionAttestation accountEncryptionAttestation = 18;
|
|
4546
|
+
optional bytes associatedPrimaryIdentityKey = 19;
|
|
4547
|
+
optional string teeContextAnchorMessageId = 20;
|
|
4548
|
+
optional Conversation.Acp2Setting acp2Setting = 21;
|
|
4549
|
+
message AccountEncryptionAttestation {
|
|
4550
|
+
}
|
|
3726
4551
|
}
|
|
3727
4552
|
|
|
3728
4553
|
message MessageKey {
|
|
@@ -4106,6 +4931,38 @@ message Point {
|
|
|
4106
4931
|
|
|
4107
4932
|
message PollAdditionalMetadata {
|
|
4108
4933
|
optional bool pollInvalidated = 1;
|
|
4934
|
+
repeated PollAdditionalMetadata.PollNameHashHistory pollNameHashHistory = 2;
|
|
4935
|
+
repeated Message.PollCreationMessage.Option originalOptions = 3;
|
|
4936
|
+
repeated PollAdditionalMetadata.PollOptionReplayEntry pollOptionReplayEntries = 4;
|
|
4937
|
+
optional PollAdditionalMetadata.PollOptionReplayBase pollOptionReplayBase = 5;
|
|
4938
|
+
message PollNameHashHistory {
|
|
4939
|
+
optional string editStanzaId = 1;
|
|
4940
|
+
optional bytes pollNameHash = 2;
|
|
4941
|
+
}
|
|
4942
|
+
message PollOptionReplayEntry {
|
|
4943
|
+
optional PollAdditionalMetadata.PollOptionReplayEntry.TypeV2 type = 1;
|
|
4944
|
+
optional MessageKey messageKey = 2;
|
|
4945
|
+
optional int64 serverTimestampMs = 3;
|
|
4946
|
+
optional int64 editTimestampMs = 4;
|
|
4947
|
+
repeated bytes optionHashes = 5;
|
|
4948
|
+
optional MessageKey revokedMessageKey = 6;
|
|
4949
|
+
enum TypeV2 {
|
|
4950
|
+
UNKNOWN = 0;
|
|
4951
|
+
EDIT = 1;
|
|
4952
|
+
ADD = 2;
|
|
4953
|
+
REVOKE = 3;
|
|
4954
|
+
}
|
|
4955
|
+
}
|
|
4956
|
+
message PollOptionReplayBase {
|
|
4957
|
+
optional int64 boundaryTimestampMs = 1;
|
|
4958
|
+
optional int64 editTimestampMs = 2;
|
|
4959
|
+
repeated PollAdditionalMetadata.PollOptionReplayBase.OptionV2 options = 3;
|
|
4960
|
+
message OptionV2 {
|
|
4961
|
+
optional bytes optionHash = 1;
|
|
4962
|
+
optional int64 enteredTimestampMs = 2;
|
|
4963
|
+
optional MessageKey addMessageKey = 3;
|
|
4964
|
+
}
|
|
4965
|
+
}
|
|
4109
4966
|
}
|
|
4110
4967
|
|
|
4111
4968
|
message PollEncValue {
|
|
@@ -4119,6 +4976,7 @@ message PollUpdate {
|
|
|
4119
4976
|
optional int64 senderTimestampMs = 3;
|
|
4120
4977
|
optional int64 serverTimestampMs = 4;
|
|
4121
4978
|
optional bool unread = 5;
|
|
4979
|
+
optional Message.PollUpdateMessageMetadata metadata = 6;
|
|
4122
4980
|
}
|
|
4123
4981
|
|
|
4124
4982
|
message PreKeyRecordStructure {
|
|
@@ -4134,6 +4992,8 @@ message PreKeySignalMessage {
|
|
|
4134
4992
|
optional bytes baseKey = 2;
|
|
4135
4993
|
optional bytes identityKey = 3;
|
|
4136
4994
|
optional bytes message = 4;
|
|
4995
|
+
optional uint32 kyberPreKeyId = 7;
|
|
4996
|
+
optional bytes kyberCiphertext = 8;
|
|
4137
4997
|
}
|
|
4138
4998
|
|
|
4139
4999
|
message PremiumMessageInfo {
|
|
@@ -4209,6 +5069,7 @@ message Reportable {
|
|
|
4209
5069
|
|
|
4210
5070
|
message ReportingTokenInfo {
|
|
4211
5071
|
optional bytes reportingTag = 1;
|
|
5072
|
+
optional uint64 reportingTagTimestamp = 2;
|
|
4212
5073
|
}
|
|
4213
5074
|
|
|
4214
5075
|
message SenderKeyDistributionMessage {
|
|
@@ -4303,6 +5164,11 @@ message SessionStructure {
|
|
|
4303
5164
|
optional bytes baseKey = 2;
|
|
4304
5165
|
}
|
|
4305
5166
|
|
|
5167
|
+
optional SessionStructure.PendingKyberPreKey pendingKyberPreKey = 14;
|
|
5168
|
+
message PendingKyberPreKey {
|
|
5169
|
+
optional uint32 preKeyId = 1;
|
|
5170
|
+
optional bytes ciphertext = 2;
|
|
5171
|
+
}
|
|
4306
5172
|
}
|
|
4307
5173
|
|
|
4308
5174
|
message SessionTransparencyMetadata {
|
|
@@ -4366,6 +5232,9 @@ message StatusAttribution {
|
|
|
4366
5232
|
APPLE_MUSIC = 8;
|
|
4367
5233
|
SHARECHAT = 9;
|
|
4368
5234
|
GOOGLE_PHOTOS = 10;
|
|
5235
|
+
SOUNDCLOUD = 11;
|
|
5236
|
+
SHAZAM = 12;
|
|
5237
|
+
PICSART = 13;
|
|
4369
5238
|
}
|
|
4370
5239
|
}
|
|
4371
5240
|
|
|
@@ -4421,7 +5290,17 @@ message StatusAttribution {
|
|
|
4421
5290
|
RL_ATTRIBUTION = 6;
|
|
4422
5291
|
AI_CREATED = 7;
|
|
4423
5292
|
LAYOUTS = 8;
|
|
5293
|
+
NEWSLETTER_STATUS = 9;
|
|
5294
|
+
STATUS_CLOSE_SHARING = 10;
|
|
5295
|
+
USERNAME_STATUS = 12;
|
|
5296
|
+
STATUS_TEMPLATES = 13;
|
|
4424
5297
|
}
|
|
5298
|
+
optional StatusAttribution.StatusTemplate statusTemplate = 9;
|
|
5299
|
+
message StatusTemplate {
|
|
5300
|
+
optional string templateId = 1;
|
|
5301
|
+
optional string templateName = 2;
|
|
5302
|
+
optional string thumbnailUrl = 3;
|
|
5303
|
+
}
|
|
4425
5304
|
}
|
|
4426
5305
|
|
|
4427
5306
|
message StatusMentionMessage {
|
|
@@ -4573,6 +5452,9 @@ message SyncActionValue {
|
|
|
4573
5452
|
optional bool deleted = 1;
|
|
4574
5453
|
repeated SyncActionValue.BroadcastListParticipant participants = 2;
|
|
4575
5454
|
optional string listName = 3;
|
|
5455
|
+
repeated string labelIds = 4;
|
|
5456
|
+
optional string audienceExpression = 5;
|
|
5457
|
+
optional string customAudienceFbid = 6;
|
|
4576
5458
|
}
|
|
4577
5459
|
|
|
4578
5460
|
message CallLogAction {
|
|
@@ -4598,6 +5480,8 @@ message SyncActionValue {
|
|
|
4598
5480
|
optional bool saveOnPrimaryAddressbook = 4;
|
|
4599
5481
|
optional string pnJid = 5;
|
|
4600
5482
|
optional string username = 6;
|
|
5483
|
+
optional string birthday = 7;
|
|
5484
|
+
optional int32 nonE2EeType = 8;
|
|
4601
5485
|
}
|
|
4602
5486
|
|
|
4603
5487
|
message CtwaPerCustomerDataSharingAction {
|
|
@@ -4655,6 +5539,7 @@ message SyncActionValue {
|
|
|
4655
5539
|
enum InteractiveMessageActionMode {
|
|
4656
5540
|
DISABLE_CTA = 1;
|
|
4657
5541
|
}
|
|
5542
|
+
optional string agmId = 2;
|
|
4658
5543
|
}
|
|
4659
5544
|
|
|
4660
5545
|
message KeyExpiration {
|
|
@@ -4663,6 +5548,7 @@ message SyncActionValue {
|
|
|
4663
5548
|
|
|
4664
5549
|
message LabelAssociationAction {
|
|
4665
5550
|
optional bool labeled = 1;
|
|
5551
|
+
optional string modelMetaData = 2;
|
|
4666
5552
|
}
|
|
4667
5553
|
|
|
4668
5554
|
message LabelEditAction {
|
|
@@ -4686,6 +5572,17 @@ message SyncActionValue {
|
|
|
4686
5572
|
SERVER_ASSIGNED = 7;
|
|
4687
5573
|
DRAFTED = 8;
|
|
4688
5574
|
AI_HANDOFF = 9;
|
|
5575
|
+
CHANNELS = 10;
|
|
5576
|
+
AI_RESPONDING = 11;
|
|
5577
|
+
ARCHIVED = 12;
|
|
5578
|
+
LOCKED = 13;
|
|
5579
|
+
INVITES = 14;
|
|
5580
|
+
THIRD_PARTY = 15;
|
|
5581
|
+
LEAD = 16;
|
|
5582
|
+
MENTIONS_AND_REPLIES = 17;
|
|
5583
|
+
REQUESTS = 18;
|
|
5584
|
+
BUSINESS = 19;
|
|
5585
|
+
ONE_ON_ONE = 20;
|
|
4689
5586
|
}
|
|
4690
5587
|
}
|
|
4691
5588
|
|
|
@@ -4758,6 +5655,7 @@ message SyncActionValue {
|
|
|
4758
5655
|
optional bool muted = 1;
|
|
4759
5656
|
optional int64 muteEndTimestamp = 2;
|
|
4760
5657
|
optional bool autoMuted = 3;
|
|
5658
|
+
optional int64 muteEveryoneMentionEndTimestamp = 4;
|
|
4761
5659
|
}
|
|
4762
5660
|
|
|
4763
5661
|
message NewsletterSavedInterestsAction {
|
|
@@ -4849,6 +5747,7 @@ message SyncActionValue {
|
|
|
4849
5747
|
repeated string keywords = 3;
|
|
4850
5748
|
optional int32 count = 4;
|
|
4851
5749
|
optional bool deleted = 5;
|
|
5750
|
+
repeated string associatedLabelIds = 6;
|
|
4852
5751
|
}
|
|
4853
5752
|
|
|
4854
5753
|
message RecentEmojiWeightsAction {
|
|
@@ -4875,7 +5774,18 @@ message SyncActionValue {
|
|
|
4875
5774
|
DENY_LIST = 1;
|
|
4876
5775
|
CONTACTS = 2;
|
|
4877
5776
|
CLOSE_FRIENDS = 3;
|
|
4878
|
-
|
|
5777
|
+
CUSTOM_LIST = 4;
|
|
5778
|
+
}
|
|
5779
|
+
optional bool shareToFB = 3;
|
|
5780
|
+
optional bool shareToIG = 4;
|
|
5781
|
+
repeated SyncActionValue.StatusPrivacyAction.CustomList customLists = 5;
|
|
5782
|
+
message CustomList {
|
|
5783
|
+
optional string listId = 1;
|
|
5784
|
+
optional string name = 2;
|
|
5785
|
+
optional string emoji = 3;
|
|
5786
|
+
optional bool isSelected = 4;
|
|
5787
|
+
repeated string userJid = 5;
|
|
5788
|
+
}
|
|
4879
5789
|
}
|
|
4880
5790
|
|
|
4881
5791
|
message StickerAction {
|
|
@@ -4948,6 +5858,225 @@ message SyncActionValue {
|
|
|
4948
5858
|
optional string identifier = 1;
|
|
4949
5859
|
}
|
|
4950
5860
|
|
|
5861
|
+
optional SyncActionValue.SettingsSyncAction settingsSyncAction = 78;
|
|
5862
|
+
optional SyncActionValue.LidContactAction outContactAction = 79;
|
|
5863
|
+
optional SyncActionValue.NctSaltSyncAction nctSaltSyncAction = 80;
|
|
5864
|
+
optional SyncActionValue.BusinessBroadcastCampaignAction businessBroadcastCampaignAction = 81;
|
|
5865
|
+
optional SyncActionValue.BusinessBroadcastInsightsAction businessBroadcastInsightsAction = 82;
|
|
5866
|
+
optional SyncActionValue.CustomerDataAction customerDataAction = 83;
|
|
5867
|
+
optional SyncActionValue.SubscriptionsSyncV2Action subscriptionsSyncV2Action = 84;
|
|
5868
|
+
optional SyncActionValue.ThreadPinAction threadPinAction = 85;
|
|
5869
|
+
optional SyncActionValue.AutoOrganizeBusinessChatSetting autoOrganizeBusinessChatSetting = 86;
|
|
5870
|
+
optional SyncActionValue.BizAiSettingsNudgeAction bizAiSettingsNudgeAction = 87;
|
|
5871
|
+
optional SyncActionValue.CoexV2VersionAction coexV2VersionAction = 88;
|
|
5872
|
+
optional SyncActionValue.WasaRootSecretAction wasaRootSecretAction = 89;
|
|
5873
|
+
optional SyncActionValue.BubbleLockMessageAction bubbleLockMessageAction = 90;
|
|
5874
|
+
optional SyncActionValue.LabelSublistAction labelSublistAction = 91;
|
|
5875
|
+
optional DeviceCapabilities deviceCapabilitiesV2 = 92;
|
|
5876
|
+
optional SyncActionValue.CtwaMessageReceivedAction ctwaMessageReceivedAction = 93;
|
|
5877
|
+
optional SyncActionValue.SharedDeviceAllowlistAction sharedDeviceAllowlistAction = 94;
|
|
5878
|
+
optional SyncActionValue.ContactManagerMetadataAction contactManagerMetadataAction = 95;
|
|
5879
|
+
optional SyncActionValue.BusinessFolderActivationAction businessFolderActivationAction = 96;
|
|
5880
|
+
optional SyncActionValue.GroupHistoryToggleAction groupHistoryToggleAction = 97;
|
|
5881
|
+
optional SyncActionValue.BbProPendingCustomerBaseAction bbProPendingCustomerBaseAction = 98;
|
|
5882
|
+
optional SyncActionValue.CommunityNestingStateAction communityNestingStateAction = 99;
|
|
5883
|
+
optional SyncActionValue.SharedDeviceSecretAction sharedDeviceSecretAction = 100;
|
|
5884
|
+
optional SyncActionValue.HatchCvmSecretAction hatchCvmSecretAction = 101;
|
|
5885
|
+
optional SyncActionValue.BusinessFolderChatPreferenceAction businessFolderChatPreferenceAction = 102;
|
|
5886
|
+
message SettingsSyncAction {
|
|
5887
|
+
optional bool startAtLogin = 1;
|
|
5888
|
+
optional bool minimizeToTray = 2;
|
|
5889
|
+
optional string language = 3;
|
|
5890
|
+
optional bool replaceTextWithEmoji = 4;
|
|
5891
|
+
optional SyncActionValue.SettingsSyncAction.BannerNotificationDisplayMode bannerNotificationDisplayMode = 5;
|
|
5892
|
+
optional bool isMessagesNotificationEnabled = 7;
|
|
5893
|
+
optional bool isCallsNotificationEnabled = 8;
|
|
5894
|
+
optional bool isReactionsNotificationEnabled = 9;
|
|
5895
|
+
optional bool isStatusReactionsNotificationEnabled = 10;
|
|
5896
|
+
optional bool isTextPreviewForNotificationEnabled = 11;
|
|
5897
|
+
optional int32 defaultNotificationToneId = 12;
|
|
5898
|
+
optional int32 groupDefaultNotificationToneId = 13;
|
|
5899
|
+
optional int32 appTheme = 14;
|
|
5900
|
+
optional int32 wallpaperId = 15;
|
|
5901
|
+
optional bool isDoodleWallpaperEnabled = 16;
|
|
5902
|
+
optional int32 fontSize = 17;
|
|
5903
|
+
optional bool isPhotosAutodownloadEnabled = 18;
|
|
5904
|
+
optional bool isAudiosAutodownloadEnabled = 19;
|
|
5905
|
+
optional bool isVideosAutodownloadEnabled = 20;
|
|
5906
|
+
optional bool isDocumentsAutodownloadEnabled = 21;
|
|
5907
|
+
optional bool disableLinkPreviews = 22;
|
|
5908
|
+
optional int32 notificationToneId = 23;
|
|
5909
|
+
optional SyncActionValue.SettingsSyncAction.MediaUploadQuality mediaUploadQuality = 24;
|
|
5910
|
+
optional bool isSpellCheckEnabled = 25;
|
|
5911
|
+
optional bool isEnterToSendEnabled = 26;
|
|
5912
|
+
optional bool isGroupMessageNotificationEnabled = 27;
|
|
5913
|
+
optional bool isGroupReactionsNotificationEnabled = 28;
|
|
5914
|
+
optional bool isStatusNotificationEnabled = 29;
|
|
5915
|
+
optional int32 statusNotificationToneId = 30;
|
|
5916
|
+
optional bool shouldPlaySoundForCallNotification = 31;
|
|
5917
|
+
optional string chatThemeId = 32;
|
|
5918
|
+
optional string colorSchemeId = 33;
|
|
5919
|
+
optional string stockWallpaperImageId = 34;
|
|
5920
|
+
optional SyncActionValue.SettingsSyncAction.MediaAutoDownloadQuality mediaAutoDownloadQuality = 35;
|
|
5921
|
+
enum BannerNotificationDisplayMode {
|
|
5922
|
+
DISPLAY_MODE_UNKNOWN = 0;
|
|
5923
|
+
ALWAYS = 1;
|
|
5924
|
+
NEVER = 2;
|
|
5925
|
+
ONLY_WHEN_APP_IS_OPEN = 3;
|
|
5926
|
+
}
|
|
5927
|
+
enum MediaUploadQuality {
|
|
5928
|
+
MEDIA_QUALITY_UNKNOWN = 0;
|
|
5929
|
+
STANDARD = 1;
|
|
5930
|
+
HD = 2;
|
|
5931
|
+
}
|
|
5932
|
+
enum MediaAutoDownloadQuality {
|
|
5933
|
+
MEDIA_AUTO_DOWNLOAD_QUALITY_UNKNOWN = 0;
|
|
5934
|
+
MEDIA_AUTO_DOWNLOAD_QUALITY_STANDARD = 1;
|
|
5935
|
+
MEDIA_AUTO_DOWNLOAD_QUALITY_HD = 2;
|
|
5936
|
+
MEDIA_AUTO_DOWNLOAD_QUALITY_AUTO = 3;
|
|
5937
|
+
}
|
|
5938
|
+
}
|
|
5939
|
+
message NctSaltSyncAction {
|
|
5940
|
+
optional bytes salt = 1;
|
|
5941
|
+
}
|
|
5942
|
+
message BusinessBroadcastCampaignAction {
|
|
5943
|
+
optional int32 deviceId = 1;
|
|
5944
|
+
optional string adId = 2;
|
|
5945
|
+
optional string name = 3;
|
|
5946
|
+
optional string msgId = 4;
|
|
5947
|
+
optional string broadcastJid = 5;
|
|
5948
|
+
optional int32 reservedQuota = 6;
|
|
5949
|
+
optional int64 scheduledTimestamp = 7;
|
|
5950
|
+
optional int64 createTimestamp = 8;
|
|
5951
|
+
optional SyncActionValue.BusinessBroadcastCampaignAction.StatusV5 status = 9;
|
|
5952
|
+
optional SyncActionValue.BusinessBroadcastCampaignAction.BbProStatus bbProStatus = 10;
|
|
5953
|
+
optional string customAudienceFbid = 11;
|
|
5954
|
+
enum StatusV5 {
|
|
5955
|
+
DRAFT = 1;
|
|
5956
|
+
SCHEDULED = 2;
|
|
5957
|
+
PROCESSING = 3;
|
|
5958
|
+
FAILED = 4;
|
|
5959
|
+
SENT = 5;
|
|
5960
|
+
}
|
|
5961
|
+
enum BbProStatus {
|
|
5962
|
+
BB_PRO_ACTIVE = 1;
|
|
5963
|
+
BB_PRO_COMPLETED = 2;
|
|
5964
|
+
BB_PRO_IN_DRAFT = 3;
|
|
5965
|
+
BB_PRO_IN_REVIEW = 4;
|
|
5966
|
+
BB_PRO_NOT_SENDING = 5;
|
|
5967
|
+
BB_PRO_OFF = 6;
|
|
5968
|
+
BB_PRO_REJECTED = 7;
|
|
5969
|
+
BB_PRO_SCHEDULED = 8;
|
|
5970
|
+
BB_PRO_SENDING_LIMITED = 9;
|
|
5971
|
+
BB_PRO_PROCESSING = 10;
|
|
5972
|
+
}
|
|
5973
|
+
}
|
|
5974
|
+
message BusinessBroadcastInsightsAction {
|
|
5975
|
+
optional int32 recipientCount = 1;
|
|
5976
|
+
optional int32 deliveredCount = 2;
|
|
5977
|
+
optional int32 readCount = 3;
|
|
5978
|
+
optional int32 repliedCount = 4;
|
|
5979
|
+
optional int32 quickReplyCount = 5;
|
|
5980
|
+
}
|
|
5981
|
+
message CustomerDataAction {
|
|
5982
|
+
optional string chatJid = 1;
|
|
5983
|
+
optional int32 contactType = 2;
|
|
5984
|
+
optional string email = 3;
|
|
5985
|
+
optional string altPhoneNumbers = 4;
|
|
5986
|
+
optional int64 birthday = 5;
|
|
5987
|
+
optional string address = 6;
|
|
5988
|
+
optional int32 acquisitionSource = 7;
|
|
5989
|
+
optional int32 leadStage = 8;
|
|
5990
|
+
optional int64 lastOrder = 9;
|
|
5991
|
+
optional int64 createdAt = 10;
|
|
5992
|
+
optional int64 modifiedAt = 11;
|
|
5993
|
+
}
|
|
5994
|
+
message SubscriptionsSyncV2Action {
|
|
5995
|
+
repeated SyncActionValue.SubscriptionsSyncV2Action.Subscription subscriptions = 1;
|
|
5996
|
+
repeated SyncActionValue.SubscriptionsSyncV2Action.PaidFeature paidFeature = 2;
|
|
5997
|
+
message Subscription {
|
|
5998
|
+
optional string id = 1;
|
|
5999
|
+
optional int32 tier = 2;
|
|
6000
|
+
optional string status = 3;
|
|
6001
|
+
optional int64 startTime = 4;
|
|
6002
|
+
optional int64 endTime = 5;
|
|
6003
|
+
optional bool isPlatformChanged = 6;
|
|
6004
|
+
optional string source = 7;
|
|
6005
|
+
optional int64 creationTime = 8;
|
|
6006
|
+
}
|
|
6007
|
+
message PaidFeature {
|
|
6008
|
+
optional string name = 1;
|
|
6009
|
+
optional bool enabled = 2;
|
|
6010
|
+
optional int32 limit = 3;
|
|
6011
|
+
optional int64 expirationTime = 4;
|
|
6012
|
+
}
|
|
6013
|
+
}
|
|
6014
|
+
message ThreadPinAction {
|
|
6015
|
+
optional bool pinned = 1;
|
|
6016
|
+
}
|
|
6017
|
+
message AutoOrganizeBusinessChatSetting {
|
|
6018
|
+
optional bool autoOrganize = 1;
|
|
6019
|
+
}
|
|
6020
|
+
message BizAiSettingsNudgeAction {
|
|
6021
|
+
optional SyncActionValue.BizAiSettingsNudgeAction.Category category = 1;
|
|
6022
|
+
optional int64 version = 2;
|
|
6023
|
+
optional int64 updatedAtMs = 3;
|
|
6024
|
+
enum Category {
|
|
6025
|
+
UNKNOWN = 0;
|
|
6026
|
+
INSTRUCTIONS = 1;
|
|
6027
|
+
RESPONSE_SETTINGS = 2;
|
|
6028
|
+
EXAMPLE_RESPONSES = 3;
|
|
6029
|
+
KNOWLEDGE = 4;
|
|
6030
|
+
LEAD_GEN = 5;
|
|
6031
|
+
HANDOFF_REMOVAL_TIMING = 6;
|
|
6032
|
+
}
|
|
6033
|
+
}
|
|
6034
|
+
message CoexV2VersionAction {
|
|
6035
|
+
optional uint64 version = 1;
|
|
6036
|
+
}
|
|
6037
|
+
message WasaRootSecretAction {
|
|
6038
|
+
repeated SyncActionValue.WasaRootSecretAction.Secret secrets = 1;
|
|
6039
|
+
message Secret {
|
|
6040
|
+
optional string id = 1;
|
|
6041
|
+
optional bytes rootSecret = 2;
|
|
6042
|
+
optional int64 epoch = 3;
|
|
6043
|
+
}
|
|
6044
|
+
}
|
|
6045
|
+
message BubbleLockMessageAction {
|
|
6046
|
+
optional bool locked = 1;
|
|
6047
|
+
}
|
|
6048
|
+
message LabelSublistAction {
|
|
6049
|
+
optional int32 subListId = 1;
|
|
6050
|
+
}
|
|
6051
|
+
message CtwaMessageReceivedAction {
|
|
6052
|
+
optional bool isCtwaMessageReceived = 1;
|
|
6053
|
+
}
|
|
6054
|
+
message SharedDeviceAllowlistAction {
|
|
6055
|
+
optional bool allowed = 1;
|
|
6056
|
+
}
|
|
6057
|
+
message ContactManagerMetadataAction {
|
|
6058
|
+
optional bool isHidden = 1;
|
|
6059
|
+
}
|
|
6060
|
+
message BusinessFolderActivationAction {
|
|
6061
|
+
optional bool activated = 1;
|
|
6062
|
+
}
|
|
6063
|
+
message GroupHistoryToggleAction {
|
|
6064
|
+
}
|
|
6065
|
+
message BbProPendingCustomerBaseAction {
|
|
6066
|
+
optional bool pending = 1;
|
|
6067
|
+
}
|
|
6068
|
+
message CommunityNestingStateAction {
|
|
6069
|
+
}
|
|
6070
|
+
message SharedDeviceSecretAction {
|
|
6071
|
+
optional bytes secret = 1;
|
|
6072
|
+
optional int64 ttlMs = 2;
|
|
6073
|
+
}
|
|
6074
|
+
message HatchCvmSecretAction {
|
|
6075
|
+
optional bytes secret = 1;
|
|
6076
|
+
optional int64 generation = 2;
|
|
6077
|
+
}
|
|
6078
|
+
message BusinessFolderChatPreferenceAction {
|
|
6079
|
+
}
|
|
4951
6080
|
}
|
|
4952
6081
|
|
|
4953
6082
|
message SyncdIndex {
|
|
@@ -5036,6 +6165,7 @@ message ThreadID {
|
|
|
5036
6165
|
UNKNOWN = 0;
|
|
5037
6166
|
VIEW_REPLIES = 1;
|
|
5038
6167
|
AI_THREAD = 2;
|
|
6168
|
+
INSTANT = 3;
|
|
5039
6169
|
}
|
|
5040
6170
|
}
|
|
5041
6171
|
|
|
@@ -5469,6 +6599,122 @@ message WebMessageInfo {
|
|
|
5469
6599
|
QUARANTINED_MESSAGE = 220;
|
|
5470
6600
|
GROUP_MEMBER_SHARE_GROUP_HISTORY_MODE = 221;
|
|
5471
6601
|
}
|
|
6602
|
+
optional WebMessageInfo.PaymentTransactionInfo paymentTransactionInfo = 53;
|
|
6603
|
+
optional uint32 nonJidMentions = 78;
|
|
6604
|
+
optional string hsmTag = 79;
|
|
6605
|
+
optional uint64 ephemeralExpirationTimestamp = 80;
|
|
6606
|
+
optional WebMessageInfo.ScheduledMessageMetadata scheduledMessageMetadata = 81;
|
|
6607
|
+
optional string decisionId = 82;
|
|
6608
|
+
optional string decisionSources = 83;
|
|
6609
|
+
optional WebMessageInfo.EventInviteAdditionalMetadata eventInviteAdditionalMetadata = 84;
|
|
6610
|
+
optional uint64 groupHistoryLastCountedMessageTimestamp = 85;
|
|
6611
|
+
message PaymentTransactionInfo {
|
|
6612
|
+
optional int64 amount1000 = 1;
|
|
6613
|
+
optional string bankTransactionId = 2;
|
|
6614
|
+
optional string credentialId = 3;
|
|
6615
|
+
optional string currency = 4;
|
|
6616
|
+
optional string errorCode = 5;
|
|
6617
|
+
optional string groupJid = 6;
|
|
6618
|
+
optional string messageStanzaId = 7;
|
|
6619
|
+
optional string recieverJid = 8;
|
|
6620
|
+
optional string senderJid = 9;
|
|
6621
|
+
optional uint64 status = 10;
|
|
6622
|
+
optional int64 timestamp = 11;
|
|
6623
|
+
optional string transactionId = 12;
|
|
6624
|
+
optional int32 type = 13;
|
|
6625
|
+
optional WebMessageInfo.PaymentTransactionInfo.MetadataV2 metadata = 14;
|
|
6626
|
+
message MetadataV2 {
|
|
6627
|
+
optional Money amount = 1;
|
|
6628
|
+
optional string collectRequestId = 2;
|
|
6629
|
+
optional string counter = 3;
|
|
6630
|
+
optional int64 expiryTimestamp = 4;
|
|
6631
|
+
optional int64 lastStatusTimestamp = 5;
|
|
6632
|
+
optional string localTransactionId = 6;
|
|
6633
|
+
optional MessageKey messageKey = 7;
|
|
6634
|
+
optional int64 previousStatus = 8;
|
|
6635
|
+
optional int64 previousType = 9;
|
|
6636
|
+
optional string referenceMessageId = 11;
|
|
6637
|
+
optional string service = 13;
|
|
6638
|
+
optional int32 version = 14;
|
|
6639
|
+
optional WebMessageInfo.PaymentTransactionInfo.MetadataV2.MarketMetadata marketMetadata = 15;
|
|
6640
|
+
optional WebMessageInfo.PaymentTransactionInfo.MetadataV2.Order order = 17;
|
|
6641
|
+
optional WebMessageInfo.PaymentTransactionInfo.MetadataV2.OfferClaim offerClaim = 18;
|
|
6642
|
+
optional bool messageContainsBackground = 20;
|
|
6643
|
+
optional string senderAlias = 21;
|
|
6644
|
+
message MarketMetadata {
|
|
6645
|
+
optional WebMessageInfo.PaymentTransactionInfo.MetadataV2.MarketMetadata.UpiMetadata upiMetadata = 1;
|
|
6646
|
+
optional WebMessageInfo.PaymentTransactionInfo.MetadataV2.MarketMetadata.BrMetadata brMetadata = 2;
|
|
6647
|
+
message UpiMetadata {
|
|
6648
|
+
optional int64 startTimestamp = 1;
|
|
6649
|
+
optional string receiverHandle = 2;
|
|
6650
|
+
optional string senderHandle = 3;
|
|
6651
|
+
optional string invoiceUrl = 4;
|
|
6652
|
+
optional WebMessageInfo.PaymentTransactionInfo.MetadataV2.MarketMetadata.UpiMetadata.MandateDetails mandateDetails = 5;
|
|
6653
|
+
optional WebMessageInfo.PaymentTransactionInfo.MetadataV2.MarketMetadata.UpiMetadata.MandateUpdates mandateUpdates = 6;
|
|
6654
|
+
message MandateDetails {
|
|
6655
|
+
optional int64 acceptEndTimestamp = 1;
|
|
6656
|
+
optional int64 acceptStartTimestamp = 2;
|
|
6657
|
+
optional int32 amountRule = 3;
|
|
6658
|
+
optional string errorCode = 4;
|
|
6659
|
+
optional string frequencyRule = 5;
|
|
6660
|
+
optional bool isRevocable = 6;
|
|
6661
|
+
optional string mandateInfo = 7;
|
|
6662
|
+
optional string mandateNo = 8;
|
|
6663
|
+
optional Money originalAmount = 9;
|
|
6664
|
+
}
|
|
6665
|
+
message MandateUpdates {
|
|
6666
|
+
optional int32 action = 1;
|
|
6667
|
+
optional Money amount = 2;
|
|
6668
|
+
optional int64 acceptEndTimestamp = 3;
|
|
6669
|
+
optional int32 amountRule = 4;
|
|
6670
|
+
optional string errorCode = 5;
|
|
6671
|
+
optional string seqNo = 6;
|
|
6672
|
+
optional string mandateUpdateInfo = 7;
|
|
6673
|
+
optional int32 status = 8;
|
|
6674
|
+
}
|
|
6675
|
+
}
|
|
6676
|
+
message BrMetadata {
|
|
6677
|
+
optional string paymentRails = 1;
|
|
6678
|
+
}
|
|
6679
|
+
}
|
|
6680
|
+
message Order {
|
|
6681
|
+
optional string id = 1;
|
|
6682
|
+
optional MessageKey messageKey = 2;
|
|
6683
|
+
}
|
|
6684
|
+
message OfferClaim {
|
|
6685
|
+
optional int64 offerId = 1;
|
|
6686
|
+
optional int64 id = 2;
|
|
6687
|
+
optional string incentiveTransactionId = 3;
|
|
6688
|
+
optional string parentTransactionId = 4;
|
|
6689
|
+
}
|
|
6690
|
+
}
|
|
6691
|
+
}
|
|
6692
|
+
message ScheduledMessageMetadata {
|
|
6693
|
+
optional string revealKeyId = 1;
|
|
6694
|
+
optional bytes revealKey = 2;
|
|
6695
|
+
optional uint64 scheduledTime = 3;
|
|
6696
|
+
}
|
|
6697
|
+
message EventInviteAdditionalMetadata {
|
|
6698
|
+
optional bool isUpdated = 1;
|
|
6699
|
+
optional WebMessageInfo.EventInviteAdditionalMetadata.SelfAccessStatus selfAccessStatus = 2;
|
|
6700
|
+
optional WebMessageInfo.EventInviteAdditionalMetadata.SelfRsvpStatus selfRsvpStatus = 3;
|
|
6701
|
+
optional uint32 selfAdditionalGuestCount = 4;
|
|
6702
|
+
optional int64 selfInviteeLastUpdatedTsUsec = 5;
|
|
6703
|
+
enum SelfAccessStatus {
|
|
6704
|
+
ACCESS_STATUS_UNKNOWN = 0;
|
|
6705
|
+
HAS_ACCESS = 1;
|
|
6706
|
+
LEFT_EVENT = 2;
|
|
6707
|
+
REMOVED_FROM_INVITE_LIST = 3;
|
|
6708
|
+
UNAVAILABLE = 4;
|
|
6709
|
+
}
|
|
6710
|
+
enum SelfRsvpStatus {
|
|
6711
|
+
RSVP_STATUS_UNKNOWN = 0;
|
|
6712
|
+
GOING = 1;
|
|
6713
|
+
NOT_GOING = 2;
|
|
6714
|
+
MAYBE = 3;
|
|
6715
|
+
NO_RESPONSE = 4;
|
|
6716
|
+
}
|
|
6717
|
+
}
|
|
5472
6718
|
}
|
|
5473
6719
|
|
|
5474
6720
|
message WebNotificationsInfo {
|