@wppconnect/wa-proto 2.3000.1050977907 → 2.3000.1051037982
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/WAProto.proto +483 -58
- package/dist/index.d.ts +16574 -12289
- package/dist/index.js +65246 -51702
- package/package.json +1 -1
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.1051037982
|
|
5
5
|
|
|
6
6
|
message ACP2Setting {
|
|
7
7
|
optional bool enabled = 1;
|
|
@@ -21,6 +21,7 @@ message ADVDeviceIdentity {
|
|
|
21
21
|
enum ADVEncryptionType {
|
|
22
22
|
E2EE = 0;
|
|
23
23
|
HOSTED = 1;
|
|
24
|
+
NON_E2EE = 2;
|
|
24
25
|
}
|
|
25
26
|
message ADVKeyIndexList {
|
|
26
27
|
optional uint32 rawId = 1;
|
|
@@ -68,6 +69,7 @@ message AIHomeState {
|
|
|
68
69
|
ANIMATE_PHOTO = 2;
|
|
69
70
|
ANALYZE_FILE = 3;
|
|
70
71
|
COLLABORATE = 4;
|
|
72
|
+
OPEN_GREETING_CARD = 5;
|
|
71
73
|
}
|
|
72
74
|
}
|
|
73
75
|
|
|
@@ -132,7 +134,7 @@ message AIRichResponseContentItemsMetadata {
|
|
|
132
134
|
repeated AIRichResponseContentItemMetadata itemsMetadata = 1;
|
|
133
135
|
optional ContentType contentType = 2;
|
|
134
136
|
message AIRichResponseContentItemMetadata {
|
|
135
|
-
oneof
|
|
137
|
+
oneof aiRichResponseContentItem {
|
|
136
138
|
AIRichResponseContentItemsMetadata.AIRichResponseReelItem reelItem = 1;
|
|
137
139
|
}
|
|
138
140
|
}
|
|
@@ -224,6 +226,7 @@ message AIRichResponseMessage {
|
|
|
224
226
|
repeated AIRichResponseSubMessage submessages = 2;
|
|
225
227
|
optional AIRichResponseUnifiedResponse unifiedResponse = 3;
|
|
226
228
|
optional ContextInfo contextInfo = 4;
|
|
229
|
+
optional AIRichResponseUnifiedResponse originalRecipientMetadata = 5;
|
|
227
230
|
}
|
|
228
231
|
|
|
229
232
|
enum AIRichResponseMessageType {
|
|
@@ -290,6 +293,7 @@ message AIThreadInfo {
|
|
|
290
293
|
DEFAULT = 1;
|
|
291
294
|
INCOGNITO = 2;
|
|
292
295
|
SIDE_CHAT = 3;
|
|
296
|
+
PRIVATE_SEARCH_CHAT = 4;
|
|
293
297
|
}
|
|
294
298
|
}
|
|
295
299
|
|
|
@@ -407,6 +411,7 @@ message BotAgeCollectionMetadata {
|
|
|
407
411
|
|
|
408
412
|
message BotAgentDeepLinkMetadata {
|
|
409
413
|
optional string token = 1;
|
|
414
|
+
optional bytes clientPublicKey = 2;
|
|
410
415
|
}
|
|
411
416
|
|
|
412
417
|
message BotAgentMetadata {
|
|
@@ -478,6 +483,27 @@ message BotCapabilityMetadata {
|
|
|
478
483
|
AI_TAB_FORCE_CLIPPY = 59;
|
|
479
484
|
UNIFIED_RESPONSE_EMBEDDED_SCREENS = 60;
|
|
480
485
|
AI_SUBSCRIPTION_ENABLED = 61;
|
|
486
|
+
UNIFIED_RESPONSE_AI_CONTENT_SEARCH_ENABLED = 62;
|
|
487
|
+
UNIFIED_RESPONSE_MARKDOWN_LINKS_ENABLED = 63;
|
|
488
|
+
AI_RICH_RESPONSE_MAPS_V2_ENABLED = 64;
|
|
489
|
+
AI_SUBSCRIPTION_METERING_ENABLED = 65;
|
|
490
|
+
RICH_RESPONSE_SPORTS_WIDGET_ENABLED = 66;
|
|
491
|
+
AI_RICH_RESPONSE_ARTIFACTS_ENABLED = 67;
|
|
492
|
+
AI_RICH_RESPONSE_EMAIL_CALENDAR_ENABLED = 68;
|
|
493
|
+
AI_RICH_RESPONSE_REMINDERS_ENABLED = 69;
|
|
494
|
+
AI_STOP_GENERATION_ENABLED = 70;
|
|
495
|
+
AI_RICH_RESPONSE_3P_LINKING_CARD_ENABLED = 71;
|
|
496
|
+
HATCH_NOTIFICATION_METADATA_EVENT_ENABLED = 72;
|
|
497
|
+
AI_SUGGESTED_REPLIES_ENABLED = 73;
|
|
498
|
+
RICH_RESPONSE_IN_APP_SURVEY_BLOKS = 74;
|
|
499
|
+
RICH_RESPONSE_IMAGE_SOURCE_ATTRIBUTION = 75;
|
|
500
|
+
HATCH_CONNECTOR_ACTION_CARD_ENABLED = 76;
|
|
501
|
+
HATCH_SECURE_CREDENTIAL_CARD_ENABLED = 77;
|
|
502
|
+
HATCH_BROWSER_TASK_CARD_ENABLED = 78;
|
|
503
|
+
HATCH_ARTIFACT_CARD_ENABLED = 79;
|
|
504
|
+
AI_STUDY_CENTER_ENABLED = 80;
|
|
505
|
+
AI_MUSE_JARVIS_SCHEMA_ENABLED = 81;
|
|
506
|
+
AI_STUDY_QUIZ_ENABLED = 82;
|
|
481
507
|
}
|
|
482
508
|
}
|
|
483
509
|
|
|
@@ -672,6 +698,7 @@ message BotMessageOrigin {
|
|
|
672
698
|
optional BotMessageOriginType type = 1;
|
|
673
699
|
enum BotMessageOriginType {
|
|
674
700
|
BOT_MESSAGE_ORIGIN_TYPE_AI_INITIATED = 0;
|
|
701
|
+
BOT_MESSAGE_ORIGIN_TYPE_META_AI_THREAD_WELCOME = 1;
|
|
675
702
|
}
|
|
676
703
|
}
|
|
677
704
|
|
|
@@ -723,6 +750,11 @@ message BotMetadata {
|
|
|
723
750
|
optional BotInfrastructureDiagnostics botInfrastructureDiagnostics = 37;
|
|
724
751
|
optional AIMediaCollectionMetadata aiMediaCollectionMetadata = 38;
|
|
725
752
|
optional BotCommandMetadata commandMetadata = 39;
|
|
753
|
+
optional BotResolvedToolCallMetadata resolvedToolCallMetadata = 40;
|
|
754
|
+
optional AISubscriptionUpsellMetadata subscriptionUpsellMetadata = 41;
|
|
755
|
+
optional BotPttPromptMetadata pttPromptMetadata = 42;
|
|
756
|
+
optional BotHistoryShareMetadata botHistoryShareMetadata = 43;
|
|
757
|
+
optional bool responseStoppedByUser = 44;
|
|
726
758
|
optional bytes internalMetadata = 999;
|
|
727
759
|
}
|
|
728
760
|
|
|
@@ -775,6 +807,9 @@ enum BotMetricsEntryPoint {
|
|
|
775
807
|
GROUP_MEMBER = 54;
|
|
776
808
|
CHATLIST_SEARCH = 55;
|
|
777
809
|
NEW_CHAT_LIST = 56;
|
|
810
|
+
CONTACTS_TAB = 57;
|
|
811
|
+
NEW_3P_AGENT_CREATION = 58;
|
|
812
|
+
SHARE = 59;
|
|
778
813
|
}
|
|
779
814
|
message BotMetricsMetadata {
|
|
780
815
|
optional string destinationId = 1;
|
|
@@ -994,11 +1029,20 @@ message BotSignatureVerificationUseCaseProof {
|
|
|
994
1029
|
optional BotSignatureUseCase useCase = 2;
|
|
995
1030
|
optional bytes signature = 3;
|
|
996
1031
|
repeated bytes certificateChain = 4;
|
|
1032
|
+
repeated CertificateSKI certificateChainSki = 5;
|
|
997
1033
|
enum BotSignatureUseCase {
|
|
998
1034
|
UNSPECIFIED = 0;
|
|
999
1035
|
WA_BOT_MSG = 1;
|
|
1000
1036
|
WA_TEE_BOT_MSG = 2;
|
|
1037
|
+
P2P_PILLS = 3;
|
|
1038
|
+
WA_WAFFLE = 4;
|
|
1039
|
+
WA_FEATURE_PKI = 5;
|
|
1001
1040
|
}
|
|
1041
|
+
message CertificateSKI {
|
|
1042
|
+
optional BotSignatureVerificationUseCaseProof.BotSignatureUseCase useCase = 1;
|
|
1043
|
+
optional bytes ski = 2;
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1002
1046
|
}
|
|
1003
1047
|
|
|
1004
1048
|
message BotSourcesMetadata {
|
|
@@ -1172,6 +1216,7 @@ message ClientPairingProps {
|
|
|
1172
1216
|
optional bool isSyncdSnapshotRecoveryEnabled = 3;
|
|
1173
1217
|
optional bool isHsThumbnailSyncEnabled = 4;
|
|
1174
1218
|
optional bytes subscriptionSyncPayload = 5;
|
|
1219
|
+
optional bool isBotJidDbMigrated = 6;
|
|
1175
1220
|
}
|
|
1176
1221
|
|
|
1177
1222
|
message ClientPayload {
|
|
@@ -1201,6 +1246,21 @@ message ClientPayload {
|
|
|
1201
1246
|
optional bytes paddingBytes = 34;
|
|
1202
1247
|
optional int32 yearClass = 36;
|
|
1203
1248
|
optional int32 memClass = 37;
|
|
1249
|
+
optional InteropData interopData = 38;
|
|
1250
|
+
optional TrafficAnonymization trafficAnonymization = 40;
|
|
1251
|
+
optional bool lidDbMigrated = 41;
|
|
1252
|
+
optional AccountType accountType = 42;
|
|
1253
|
+
optional sfixed32 connectionSequenceInfo = 43;
|
|
1254
|
+
optional bool paaLink = 44;
|
|
1255
|
+
optional int32 preacksCount = 45;
|
|
1256
|
+
optional int32 processingQueueSize = 46;
|
|
1257
|
+
repeated string pairedPeripherals = 47;
|
|
1258
|
+
optional bytes testIsolationId = 48;
|
|
1259
|
+
optional int64 messageSts = 49;
|
|
1260
|
+
enum AccountType {
|
|
1261
|
+
DEFAULT = 0;
|
|
1262
|
+
GUEST = 1;
|
|
1263
|
+
}
|
|
1204
1264
|
enum ConnectReason {
|
|
1205
1265
|
PUSH = 0;
|
|
1206
1266
|
USER_ACTIVATED = 1;
|
|
@@ -1236,6 +1296,9 @@ message ClientPayload {
|
|
|
1236
1296
|
HARDCODED = 2;
|
|
1237
1297
|
OVERRIDE = 3;
|
|
1238
1298
|
FALLBACK = 4;
|
|
1299
|
+
MNS = 5;
|
|
1300
|
+
MNS_SECONDARY = 6;
|
|
1301
|
+
SOCKS_PROXY = 7;
|
|
1239
1302
|
}
|
|
1240
1303
|
}
|
|
1241
1304
|
|
|
@@ -1255,9 +1318,22 @@ message ClientPayload {
|
|
|
1255
1318
|
SERVICE_EXTENSION = 1;
|
|
1256
1319
|
INTENTS_EXTENSION = 2;
|
|
1257
1320
|
}
|
|
1321
|
+
message InteropData {
|
|
1322
|
+
optional uint64 accountId = 1;
|
|
1323
|
+
optional bytes token = 2;
|
|
1324
|
+
optional bool enableReadReceipts = 3;
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1258
1327
|
enum Product {
|
|
1259
1328
|
WHATSAPP = 0;
|
|
1260
1329
|
MESSENGER = 1;
|
|
1330
|
+
INTEROP = 2;
|
|
1331
|
+
INTEROP_MSGR = 3;
|
|
1332
|
+
WHATSAPP_LID = 4;
|
|
1333
|
+
}
|
|
1334
|
+
enum TrafficAnonymization {
|
|
1335
|
+
OFF = 0;
|
|
1336
|
+
STANDARD = 1;
|
|
1261
1337
|
}
|
|
1262
1338
|
message UserAgent {
|
|
1263
1339
|
optional Platform platform = 1;
|
|
@@ -1275,6 +1351,8 @@ message ClientPayload {
|
|
|
1275
1351
|
optional string deviceBoard = 13;
|
|
1276
1352
|
optional string deviceExpId = 14;
|
|
1277
1353
|
optional DeviceType deviceType = 15;
|
|
1354
|
+
optional string deviceModelType = 16;
|
|
1355
|
+
optional DistributionChannel distributionChannel = 17;
|
|
1278
1356
|
message AppVersion {
|
|
1279
1357
|
optional uint32 primary = 1;
|
|
1280
1358
|
optional uint32 secondary = 2;
|
|
@@ -1290,6 +1368,12 @@ message ClientPayload {
|
|
|
1290
1368
|
WEARABLE = 3;
|
|
1291
1369
|
VR = 4;
|
|
1292
1370
|
}
|
|
1371
|
+
enum DistributionChannel {
|
|
1372
|
+
APPSTORE = 0;
|
|
1373
|
+
WEBSITE = 1;
|
|
1374
|
+
TESTFLIGHT = 2;
|
|
1375
|
+
INTERNAL = 3;
|
|
1376
|
+
}
|
|
1293
1377
|
enum Platform {
|
|
1294
1378
|
ANDROID = 0;
|
|
1295
1379
|
IOS = 1;
|
|
@@ -1327,6 +1411,12 @@ message ClientPayload {
|
|
|
1327
1411
|
IPAD = 33;
|
|
1328
1412
|
TEST = 34;
|
|
1329
1413
|
SMART_GLASSES = 35;
|
|
1414
|
+
BLUE_VR = 36;
|
|
1415
|
+
AR_WRIST = 37;
|
|
1416
|
+
WAIL = 38;
|
|
1417
|
+
WORK_ANDROID = 39;
|
|
1418
|
+
WORK_IOS = 40;
|
|
1419
|
+
AUTOMOTIVE = 41;
|
|
1330
1420
|
}
|
|
1331
1421
|
enum ReleaseChannel {
|
|
1332
1422
|
RELEASE = 0;
|
|
@@ -1341,12 +1431,15 @@ message ClientPayload {
|
|
|
1341
1431
|
optional string version = 2;
|
|
1342
1432
|
optional WebdPayload webdPayload = 3;
|
|
1343
1433
|
optional WebSubPlatform webSubPlatform = 4;
|
|
1434
|
+
optional string browser = 5;
|
|
1435
|
+
optional string browserVersion = 6;
|
|
1344
1436
|
enum WebSubPlatform {
|
|
1345
1437
|
WEB_BROWSER = 0;
|
|
1346
1438
|
APP_STORE = 1;
|
|
1347
1439
|
WIN_STORE = 2;
|
|
1348
1440
|
DARWIN = 3;
|
|
1349
1441
|
WIN32 = 4;
|
|
1442
|
+
WIN_HYBRID = 5;
|
|
1350
1443
|
}
|
|
1351
1444
|
message WebdPayload {
|
|
1352
1445
|
optional bool usesParticipantInKey = 1;
|
|
@@ -1476,6 +1569,14 @@ message ContextInfo {
|
|
|
1476
1569
|
optional MediaDomainInfo mediaDomainInfo = 74;
|
|
1477
1570
|
optional PartiallySelectedContent partiallySelectedContent = 75;
|
|
1478
1571
|
optional uint32 afterReadDuration = 76;
|
|
1572
|
+
optional CrossAppSource crossAppSource = 77;
|
|
1573
|
+
optional BusinessInteractionPills businessInteractionPills = 78;
|
|
1574
|
+
optional string posterStatusId = 79;
|
|
1575
|
+
optional InstagramThreadLink instagramThreadLink = 80;
|
|
1576
|
+
optional AIProvenance aiProvenance = 81;
|
|
1577
|
+
repeated uint32 experienceIds = 82 [packed=true];
|
|
1578
|
+
optional string partnerDeepLinkToken = 83;
|
|
1579
|
+
optional uint32 sourceExperienceId = 84;
|
|
1479
1580
|
message AdReplyInfo {
|
|
1480
1581
|
optional string advertiserName = 1;
|
|
1481
1582
|
optional MediaType mediaType = 2;
|
|
@@ -1488,10 +1589,64 @@ message ContextInfo {
|
|
|
1488
1589
|
}
|
|
1489
1590
|
}
|
|
1490
1591
|
|
|
1592
|
+
message BusinessInteractionPills {
|
|
1593
|
+
optional string businessJid = 1;
|
|
1594
|
+
repeated Pill pills = 2;
|
|
1595
|
+
optional EntryPoint entryPoint = 3;
|
|
1596
|
+
optional bytes signedPayload = 4;
|
|
1597
|
+
optional BotSignatureVerificationMetadata signatureEnvelope = 5;
|
|
1598
|
+
optional UnauthenticatedBusinessMetadata unauthenticatedBusinessMetadata = 6;
|
|
1599
|
+
enum EntryPoint {
|
|
1600
|
+
ENTRY_POINT_UNKNOWN = 0;
|
|
1601
|
+
P2P_LINK_SHARE = 1;
|
|
1602
|
+
CONTACT_CARD_SHARING = 2;
|
|
1603
|
+
PHONE_NUMBER = 3;
|
|
1604
|
+
STATUS = 4;
|
|
1605
|
+
IN_THREAD_CONTEXT_CARD = 5;
|
|
1606
|
+
}
|
|
1607
|
+
message Pill {
|
|
1608
|
+
optional ContextInfo.BusinessInteractionPills.PillType pillType = 1;
|
|
1609
|
+
optional string actionUrl = 2;
|
|
1610
|
+
}
|
|
1611
|
+
|
|
1612
|
+
enum PillType {
|
|
1613
|
+
UNKNOWN = 0;
|
|
1614
|
+
VIEW_BUSINESS = 1;
|
|
1615
|
+
CHAT = 2;
|
|
1616
|
+
CALL = 3;
|
|
1617
|
+
CATALOG = 4;
|
|
1618
|
+
CHANNEL = 5;
|
|
1619
|
+
BOOK_APPOINTMENT = 6;
|
|
1620
|
+
OFFERS = 7;
|
|
1621
|
+
BESTSELLERS = 8;
|
|
1622
|
+
MENU = 9;
|
|
1623
|
+
ABOUT = 10;
|
|
1624
|
+
SHOP = 11;
|
|
1625
|
+
ORDER = 12;
|
|
1626
|
+
}
|
|
1627
|
+
message SignedPayload {
|
|
1628
|
+
optional string verifiedName = 1;
|
|
1629
|
+
repeated ContextInfo.BusinessInteractionPills.Pill pills = 2;
|
|
1630
|
+
}
|
|
1631
|
+
|
|
1632
|
+
message UnauthenticatedBusinessMetadata {
|
|
1633
|
+
optional string businessName = 1;
|
|
1634
|
+
optional string businessCategory = 2;
|
|
1635
|
+
optional bool businessIsOpen = 3;
|
|
1636
|
+
optional int64 businessIsOpenSnapshotMs = 4;
|
|
1637
|
+
}
|
|
1638
|
+
|
|
1639
|
+
}
|
|
1640
|
+
|
|
1491
1641
|
message BusinessMessageForwardInfo {
|
|
1492
1642
|
optional string businessOwnerJid = 1;
|
|
1493
1643
|
}
|
|
1494
1644
|
|
|
1645
|
+
enum CrossAppSource {
|
|
1646
|
+
CROSS_APP_SOURCE_UNKNOWN = 0;
|
|
1647
|
+
CROSS_APP_SOURCE_INSTAGRAM = 1;
|
|
1648
|
+
CROSS_APP_SOURCE_FACEBOOK = 2;
|
|
1649
|
+
}
|
|
1495
1650
|
message DataSharingContext {
|
|
1496
1651
|
optional bool showMmDisclosure = 1;
|
|
1497
1652
|
optional string encryptedSignalTokenConsented = 2;
|
|
@@ -1544,6 +1699,15 @@ message ContextInfo {
|
|
|
1544
1699
|
optional int32 agmTitleStrategy = 30;
|
|
1545
1700
|
optional int32 agmSubtitleStrategy = 31;
|
|
1546
1701
|
optional int32 agmHeaderInteractionStrategy = 32;
|
|
1702
|
+
optional bool containsCtwaFlowsAutoLabel = 33;
|
|
1703
|
+
optional string productId = 34;
|
|
1704
|
+
optional bool containsCtwaPromo = 35;
|
|
1705
|
+
optional string ctwaPromoResponseId = 36;
|
|
1706
|
+
optional string ctwaPromoOfferId = 37;
|
|
1707
|
+
optional string ctwaPromoAdEntryId = 38;
|
|
1708
|
+
optional uint64 ctwaPromoResponseExpiresAtSeconds = 39;
|
|
1709
|
+
optional uint32 ctwaPromoSchemaVersion = 40;
|
|
1710
|
+
optional string ctwaPromoAdgroupId = 41;
|
|
1547
1711
|
enum AdType {
|
|
1548
1712
|
CTWA = 0;
|
|
1549
1713
|
CAWC = 1;
|
|
@@ -1585,6 +1749,10 @@ message ContextInfo {
|
|
|
1585
1749
|
}
|
|
1586
1750
|
}
|
|
1587
1751
|
|
|
1752
|
+
message InstagramThreadLink {
|
|
1753
|
+
optional string url = 1;
|
|
1754
|
+
}
|
|
1755
|
+
|
|
1588
1756
|
enum PairedMediaType {
|
|
1589
1757
|
NOT_PAIRED_MEDIA = 0;
|
|
1590
1758
|
SD_VIDEO_PARENT = 1;
|
|
@@ -1595,6 +1763,10 @@ message ContextInfo {
|
|
|
1595
1763
|
MOTION_PHOTO_CHILD = 6;
|
|
1596
1764
|
HEVC_VIDEO_PARENT = 7;
|
|
1597
1765
|
HEVC_VIDEO_CHILD = 8;
|
|
1766
|
+
AV1_VIDEO_PARENT = 9;
|
|
1767
|
+
AV1_VIDEO_CHILD = 10;
|
|
1768
|
+
STREAMED_VIDEO_PARENT = 11;
|
|
1769
|
+
STREAMED_VIDEO_CHILD = 12;
|
|
1598
1770
|
}
|
|
1599
1771
|
message PartiallySelectedContent {
|
|
1600
1772
|
optional string text = 1;
|
|
@@ -1621,9 +1793,12 @@ message ContextInfo {
|
|
|
1621
1793
|
optional AudienceType audienceType = 1;
|
|
1622
1794
|
optional string listName = 2;
|
|
1623
1795
|
optional string listEmoji = 3;
|
|
1796
|
+
optional string networkId = 4;
|
|
1624
1797
|
enum AudienceType {
|
|
1625
1798
|
UNKNOWN = 0;
|
|
1626
1799
|
CLOSE_FRIENDS = 1;
|
|
1800
|
+
CUSTOM_LIST = 2;
|
|
1801
|
+
NETWORK = 3;
|
|
1627
1802
|
}
|
|
1628
1803
|
}
|
|
1629
1804
|
|
|
@@ -1859,6 +2034,9 @@ message DeviceProps {
|
|
|
1859
2034
|
optional bool supportHatchHistory = 22;
|
|
1860
2035
|
repeated string supportedBotChannelFbids = 23;
|
|
1861
2036
|
optional bool supportInlineContacts = 24;
|
|
2037
|
+
optional bool supportNewsletter = 25;
|
|
2038
|
+
optional bool supportUniversalReachChat = 26;
|
|
2039
|
+
optional bool supportOmittedConversationIndex = 27;
|
|
1862
2040
|
}
|
|
1863
2041
|
|
|
1864
2042
|
enum PlatformType {
|
|
@@ -1887,6 +2065,12 @@ message DeviceProps {
|
|
|
1887
2065
|
VR = 22;
|
|
1888
2066
|
CLOUD_API = 23;
|
|
1889
2067
|
SMARTGLASSES = 24;
|
|
2068
|
+
WAIL = 25;
|
|
2069
|
+
WASS = 26;
|
|
2070
|
+
BUSINESS_BACK_OFFICE = 27;
|
|
2071
|
+
WAIL_WAI = 28;
|
|
2072
|
+
WAIL_ALEXA = 29;
|
|
2073
|
+
AUTOMOTIVE = 30;
|
|
1890
2074
|
}
|
|
1891
2075
|
}
|
|
1892
2076
|
|
|
@@ -2083,6 +2267,7 @@ message GroupRootKeyShareEntry {
|
|
|
2083
2267
|
optional bytes groupRootKey = 1;
|
|
2084
2268
|
optional string keyId = 2;
|
|
2085
2269
|
optional int64 expiryTimestampMs = 3;
|
|
2270
|
+
optional int64 createdTimestampMs = 4;
|
|
2086
2271
|
}
|
|
2087
2272
|
|
|
2088
2273
|
message HandshakeMessage {
|
|
@@ -2092,18 +2277,43 @@ message HandshakeMessage {
|
|
|
2092
2277
|
message ClientFinish {
|
|
2093
2278
|
optional bytes static = 1;
|
|
2094
2279
|
optional bytes payload = 2;
|
|
2280
|
+
optional bytes extendedCiphertext = 3;
|
|
2281
|
+
optional bytes paddedBytes = 4;
|
|
2282
|
+
optional bool simulateXxkemFs = 5;
|
|
2095
2283
|
}
|
|
2096
2284
|
|
|
2097
2285
|
message ClientHello {
|
|
2098
2286
|
optional bytes ephemeral = 1;
|
|
2099
2287
|
optional bytes static = 2;
|
|
2100
2288
|
optional bytes payload = 3;
|
|
2289
|
+
optional bool useExtended = 4;
|
|
2290
|
+
optional bytes extendedCiphertext = 5;
|
|
2291
|
+
optional bytes paddedBytes = 6;
|
|
2292
|
+
optional bool sendServerHelloPaddedBytes = 7;
|
|
2293
|
+
optional bool simulateXxkemFs = 8;
|
|
2294
|
+
optional HandshakeMessage.HandshakePqMode pqMode = 9;
|
|
2295
|
+
optional bytes extendedEphemeral = 10;
|
|
2296
|
+
}
|
|
2297
|
+
|
|
2298
|
+
enum HandshakePqMode {
|
|
2299
|
+
HANDSHAKE_PQ_MODE_UNKNOWN = 0;
|
|
2300
|
+
XXKEM = 1;
|
|
2301
|
+
XXKEM_FS = 2;
|
|
2302
|
+
XXKEM_EPH = 9;
|
|
2303
|
+
WA_CLASSICAL = 3;
|
|
2304
|
+
WA_PQ = 4;
|
|
2305
|
+
IKKEM = 5;
|
|
2306
|
+
IKKEM_FS = 6;
|
|
2307
|
+
XXKEM_2 = 7;
|
|
2308
|
+
IKKEM_2 = 8;
|
|
2101
2309
|
}
|
|
2102
|
-
|
|
2103
2310
|
message ServerHello {
|
|
2104
2311
|
optional bytes ephemeral = 1;
|
|
2105
2312
|
optional bytes static = 2;
|
|
2106
2313
|
optional bytes payload = 3;
|
|
2314
|
+
optional bytes extendedStatic = 4;
|
|
2315
|
+
optional bytes paddingBytes = 5;
|
|
2316
|
+
optional bytes extendedCiphertext = 6;
|
|
2107
2317
|
}
|
|
2108
2318
|
|
|
2109
2319
|
}
|
|
@@ -2298,14 +2508,6 @@ message KeyId {
|
|
|
2298
2508
|
optional bytes id = 1;
|
|
2299
2509
|
}
|
|
2300
2510
|
|
|
2301
|
-
message KeyTransparencyCommand {
|
|
2302
|
-
oneof commandInput {
|
|
2303
|
-
VerifyKeyTransparencyForUserSignalCommand verifyKtForUserSignal = 5;
|
|
2304
|
-
VerifyKeyTransparencyForUserMinosCommand verifyKtForUserMinos = 6;
|
|
2305
|
-
VerifyKeyTransparencyForUserMandrakeCommand verifyKtForUserMandrake = 7;
|
|
2306
|
-
}
|
|
2307
|
-
}
|
|
2308
|
-
|
|
2309
2511
|
message LIDMigrationMappingSyncMessage {
|
|
2310
2512
|
optional bytes encodedMappingPayload = 1;
|
|
2311
2513
|
}
|
|
@@ -2520,6 +2722,21 @@ message Message {
|
|
|
2520
2722
|
optional PollAddOptionMessage pollAddOptionMessage = 121;
|
|
2521
2723
|
optional EventInviteMessage eventInviteMessage = 122;
|
|
2522
2724
|
optional GroupRootKeyShare groupRootKeyShare = 123;
|
|
2725
|
+
optional PaymentReminderMessage paymentReminderMessage = 124;
|
|
2726
|
+
optional SplitPaymentMessage splitPaymentMessage = 125;
|
|
2727
|
+
optional FutureProofMessage newsletterAdminProfileStatusMessage = 126;
|
|
2728
|
+
optional RootSecretDistributeMessage rootSecretDistributeMessage = 127;
|
|
2729
|
+
optional SplitPaymentUpdateMessage splitPaymentUpdateMessage = 128;
|
|
2730
|
+
optional MusicMessage musicMessage = 129;
|
|
2731
|
+
optional StatusLinkPreviewMetadata statusLinkPreviewMetadata = 130;
|
|
2732
|
+
optional FutureProofMessage botPlatformRegistrationSuccessMessage = 131;
|
|
2733
|
+
optional FutureProofMessage newsletterScheduledMessage = 132;
|
|
2734
|
+
optional FutureProofMessage acp2SettingMessage = 133;
|
|
2735
|
+
optional FutureProofMessage audioStickerMessage = 134;
|
|
2736
|
+
optional ImageMessage instantImageMessage = 135;
|
|
2737
|
+
optional RequestLocationMessage requestLocationMessage = 136;
|
|
2738
|
+
optional FutureProofMessage botGroupParticipantMessage = 137;
|
|
2739
|
+
optional RequestLocationUpdateMessage requestLocationUpdateMessage = 138;
|
|
2523
2740
|
message AlbumMessage {
|
|
2524
2741
|
optional uint32 expectedImageCount = 2;
|
|
2525
2742
|
optional uint32 expectedVideoCount = 3;
|
|
@@ -2591,6 +2808,12 @@ message Message {
|
|
|
2591
2808
|
}
|
|
2592
2809
|
}
|
|
2593
2810
|
|
|
2811
|
+
message BotHistoryShareSyncMetadata {
|
|
2812
|
+
optional string botJid = 1;
|
|
2813
|
+
optional int64 historyShareCutoffTimestamp = 2;
|
|
2814
|
+
repeated Message.HistoryShareMessageEntry historyShareMessages = 3;
|
|
2815
|
+
}
|
|
2816
|
+
|
|
2594
2817
|
message ButtonsMessage {
|
|
2595
2818
|
optional string contentText = 6;
|
|
2596
2819
|
optional string footerText = 7;
|
|
@@ -2661,6 +2884,7 @@ message Message {
|
|
|
2661
2884
|
optional string deeplinkPayload = 9;
|
|
2662
2885
|
optional MessageContextInfo messageContextInfo = 10;
|
|
2663
2886
|
optional uint32 callEntryPoint = 11;
|
|
2887
|
+
optional string callReason = 12;
|
|
2664
2888
|
}
|
|
2665
2889
|
|
|
2666
2890
|
message CallLogMessage {
|
|
@@ -2700,6 +2924,49 @@ message Message {
|
|
|
2700
2924
|
optional string id = 2;
|
|
2701
2925
|
}
|
|
2702
2926
|
|
|
2927
|
+
message ChatAnimatedWallpaper {
|
|
2928
|
+
optional string animatedWallpaperId = 1;
|
|
2929
|
+
optional float dimLevel = 2;
|
|
2930
|
+
}
|
|
2931
|
+
|
|
2932
|
+
message ChatCustomImageWallpaper {
|
|
2933
|
+
optional string directPath = 1;
|
|
2934
|
+
optional bytes mediaKey = 2;
|
|
2935
|
+
optional bytes fileEncSha256 = 3;
|
|
2936
|
+
optional bytes fileSha256 = 4;
|
|
2937
|
+
optional float dimLevel = 5;
|
|
2938
|
+
}
|
|
2939
|
+
|
|
2940
|
+
message ChatDefaultWallpaper {
|
|
2941
|
+
optional bool isDoodleEnabled = 1;
|
|
2942
|
+
}
|
|
2943
|
+
|
|
2944
|
+
message ChatSolidColorWallpaper {
|
|
2945
|
+
optional fixed32 backgroundLightArgb = 1;
|
|
2946
|
+
optional fixed32 backgroundDarkArgb = 2;
|
|
2947
|
+
optional bool isDoodleEnabled = 3;
|
|
2948
|
+
optional fixed32 doodleLightArgb = 4;
|
|
2949
|
+
optional fixed32 doodleDarkArgb = 5;
|
|
2950
|
+
}
|
|
2951
|
+
|
|
2952
|
+
message ChatStockImageWallpaper {
|
|
2953
|
+
optional string stockImageId = 1;
|
|
2954
|
+
optional float dimLevel = 2;
|
|
2955
|
+
}
|
|
2956
|
+
|
|
2957
|
+
message ChatThemeSetting {
|
|
2958
|
+
optional int64 settingTimestampMs = 1;
|
|
2959
|
+
optional bool clearTheme = 2;
|
|
2960
|
+
optional string colorSchemeId = 3;
|
|
2961
|
+
oneof wallpaper {
|
|
2962
|
+
Message.ChatDefaultWallpaper defaultWallpaper = 10;
|
|
2963
|
+
Message.ChatSolidColorWallpaper solidColor = 11;
|
|
2964
|
+
Message.ChatStockImageWallpaper stockImage = 12;
|
|
2965
|
+
Message.ChatCustomImageWallpaper customImage = 13;
|
|
2966
|
+
Message.ChatAnimatedWallpaper animatedWallpaper = 14;
|
|
2967
|
+
}
|
|
2968
|
+
}
|
|
2969
|
+
|
|
2703
2970
|
message CloudAPIThreadControlNotification {
|
|
2704
2971
|
optional CloudAPIThreadControl status = 1;
|
|
2705
2972
|
optional int64 senderNotificationTimestampMs = 2;
|
|
@@ -2720,6 +2987,11 @@ message Message {
|
|
|
2720
2987
|
|
|
2721
2988
|
}
|
|
2722
2989
|
|
|
2990
|
+
message CoexConnectionDescriptor {
|
|
2991
|
+
optional int64 providerId = 1;
|
|
2992
|
+
optional string product = 2;
|
|
2993
|
+
}
|
|
2994
|
+
|
|
2723
2995
|
message CommentMessage {
|
|
2724
2996
|
optional Message message = 1;
|
|
2725
2997
|
optional MessageKey targetMessageKey = 2;
|
|
@@ -2809,6 +3081,21 @@ message Message {
|
|
|
2809
3081
|
optional int64 startTime = 5;
|
|
2810
3082
|
optional string caption = 6;
|
|
2811
3083
|
optional bool isCanceled = 7;
|
|
3084
|
+
optional int64 endTime = 8;
|
|
3085
|
+
optional string callLink = 9;
|
|
3086
|
+
optional string coverImageHandle = 10;
|
|
3087
|
+
optional string locationName = 11;
|
|
3088
|
+
optional int64 lastUpdatedTsUsec = 12;
|
|
3089
|
+
optional EventStatus status = 13;
|
|
3090
|
+
enum EventStatus {
|
|
3091
|
+
UNKNOWN = 0;
|
|
3092
|
+
ACTIVE = 1;
|
|
3093
|
+
CANCELED = 2;
|
|
3094
|
+
SUSPENDED = 3;
|
|
3095
|
+
DELETED = 4;
|
|
3096
|
+
LEFT_EVENT = 5;
|
|
3097
|
+
REMOVED_FROM_INVITE_LIST = 6;
|
|
3098
|
+
}
|
|
2812
3099
|
}
|
|
2813
3100
|
|
|
2814
3101
|
message EventMessage {
|
|
@@ -2864,7 +3151,7 @@ message Message {
|
|
|
2864
3151
|
optional bool viewOnce = 30;
|
|
2865
3152
|
optional uint32 videoHeight = 31;
|
|
2866
3153
|
optional uint32 videoWidth = 32;
|
|
2867
|
-
optional Message.MMSThumbnailMetadata
|
|
3154
|
+
optional Message.MMSThumbnailMetadata faviconMmsMetadata = 33;
|
|
2868
3155
|
optional Message.LinkPreviewMetadata linkPreviewMetadata = 34;
|
|
2869
3156
|
optional Message.PaymentLinkMetadata paymentLinkMetadata = 35;
|
|
2870
3157
|
repeated Message.VideoEndCard endCardTiles = 36;
|
|
@@ -2906,6 +3193,7 @@ message Message {
|
|
|
2906
3193
|
optional string requestId = 1;
|
|
2907
3194
|
optional string businessProduct = 2;
|
|
2908
3195
|
optional bytes opaqueClientData = 3;
|
|
3196
|
+
optional Message.CoexConnectionDescriptor connection = 4;
|
|
2909
3197
|
}
|
|
2910
3198
|
|
|
2911
3199
|
message FutureProofMessage {
|
|
@@ -2986,6 +3274,11 @@ message Message {
|
|
|
2986
3274
|
|
|
2987
3275
|
}
|
|
2988
3276
|
|
|
3277
|
+
message HistoryShareMessageEntry {
|
|
3278
|
+
optional string stanzaId = 1;
|
|
3279
|
+
optional bytes messageSecretProof = 2;
|
|
3280
|
+
}
|
|
3281
|
+
|
|
2989
3282
|
message HistorySyncMessageAccessStatus {
|
|
2990
3283
|
optional bool completeAccessGranted = 1;
|
|
2991
3284
|
}
|
|
@@ -3018,6 +3311,7 @@ message Message {
|
|
|
3018
3311
|
ON_DEMAND = 6;
|
|
3019
3312
|
NO_HISTORY = 7;
|
|
3020
3313
|
MESSAGE_ACCESS_STATUS = 8;
|
|
3314
|
+
RECENT_CONVERSATIONS_ON_DEMAND = 9;
|
|
3021
3315
|
}
|
|
3022
3316
|
message ImageMessage {
|
|
3023
3317
|
optional string url = 1;
|
|
@@ -3086,6 +3380,7 @@ message Message {
|
|
|
3086
3380
|
optional string uuid = 1;
|
|
3087
3381
|
optional string data = 2;
|
|
3088
3382
|
optional string type = 3;
|
|
3383
|
+
optional string fallback = 4;
|
|
3089
3384
|
}
|
|
3090
3385
|
|
|
3091
3386
|
message Body {
|
|
@@ -3324,6 +3619,13 @@ message Message {
|
|
|
3324
3619
|
optional uint32 thumbnailWidth = 7;
|
|
3325
3620
|
}
|
|
3326
3621
|
|
|
3622
|
+
message MarkAsVerifiedAction {
|
|
3623
|
+
optional string userJidString = 1;
|
|
3624
|
+
optional bool verified = 2;
|
|
3625
|
+
optional bytes verifiedIdentityKey = 3;
|
|
3626
|
+
optional uint64 actionSeq = 4;
|
|
3627
|
+
}
|
|
3628
|
+
|
|
3327
3629
|
message MessageHistoryBundle {
|
|
3328
3630
|
optional string mimetype = 1;
|
|
3329
3631
|
optional bytes fileSha256 = 2;
|
|
@@ -3341,11 +3643,27 @@ message Message {
|
|
|
3341
3643
|
optional int64 messageCount = 3;
|
|
3342
3644
|
repeated string nonHistoryReceivers = 4;
|
|
3343
3645
|
optional int64 oldestMessageTimestampInBundle = 5;
|
|
3646
|
+
optional bool includesChatTheme = 6;
|
|
3344
3647
|
}
|
|
3345
3648
|
|
|
3346
3649
|
message MessageHistoryNotice {
|
|
3347
3650
|
optional ContextInfo contextInfo = 1;
|
|
3348
3651
|
optional Message.MessageHistoryMetadata messageHistoryMetadata = 2;
|
|
3652
|
+
optional Message.BotHistoryShareSyncMetadata botHistoryShareSyncMetadata = 3;
|
|
3653
|
+
}
|
|
3654
|
+
|
|
3655
|
+
message MusicMessage {
|
|
3656
|
+
optional EmbeddedMusic embeddedMusic = 1;
|
|
3657
|
+
optional string songUri = 2;
|
|
3658
|
+
optional string artworkUri = 3;
|
|
3659
|
+
optional int32 style = 4;
|
|
3660
|
+
optional ContextInfo contextInfo = 5;
|
|
3661
|
+
enum MusicMessageStyle {
|
|
3662
|
+
UNKNOWN = 0;
|
|
3663
|
+
VINYL = 1;
|
|
3664
|
+
MESSAGE_BUBBLE = 2;
|
|
3665
|
+
LYRICS = 3;
|
|
3666
|
+
}
|
|
3349
3667
|
}
|
|
3350
3668
|
|
|
3351
3669
|
message NewsletterAdminInviteMessage {
|
|
@@ -3394,6 +3712,7 @@ message Message {
|
|
|
3394
3712
|
message PaymentExtendedMetadata {
|
|
3395
3713
|
optional uint32 type = 1;
|
|
3396
3714
|
optional string platform = 2;
|
|
3715
|
+
optional string messageParamsJson = 3;
|
|
3397
3716
|
}
|
|
3398
3717
|
|
|
3399
3718
|
message PaymentInviteMessage {
|
|
@@ -3411,6 +3730,7 @@ message Message {
|
|
|
3411
3730
|
FBPAY = 1;
|
|
3412
3731
|
NOVI = 2;
|
|
3413
3732
|
UPI = 3;
|
|
3733
|
+
PIX = 4;
|
|
3414
3734
|
}
|
|
3415
3735
|
}
|
|
3416
3736
|
|
|
@@ -3436,6 +3756,33 @@ message Message {
|
|
|
3436
3756
|
|
|
3437
3757
|
}
|
|
3438
3758
|
|
|
3759
|
+
message PaymentReminderMessage {
|
|
3760
|
+
optional string reminderId = 1;
|
|
3761
|
+
optional string instanceId = 2;
|
|
3762
|
+
optional string description = 3;
|
|
3763
|
+
optional ReminderFrequency frequency = 4;
|
|
3764
|
+
optional ReminderStatus status = 5;
|
|
3765
|
+
optional string payeeVpa = 6;
|
|
3766
|
+
optional string payeeJid = 7;
|
|
3767
|
+
optional string payerJid = 8;
|
|
3768
|
+
optional Money amount = 9;
|
|
3769
|
+
enum ReminderFrequency {
|
|
3770
|
+
REMINDER_FREQUENCY_UNKNOWN = 0;
|
|
3771
|
+
WEEKLY = 1;
|
|
3772
|
+
BI_WEEKLY = 2;
|
|
3773
|
+
MONTHLY = 3;
|
|
3774
|
+
QUARTERLY = 4;
|
|
3775
|
+
}
|
|
3776
|
+
enum ReminderStatus {
|
|
3777
|
+
REMINDER_STATUS_UNKNOWN = 0;
|
|
3778
|
+
ACTIVE = 1;
|
|
3779
|
+
CANCELLED_BY_CREATOR = 2;
|
|
3780
|
+
STOPPED_BY_RECEIVER = 3;
|
|
3781
|
+
EXPIRED = 4;
|
|
3782
|
+
PAID = 5;
|
|
3783
|
+
}
|
|
3784
|
+
}
|
|
3785
|
+
|
|
3439
3786
|
message PeerDataOperationRequestMessage {
|
|
3440
3787
|
optional Message.PeerDataOperationRequestType peerDataOperationRequestType = 1;
|
|
3441
3788
|
repeated RequestStickerReupload requestStickerReupload = 2;
|
|
@@ -3449,6 +3796,7 @@ message Message {
|
|
|
3449
3796
|
optional CompanionCanonicalUserNonceFetchRequest companionCanonicalUserNonceFetchRequest = 10;
|
|
3450
3797
|
optional BizBroadcastInsightsContactListRequest bizBroadcastInsightsContactListRequest = 11;
|
|
3451
3798
|
optional BizBroadcastInsightsRefreshRequest bizBroadcastInsightsRefreshRequest = 12;
|
|
3799
|
+
optional RecentConversationsOnDemandRequest recentConversationsOnDemandRequest = 13;
|
|
3452
3800
|
message BizBroadcastInsightsContactListRequest {
|
|
3453
3801
|
optional string campaignId = 1;
|
|
3454
3802
|
}
|
|
@@ -3493,12 +3841,18 @@ message Message {
|
|
|
3493
3841
|
optional int32 onDemandMsgCount = 4;
|
|
3494
3842
|
optional int64 oldestMsgTimestampMs = 5;
|
|
3495
3843
|
optional string accountLid = 6;
|
|
3844
|
+
optional bool supportInlineResponse = 7;
|
|
3496
3845
|
}
|
|
3497
3846
|
|
|
3498
3847
|
message PlaceholderMessageResendRequest {
|
|
3499
3848
|
optional MessageKey messageKey = 1;
|
|
3500
3849
|
}
|
|
3501
3850
|
|
|
3851
|
+
message RecentConversationsOnDemandRequest {
|
|
3852
|
+
optional uint32 conversationCount = 1;
|
|
3853
|
+
optional uint32 messagesPerConversation = 2;
|
|
3854
|
+
}
|
|
3855
|
+
|
|
3502
3856
|
message RequestStickerReupload {
|
|
3503
3857
|
optional string fileSha256 = 1;
|
|
3504
3858
|
}
|
|
@@ -3532,6 +3886,7 @@ message Message {
|
|
|
3532
3886
|
optional HistorySyncChunkRetryResponse historySyncChunkRetryResponse = 10;
|
|
3533
3887
|
optional FlowResponsesCsvBundle flowResponsesCsvBundle = 11;
|
|
3534
3888
|
optional BizBroadcastInsightsContactListResponse bizBroadcastInsightsContactListResponse = 12;
|
|
3889
|
+
optional ContactRefreshResponse contactRefreshResponse = 13;
|
|
3535
3890
|
message BizBroadcastInsightsContactListResponse {
|
|
3536
3891
|
optional string campaignId = 1;
|
|
3537
3892
|
optional int64 timestampMs = 2;
|
|
@@ -3553,6 +3908,13 @@ message Message {
|
|
|
3553
3908
|
optional string nonce = 1;
|
|
3554
3909
|
}
|
|
3555
3910
|
|
|
3911
|
+
message ContactRefreshResponse {
|
|
3912
|
+
repeated string coveredRequestIds = 1;
|
|
3913
|
+
optional uint64 collectionVersion = 2;
|
|
3914
|
+
optional int64 primaryDurationMs = 3;
|
|
3915
|
+
optional uint32 uniqueContactCount = 4;
|
|
3916
|
+
}
|
|
3917
|
+
|
|
3556
3918
|
message FlowResponsesCsvBundle {
|
|
3557
3919
|
optional string flowId = 1;
|
|
3558
3920
|
optional string galaxyFlowDownloadRequestId = 2;
|
|
@@ -3659,6 +4021,8 @@ message Message {
|
|
|
3659
4021
|
GALAXY_FLOW_ACTION = 11;
|
|
3660
4022
|
BUSINESS_BROADCAST_INSIGHTS_DELIVERED_TO = 12;
|
|
3661
4023
|
BUSINESS_BROADCAST_INSIGHTS_REFRESH = 13;
|
|
4024
|
+
CONTACT_REFRESH_REQUEST = 14;
|
|
4025
|
+
RECENT_CONVERSATIONS_ON_DEMAND_REQUEST = 15;
|
|
3662
4026
|
}
|
|
3663
4027
|
message PinInChatMessage {
|
|
3664
4028
|
optional MessageKey key = 1;
|
|
@@ -3681,6 +4045,7 @@ message Message {
|
|
|
3681
4045
|
message PollAddOptionMessage {
|
|
3682
4046
|
optional MessageKey pollCreationMessageKey = 1;
|
|
3683
4047
|
optional Message.PollCreationMessage.Option addOption = 2;
|
|
4048
|
+
optional Message.PollUpdateMessageMetadata metadata = 3;
|
|
3684
4049
|
}
|
|
3685
4050
|
|
|
3686
4051
|
enum PollContentType {
|
|
@@ -3736,6 +4101,8 @@ message Message {
|
|
|
3736
4101
|
}
|
|
3737
4102
|
|
|
3738
4103
|
message PollUpdateMessageMetadata {
|
|
4104
|
+
optional bytes pollNameHash = 1;
|
|
4105
|
+
optional string lastEditStanzaId = 2;
|
|
3739
4106
|
}
|
|
3740
4107
|
|
|
3741
4108
|
message PollVoteMessage {
|
|
@@ -3799,6 +4166,14 @@ message Message {
|
|
|
3799
4166
|
optional MemberLabel memberLabel = 27;
|
|
3800
4167
|
optional AIMediaCollectionMessage aiMediaCollectionMessage = 28;
|
|
3801
4168
|
optional uint32 afterReadDuration = 29;
|
|
4169
|
+
optional Message.ChatThemeSetting chatThemeSetting = 30;
|
|
4170
|
+
optional AIMetadataOperation aiMetadataOperation = 31;
|
|
4171
|
+
optional Message.MarkAsVerifiedAction markAsVerifiedAction = 32;
|
|
4172
|
+
optional CoexStateSync coexStateSync = 33;
|
|
4173
|
+
optional ACP2Setting acp2Setting = 35;
|
|
4174
|
+
optional Message.SharedDeviceContactHashKeyShare sharedDeviceContactHashKeyShare = 36;
|
|
4175
|
+
optional Message.SharedDeviceContactHashKeyRequest sharedDeviceContactHashKeyRequest = 37;
|
|
4176
|
+
repeated string additionalPromptIds = 38;
|
|
3802
4177
|
enum Type {
|
|
3803
4178
|
REVOKE = 0;
|
|
3804
4179
|
EPHEMERAL_SETTING = 3;
|
|
@@ -3828,6 +4203,13 @@ message Message {
|
|
|
3828
4203
|
GROUP_MEMBER_LABEL_CHANGE = 30;
|
|
3829
4204
|
AI_MEDIA_COLLECTION_MESSAGE = 31;
|
|
3830
4205
|
MESSAGE_UNSCHEDULE = 32;
|
|
4206
|
+
CHAT_THEME_SETTING = 34;
|
|
4207
|
+
AI_METADATA_OPERATION = 35;
|
|
4208
|
+
MARK_AS_VERIFIED_ACTION = 36;
|
|
4209
|
+
COEX_STATE_SYNC = 37;
|
|
4210
|
+
ACP2_SETTING = 39;
|
|
4211
|
+
SHARED_DEVICE_CONTACT_HASH_KEY_SHARE = 40;
|
|
4212
|
+
SHARED_DEVICE_CONTACT_HASH_KEY_REQUEST = 41;
|
|
3831
4213
|
}
|
|
3832
4214
|
}
|
|
3833
4215
|
|
|
@@ -3843,6 +4225,20 @@ message Message {
|
|
|
3843
4225
|
optional int64 senderTimestampMs = 4;
|
|
3844
4226
|
}
|
|
3845
4227
|
|
|
4228
|
+
message RequestLocationMessage {
|
|
4229
|
+
optional ContextInfo contextInfo = 1;
|
|
4230
|
+
}
|
|
4231
|
+
|
|
4232
|
+
message RequestLocationUpdateMessage {
|
|
4233
|
+
optional MessageKey key = 1;
|
|
4234
|
+
optional UpdateType updateType = 2;
|
|
4235
|
+
optional int64 senderTimestampMs = 3;
|
|
4236
|
+
enum UpdateType {
|
|
4237
|
+
UNKNOWN = 0;
|
|
4238
|
+
CANCEL = 1;
|
|
4239
|
+
}
|
|
4240
|
+
}
|
|
4241
|
+
|
|
3846
4242
|
message RequestPaymentMessage {
|
|
3847
4243
|
optional Message noteMessage = 4;
|
|
3848
4244
|
optional string currencyCodeIso4217 = 1;
|
|
@@ -3871,6 +4267,10 @@ message Message {
|
|
|
3871
4267
|
}
|
|
3872
4268
|
}
|
|
3873
4269
|
|
|
4270
|
+
message RootSecretDistributeMessage {
|
|
4271
|
+
optional string chatJid = 1;
|
|
4272
|
+
}
|
|
4273
|
+
|
|
3874
4274
|
message ScheduledCallCreationMessage {
|
|
3875
4275
|
optional int64 scheduledTimestampMs = 1;
|
|
3876
4276
|
optional CallType callType = 2;
|
|
@@ -3919,6 +4319,60 @@ message Message {
|
|
|
3919
4319
|
optional bytes axolotlSenderKeyDistributionMessage = 2;
|
|
3920
4320
|
}
|
|
3921
4321
|
|
|
4322
|
+
message SharedDeviceContactHashKey {
|
|
4323
|
+
optional uint32 epoch = 1;
|
|
4324
|
+
optional Kind kind = 2;
|
|
4325
|
+
optional bytes keyData = 3;
|
|
4326
|
+
enum Kind {
|
|
4327
|
+
UNKNOWN = 0;
|
|
4328
|
+
LID = 1;
|
|
4329
|
+
PHONE_NUMBER = 2;
|
|
4330
|
+
}
|
|
4331
|
+
}
|
|
4332
|
+
|
|
4333
|
+
message SharedDeviceContactHashKeyRequest {
|
|
4334
|
+
optional uint32 knownEpoch = 1;
|
|
4335
|
+
}
|
|
4336
|
+
|
|
4337
|
+
message SharedDeviceContactHashKeyShare {
|
|
4338
|
+
repeated Message.SharedDeviceContactHashKey keys = 1;
|
|
4339
|
+
}
|
|
4340
|
+
|
|
4341
|
+
message SplitPaymentMessage {
|
|
4342
|
+
optional string splitId = 1;
|
|
4343
|
+
optional Money totalAmount = 2;
|
|
4344
|
+
optional string description = 3;
|
|
4345
|
+
optional string requesterJid = 4;
|
|
4346
|
+
repeated Message.SplitPaymentParticipant participants = 5;
|
|
4347
|
+
optional int64 createdAtMs = 6;
|
|
4348
|
+
optional ContextInfo contextInfo = 17;
|
|
4349
|
+
}
|
|
4350
|
+
|
|
4351
|
+
message SplitPaymentParticipant {
|
|
4352
|
+
optional string jid = 1;
|
|
4353
|
+
optional Money amount = 2;
|
|
4354
|
+
optional SplitPaymentStatus status = 3;
|
|
4355
|
+
enum SplitPaymentStatus {
|
|
4356
|
+
PENDING = 0;
|
|
4357
|
+
PAID = 1;
|
|
4358
|
+
}
|
|
4359
|
+
}
|
|
4360
|
+
|
|
4361
|
+
message SplitPaymentUpdateMessage {
|
|
4362
|
+
optional string splitId = 1;
|
|
4363
|
+
optional string participantJid = 2;
|
|
4364
|
+
}
|
|
4365
|
+
|
|
4366
|
+
message StatusLinkPreviewMetadata {
|
|
4367
|
+
optional Style style = 1;
|
|
4368
|
+
enum Style {
|
|
4369
|
+
AUTO = 0;
|
|
4370
|
+
COMPACT = 1;
|
|
4371
|
+
FULL = 2;
|
|
4372
|
+
IMMERSIVE = 3;
|
|
4373
|
+
}
|
|
4374
|
+
}
|
|
4375
|
+
|
|
3922
4376
|
message StatusNotificationMessage {
|
|
3923
4377
|
optional MessageKey responseMessageKey = 1;
|
|
3924
4378
|
optional MessageKey originalMessageKey = 2;
|
|
@@ -3928,6 +4382,7 @@ message Message {
|
|
|
3928
4382
|
STATUS_ADD_YOURS = 1;
|
|
3929
4383
|
STATUS_RESHARE = 2;
|
|
3930
4384
|
STATUS_QUESTION_ANSWER_RESHARE = 3;
|
|
4385
|
+
STATUS_GROUP_STATUS_REPLY = 4;
|
|
3931
4386
|
}
|
|
3932
4387
|
}
|
|
3933
4388
|
|
|
@@ -3979,6 +4434,9 @@ message Message {
|
|
|
3979
4434
|
optional string accessibilityLabel = 22;
|
|
3980
4435
|
optional int32 premium = 24;
|
|
3981
4436
|
optional string emojis = 25;
|
|
4437
|
+
oneof audio {
|
|
4438
|
+
Message.AudioMessage audioMessage = 26;
|
|
4439
|
+
}
|
|
3982
4440
|
}
|
|
3983
4441
|
|
|
3984
4442
|
message StickerPackMessage {
|
|
@@ -4116,6 +4574,8 @@ message Message {
|
|
|
4116
4574
|
optional uint64 motionPhotoPresentationOffsetMs = 29;
|
|
4117
4575
|
optional string metadataUrl = 30;
|
|
4118
4576
|
optional VideoSourceType videoSourceType = 31;
|
|
4577
|
+
optional string dashManifestUrl = 33;
|
|
4578
|
+
optional int64 smartThumbnailTs = 34;
|
|
4119
4579
|
enum Attribution {
|
|
4120
4580
|
NONE = 0;
|
|
4121
4581
|
GIPHY = 1;
|
|
@@ -4180,6 +4640,8 @@ message MessageAssociation {
|
|
|
4180
4640
|
STATUS_REACTION = 18;
|
|
4181
4641
|
HEVC_VIDEO_DUAL_UPLOAD = 19;
|
|
4182
4642
|
POLL_ADD_OPTION = 20;
|
|
4643
|
+
AV1_VIDEO_DUAL_UPLOAD = 21;
|
|
4644
|
+
STREAMED_HD_VIDEO_DUAL_UPLOAD = 22;
|
|
4183
4645
|
}
|
|
4184
4646
|
}
|
|
4185
4647
|
|
|
@@ -4201,6 +4663,11 @@ message MessageContextInfo {
|
|
|
4201
4663
|
repeated ThreadID threadId = 15;
|
|
4202
4664
|
optional WebLinkRenderConfig weblinkRenderConfig = 16;
|
|
4203
4665
|
optional bytes teeBotMetadata = 17;
|
|
4666
|
+
optional NonE2EEAttestation accountEncryptionAttestation = 18;
|
|
4667
|
+
optional bytes associatedPrimaryIdentityKey = 19;
|
|
4668
|
+
optional string teeContextAnchorMessageId = 20;
|
|
4669
|
+
optional ACP2Setting acp2Setting = 21;
|
|
4670
|
+
optional bool lightE2Ee = 22;
|
|
4204
4671
|
enum MessageAddonExpiryType {
|
|
4205
4672
|
STATIC = 1;
|
|
4206
4673
|
DEPENDENT_ON_PARENT = 2;
|
|
@@ -4987,6 +5454,8 @@ message StatusAttribution {
|
|
|
4987
5454
|
SHARECHAT = 9;
|
|
4988
5455
|
GOOGLE_PHOTOS = 10;
|
|
4989
5456
|
SOUNDCLOUD = 11;
|
|
5457
|
+
SHAZAM = 12;
|
|
5458
|
+
PICSART = 13;
|
|
4990
5459
|
}
|
|
4991
5460
|
}
|
|
4992
5461
|
|
|
@@ -5044,6 +5513,8 @@ message StatusAttribution {
|
|
|
5044
5513
|
LAYOUTS = 8;
|
|
5045
5514
|
NEWSLETTER_STATUS = 9;
|
|
5046
5515
|
STATUS_CLOSE_SHARING = 10;
|
|
5516
|
+
PAID_PARTNERSHIP = 11;
|
|
5517
|
+
USERNAME_STATUS = 12;
|
|
5047
5518
|
}
|
|
5048
5519
|
}
|
|
5049
5520
|
|
|
@@ -6081,52 +6552,6 @@ message VerifiedNameCertificate {
|
|
|
6081
6552
|
|
|
6082
6553
|
}
|
|
6083
6554
|
|
|
6084
|
-
message VerifyKeyTransparencyForUserMandrakeCommand {
|
|
6085
|
-
required bytes lookupResponse = 1;
|
|
6086
|
-
required int64 userFbid = 2;
|
|
6087
|
-
required uint64 auditorSignatureTtlSecs = 3;
|
|
6088
|
-
repeated string requestedAuditorList = 4;
|
|
6089
|
-
required bool isProductionBuild = 5;
|
|
6090
|
-
required bytes localMailboxHead = 6;
|
|
6091
|
-
}
|
|
6092
|
-
|
|
6093
|
-
message VerifyKeyTransparencyForUserMandrakeResult {
|
|
6094
|
-
optional bool success = 1;
|
|
6095
|
-
optional string error = 2;
|
|
6096
|
-
}
|
|
6097
|
-
|
|
6098
|
-
message VerifyKeyTransparencyForUserMinosCommand {
|
|
6099
|
-
required bytes lookupResponse = 1;
|
|
6100
|
-
required int64 userFbid = 2;
|
|
6101
|
-
required uint64 auditorSignatureTtlSecs = 3;
|
|
6102
|
-
repeated string requestedAuditorList = 4;
|
|
6103
|
-
required bool isProductionBuild = 5;
|
|
6104
|
-
required bytes localEpochHead = 6;
|
|
6105
|
-
}
|
|
6106
|
-
|
|
6107
|
-
message VerifyKeyTransparencyForUserMinosResult {
|
|
6108
|
-
optional bool success = 1;
|
|
6109
|
-
optional string error = 2;
|
|
6110
|
-
}
|
|
6111
|
-
|
|
6112
|
-
message VerifyKeyTransparencyForUserSignalCommand {
|
|
6113
|
-
required bytes rootHash = 1;
|
|
6114
|
-
required uint64 currentEpoch = 2;
|
|
6115
|
-
required int64 userFbid = 3;
|
|
6116
|
-
required bytes historyProof = 4;
|
|
6117
|
-
required bytes metaSignature = 5;
|
|
6118
|
-
required bytes cloudflareSignature = 6;
|
|
6119
|
-
required bytes cloudflareMessage = 7;
|
|
6120
|
-
required bytes cloudflarePubKey = 8;
|
|
6121
|
-
required uint64 auditorSignatureTtlSecs = 9;
|
|
6122
|
-
map<uint64, bytes> local_device_keys = 10;
|
|
6123
|
-
}
|
|
6124
|
-
|
|
6125
|
-
message VerifyKeyTransparencyForUserSignalResult {
|
|
6126
|
-
optional bool success = 1;
|
|
6127
|
-
optional string error = 2;
|
|
6128
|
-
}
|
|
6129
|
-
|
|
6130
6555
|
message WallpaperSettings {
|
|
6131
6556
|
optional string filename = 1;
|
|
6132
6557
|
optional uint32 opacity = 2;
|