@wppconnect/wa-proto 2.3000.1024744989 → 2.3000.1025139211
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 +52 -14
- package/dist/index.d.ts +529 -161
- package/dist/index.js +1516 -485
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [2.3000.1025139211](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1024884592...v2.3000.1025139211) (2025-07-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## [2.3000.1024884592](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1024744989...v2.3000.1024884592) (2025-07-18)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
1
9
|
## 2.3000.1024744989 (2025-07-15)
|
|
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.1025139211
|
|
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;
|
|
@@ -1173,6 +1193,12 @@ message ContextInfo {
|
|
|
1173
1193
|
optional bool canBeReshared = 4;
|
|
1174
1194
|
}
|
|
1175
1195
|
|
|
1196
|
+
enum ForwardOrigin {
|
|
1197
|
+
UNKNOWN = 0;
|
|
1198
|
+
CHAT = 1;
|
|
1199
|
+
STATUS = 2;
|
|
1200
|
+
CHANNELS = 3;
|
|
1201
|
+
}
|
|
1176
1202
|
message ForwardedAIBotMessageInfo {
|
|
1177
1203
|
optional string botName = 1;
|
|
1178
1204
|
optional string botJid = 2;
|
|
@@ -1201,12 +1227,27 @@ message ContextInfo {
|
|
|
1201
1227
|
MOTION_PHOTO_PARENT = 5;
|
|
1202
1228
|
MOTION_PHOTO_CHILD = 6;
|
|
1203
1229
|
}
|
|
1230
|
+
message QuestionReplyQuotedMessage {
|
|
1231
|
+
optional int32 serverQuestionId = 1;
|
|
1232
|
+
optional Message quotedQuestion = 2;
|
|
1233
|
+
optional Message quotedResponse = 3;
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1204
1236
|
enum StatusAttributionType {
|
|
1205
1237
|
NONE = 0;
|
|
1206
1238
|
RESHARED_FROM_MENTION = 1;
|
|
1207
1239
|
RESHARED_FROM_POST = 2;
|
|
1208
|
-
|
|
1240
|
+
RESHARED_FROM_POST_MANY_TIMES = 3;
|
|
1241
|
+
FORWARDED_FROM_STATUS = 4;
|
|
1209
1242
|
}
|
|
1243
|
+
message StatusAudienceMetadata {
|
|
1244
|
+
optional AudienceType audienceType = 1;
|
|
1245
|
+
enum AudienceType {
|
|
1246
|
+
UNKNOWN = 0;
|
|
1247
|
+
CLOSE_FRIENDS = 1;
|
|
1248
|
+
}
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1210
1251
|
enum StatusSourceType {
|
|
1211
1252
|
IMAGE = 0;
|
|
1212
1253
|
VIDEO = 1;
|
|
@@ -1343,6 +1384,7 @@ message DeviceProps {
|
|
|
1343
1384
|
optional bool supportAddOnHistorySyncMigration = 13;
|
|
1344
1385
|
optional bool supportMessageAssociation = 14;
|
|
1345
1386
|
optional bool supportGroupHistory = 15;
|
|
1387
|
+
optional bool onDemandReady = 16;
|
|
1346
1388
|
}
|
|
1347
1389
|
|
|
1348
1390
|
enum PlatformType {
|
|
@@ -1495,6 +1537,7 @@ message GroupMention {
|
|
|
1495
1537
|
message GroupParticipant {
|
|
1496
1538
|
required string userJid = 1;
|
|
1497
1539
|
optional Rank rank = 2;
|
|
1540
|
+
optional MemberLabel memberLabel = 3;
|
|
1498
1541
|
enum Rank {
|
|
1499
1542
|
REGULAR = 0;
|
|
1500
1543
|
ADMIN = 1;
|
|
@@ -1811,7 +1854,7 @@ message Message {
|
|
|
1811
1854
|
optional FutureProofMessage groupStatusMessageV2 = 103;
|
|
1812
1855
|
optional FutureProofMessage botForwardedMessage = 104;
|
|
1813
1856
|
optional StatusQuestionAnswerMessage statusQuestionAnswerMessage = 105;
|
|
1814
|
-
optional
|
|
1857
|
+
optional QuestionResponseMessage questionResponseMessage = 107;
|
|
1815
1858
|
message AlbumMessage {
|
|
1816
1859
|
optional uint32 expectedImageCount = 2;
|
|
1817
1860
|
optional uint32 expectedVideoCount = 3;
|
|
@@ -2177,7 +2220,6 @@ message Message {
|
|
|
2177
2220
|
optional Message.LinkPreviewMetadata linkPreviewMetadata = 34;
|
|
2178
2221
|
optional Message.PaymentLinkMetadata paymentLinkMetadata = 35;
|
|
2179
2222
|
repeated Message.VideoEndCard endCardTiles = 36;
|
|
2180
|
-
optional Message.MediaKeyDomain mediaKeyDomain = 37;
|
|
2181
2223
|
enum FontType {
|
|
2182
2224
|
SYSTEM = 0;
|
|
2183
2225
|
SYSTEM_TEXT = 1;
|
|
@@ -2979,15 +3021,9 @@ message Message {
|
|
|
2979
3021
|
}
|
|
2980
3022
|
}
|
|
2981
3023
|
|
|
2982
|
-
message
|
|
2983
|
-
optional
|
|
2984
|
-
optional
|
|
2985
|
-
message QuotedQuestionAdminReplyMessage {
|
|
2986
|
-
optional int32 serverQuestionId = 1;
|
|
2987
|
-
optional Message quotedQuestion = 2;
|
|
2988
|
-
optional Message quotedFollowerResponse = 3;
|
|
2989
|
-
}
|
|
2990
|
-
|
|
3024
|
+
message QuestionResponseMessage {
|
|
3025
|
+
optional MessageKey key = 1;
|
|
3026
|
+
optional string text = 2;
|
|
2991
3027
|
}
|
|
2992
3028
|
|
|
2993
3029
|
message ReactionMessage {
|
|
@@ -3925,6 +3961,7 @@ message StickerMetadata {
|
|
|
3925
3961
|
optional float weight = 10;
|
|
3926
3962
|
optional int64 lastStickerSentTs = 11;
|
|
3927
3963
|
optional bool isLottie = 12;
|
|
3964
|
+
optional bool isAvatarSticker = 13;
|
|
3928
3965
|
}
|
|
3929
3966
|
|
|
3930
3967
|
message SyncActionData {
|
|
@@ -3995,7 +4032,7 @@ message SyncActionValue {
|
|
|
3995
4032
|
optional PrivacySettingChannelsPersonalisedRecommendationAction privacySettingChannelsPersonalisedRecommendationAction = 64;
|
|
3996
4033
|
optional BusinessBroadcastAssociationAction businessBroadcastAssociationAction = 65;
|
|
3997
4034
|
optional DetectedOutcomesStatusAction detectedOutcomesStatusAction = 66;
|
|
3998
|
-
optional MaibaAIFeaturesControlAction maibaAiFeaturesControlAction =
|
|
4035
|
+
optional MaibaAIFeaturesControlAction maibaAiFeaturesControlAction = 68;
|
|
3999
4036
|
message AgentAction {
|
|
4000
4037
|
optional string name = 1;
|
|
4001
4038
|
optional int32 deviceID = 2;
|
|
@@ -4306,6 +4343,7 @@ message SyncActionValue {
|
|
|
4306
4343
|
optional bool isFavorite = 9;
|
|
4307
4344
|
optional uint32 deviceIdHint = 10;
|
|
4308
4345
|
optional bool isLottie = 11;
|
|
4346
|
+
optional bool isAvatarSticker = 12;
|
|
4309
4347
|
}
|
|
4310
4348
|
|
|
4311
4349
|
message SubscriptionAction {
|