@wppconnect/wa-proto 2.3000.1049459221 → 2.3000.1049502668
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 +87 -4
- package/dist/index.d.ts +784 -15
- package/dist/index.js +2501 -45
- 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.1049502668
|
|
5
5
|
|
|
6
6
|
message ACP2Setting {
|
|
7
7
|
optional bool enabled = 1;
|
|
@@ -293,6 +293,7 @@ message AIThreadInfo {
|
|
|
293
293
|
DEFAULT = 1;
|
|
294
294
|
INCOGNITO = 2;
|
|
295
295
|
SIDE_CHAT = 3;
|
|
296
|
+
PRIVATE_SEARCH_CHAT = 4;
|
|
296
297
|
}
|
|
297
298
|
}
|
|
298
299
|
|
|
@@ -493,7 +494,14 @@ message BotCapabilityMetadata {
|
|
|
493
494
|
AI_STOP_GENERATION_ENABLED = 70;
|
|
494
495
|
AI_RICH_RESPONSE_3P_LINKING_CARD_ENABLED = 71;
|
|
495
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;
|
|
496
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;
|
|
497
505
|
}
|
|
498
506
|
}
|
|
499
507
|
|
|
@@ -1700,6 +1708,13 @@ message ContextInfo {
|
|
|
1700
1708
|
optional int32 agmHeaderInteractionStrategy = 32;
|
|
1701
1709
|
optional bool containsCtwaFlowsAutoLabel = 33;
|
|
1702
1710
|
optional string productId = 34;
|
|
1711
|
+
optional bool containsCtwaPromo = 35;
|
|
1712
|
+
optional string ctwaPromoResponseId = 36;
|
|
1713
|
+
optional string ctwaPromoOfferId = 37;
|
|
1714
|
+
optional string ctwaPromoAdEntryId = 38;
|
|
1715
|
+
optional uint64 ctwaPromoResponseExpiresAtSeconds = 39;
|
|
1716
|
+
optional uint32 ctwaPromoSchemaVersion = 40;
|
|
1717
|
+
optional string ctwaPromoAdgroupId = 41;
|
|
1703
1718
|
enum AdType {
|
|
1704
1719
|
CTWA = 0;
|
|
1705
1720
|
CAWC = 1;
|
|
@@ -1755,6 +1770,8 @@ message ContextInfo {
|
|
|
1755
1770
|
MOTION_PHOTO_CHILD = 6;
|
|
1756
1771
|
HEVC_VIDEO_PARENT = 7;
|
|
1757
1772
|
HEVC_VIDEO_CHILD = 8;
|
|
1773
|
+
AV1_VIDEO_PARENT = 9;
|
|
1774
|
+
AV1_VIDEO_CHILD = 10;
|
|
1758
1775
|
}
|
|
1759
1776
|
message PartiallySelectedContent {
|
|
1760
1777
|
optional string text = 1;
|
|
@@ -1867,6 +1884,7 @@ message Conversation {
|
|
|
1867
1884
|
optional string authAgentObaPhoneNumber = 62;
|
|
1868
1885
|
optional IdentityVerificationState identityVerification = 63;
|
|
1869
1886
|
optional ACP2Setting acp2Setting = 64;
|
|
1887
|
+
optional bool acp2HistoryWithheld = 65;
|
|
1870
1888
|
enum EndOfHistoryTransferType {
|
|
1871
1889
|
COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0;
|
|
1872
1890
|
COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1;
|
|
@@ -2162,6 +2180,8 @@ message DeviceProps {
|
|
|
2162
2180
|
repeated string supportedBotChannelFbids = 23;
|
|
2163
2181
|
optional bool supportInlineContacts = 24;
|
|
2164
2182
|
optional bool supportNewsletter = 25;
|
|
2183
|
+
optional bool supportUniversalReachChat = 26;
|
|
2184
|
+
optional bool supportOmittedConversationIndex = 27;
|
|
2165
2185
|
}
|
|
2166
2186
|
|
|
2167
2187
|
enum PlatformType {
|
|
@@ -2193,6 +2213,8 @@ message DeviceProps {
|
|
|
2193
2213
|
WAIL = 25;
|
|
2194
2214
|
WASS = 26;
|
|
2195
2215
|
BUSINESS_BACK_OFFICE = 27;
|
|
2216
|
+
WAIL_WAI = 28;
|
|
2217
|
+
WAIL_ALEXA = 29;
|
|
2196
2218
|
}
|
|
2197
2219
|
}
|
|
2198
2220
|
|
|
@@ -2427,6 +2449,10 @@ message EventAdditionalMetadata {
|
|
|
2427
2449
|
optional bool isStale = 1;
|
|
2428
2450
|
}
|
|
2429
2451
|
|
|
2452
|
+
message EventInviteAdditionalMetadata {
|
|
2453
|
+
optional bool isUpdated = 1;
|
|
2454
|
+
}
|
|
2455
|
+
|
|
2430
2456
|
message EventResponse {
|
|
2431
2457
|
optional MessageKey eventResponseMessageKey = 1;
|
|
2432
2458
|
optional int64 timestampMs = 2;
|
|
@@ -2692,6 +2718,9 @@ message HistorySync {
|
|
|
2692
2718
|
optional bytes nctSalt = 19;
|
|
2693
2719
|
repeated InlineContact inlineContacts = 20;
|
|
2694
2720
|
optional bool inlineContactsProvided = 21;
|
|
2721
|
+
repeated StickerMetadata favoriteStickers = 22;
|
|
2722
|
+
repeated RecoverableHistoryConversation omittedConversations = 23;
|
|
2723
|
+
optional bool omittedConversationsProvided = 24;
|
|
2695
2724
|
enum BotAIWaitListState {
|
|
2696
2725
|
IN_WAITLIST = 0;
|
|
2697
2726
|
AI_AVAILABLE = 1;
|
|
@@ -3274,6 +3303,8 @@ message Message {
|
|
|
3274
3303
|
optional FutureProofMessage newsletterScheduledMessage = 132;
|
|
3275
3304
|
optional FutureProofMessage acp2SettingMessage = 133;
|
|
3276
3305
|
optional FutureProofMessage audioStickerMessage = 134;
|
|
3306
|
+
optional ImageMessage instantImageMessage = 135;
|
|
3307
|
+
optional RequestLocationMessage requestLocationMessage = 136;
|
|
3277
3308
|
optional FutureProofMessage botGroupParticipantMessage = 137;
|
|
3278
3309
|
message AlbumMessage {
|
|
3279
3310
|
optional uint32 expectedImageCount = 2;
|
|
@@ -3480,9 +3511,11 @@ message Message {
|
|
|
3480
3511
|
}
|
|
3481
3512
|
|
|
3482
3513
|
message ChatSolidColorWallpaper {
|
|
3483
|
-
optional
|
|
3484
|
-
optional
|
|
3514
|
+
optional fixed32 backgroundLightArgb = 1;
|
|
3515
|
+
optional fixed32 backgroundDarkArgb = 2;
|
|
3485
3516
|
optional bool isDoodleEnabled = 3;
|
|
3517
|
+
optional fixed32 doodleLightArgb = 4;
|
|
3518
|
+
optional fixed32 doodleDarkArgb = 5;
|
|
3486
3519
|
}
|
|
3487
3520
|
|
|
3488
3521
|
message ChatStockImageWallpaper {
|
|
@@ -3523,6 +3556,11 @@ message Message {
|
|
|
3523
3556
|
|
|
3524
3557
|
}
|
|
3525
3558
|
|
|
3559
|
+
message CoexConnectionDescriptor {
|
|
3560
|
+
optional int64 providerId = 1;
|
|
3561
|
+
optional string product = 2;
|
|
3562
|
+
}
|
|
3563
|
+
|
|
3526
3564
|
message CommentMessage {
|
|
3527
3565
|
optional Message message = 1;
|
|
3528
3566
|
optional MessageKey targetMessageKey = 2;
|
|
@@ -3614,6 +3652,19 @@ message Message {
|
|
|
3614
3652
|
optional bool isCanceled = 7;
|
|
3615
3653
|
optional int64 endTime = 8;
|
|
3616
3654
|
optional string callLink = 9;
|
|
3655
|
+
optional string coverImageHandle = 10;
|
|
3656
|
+
optional string locationName = 11;
|
|
3657
|
+
optional int64 lastUpdatedTsUsec = 12;
|
|
3658
|
+
optional EventStatus status = 13;
|
|
3659
|
+
enum EventStatus {
|
|
3660
|
+
UNKNOWN = 0;
|
|
3661
|
+
ACTIVE = 1;
|
|
3662
|
+
CANCELED = 2;
|
|
3663
|
+
SUSPENDED = 3;
|
|
3664
|
+
DELETED = 4;
|
|
3665
|
+
LEFT_EVENT = 5;
|
|
3666
|
+
REMOVED_FROM_INVITE_LIST = 6;
|
|
3667
|
+
}
|
|
3617
3668
|
}
|
|
3618
3669
|
|
|
3619
3670
|
message EventMessage {
|
|
@@ -3711,6 +3762,7 @@ message Message {
|
|
|
3711
3762
|
optional string requestId = 1;
|
|
3712
3763
|
optional string businessProduct = 2;
|
|
3713
3764
|
optional bytes opaqueClientData = 3;
|
|
3765
|
+
optional Message.CoexConnectionDescriptor connection = 4;
|
|
3714
3766
|
}
|
|
3715
3767
|
|
|
3716
3768
|
message FutureProofMessage {
|
|
@@ -4680,6 +4732,7 @@ message Message {
|
|
|
4680
4732
|
optional ACP2Setting acp2Setting = 35;
|
|
4681
4733
|
optional Message.SharedDeviceContactHashKeyShare sharedDeviceContactHashKeyShare = 36;
|
|
4682
4734
|
optional Message.SharedDeviceContactHashKeyRequest sharedDeviceContactHashKeyRequest = 37;
|
|
4735
|
+
repeated string additionalPromptIds = 38;
|
|
4683
4736
|
enum Type {
|
|
4684
4737
|
REVOKE = 0;
|
|
4685
4738
|
EPHEMERAL_SETTING = 3;
|
|
@@ -4731,6 +4784,10 @@ message Message {
|
|
|
4731
4784
|
optional int64 senderTimestampMs = 4;
|
|
4732
4785
|
}
|
|
4733
4786
|
|
|
4787
|
+
message RequestLocationMessage {
|
|
4788
|
+
optional ContextInfo contextInfo = 1;
|
|
4789
|
+
}
|
|
4790
|
+
|
|
4734
4791
|
message RequestPaymentMessage {
|
|
4735
4792
|
optional Message noteMessage = 4;
|
|
4736
4793
|
optional string currencyCodeIso4217 = 1;
|
|
@@ -5131,6 +5188,7 @@ message MessageAssociation {
|
|
|
5131
5188
|
STATUS_REACTION = 18;
|
|
5132
5189
|
HEVC_VIDEO_DUAL_UPLOAD = 19;
|
|
5133
5190
|
POLL_ADD_OPTION = 20;
|
|
5191
|
+
AV1_VIDEO_DUAL_UPLOAD = 21;
|
|
5134
5192
|
}
|
|
5135
5193
|
}
|
|
5136
5194
|
|
|
@@ -5779,6 +5837,7 @@ message Point {
|
|
|
5779
5837
|
message PollAdditionalMetadata {
|
|
5780
5838
|
optional bool pollInvalidated = 1;
|
|
5781
5839
|
repeated PollNameHashHistoryEntry pollNameHashHistory = 2;
|
|
5840
|
+
repeated Message.PollCreationMessage.Option originalOptions = 3;
|
|
5782
5841
|
message PollNameHashHistoryEntry {
|
|
5783
5842
|
optional string editStanzaId = 1;
|
|
5784
5843
|
optional bytes pollNameHash = 2;
|
|
@@ -5916,6 +5975,11 @@ message RecordStructure {
|
|
|
5916
5975
|
repeated SessionStructure previousSessions = 2;
|
|
5917
5976
|
}
|
|
5918
5977
|
|
|
5978
|
+
message RecoverableHistoryConversation {
|
|
5979
|
+
optional string historyChatId = 1;
|
|
5980
|
+
optional string accountLid = 2;
|
|
5981
|
+
}
|
|
5982
|
+
|
|
5919
5983
|
message Reportable {
|
|
5920
5984
|
optional uint32 minVersion = 1;
|
|
5921
5985
|
optional uint32 maxVersion = 2;
|
|
@@ -6449,6 +6513,7 @@ message SyncActionValue {
|
|
|
6449
6513
|
optional bool saveOnPrimaryAddressbook = 4;
|
|
6450
6514
|
optional string pnJid = 5;
|
|
6451
6515
|
optional string username = 6;
|
|
6516
|
+
optional string birthday = 7;
|
|
6452
6517
|
}
|
|
6453
6518
|
|
|
6454
6519
|
message ContactManagerMetadataAction {
|
|
@@ -6595,6 +6660,7 @@ message SyncActionValue {
|
|
|
6595
6660
|
optional string fullName = 1;
|
|
6596
6661
|
optional string firstName = 2;
|
|
6597
6662
|
optional string username = 3;
|
|
6663
|
+
optional string birthday = 4;
|
|
6598
6664
|
}
|
|
6599
6665
|
|
|
6600
6666
|
message LocaleSetting {
|
|
@@ -7328,6 +7394,7 @@ message WebMessageInfo {
|
|
|
7328
7394
|
optional ScheduledMessageMetadata scheduledMessageMetadata = 81;
|
|
7329
7395
|
optional string decisionId = 82;
|
|
7330
7396
|
repeated string decisionSources = 83;
|
|
7397
|
+
optional EventInviteAdditionalMetadata eventInviteAdditionalMetadata = 84;
|
|
7331
7398
|
enum BizPrivacyStatus {
|
|
7332
7399
|
E2EE = 0;
|
|
7333
7400
|
FB = 2;
|
|
@@ -7579,9 +7646,25 @@ message WebMessageInfo {
|
|
|
7579
7646
|
EPHEMERAL_CHANGED_FOR_COEX = 248;
|
|
7580
7647
|
UGC_BOT_PROFILE_UPDATED = 249;
|
|
7581
7648
|
ORDER_EPHEMERAL_EXEMPTION = 250;
|
|
7649
|
+
GROUP_DEFAULT_SUB_GROUP_DEMOTE = 251;
|
|
7650
|
+
BIZ_BUSINESS_BROADCAST_ENTRY_POINT = 252;
|
|
7651
|
+
BOT_INLINE_TOS_CHAT = 253;
|
|
7582
7652
|
CAMEO_CHAT_CREATED = 254;
|
|
7583
|
-
CAMEO_TRANSITIONED = 256;
|
|
7584
7653
|
SENDER_SIDE_CONTACT_INFO = 255;
|
|
7654
|
+
CAMEO_TRANSITIONED = 256;
|
|
7655
|
+
CAMEO_REGISTERED_WITH_NEW_CHAT = 257;
|
|
7656
|
+
PRIVACY_SYSTEM_MESSAGE = 258;
|
|
7657
|
+
BIZ_AI_LEARNING_ENABLED_DISCLOSURE = 259;
|
|
7658
|
+
BIZ_AI_LEARNING_DISABLED_DISCLOSURE = 260;
|
|
7659
|
+
BIZ_AI_REPLIES_MUTED_HISTORICAL_CHAT = 261;
|
|
7660
|
+
INVITE_FROM_IG = 262;
|
|
7661
|
+
GROUP_ADMIN_FIRST_JOIN_VIA_LINK = 263;
|
|
7662
|
+
GROUP_ADMIN_FLOOD_JOIN_VIA_LINK = 264;
|
|
7663
|
+
BIZ_AI_REPLIES_MUTED_IRRELEVANT_HISTORICAL_CHAT = 265;
|
|
7664
|
+
PENDING_INVITE_CREATED = 266;
|
|
7665
|
+
CAMEO_CHAT_EXPIRED = 267;
|
|
7666
|
+
GROUP_PUSHNAME_SHARED = 270;
|
|
7667
|
+
BIZ_POST_SEND_OPT_OUT = 271;
|
|
7585
7668
|
}
|
|
7586
7669
|
}
|
|
7587
7670
|
|