@wppconnect/wa-proto 2.3000.1024884592 → 2.3000.1025150051
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 +50 -16
- package/dist/index.d.ts +499 -228
- package/dist/index.js +1469 -666
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## 2.3000.1025150051 (2025-07-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## [2.3000.1025139211](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1024884592...v2.3000.1025139211) (2025-07-25)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
1
9
|
## [2.3000.1024884592](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1024744989...v2.3000.1024884592) (2025-07-18)
|
|
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.1025150051
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -387,6 +387,17 @@ message BotMemuMetadata {
|
|
|
387
387
|
repeated BotMediaMetadata faceImages = 1;
|
|
388
388
|
}
|
|
389
389
|
|
|
390
|
+
message BotMessageOrigin {
|
|
391
|
+
optional BotMessageOriginType type = 1;
|
|
392
|
+
enum BotMessageOriginType {
|
|
393
|
+
BOT_MESSAGE_ORIGIN_TYPE_AI_INITIATED = 0;
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
message BotMessageOriginMetadata {
|
|
398
|
+
repeated BotMessageOrigin origins = 1;
|
|
399
|
+
}
|
|
400
|
+
|
|
390
401
|
message BotMetadata {
|
|
391
402
|
optional BotAvatarMetadata avatarMetadata = 1;
|
|
392
403
|
optional string personaId = 2;
|
|
@@ -416,6 +427,7 @@ message BotMetadata {
|
|
|
416
427
|
optional string botResponseId = 26;
|
|
417
428
|
optional BotSignatureVerificationMetadata verificationMetadata = 27;
|
|
418
429
|
optional BotUnifiedResponseMutation unifiedResponseMutation = 28;
|
|
430
|
+
optional BotMessageOriginMetadata botMessageOriginMetadata = 29;
|
|
419
431
|
}
|
|
420
432
|
|
|
421
433
|
enum BotMetricsEntryPoint {
|
|
@@ -1099,6 +1111,9 @@ message ContextInfo {
|
|
|
1099
1111
|
optional StatusSourceType statusSourceType = 64;
|
|
1100
1112
|
repeated StatusAttribution statusAttributions = 65;
|
|
1101
1113
|
optional bool isGroupStatus = 66;
|
|
1114
|
+
optional ForwardOrigin forwardOrigin = 67;
|
|
1115
|
+
optional QuestionReplyQuotedMessage questionReplyQuotedMessage = 68;
|
|
1116
|
+
optional StatusAudienceMetadata statusAudienceMetadata = 69;
|
|
1102
1117
|
message AdReplyInfo {
|
|
1103
1118
|
optional string advertiserName = 1;
|
|
1104
1119
|
optional MediaType mediaType = 2;
|
|
@@ -1119,6 +1134,11 @@ message ContextInfo {
|
|
|
1119
1134
|
optional bool showMmDisclosure = 1;
|
|
1120
1135
|
optional string encryptedSignalTokenConsented = 2;
|
|
1121
1136
|
repeated Parameters parameters = 3;
|
|
1137
|
+
optional int32 dataSharingFlags = 4;
|
|
1138
|
+
enum DataSharingFlags {
|
|
1139
|
+
SHOW_MM_DISCLOSURE_ON_CLICK = 1;
|
|
1140
|
+
SHOW_MM_DISCLOSURE_ON_READ = 2;
|
|
1141
|
+
}
|
|
1122
1142
|
message Parameters {
|
|
1123
1143
|
optional string key = 1;
|
|
1124
1144
|
optional string stringData = 2;
|
|
@@ -1155,6 +1175,7 @@ message ContextInfo {
|
|
|
1155
1175
|
optional string automatedGreetingMessageCtaType = 23;
|
|
1156
1176
|
optional bool wtwaAdFormat = 24;
|
|
1157
1177
|
optional AdType adType = 25;
|
|
1178
|
+
optional string wtwaWebsiteUrl = 26;
|
|
1158
1179
|
enum AdType {
|
|
1159
1180
|
CTWA = 0;
|
|
1160
1181
|
CAWC = 1;
|
|
@@ -1173,6 +1194,12 @@ message ContextInfo {
|
|
|
1173
1194
|
optional bool canBeReshared = 4;
|
|
1174
1195
|
}
|
|
1175
1196
|
|
|
1197
|
+
enum ForwardOrigin {
|
|
1198
|
+
UNKNOWN = 0;
|
|
1199
|
+
CHAT = 1;
|
|
1200
|
+
STATUS = 2;
|
|
1201
|
+
CHANNELS = 3;
|
|
1202
|
+
}
|
|
1176
1203
|
message ForwardedAIBotMessageInfo {
|
|
1177
1204
|
optional string botName = 1;
|
|
1178
1205
|
optional string botJid = 2;
|
|
@@ -1201,12 +1228,27 @@ message ContextInfo {
|
|
|
1201
1228
|
MOTION_PHOTO_PARENT = 5;
|
|
1202
1229
|
MOTION_PHOTO_CHILD = 6;
|
|
1203
1230
|
}
|
|
1231
|
+
message QuestionReplyQuotedMessage {
|
|
1232
|
+
optional int32 serverQuestionId = 1;
|
|
1233
|
+
optional Message quotedQuestion = 2;
|
|
1234
|
+
optional Message quotedResponse = 3;
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1204
1237
|
enum StatusAttributionType {
|
|
1205
1238
|
NONE = 0;
|
|
1206
1239
|
RESHARED_FROM_MENTION = 1;
|
|
1207
1240
|
RESHARED_FROM_POST = 2;
|
|
1208
|
-
|
|
1241
|
+
RESHARED_FROM_POST_MANY_TIMES = 3;
|
|
1242
|
+
FORWARDED_FROM_STATUS = 4;
|
|
1209
1243
|
}
|
|
1244
|
+
message StatusAudienceMetadata {
|
|
1245
|
+
optional AudienceType audienceType = 1;
|
|
1246
|
+
enum AudienceType {
|
|
1247
|
+
UNKNOWN = 0;
|
|
1248
|
+
CLOSE_FRIENDS = 1;
|
|
1249
|
+
}
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1210
1252
|
enum StatusSourceType {
|
|
1211
1253
|
IMAGE = 0;
|
|
1212
1254
|
VIDEO = 1;
|
|
@@ -1343,6 +1385,7 @@ message DeviceProps {
|
|
|
1343
1385
|
optional bool supportAddOnHistorySyncMigration = 13;
|
|
1344
1386
|
optional bool supportMessageAssociation = 14;
|
|
1345
1387
|
optional bool supportGroupHistory = 15;
|
|
1388
|
+
optional bool onDemandReady = 16;
|
|
1346
1389
|
}
|
|
1347
1390
|
|
|
1348
1391
|
enum PlatformType {
|
|
@@ -1495,6 +1538,7 @@ message GroupMention {
|
|
|
1495
1538
|
message GroupParticipant {
|
|
1496
1539
|
required string userJid = 1;
|
|
1497
1540
|
optional Rank rank = 2;
|
|
1541
|
+
optional MemberLabel memberLabel = 3;
|
|
1498
1542
|
enum Rank {
|
|
1499
1543
|
REGULAR = 0;
|
|
1500
1544
|
ADMIN = 1;
|
|
@@ -1811,7 +1855,6 @@ message Message {
|
|
|
1811
1855
|
optional FutureProofMessage groupStatusMessageV2 = 103;
|
|
1812
1856
|
optional FutureProofMessage botForwardedMessage = 104;
|
|
1813
1857
|
optional StatusQuestionAnswerMessage statusQuestionAnswerMessage = 105;
|
|
1814
|
-
optional QuestionAdminReplyMessage questionAdminReplyMessage = 106;
|
|
1815
1858
|
optional QuestionResponseMessage questionResponseMessage = 107;
|
|
1816
1859
|
message AlbumMessage {
|
|
1817
1860
|
optional uint32 expectedImageCount = 2;
|
|
@@ -2041,6 +2084,7 @@ message Message {
|
|
|
2041
2084
|
optional string consumerLid = 3;
|
|
2042
2085
|
optional string consumerPhoneNumber = 4;
|
|
2043
2086
|
optional CloudAPIThreadControlNotificationContent notificationContent = 5;
|
|
2087
|
+
optional bool shouldSuppressNotification = 6;
|
|
2044
2088
|
enum CloudAPIThreadControl {
|
|
2045
2089
|
UNKNOWN = 0;
|
|
2046
2090
|
CONTROL_PASSED = 1;
|
|
@@ -2178,7 +2222,6 @@ message Message {
|
|
|
2178
2222
|
optional Message.LinkPreviewMetadata linkPreviewMetadata = 34;
|
|
2179
2223
|
optional Message.PaymentLinkMetadata paymentLinkMetadata = 35;
|
|
2180
2224
|
repeated Message.VideoEndCard endCardTiles = 36;
|
|
2181
|
-
optional Message.MediaKeyDomain mediaKeyDomain = 37;
|
|
2182
2225
|
enum FontType {
|
|
2183
2226
|
SYSTEM = 0;
|
|
2184
2227
|
SYSTEM_TEXT = 1;
|
|
@@ -2980,17 +3023,6 @@ message Message {
|
|
|
2980
3023
|
}
|
|
2981
3024
|
}
|
|
2982
3025
|
|
|
2983
|
-
message QuestionAdminReplyMessage {
|
|
2984
|
-
optional Message adminReplyMessage = 1;
|
|
2985
|
-
optional QuotedQuestionAdminReplyMessage quotedMessage = 2;
|
|
2986
|
-
message QuotedQuestionAdminReplyMessage {
|
|
2987
|
-
optional int32 serverQuestionId = 1;
|
|
2988
|
-
optional Message quotedQuestion = 2;
|
|
2989
|
-
optional Message quotedFollowerResponse = 3;
|
|
2990
|
-
}
|
|
2991
|
-
|
|
2992
|
-
}
|
|
2993
|
-
|
|
2994
3026
|
message QuestionResponseMessage {
|
|
2995
3027
|
optional MessageKey key = 1;
|
|
2996
3028
|
optional string text = 2;
|
|
@@ -3931,6 +3963,7 @@ message StickerMetadata {
|
|
|
3931
3963
|
optional float weight = 10;
|
|
3932
3964
|
optional int64 lastStickerSentTs = 11;
|
|
3933
3965
|
optional bool isLottie = 12;
|
|
3966
|
+
optional bool isAvatarSticker = 13;
|
|
3934
3967
|
}
|
|
3935
3968
|
|
|
3936
3969
|
message SyncActionData {
|
|
@@ -4001,7 +4034,7 @@ message SyncActionValue {
|
|
|
4001
4034
|
optional PrivacySettingChannelsPersonalisedRecommendationAction privacySettingChannelsPersonalisedRecommendationAction = 64;
|
|
4002
4035
|
optional BusinessBroadcastAssociationAction businessBroadcastAssociationAction = 65;
|
|
4003
4036
|
optional DetectedOutcomesStatusAction detectedOutcomesStatusAction = 66;
|
|
4004
|
-
optional MaibaAIFeaturesControlAction maibaAiFeaturesControlAction =
|
|
4037
|
+
optional MaibaAIFeaturesControlAction maibaAiFeaturesControlAction = 68;
|
|
4005
4038
|
message AgentAction {
|
|
4006
4039
|
optional string name = 1;
|
|
4007
4040
|
optional int32 deviceID = 2;
|
|
@@ -4312,6 +4345,7 @@ message SyncActionValue {
|
|
|
4312
4345
|
optional bool isFavorite = 9;
|
|
4313
4346
|
optional uint32 deviceIdHint = 10;
|
|
4314
4347
|
optional bool isLottie = 11;
|
|
4348
|
+
optional bool isAvatarSticker = 12;
|
|
4315
4349
|
}
|
|
4316
4350
|
|
|
4317
4351
|
message SubscriptionAction {
|