@wppconnect/wa-proto 2.3000.1023399589 → 2.3000.1023443745
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 +78 -1
- package/dist/index.d.ts +871 -0
- package/dist/index.js +2577 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
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.1023443745
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -407,6 +407,7 @@ message BotMetadata {
|
|
|
407
407
|
optional BotModeSelectionMetadata botModeSelectionMetadata = 22;
|
|
408
408
|
optional BotQuotaMetadata botQuotaMetadata = 23;
|
|
409
409
|
optional BotAgeCollectionMetadata botAgeCollectionMetadata = 24;
|
|
410
|
+
optional string conversationStarterPromptId = 25;
|
|
410
411
|
}
|
|
411
412
|
|
|
412
413
|
enum BotMetricsEntryPoint {
|
|
@@ -1056,6 +1057,7 @@ message ContextInfo {
|
|
|
1056
1057
|
optional MemberLabel memberLabel = 62;
|
|
1057
1058
|
optional bool isQuestion = 63;
|
|
1058
1059
|
optional StatusSourceType statusSourceType = 64;
|
|
1060
|
+
repeated StatusAttribution statusAttributions = 65;
|
|
1059
1061
|
message AdReplyInfo {
|
|
1060
1062
|
optional string advertiserName = 1;
|
|
1061
1063
|
optional MediaType mediaType = 2;
|
|
@@ -1763,6 +1765,8 @@ message Message {
|
|
|
1763
1765
|
optional FutureProofMessage botTaskMessage = 100;
|
|
1764
1766
|
optional FutureProofMessage questionMessage = 101;
|
|
1765
1767
|
optional MessageHistoryNotice messageHistoryNotice = 102;
|
|
1768
|
+
optional FutureProofMessage groupStatusMessageV2 = 103;
|
|
1769
|
+
optional FutureProofMessage botForwardedMessage = 104;
|
|
1766
1770
|
message AlbumMessage {
|
|
1767
1771
|
optional uint32 expectedImageCount = 2;
|
|
1768
1772
|
optional uint32 expectedVideoCount = 3;
|
|
@@ -2595,6 +2599,7 @@ message Message {
|
|
|
2595
2599
|
message PaymentLinkMetadata {
|
|
2596
2600
|
optional PaymentLinkButton button = 1;
|
|
2597
2601
|
optional PaymentLinkHeader header = 2;
|
|
2602
|
+
optional PaymentLinkProvider provider = 3;
|
|
2598
2603
|
message PaymentLinkButton {
|
|
2599
2604
|
optional string displayText = 1;
|
|
2600
2605
|
}
|
|
@@ -2607,6 +2612,10 @@ message Message {
|
|
|
2607
2612
|
}
|
|
2608
2613
|
}
|
|
2609
2614
|
|
|
2615
|
+
message PaymentLinkProvider {
|
|
2616
|
+
optional string paramsJson = 1;
|
|
2617
|
+
}
|
|
2618
|
+
|
|
2610
2619
|
}
|
|
2611
2620
|
|
|
2612
2621
|
message PeerDataOperationRequestMessage {
|
|
@@ -3119,11 +3128,18 @@ message Message {
|
|
|
3119
3128
|
optional string accessibilityLabel = 26;
|
|
3120
3129
|
repeated ProcessedVideo processedVideos = 27;
|
|
3121
3130
|
optional uint32 externalShareFullVideoDurationInSeconds = 28;
|
|
3131
|
+
optional uint64 motionPhotoPresentationOffsetMs = 29;
|
|
3132
|
+
optional string metadataUrl = 30;
|
|
3133
|
+
optional VideoSourceType videoSourceType = 31;
|
|
3122
3134
|
enum Attribution {
|
|
3123
3135
|
NONE = 0;
|
|
3124
3136
|
GIPHY = 1;
|
|
3125
3137
|
TENOR = 2;
|
|
3126
3138
|
}
|
|
3139
|
+
enum VideoSourceType {
|
|
3140
|
+
USER_VIDEO = 0;
|
|
3141
|
+
AI_GENERATED = 1;
|
|
3142
|
+
}
|
|
3127
3143
|
}
|
|
3128
3144
|
|
|
3129
3145
|
}
|
|
@@ -3700,6 +3716,62 @@ message SignedPreKeyRecordStructure {
|
|
|
3700
3716
|
optional fixed64 timestamp = 5;
|
|
3701
3717
|
}
|
|
3702
3718
|
|
|
3719
|
+
message StatusAttribution {
|
|
3720
|
+
optional Type type = 1;
|
|
3721
|
+
optional string actionUrl = 2;
|
|
3722
|
+
oneof attributionData {
|
|
3723
|
+
StatusAttribution.StatusReshare statusReshare = 3;
|
|
3724
|
+
StatusAttribution.ExternalShare externalShare = 4;
|
|
3725
|
+
StatusAttribution.Music music = 5;
|
|
3726
|
+
}
|
|
3727
|
+
message ExternalShare {
|
|
3728
|
+
optional string actionUrl = 1;
|
|
3729
|
+
optional Source source = 2;
|
|
3730
|
+
optional int32 duration = 3;
|
|
3731
|
+
optional string actionFallbackUrl = 4;
|
|
3732
|
+
enum Source {
|
|
3733
|
+
UNKNOWN = 0;
|
|
3734
|
+
INSTAGRAM = 1;
|
|
3735
|
+
FACEBOOK = 2;
|
|
3736
|
+
MESSENGER = 3;
|
|
3737
|
+
SPOTIFY = 4;
|
|
3738
|
+
}
|
|
3739
|
+
}
|
|
3740
|
+
|
|
3741
|
+
message Music {
|
|
3742
|
+
optional string authorName = 1;
|
|
3743
|
+
optional string songId = 2;
|
|
3744
|
+
optional string title = 3;
|
|
3745
|
+
optional string author = 4;
|
|
3746
|
+
optional string artistAttribution = 5;
|
|
3747
|
+
optional bool isExplicit = 6;
|
|
3748
|
+
}
|
|
3749
|
+
|
|
3750
|
+
message StatusReshare {
|
|
3751
|
+
optional Source source = 1;
|
|
3752
|
+
optional Metadata metadata = 2;
|
|
3753
|
+
message Metadata {
|
|
3754
|
+
optional int32 duration = 1;
|
|
3755
|
+
optional string channelJid = 2;
|
|
3756
|
+
optional int32 channelMessageId = 3;
|
|
3757
|
+
optional bool hasMultipleReshares = 4;
|
|
3758
|
+
}
|
|
3759
|
+
|
|
3760
|
+
enum Source {
|
|
3761
|
+
UNKNOWN = 0;
|
|
3762
|
+
INTERNAL_RESHARE = 1;
|
|
3763
|
+
MENTION_RESHARE = 2;
|
|
3764
|
+
CHANNEL_RESHARE = 3;
|
|
3765
|
+
}
|
|
3766
|
+
}
|
|
3767
|
+
|
|
3768
|
+
enum Type {
|
|
3769
|
+
RESHARE = 0;
|
|
3770
|
+
EXTERNAL_SHARE = 1;
|
|
3771
|
+
MUSIC = 2;
|
|
3772
|
+
}
|
|
3773
|
+
}
|
|
3774
|
+
|
|
3703
3775
|
message StatusMentionMessage {
|
|
3704
3776
|
optional Message quotedStatus = 1;
|
|
3705
3777
|
}
|
|
@@ -3789,6 +3861,7 @@ message SyncActionValue {
|
|
|
3789
3861
|
optional LidContactAction lidContactAction = 61;
|
|
3790
3862
|
optional CtwaPerCustomerDataSharingAction ctwaPerCustomerDataSharingAction = 62;
|
|
3791
3863
|
optional PaymentTosAction paymentTosAction = 63;
|
|
3864
|
+
optional PrivacySettingChannelsPersonalisedRecommendationAction privacySettingChannelsPersonalisedRecommendationAction = 64;
|
|
3792
3865
|
message AgentAction {
|
|
3793
3866
|
optional string name = 1;
|
|
3794
3867
|
optional int32 deviceID = 2;
|
|
@@ -4020,6 +4093,10 @@ message SyncActionValue {
|
|
|
4020
4093
|
optional string version = 1;
|
|
4021
4094
|
}
|
|
4022
4095
|
|
|
4096
|
+
message PrivacySettingChannelsPersonalisedRecommendationAction {
|
|
4097
|
+
optional bool isUserOptedOut = 1;
|
|
4098
|
+
}
|
|
4099
|
+
|
|
4023
4100
|
message PrivacySettingDisableLinkPreviewsAction {
|
|
4024
4101
|
optional bool isPreviewsDisabled = 1;
|
|
4025
4102
|
}
|