@wppconnect/wa-proto 2.3000.1028596186 → 2.3000.1029098773
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/WAProto.proto +75 -4
- package/dist/index.d.ts +770 -14
- package/dist/index.js +2414 -46
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [2.3000.1029098773](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1028992245...v2.3000.1029098773) (2025-10-29)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## [2.3000.1028992245](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1028596186...v2.3000.1028992245) (2025-10-27)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
1
9
|
## [2.3000.1028596186](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1028401180...v2.3000.1028596186) (2025-10-17)
|
|
2
10
|
|
|
3
11
|
|
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.1029098773
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -42,12 +42,39 @@ message ADVSignedKeyIndexList {
|
|
|
42
42
|
optional bytes accountSignatureKey = 3;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
+
message AIHomeState {
|
|
46
|
+
optional int64 lastFetchTime = 1;
|
|
47
|
+
repeated AIHomeOption capabilityOptions = 2;
|
|
48
|
+
repeated AIHomeOption conversationOptions = 3;
|
|
49
|
+
message AIHomeOption {
|
|
50
|
+
optional AIHomeActionType type = 1;
|
|
51
|
+
optional string title = 2;
|
|
52
|
+
optional string promptText = 3;
|
|
53
|
+
optional string sessionId = 4;
|
|
54
|
+
optional string imageWdsIdentifier = 5;
|
|
55
|
+
optional string imageTintColor = 6;
|
|
56
|
+
optional string imageBackgroundColor = 7;
|
|
57
|
+
enum AIHomeActionType {
|
|
58
|
+
PROMPT = 0;
|
|
59
|
+
CREATE_IMAGE = 1;
|
|
60
|
+
ANIMATE_PHOTO = 2;
|
|
61
|
+
ANALYZE_FILE = 3;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
}
|
|
66
|
+
|
|
45
67
|
message AIQueryFanout {
|
|
46
68
|
optional MessageKey messageKey = 1;
|
|
47
69
|
optional Message message = 2;
|
|
48
70
|
optional int64 timestamp = 3;
|
|
49
71
|
}
|
|
50
72
|
|
|
73
|
+
message AIRegenerateMetadata {
|
|
74
|
+
optional MessageKey messageKey = 1;
|
|
75
|
+
optional int64 responseTimestampMs = 2;
|
|
76
|
+
}
|
|
77
|
+
|
|
51
78
|
message AIRichResponseCodeMetadata {
|
|
52
79
|
optional string codeLanguage = 1;
|
|
53
80
|
repeated AIRichResponseCodeBlock codeBlocks = 2;
|
|
@@ -362,6 +389,8 @@ message BotCapabilityMetadata {
|
|
|
362
389
|
RICH_RESPONSE_UR_TIMESTAMP_PLACEHOLDER = 45;
|
|
363
390
|
RICH_RESPONSE_IN_APP_SURVEY = 46;
|
|
364
391
|
AI_RESPONSE_MODEL_BRANDING = 47;
|
|
392
|
+
SESSION_TRANSPARENCY_SYSTEM_MESSAGE = 48;
|
|
393
|
+
RICH_RESPONSE_UR_REASONING = 49;
|
|
365
394
|
}
|
|
366
395
|
}
|
|
367
396
|
|
|
@@ -421,6 +450,7 @@ message BotFeedbackMessage {
|
|
|
421
450
|
message SideBySideSurveyAnalyticsData {
|
|
422
451
|
optional string tessaEvent = 1;
|
|
423
452
|
optional string tessaSessionFbid = 2;
|
|
453
|
+
optional string simonSessionFbid = 3;
|
|
424
454
|
}
|
|
425
455
|
|
|
426
456
|
message SidebySideSurveyMetaAiAnalyticsData {
|
|
@@ -451,6 +481,7 @@ message BotFeedbackMessage {
|
|
|
451
481
|
|
|
452
482
|
message SideBySideSurveyResponseEventData {
|
|
453
483
|
optional string responseDwellTimeMsString = 1;
|
|
484
|
+
optional string selectedResponseId = 2;
|
|
454
485
|
}
|
|
455
486
|
|
|
456
487
|
}
|
|
@@ -561,6 +592,8 @@ message BotMetadata {
|
|
|
561
592
|
optional BotMessageOriginMetadata botMessageOriginMetadata = 29;
|
|
562
593
|
optional InThreadSurveyMetadata inThreadSurveyMetadata = 30;
|
|
563
594
|
optional AIThreadInfo botThreadInfo = 31;
|
|
595
|
+
optional AIRegenerateMetadata regenerateMetadata = 32;
|
|
596
|
+
optional SessionTransparencyMetadata sessionTransparencyMetadata = 33;
|
|
564
597
|
optional bytes internalMetadata = 999;
|
|
565
598
|
}
|
|
566
599
|
|
|
@@ -602,6 +635,8 @@ enum BotMetricsEntryPoint {
|
|
|
602
635
|
MESSAGE_QUICK_ACTION_GROUP_CHAT = 34;
|
|
603
636
|
ATTACHMENT_TRAY_1_ON_1_CHAT = 35;
|
|
604
637
|
ATTACHMENT_TRAY_GROUP_CHAT = 36;
|
|
638
|
+
ASK_META_AI_MEDIA_VIEWER_1ON1 = 37;
|
|
639
|
+
ASK_META_AI_MEDIA_VIEWER_GROUP = 38;
|
|
605
640
|
}
|
|
606
641
|
message BotMetricsMetadata {
|
|
607
642
|
optional string destinationId = 1;
|
|
@@ -849,6 +884,7 @@ message BotUnifiedResponseMutation {
|
|
|
849
884
|
|
|
850
885
|
message SideBySideMetadata {
|
|
851
886
|
optional string primaryResponseId = 1;
|
|
887
|
+
optional bool surveyCtaHasRendered = 2;
|
|
852
888
|
}
|
|
853
889
|
|
|
854
890
|
}
|
|
@@ -1493,6 +1529,7 @@ message DeviceCapabilities {
|
|
|
1493
1529
|
optional LIDMigration lidMigration = 2;
|
|
1494
1530
|
optional BusinessBroadcast businessBroadcast = 3;
|
|
1495
1531
|
optional UserHasAvatar userHasAvatar = 4;
|
|
1532
|
+
optional MemberNameTagPrimarySupport memberNameTagPrimarySupport = 5;
|
|
1496
1533
|
message BusinessBroadcast {
|
|
1497
1534
|
optional bool importListEnabled = 1;
|
|
1498
1535
|
}
|
|
@@ -1506,6 +1543,11 @@ message DeviceCapabilities {
|
|
|
1506
1543
|
optional uint64 chatDbMigrationTimestamp = 1;
|
|
1507
1544
|
}
|
|
1508
1545
|
|
|
1546
|
+
enum MemberNameTagPrimarySupport {
|
|
1547
|
+
DISABLED = 0;
|
|
1548
|
+
RECEIVER_ENABLED = 1;
|
|
1549
|
+
SENDER_ENABLED = 2;
|
|
1550
|
+
}
|
|
1509
1551
|
message UserHasAvatar {
|
|
1510
1552
|
optional bool userHasAvatar = 1;
|
|
1511
1553
|
}
|
|
@@ -1560,6 +1602,8 @@ message DeviceProps {
|
|
|
1560
1602
|
optional bool supportGroupHistory = 15;
|
|
1561
1603
|
optional bool onDemandReady = 16;
|
|
1562
1604
|
optional bool supportGuestChat = 17;
|
|
1605
|
+
optional bool completeOnDemandReady = 18;
|
|
1606
|
+
optional uint32 thumbnailSyncDaysLimit = 19;
|
|
1563
1607
|
}
|
|
1564
1608
|
|
|
1565
1609
|
enum PlatformType {
|
|
@@ -1721,6 +1765,7 @@ message GroupHistoryBundleInfo {
|
|
|
1721
1765
|
INJECTED = 1;
|
|
1722
1766
|
INJECTED_PARTIAL = 2;
|
|
1723
1767
|
INJECTION_FAILED = 3;
|
|
1768
|
+
INJECTION_FAILED_NO_RETRY = 4;
|
|
1724
1769
|
}
|
|
1725
1770
|
}
|
|
1726
1771
|
|
|
@@ -2103,9 +2148,9 @@ message Message {
|
|
|
2103
2148
|
optional StatusQuotedMessage statusQuotedMessage = 109;
|
|
2104
2149
|
optional StatusStickerInteractionMessage statusStickerInteractionMessage = 110;
|
|
2105
2150
|
optional PollCreationMessage pollCreationMessageV5 = 111;
|
|
2106
|
-
optional PollResultSnapshotMessage pollResultSnapshotMessageV2 = 112;
|
|
2107
2151
|
optional NewsletterFollowerInviteMessage newsletterFollowerInviteMessageV2 = 113;
|
|
2108
2152
|
optional RequestContactInfoMessage requestContactInfoMessage = 114;
|
|
2153
|
+
optional PollResultSnapshotMessage pollResultSnapshotMessageV3 = 115;
|
|
2109
2154
|
message AlbumMessage {
|
|
2110
2155
|
optional uint32 expectedImageCount = 2;
|
|
2111
2156
|
optional uint32 expectedVideoCount = 3;
|
|
@@ -2540,6 +2585,10 @@ message Message {
|
|
|
2540
2585
|
|
|
2541
2586
|
}
|
|
2542
2587
|
|
|
2588
|
+
message HistorySyncMessageAccessStatus {
|
|
2589
|
+
optional bool completeAccessGranted = 1;
|
|
2590
|
+
}
|
|
2591
|
+
|
|
2543
2592
|
message HistorySyncNotification {
|
|
2544
2593
|
optional bytes fileSha256 = 1;
|
|
2545
2594
|
optional uint64 fileLength = 2;
|
|
@@ -2555,6 +2604,7 @@ message Message {
|
|
|
2555
2604
|
optional string peerDataRequestSessionId = 12;
|
|
2556
2605
|
optional Message.FullHistorySyncOnDemandRequestMetadata fullHistorySyncOnDemandRequestMetadata = 13;
|
|
2557
2606
|
optional string encHandle = 14;
|
|
2607
|
+
optional Message.HistorySyncMessageAccessStatus messageAccessStatus = 15;
|
|
2558
2608
|
}
|
|
2559
2609
|
|
|
2560
2610
|
enum HistorySyncType {
|
|
@@ -2566,6 +2616,7 @@ message Message {
|
|
|
2566
2616
|
NON_BLOCKING_DATA = 5;
|
|
2567
2617
|
ON_DEMAND = 6;
|
|
2568
2618
|
NO_HISTORY = 7;
|
|
2619
|
+
MESSAGE_ACCESS_STATUS = 8;
|
|
2569
2620
|
}
|
|
2570
2621
|
message ImageMessage {
|
|
2571
2622
|
optional string url = 1;
|
|
@@ -3663,6 +3714,7 @@ message MessageContextInfo {
|
|
|
3663
3714
|
optional LimitSharing limitSharing = 13;
|
|
3664
3715
|
optional LimitSharing limitSharingV2 = 14;
|
|
3665
3716
|
repeated ThreadID threadId = 15;
|
|
3717
|
+
optional WebLinkRenderConfig weblinkRenderConfig = 16;
|
|
3666
3718
|
enum MessageAddonExpiryType {
|
|
3667
3719
|
STATIC = 1;
|
|
3668
3720
|
DEPENDENT_ON_PARENT = 2;
|
|
@@ -4174,6 +4226,11 @@ message SessionStructure {
|
|
|
4174
4226
|
|
|
4175
4227
|
}
|
|
4176
4228
|
|
|
4229
|
+
message SessionTransparencyMetadata {
|
|
4230
|
+
optional string disclaimerText = 1;
|
|
4231
|
+
optional string hcaId = 2;
|
|
4232
|
+
}
|
|
4233
|
+
|
|
4177
4234
|
message SignalMessage {
|
|
4178
4235
|
optional bytes ratchetKey = 1;
|
|
4179
4236
|
optional uint32 counter = 2;
|
|
@@ -4224,6 +4281,7 @@ message StatusAttribution {
|
|
|
4224
4281
|
THREADS = 7;
|
|
4225
4282
|
APPLE_MUSIC = 8;
|
|
4226
4283
|
SHARECHAT = 9;
|
|
4284
|
+
GOOGLE_PHOTOS = 10;
|
|
4227
4285
|
}
|
|
4228
4286
|
}
|
|
4229
4287
|
|
|
@@ -4382,6 +4440,7 @@ message SyncActionValue {
|
|
|
4382
4440
|
optional StatusPostOptInNotificationPreferencesAction statusPostOptInNotificationPreferencesAction = 71;
|
|
4383
4441
|
optional AvatarUpdatedAction avatarUpdatedAction = 72;
|
|
4384
4442
|
optional PrivateProcessingSettingAction privateProcessingSettingAction = 74;
|
|
4443
|
+
optional NewsletterSavedInterestsAction newsletterSavedInterestsAction = 75;
|
|
4385
4444
|
message AgentAction {
|
|
4386
4445
|
optional string name = 1;
|
|
4387
4446
|
optional int32 deviceID = 2;
|
|
@@ -4518,6 +4577,7 @@ message SyncActionValue {
|
|
|
4518
4577
|
optional bool isActive = 6;
|
|
4519
4578
|
optional ListType type = 7;
|
|
4520
4579
|
optional bool isImmutable = 8;
|
|
4580
|
+
optional int64 muteEndTimeMs = 9;
|
|
4521
4581
|
enum ListType {
|
|
4522
4582
|
NONE = 0;
|
|
4523
4583
|
UNREAD = 1;
|
|
@@ -4527,6 +4587,7 @@ message SyncActionValue {
|
|
|
4527
4587
|
CUSTOM = 5;
|
|
4528
4588
|
COMMUNITY = 6;
|
|
4529
4589
|
SERVER_ASSIGNED = 7;
|
|
4590
|
+
DRAFTED = 8;
|
|
4530
4591
|
}
|
|
4531
4592
|
}
|
|
4532
4593
|
|
|
@@ -4592,6 +4653,7 @@ message SyncActionValue {
|
|
|
4592
4653
|
|
|
4593
4654
|
message MusicUserIdAction {
|
|
4594
4655
|
optional string musicUserId = 1;
|
|
4656
|
+
map<string, string> music_user_id_map = 2;
|
|
4595
4657
|
}
|
|
4596
4658
|
|
|
4597
4659
|
message MuteAction {
|
|
@@ -4600,6 +4662,10 @@ message SyncActionValue {
|
|
|
4600
4662
|
optional bool autoMuted = 3;
|
|
4601
4663
|
}
|
|
4602
4664
|
|
|
4665
|
+
message NewsletterSavedInterestsAction {
|
|
4666
|
+
optional string newsletterSavedInterests = 1;
|
|
4667
|
+
}
|
|
4668
|
+
|
|
4603
4669
|
message NoteEditAction {
|
|
4604
4670
|
optional NoteType type = 1;
|
|
4605
4671
|
optional string chatJid = 2;
|
|
@@ -4669,8 +4735,9 @@ message SyncActionValue {
|
|
|
4669
4735
|
message PrivateProcessingSettingAction {
|
|
4670
4736
|
optional PrivateProcessingStatus privateProcessingStatus = 1;
|
|
4671
4737
|
enum PrivateProcessingStatus {
|
|
4672
|
-
|
|
4673
|
-
|
|
4738
|
+
UNDEFINED = 0;
|
|
4739
|
+
ENABLED = 1;
|
|
4740
|
+
DISABLED = 2;
|
|
4674
4741
|
}
|
|
4675
4742
|
}
|
|
4676
4743
|
|
|
@@ -4995,6 +5062,10 @@ message WebFeatures {
|
|
|
4995
5062
|
}
|
|
4996
5063
|
}
|
|
4997
5064
|
|
|
5065
|
+
enum WebLinkRenderConfig {
|
|
5066
|
+
WEBVIEW = 0;
|
|
5067
|
+
SYSTEM = 1;
|
|
5068
|
+
}
|
|
4998
5069
|
message WebMessageInfo {
|
|
4999
5070
|
required MessageKey key = 1;
|
|
5000
5071
|
optional Message message = 2;
|