@wppconnect/wa-proto 2.3000.1028596186 → 2.3000.1028992245
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 +4 -0
- package/WAProto.proto +76 -4
- package/dist/index.d.ts +772 -15
- package/dist/index.js +2421 -46
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
## [2.3000.1028992245](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1028596186...v2.3000.1028992245) (2025-10-27)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
1
5
|
## [2.3000.1028596186](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1028401180...v2.3000.1028596186) (2025-10-17)
|
|
2
6
|
|
|
3
7
|
|
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.1028992245
|
|
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,7 @@ 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;
|
|
365
393
|
}
|
|
366
394
|
}
|
|
367
395
|
|
|
@@ -421,6 +449,7 @@ message BotFeedbackMessage {
|
|
|
421
449
|
message SideBySideSurveyAnalyticsData {
|
|
422
450
|
optional string tessaEvent = 1;
|
|
423
451
|
optional string tessaSessionFbid = 2;
|
|
452
|
+
optional string simonSessionFbid = 3;
|
|
424
453
|
}
|
|
425
454
|
|
|
426
455
|
message SidebySideSurveyMetaAiAnalyticsData {
|
|
@@ -451,6 +480,7 @@ message BotFeedbackMessage {
|
|
|
451
480
|
|
|
452
481
|
message SideBySideSurveyResponseEventData {
|
|
453
482
|
optional string responseDwellTimeMsString = 1;
|
|
483
|
+
optional string selectedResponseId = 2;
|
|
454
484
|
}
|
|
455
485
|
|
|
456
486
|
}
|
|
@@ -561,6 +591,8 @@ message BotMetadata {
|
|
|
561
591
|
optional BotMessageOriginMetadata botMessageOriginMetadata = 29;
|
|
562
592
|
optional InThreadSurveyMetadata inThreadSurveyMetadata = 30;
|
|
563
593
|
optional AIThreadInfo botThreadInfo = 31;
|
|
594
|
+
optional AIRegenerateMetadata regenerateMetadata = 32;
|
|
595
|
+
optional SessionTransparencyMetadata sessionTransparencyMetadata = 33;
|
|
564
596
|
optional bytes internalMetadata = 999;
|
|
565
597
|
}
|
|
566
598
|
|
|
@@ -602,6 +634,8 @@ enum BotMetricsEntryPoint {
|
|
|
602
634
|
MESSAGE_QUICK_ACTION_GROUP_CHAT = 34;
|
|
603
635
|
ATTACHMENT_TRAY_1_ON_1_CHAT = 35;
|
|
604
636
|
ATTACHMENT_TRAY_GROUP_CHAT = 36;
|
|
637
|
+
ASK_META_AI_MEDIA_VIEWER_1ON1 = 37;
|
|
638
|
+
ASK_META_AI_MEDIA_VIEWER_GROUP = 38;
|
|
605
639
|
}
|
|
606
640
|
message BotMetricsMetadata {
|
|
607
641
|
optional string destinationId = 1;
|
|
@@ -849,6 +883,7 @@ message BotUnifiedResponseMutation {
|
|
|
849
883
|
|
|
850
884
|
message SideBySideMetadata {
|
|
851
885
|
optional string primaryResponseId = 1;
|
|
886
|
+
optional bool surveyCtaHasRendered = 2;
|
|
852
887
|
}
|
|
853
888
|
|
|
854
889
|
}
|
|
@@ -1493,6 +1528,7 @@ message DeviceCapabilities {
|
|
|
1493
1528
|
optional LIDMigration lidMigration = 2;
|
|
1494
1529
|
optional BusinessBroadcast businessBroadcast = 3;
|
|
1495
1530
|
optional UserHasAvatar userHasAvatar = 4;
|
|
1531
|
+
optional MemberNameTagPrimarySupport memberNameTagPrimarySupport = 5;
|
|
1496
1532
|
message BusinessBroadcast {
|
|
1497
1533
|
optional bool importListEnabled = 1;
|
|
1498
1534
|
}
|
|
@@ -1506,6 +1542,11 @@ message DeviceCapabilities {
|
|
|
1506
1542
|
optional uint64 chatDbMigrationTimestamp = 1;
|
|
1507
1543
|
}
|
|
1508
1544
|
|
|
1545
|
+
enum MemberNameTagPrimarySupport {
|
|
1546
|
+
DISABLED = 0;
|
|
1547
|
+
RECEIVER_ENABLED = 1;
|
|
1548
|
+
SENDER_ENABLED = 2;
|
|
1549
|
+
}
|
|
1509
1550
|
message UserHasAvatar {
|
|
1510
1551
|
optional bool userHasAvatar = 1;
|
|
1511
1552
|
}
|
|
@@ -1560,6 +1601,8 @@ message DeviceProps {
|
|
|
1560
1601
|
optional bool supportGroupHistory = 15;
|
|
1561
1602
|
optional bool onDemandReady = 16;
|
|
1562
1603
|
optional bool supportGuestChat = 17;
|
|
1604
|
+
optional bool completeOnDemandReady = 18;
|
|
1605
|
+
optional uint32 thumbnailSyncDaysLimit = 19;
|
|
1563
1606
|
}
|
|
1564
1607
|
|
|
1565
1608
|
enum PlatformType {
|
|
@@ -1721,6 +1764,7 @@ message GroupHistoryBundleInfo {
|
|
|
1721
1764
|
INJECTED = 1;
|
|
1722
1765
|
INJECTED_PARTIAL = 2;
|
|
1723
1766
|
INJECTION_FAILED = 3;
|
|
1767
|
+
INJECTION_FAILED_NO_RETRY = 4;
|
|
1724
1768
|
}
|
|
1725
1769
|
}
|
|
1726
1770
|
|
|
@@ -2103,9 +2147,9 @@ message Message {
|
|
|
2103
2147
|
optional StatusQuotedMessage statusQuotedMessage = 109;
|
|
2104
2148
|
optional StatusStickerInteractionMessage statusStickerInteractionMessage = 110;
|
|
2105
2149
|
optional PollCreationMessage pollCreationMessageV5 = 111;
|
|
2106
|
-
optional PollResultSnapshotMessage pollResultSnapshotMessageV2 = 112;
|
|
2107
2150
|
optional NewsletterFollowerInviteMessage newsletterFollowerInviteMessageV2 = 113;
|
|
2108
2151
|
optional RequestContactInfoMessage requestContactInfoMessage = 114;
|
|
2152
|
+
optional PollResultSnapshotMessage pollResultSnapshotMessageV3 = 115;
|
|
2109
2153
|
message AlbumMessage {
|
|
2110
2154
|
optional uint32 expectedImageCount = 2;
|
|
2111
2155
|
optional uint32 expectedVideoCount = 3;
|
|
@@ -2540,6 +2584,10 @@ message Message {
|
|
|
2540
2584
|
|
|
2541
2585
|
}
|
|
2542
2586
|
|
|
2587
|
+
message HistorySyncMessageAccessStatus {
|
|
2588
|
+
optional bool completeAccessGranted = 1;
|
|
2589
|
+
}
|
|
2590
|
+
|
|
2543
2591
|
message HistorySyncNotification {
|
|
2544
2592
|
optional bytes fileSha256 = 1;
|
|
2545
2593
|
optional uint64 fileLength = 2;
|
|
@@ -2555,6 +2603,7 @@ message Message {
|
|
|
2555
2603
|
optional string peerDataRequestSessionId = 12;
|
|
2556
2604
|
optional Message.FullHistorySyncOnDemandRequestMetadata fullHistorySyncOnDemandRequestMetadata = 13;
|
|
2557
2605
|
optional string encHandle = 14;
|
|
2606
|
+
optional Message.HistorySyncMessageAccessStatus messageAccessStatus = 15;
|
|
2558
2607
|
}
|
|
2559
2608
|
|
|
2560
2609
|
enum HistorySyncType {
|
|
@@ -2566,6 +2615,7 @@ message Message {
|
|
|
2566
2615
|
NON_BLOCKING_DATA = 5;
|
|
2567
2616
|
ON_DEMAND = 6;
|
|
2568
2617
|
NO_HISTORY = 7;
|
|
2618
|
+
MESSAGE_ACCESS_STATUS = 8;
|
|
2569
2619
|
}
|
|
2570
2620
|
message ImageMessage {
|
|
2571
2621
|
optional string url = 1;
|
|
@@ -3663,6 +3713,7 @@ message MessageContextInfo {
|
|
|
3663
3713
|
optional LimitSharing limitSharing = 13;
|
|
3664
3714
|
optional LimitSharing limitSharingV2 = 14;
|
|
3665
3715
|
repeated ThreadID threadId = 15;
|
|
3716
|
+
optional WebLinkRenderConfig weblinkRenderConfig = 16;
|
|
3666
3717
|
enum MessageAddonExpiryType {
|
|
3667
3718
|
STATIC = 1;
|
|
3668
3719
|
DEPENDENT_ON_PARENT = 2;
|
|
@@ -4174,6 +4225,11 @@ message SessionStructure {
|
|
|
4174
4225
|
|
|
4175
4226
|
}
|
|
4176
4227
|
|
|
4228
|
+
message SessionTransparencyMetadata {
|
|
4229
|
+
optional string disclaimerText = 1;
|
|
4230
|
+
optional string hcaId = 2;
|
|
4231
|
+
}
|
|
4232
|
+
|
|
4177
4233
|
message SignalMessage {
|
|
4178
4234
|
optional bytes ratchetKey = 1;
|
|
4179
4235
|
optional uint32 counter = 2;
|
|
@@ -4224,6 +4280,7 @@ message StatusAttribution {
|
|
|
4224
4280
|
THREADS = 7;
|
|
4225
4281
|
APPLE_MUSIC = 8;
|
|
4226
4282
|
SHARECHAT = 9;
|
|
4283
|
+
GOOGLE_PHOTOS = 10;
|
|
4227
4284
|
}
|
|
4228
4285
|
}
|
|
4229
4286
|
|
|
@@ -4382,6 +4439,7 @@ message SyncActionValue {
|
|
|
4382
4439
|
optional StatusPostOptInNotificationPreferencesAction statusPostOptInNotificationPreferencesAction = 71;
|
|
4383
4440
|
optional AvatarUpdatedAction avatarUpdatedAction = 72;
|
|
4384
4441
|
optional PrivateProcessingSettingAction privateProcessingSettingAction = 74;
|
|
4442
|
+
optional NewsletterSavedInterestsAction newsletterSavedInterestsAction = 75;
|
|
4385
4443
|
message AgentAction {
|
|
4386
4444
|
optional string name = 1;
|
|
4387
4445
|
optional int32 deviceID = 2;
|
|
@@ -4518,6 +4576,7 @@ message SyncActionValue {
|
|
|
4518
4576
|
optional bool isActive = 6;
|
|
4519
4577
|
optional ListType type = 7;
|
|
4520
4578
|
optional bool isImmutable = 8;
|
|
4579
|
+
optional int64 muteEndTimeMs = 9;
|
|
4521
4580
|
enum ListType {
|
|
4522
4581
|
NONE = 0;
|
|
4523
4582
|
UNREAD = 1;
|
|
@@ -4527,6 +4586,7 @@ message SyncActionValue {
|
|
|
4527
4586
|
CUSTOM = 5;
|
|
4528
4587
|
COMMUNITY = 6;
|
|
4529
4588
|
SERVER_ASSIGNED = 7;
|
|
4589
|
+
DRAFTED = 8;
|
|
4530
4590
|
}
|
|
4531
4591
|
}
|
|
4532
4592
|
|
|
@@ -4592,6 +4652,7 @@ message SyncActionValue {
|
|
|
4592
4652
|
|
|
4593
4653
|
message MusicUserIdAction {
|
|
4594
4654
|
optional string musicUserId = 1;
|
|
4655
|
+
map<string, string> music_user_id_map = 2;
|
|
4595
4656
|
}
|
|
4596
4657
|
|
|
4597
4658
|
message MuteAction {
|
|
@@ -4600,6 +4661,10 @@ message SyncActionValue {
|
|
|
4600
4661
|
optional bool autoMuted = 3;
|
|
4601
4662
|
}
|
|
4602
4663
|
|
|
4664
|
+
message NewsletterSavedInterestsAction {
|
|
4665
|
+
optional string newsletterSavedInterests = 1;
|
|
4666
|
+
}
|
|
4667
|
+
|
|
4603
4668
|
message NoteEditAction {
|
|
4604
4669
|
optional NoteType type = 1;
|
|
4605
4670
|
optional string chatJid = 2;
|
|
@@ -4669,8 +4734,9 @@ message SyncActionValue {
|
|
|
4669
4734
|
message PrivateProcessingSettingAction {
|
|
4670
4735
|
optional PrivateProcessingStatus privateProcessingStatus = 1;
|
|
4671
4736
|
enum PrivateProcessingStatus {
|
|
4672
|
-
|
|
4673
|
-
|
|
4737
|
+
UNDEFINED = 0;
|
|
4738
|
+
ENABLED = 1;
|
|
4739
|
+
DISABLED = 2;
|
|
4674
4740
|
}
|
|
4675
4741
|
}
|
|
4676
4742
|
|
|
@@ -4995,6 +5061,10 @@ message WebFeatures {
|
|
|
4995
5061
|
}
|
|
4996
5062
|
}
|
|
4997
5063
|
|
|
5064
|
+
enum WebLinkRenderConfig {
|
|
5065
|
+
WEBVIEW = 0;
|
|
5066
|
+
SYSTEM = 1;
|
|
5067
|
+
}
|
|
4998
5068
|
message WebMessageInfo {
|
|
4999
5069
|
required MessageKey key = 1;
|
|
5000
5070
|
optional Message message = 2;
|
|
@@ -5298,6 +5368,8 @@ message WebMessageInfo {
|
|
|
5298
5368
|
BIZ_AUTOMATICALLY_LABELED_CHAT_SYSTEM_MESSAGE = 218;
|
|
5299
5369
|
PHONE_NUMBER_HIDING_CHAT_DEPRECATED_MESSAGE = 219;
|
|
5300
5370
|
QUARANTINED_MESSAGE = 220;
|
|
5371
|
+
FIRST_JOIN_VIA_LINK = 221;
|
|
5372
|
+
FLOOD_OF_JOIN_VIA_LINK = 222;
|
|
5301
5373
|
}
|
|
5302
5374
|
}
|
|
5303
5375
|
|