@wppconnect/wa-proto 2.3000.1056008220 → 2.3000.1056166380
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 +43 -1
- package/dist/index.d.ts +493 -2
- package/dist/index.js +1454 -0
- 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.1056166380
|
|
5
5
|
|
|
6
6
|
message ACP2Setting {
|
|
7
7
|
optional bool enabled = 1;
|
|
@@ -545,7 +545,11 @@ message BotCapabilityMetadata {
|
|
|
545
545
|
RICH_RESPONSE_SIDE_BY_SIDE_BUFFER_BOTH = 89;
|
|
546
546
|
AI_MUSE_JARVIS_ENVELOPE_GZIP_ENABLED = 90;
|
|
547
547
|
AI_RICH_RESPONSE_INLINE_MEDIA_LIGHTBOX_ENABLED = 91;
|
|
548
|
+
HATCH_DEVICE_NODE_HOST = 92;
|
|
548
549
|
AI_MUSE_JARVIS_PAYLOAD_GZIP_ENABLED = 93;
|
|
550
|
+
AI_RICH_RESPONSE_A2UI_CARDS_ENABLED = 94;
|
|
551
|
+
AI_RICH_RESPONSE_READ_ALOUD_LENGTH_APPROXIMATION_ENABLED = 95;
|
|
552
|
+
AI_RICH_RESPONSE_READ_ALOUD_ACTION_TRAY_ENABLED = 96;
|
|
549
553
|
}
|
|
550
554
|
}
|
|
551
555
|
|
|
@@ -1978,6 +1982,7 @@ message Conversation {
|
|
|
1978
1982
|
optional int32 nonE2EeType = 68;
|
|
1979
1983
|
optional NonE2EEAttestation.AccountType contactAccountEncryptionAttestationType = 69;
|
|
1980
1984
|
optional uint32 unreadReplyToMyMessageCount = 70;
|
|
1985
|
+
optional ConversationDraft draft = 71;
|
|
1981
1986
|
enum EndOfHistoryTransferType {
|
|
1982
1987
|
COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0;
|
|
1983
1988
|
COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1;
|
|
@@ -1992,6 +1997,12 @@ message Conversation {
|
|
|
1992
1997
|
}
|
|
1993
1998
|
}
|
|
1994
1999
|
|
|
2000
|
+
message ConversationDraft {
|
|
2001
|
+
optional Message content = 1;
|
|
2002
|
+
optional int64 editTimestampMs = 2;
|
|
2003
|
+
optional uint32 editorDeviceId = 3;
|
|
2004
|
+
}
|
|
2005
|
+
|
|
1995
2006
|
message CreateBackupInput {
|
|
1996
2007
|
required string recoveryCode = 1;
|
|
1997
2008
|
required uint64 userId = 2;
|
|
@@ -2097,6 +2108,7 @@ message DeviceCapabilities {
|
|
|
2097
2108
|
optional PhoneNumberSharing phoneNumberSharing = 14;
|
|
2098
2109
|
optional RecentConversationsOnDemand recentConversationsOnDemand = 15;
|
|
2099
2110
|
optional AiMuseJarvisGzip aiMuseJarvisGzip = 16;
|
|
2111
|
+
optional DraftSync draftSync = 17;
|
|
2100
2112
|
message AiFbidMigration {
|
|
2101
2113
|
optional uint64 chatDbMigrationTimestamp = 1;
|
|
2102
2114
|
optional uint32 supportVersion = 2;
|
|
@@ -2141,6 +2153,10 @@ message DeviceCapabilities {
|
|
|
2141
2153
|
optional bool refreshSupported = 1;
|
|
2142
2154
|
}
|
|
2143
2155
|
|
|
2156
|
+
message DraftSync {
|
|
2157
|
+
optional uint32 version = 1;
|
|
2158
|
+
}
|
|
2159
|
+
|
|
2144
2160
|
message HostWriteMutationSupport {
|
|
2145
2161
|
repeated string mutationNames = 1;
|
|
2146
2162
|
}
|
|
@@ -2256,6 +2272,7 @@ message DeviceProps {
|
|
|
2256
2272
|
optional bool supportNewsletter = 25;
|
|
2257
2273
|
optional bool supportUniversalReachChat = 26;
|
|
2258
2274
|
optional bool supportOmittedConversationMetadata = 28;
|
|
2275
|
+
optional bool supportDraftSync = 29;
|
|
2259
2276
|
}
|
|
2260
2277
|
|
|
2261
2278
|
enum PlatformType {
|
|
@@ -2314,6 +2331,27 @@ message DisappearingMode {
|
|
|
2314
2331
|
}
|
|
2315
2332
|
}
|
|
2316
2333
|
|
|
2334
|
+
message DraftMessageSync {
|
|
2335
|
+
optional string chatJid = 1;
|
|
2336
|
+
optional string altChatJid = 2;
|
|
2337
|
+
optional Action action = 3;
|
|
2338
|
+
optional int64 editTimestampMs = 4;
|
|
2339
|
+
optional Message draft = 5;
|
|
2340
|
+
optional ClearReason clearReason = 6;
|
|
2341
|
+
enum Action {
|
|
2342
|
+
ACTION_UNKNOWN = 0;
|
|
2343
|
+
SET = 1;
|
|
2344
|
+
CLEAR = 2;
|
|
2345
|
+
}
|
|
2346
|
+
enum ClearReason {
|
|
2347
|
+
CLEAR_REASON_UNKNOWN = 0;
|
|
2348
|
+
USER_CLEARED = 1;
|
|
2349
|
+
SENT = 2;
|
|
2350
|
+
CHAT_LOCKED = 3;
|
|
2351
|
+
REPLACED_BY_NON_TEXT = 4;
|
|
2352
|
+
}
|
|
2353
|
+
}
|
|
2354
|
+
|
|
2317
2355
|
message EmbeddedContent {
|
|
2318
2356
|
oneof content {
|
|
2319
2357
|
EmbeddedMessage embeddedMessage = 1;
|
|
@@ -4595,6 +4633,7 @@ message Message {
|
|
|
4595
4633
|
optional MembershipFormKeyFingerprintVerification membershipFormKeyFingerprintVerification = 40;
|
|
4596
4634
|
optional GroupRootKeyShare groupRootKeyShare = 41;
|
|
4597
4635
|
optional MessageEditDisplayType messageEditDisplayType = 42;
|
|
4636
|
+
optional DraftMessageSync draftMessageSync = 43;
|
|
4598
4637
|
enum MessageEditDisplayType {
|
|
4599
4638
|
DEFAULT = 0;
|
|
4600
4639
|
LINK_PREVIEW_ONLY = 1;
|
|
@@ -4638,6 +4677,7 @@ message Message {
|
|
|
4638
4677
|
GROUP_ROOT_KEY_REQUEST = 42;
|
|
4639
4678
|
MEMBERSHIP_FORM_KEY_FINGERPRINT_VERIFICATION = 43;
|
|
4640
4679
|
GROUP_ROOT_KEY_SHARE = 44;
|
|
4680
|
+
DRAFT_MESSAGE_SYNC = 45;
|
|
4641
4681
|
}
|
|
4642
4682
|
}
|
|
4643
4683
|
|
|
@@ -5773,6 +5813,8 @@ message PrepareAddPeerDeviceSuccess {
|
|
|
5773
5813
|
required uint64 serverDataId = 2;
|
|
5774
5814
|
required bytes companionDeviceBinding = 3;
|
|
5775
5815
|
optional uint64 historyStartTime = 4;
|
|
5816
|
+
optional bytes identityBindingBlob = 5;
|
|
5817
|
+
optional bytes bindingSigByLabyrinthDevice = 6;
|
|
5776
5818
|
}
|
|
5777
5819
|
|
|
5778
5820
|
message PrimaryEphemeralIdentity {
|