@wppconnect/wa-proto 1.1.9 → 1.1.30
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 +84 -0
- package/WAProto.proto +141 -2
- package/dist/index.d.ts +1690 -10
- package/dist/index.js +4810 -7
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,87 @@
|
|
|
1
|
+
## [1.1.30](https://github.com/wppconnect-team/wa-proto/compare/v1.1.29...v1.1.30) (2025-02-21)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## [1.1.29](https://github.com/wppconnect-team/wa-proto/compare/v1.1.28...v1.1.29) (2025-02-21)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## [1.1.28](https://github.com/wppconnect-team/wa-proto/compare/v1.1.27...v1.1.28) (2025-02-20)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## [1.1.27](https://github.com/wppconnect-team/wa-proto/compare/v1.1.26...v1.1.27) (2025-02-20)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [1.1.26](https://github.com/wppconnect-team/wa-proto/compare/v1.1.25...v1.1.26) (2025-02-20)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
## [1.1.25](https://github.com/wppconnect-team/wa-proto/compare/v1.1.24...v1.1.25) (2025-02-19)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## 1.1.24 (2025-02-17)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## 1.1.23 (2025-02-17)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## [1.1.22](https://github.com/wppconnect-team/wa-proto/compare/v1.1.21...v1.1.22) (2025-02-17)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
## [1.1.21](https://github.com/wppconnect-team/wa-proto/compare/v1.1.20...v1.1.21) (2025-02-14)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
## 1.1.20 (2025-02-13)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
## [1.1.19](https://github.com/wppconnect-team/wa-proto/compare/v1.1.18...v1.1.19) (2025-02-13)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
## [1.1.18](https://github.com/wppconnect-team/wa-proto/compare/v1.1.17...v1.1.18) (2025-02-06)
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
## [1.1.17](https://github.com/wppconnect-team/wa-proto/compare/v1.1.16...v1.1.17) (2025-02-05)
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
## [1.1.16](https://github.com/wppconnect-team/wa-proto/compare/v1.1.15...v1.1.16) (2025-02-04)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
## 1.1.15 (2025-02-03)
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
## [1.1.14](https://github.com/wppconnect-team/wa-proto/compare/v1.1.13...v1.1.14) (2025-02-03)
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
## 1.1.13 (2025-02-02)
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
## 1.1.12 (2025-02-01)
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
## 1.1.11 (2025-01-31)
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
## 1.1.10 (2025-01-29)
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
1
85
|
## 1.1.9 (2025-01-28)
|
|
2
86
|
|
|
3
87
|
|
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.1020289932
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -45,6 +45,11 @@ message ADVSignedKeyIndexList {
|
|
|
45
45
|
message AIRichResponseMessage {
|
|
46
46
|
optional AIRichResponseMessageType messageType = 1;
|
|
47
47
|
repeated AIRichResponseSubMessage submessages = 2;
|
|
48
|
+
optional AIRichResponseAbstractData abstractData = 3;
|
|
49
|
+
message AIRichResponseAbstractData {
|
|
50
|
+
optional bytes data = 1;
|
|
51
|
+
}
|
|
52
|
+
|
|
48
53
|
message AIRichResponseCodeMetadata {
|
|
49
54
|
optional string codeLanguage = 1;
|
|
50
55
|
repeated AIRichResponseCodeBlock codeBlocks = 2;
|
|
@@ -98,11 +103,51 @@ message AIRichResponseMessage {
|
|
|
98
103
|
}
|
|
99
104
|
}
|
|
100
105
|
|
|
106
|
+
message AIRichResponseLatexMetadata {
|
|
107
|
+
optional string text = 1;
|
|
108
|
+
repeated AIRichResponseLatexExpression expressions = 2;
|
|
109
|
+
message AIRichResponseLatexExpression {
|
|
110
|
+
optional string latexExpression = 1;
|
|
111
|
+
optional string url = 2;
|
|
112
|
+
optional double width = 3;
|
|
113
|
+
optional double height = 4;
|
|
114
|
+
optional double fontHeight = 5;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
message AIRichResponseMapMetadata {
|
|
120
|
+
optional double centerLatitude = 1;
|
|
121
|
+
optional double centerLongtitude = 2;
|
|
122
|
+
optional double latitudeDelta = 3;
|
|
123
|
+
optional double longtitudeDelta = 4;
|
|
124
|
+
repeated AIRichResponseMapAnnotation anotations = 5;
|
|
125
|
+
optional bool showInfoList = 6;
|
|
126
|
+
message AIRichResponseMapAnnotation {
|
|
127
|
+
optional uint32 annotationNumber = 1;
|
|
128
|
+
optional double latitude = 2;
|
|
129
|
+
optional double longtitude = 3;
|
|
130
|
+
optional string title = 4;
|
|
131
|
+
optional string body = 5;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
}
|
|
135
|
+
|
|
101
136
|
enum AIRichResponseMessageType {
|
|
102
137
|
AI_RICH_RESPONSE_TYPE_UNKNOWN = 0;
|
|
103
138
|
AI_RICH_RESPONSE_TYPE_STANDARD = 1;
|
|
104
|
-
AI_RICH_RESPONSE_TYPE_ARTIFACTS = 2;
|
|
105
139
|
}
|
|
140
|
+
message AIRichResponseReelsMetadata {
|
|
141
|
+
repeated AIRichResponseReelMetadata reelsMetadata = 1;
|
|
142
|
+
message AIRichResponseReelMetadata {
|
|
143
|
+
optional string title = 1;
|
|
144
|
+
optional string profileIconUrl = 2;
|
|
145
|
+
optional string previewUrl = 3;
|
|
146
|
+
optional string videoUrl = 4;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
}
|
|
150
|
+
|
|
106
151
|
message AIRichResponseSubMessage {
|
|
107
152
|
optional AIRichResponseMessage.AIRichResponseSubMessageType messageType = 1;
|
|
108
153
|
optional AIRichResponseMessage.AIRichResponseGridImageMetadata gridImageMetadata = 2;
|
|
@@ -111,6 +156,9 @@ message AIRichResponseMessage {
|
|
|
111
156
|
optional AIRichResponseMessage.AIRichResponseCodeMetadata codeMetadata = 5;
|
|
112
157
|
optional AIRichResponseMessage.AIRichResponseTableMetadata tableMetadata = 6;
|
|
113
158
|
optional AIRichResponseMessage.AIRichResponseDynamicMetadata dynamicMetadata = 7;
|
|
159
|
+
optional AIRichResponseMessage.AIRichResponseLatexMetadata latexMetadata = 8;
|
|
160
|
+
optional AIRichResponseMessage.AIRichResponseMapMetadata mapMetadata = 9;
|
|
161
|
+
optional AIRichResponseMessage.AIRichResponseReelsMetadata reelsMetadata = 10;
|
|
114
162
|
}
|
|
115
163
|
|
|
116
164
|
enum AIRichResponseSubMessageType {
|
|
@@ -121,6 +169,9 @@ message AIRichResponseMessage {
|
|
|
121
169
|
AI_RICH_RESPONSE_TABLE = 4;
|
|
122
170
|
AI_RICH_RESPONSE_CODE = 5;
|
|
123
171
|
AI_RICH_RESPONSE_DYNAMIC = 6;
|
|
172
|
+
AI_RICH_RESPONSE_MAP = 7;
|
|
173
|
+
AI_RICH_RESPONSE_LATEX = 8;
|
|
174
|
+
AI_RICH_RESPONSE_INLINE_REELS = 9;
|
|
124
175
|
}
|
|
125
176
|
message AIRichResponseTableMetadata {
|
|
126
177
|
repeated AIRichResponseTableRow rows = 1;
|
|
@@ -227,6 +278,10 @@ message BotCapabilityMetadata {
|
|
|
227
278
|
WA_IG_1P_PLUGIN_RANKING_UPDATE_10 = 20;
|
|
228
279
|
RICH_RESPONSE_SUB_HEADING = 21;
|
|
229
280
|
RICH_RESPONSE_GRID_IMAGE = 22;
|
|
281
|
+
AI_STUDIO_UGC_MEMORY = 23;
|
|
282
|
+
RICH_RESPONSE_LATEX = 24;
|
|
283
|
+
RICH_RESPONSE_MAPS = 25;
|
|
284
|
+
RICH_RESPONSE_INLINE_REELS = 26;
|
|
230
285
|
}
|
|
231
286
|
}
|
|
232
287
|
|
|
@@ -241,6 +296,18 @@ message BotImagineMetadata {
|
|
|
241
296
|
}
|
|
242
297
|
}
|
|
243
298
|
|
|
299
|
+
message BotLinkedAccount {
|
|
300
|
+
optional BotLinkedAccountType type = 1;
|
|
301
|
+
enum BotLinkedAccountType {
|
|
302
|
+
BOT_LINKED_ACCOUNT_TYPE_1P = 0;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
message BotLinkedAccountsMetadata {
|
|
307
|
+
repeated BotLinkedAccount accounts = 1;
|
|
308
|
+
optional bytes acAuthTokens = 2;
|
|
309
|
+
}
|
|
310
|
+
|
|
244
311
|
message BotMediaMetadata {
|
|
245
312
|
optional string fileSha256 = 1;
|
|
246
313
|
optional string mediaKey = 2;
|
|
@@ -289,6 +356,7 @@ message BotMetadata {
|
|
|
289
356
|
optional BotMemoryMetadata memoryMetadata = 15;
|
|
290
357
|
optional BotRenderingMetadata renderingMetadata = 16;
|
|
291
358
|
optional BotMetricsMetadata botMetricsMetadata = 17;
|
|
359
|
+
optional BotLinkedAccountsMetadata botLinkedAccountsMetadata = 18;
|
|
292
360
|
}
|
|
293
361
|
|
|
294
362
|
enum BotMetricsEntryPoint {
|
|
@@ -308,6 +376,7 @@ enum BotMetricsEntryPoint {
|
|
|
308
376
|
PROFILE_MESSAGE_BUTTON = 14;
|
|
309
377
|
FORWARD = 15;
|
|
310
378
|
APP_SHORTCUT = 16;
|
|
379
|
+
FF_FAMILY = 17;
|
|
311
380
|
}
|
|
312
381
|
message BotMetricsMetadata {
|
|
313
382
|
optional string destinationId = 1;
|
|
@@ -357,6 +426,32 @@ message BotPluginMetadata {
|
|
|
357
426
|
|
|
358
427
|
message BotProgressIndicatorMetadata {
|
|
359
428
|
optional string progressDescription = 1;
|
|
429
|
+
repeated BotPlanningStepMetadata stepsMetadata = 2;
|
|
430
|
+
message BotPlanningStepMetadata {
|
|
431
|
+
optional string statusTitle = 1;
|
|
432
|
+
optional string statusBody = 2;
|
|
433
|
+
repeated BotPlanningSearchSourcesMetadata sourcesMetadata = 3;
|
|
434
|
+
optional PlanningStepStatus status = 4;
|
|
435
|
+
optional bool isReasoning = 5;
|
|
436
|
+
optional bool isEnhancedSearch = 6;
|
|
437
|
+
message BotPlanningSearchSourcesMetadata {
|
|
438
|
+
optional string sourceTitle = 1;
|
|
439
|
+
optional BotPlanningSearchSourceProvider provider = 2;
|
|
440
|
+
optional string sourceUrl = 3;
|
|
441
|
+
enum BotPlanningSearchSourceProvider {
|
|
442
|
+
OTHER = 1;
|
|
443
|
+
GOOGLE = 2;
|
|
444
|
+
BING = 3;
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
enum PlanningStepStatus {
|
|
449
|
+
PLANNED = 1;
|
|
450
|
+
EXECUTING = 2;
|
|
451
|
+
FINISHED = 3;
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
|
|
360
455
|
}
|
|
361
456
|
|
|
362
457
|
message BotPromptSuggestion {
|
|
@@ -528,6 +623,13 @@ message ChatRowOpaqueData {
|
|
|
528
623
|
|
|
529
624
|
}
|
|
530
625
|
|
|
626
|
+
message Citation {
|
|
627
|
+
required string title = 1;
|
|
628
|
+
required string subtitle = 2;
|
|
629
|
+
required string cmsId = 3;
|
|
630
|
+
required string imageUrl = 4;
|
|
631
|
+
}
|
|
632
|
+
|
|
531
633
|
message ClientPairingProps {
|
|
532
634
|
optional bool isChatDbLidMigrated = 1;
|
|
533
635
|
optional bool isSyncdPureLidSession = 2;
|
|
@@ -597,6 +699,7 @@ message ClientPayload {
|
|
|
597
699
|
HARDCODED = 2;
|
|
598
700
|
OVERRIDE = 3;
|
|
599
701
|
FALLBACK = 4;
|
|
702
|
+
MNS = 5;
|
|
600
703
|
}
|
|
601
704
|
}
|
|
602
705
|
|
|
@@ -804,6 +907,7 @@ message ContextInfo {
|
|
|
804
907
|
optional ForwardedAIBotMessageInfo forwardedAiBotMessageInfo = 56;
|
|
805
908
|
optional StatusAttributionType statusAttributionType = 57;
|
|
806
909
|
optional UrlTrackingMap urlTrackingMap = 58;
|
|
910
|
+
optional PairedMediaType pairedMediaType = 59;
|
|
807
911
|
message AdReplyInfo {
|
|
808
912
|
optional string advertiserName = 1;
|
|
809
913
|
optional MediaType mediaType = 2;
|
|
@@ -890,6 +994,13 @@ message ContextInfo {
|
|
|
890
994
|
}
|
|
891
995
|
}
|
|
892
996
|
|
|
997
|
+
enum PairedMediaType {
|
|
998
|
+
NOT_PAIRED_MEDIA = 0;
|
|
999
|
+
SD_VIDEO_PARENT = 1;
|
|
1000
|
+
HD_VIDEO_CHILD = 2;
|
|
1001
|
+
SD_IMAGE_PARENT = 3;
|
|
1002
|
+
HD_IMAGE_CHILD = 4;
|
|
1003
|
+
}
|
|
893
1004
|
enum StatusAttributionType {
|
|
894
1005
|
NONE = 0;
|
|
895
1006
|
RESHARED_FROM_MENTION = 1;
|
|
@@ -961,11 +1072,16 @@ message Conversation {
|
|
|
961
1072
|
|
|
962
1073
|
message DeviceCapabilities {
|
|
963
1074
|
optional ChatLockSupportLevel chatLockSupportLevel = 1;
|
|
1075
|
+
optional LIDMigration lidMigration = 2;
|
|
964
1076
|
enum ChatLockSupportLevel {
|
|
965
1077
|
NONE = 0;
|
|
966
1078
|
MINIMAL = 1;
|
|
967
1079
|
FULL = 2;
|
|
968
1080
|
}
|
|
1081
|
+
message LIDMigration {
|
|
1082
|
+
optional uint64 chatDbMigrationTimestamp = 1;
|
|
1083
|
+
}
|
|
1084
|
+
|
|
969
1085
|
}
|
|
970
1086
|
|
|
971
1087
|
message DeviceConsistencyCodeMessage {
|
|
@@ -1446,6 +1562,7 @@ message Message {
|
|
|
1446
1562
|
optional FutureProofMessage statusAddYours = 95;
|
|
1447
1563
|
optional FutureProofMessage groupStatusMessage = 96;
|
|
1448
1564
|
optional AIRichResponseMessage richResponseMessage = 97;
|
|
1565
|
+
optional StatusNotificationMessage statusNotificationMessage = 98;
|
|
1449
1566
|
message AlbumMessage {
|
|
1450
1567
|
optional uint32 expectedImageCount = 2;
|
|
1451
1568
|
optional uint32 expectedVideoCount = 3;
|
|
@@ -1963,6 +2080,7 @@ message Message {
|
|
|
1963
2080
|
USER_IMAGE = 0;
|
|
1964
2081
|
AI_GENERATED = 1;
|
|
1965
2082
|
AI_MODIFIED = 2;
|
|
2083
|
+
RASTERIZED_TEXT_STATUS = 3;
|
|
1966
2084
|
}
|
|
1967
2085
|
}
|
|
1968
2086
|
|
|
@@ -2498,6 +2616,7 @@ message Message {
|
|
|
2498
2616
|
REMINDER_MESSAGE = 23;
|
|
2499
2617
|
BOT_MEMU_ONBOARDING_MESSAGE = 24;
|
|
2500
2618
|
STATUS_MENTION_MESSAGE = 25;
|
|
2619
|
+
STOP_GENERATION_MESSAGE = 26;
|
|
2501
2620
|
}
|
|
2502
2621
|
}
|
|
2503
2622
|
|
|
@@ -2572,6 +2691,17 @@ message Message {
|
|
|
2572
2691
|
optional bytes axolotlSenderKeyDistributionMessage = 2;
|
|
2573
2692
|
}
|
|
2574
2693
|
|
|
2694
|
+
message StatusNotificationMessage {
|
|
2695
|
+
optional MessageKey responseMessageKey = 1;
|
|
2696
|
+
optional MessageKey originalMessageKey = 2;
|
|
2697
|
+
optional StatusNotificationType type = 3;
|
|
2698
|
+
enum StatusNotificationType {
|
|
2699
|
+
UNKNOWN = 0;
|
|
2700
|
+
STATUS_ADD_YOURS = 1;
|
|
2701
|
+
STATUS_RESHARE = 2;
|
|
2702
|
+
}
|
|
2703
|
+
}
|
|
2704
|
+
|
|
2575
2705
|
message StickerMessage {
|
|
2576
2706
|
optional string url = 1;
|
|
2577
2707
|
optional bytes fileSha256 = 2;
|
|
@@ -2760,6 +2890,9 @@ message MessageAssociation {
|
|
|
2760
2890
|
STATUS_TAPPABLE_MESSAGE = 6;
|
|
2761
2891
|
MEDIA_POLL = 7;
|
|
2762
2892
|
STATUS_ADD_YOURS = 8;
|
|
2893
|
+
STATUS_NOTIFICATION = 9;
|
|
2894
|
+
HD_IMAGE_DUAL_UPLOAD = 10;
|
|
2895
|
+
STICKER_ANNOTATION = 11;
|
|
2763
2896
|
}
|
|
2764
2897
|
}
|
|
2765
2898
|
|
|
@@ -3949,6 +4082,8 @@ message WebMessageInfo {
|
|
|
3949
4082
|
optional StatusMentionMessage statusMentionMessageInfo = 69;
|
|
3950
4083
|
optional bool isSupportAiMessage = 70;
|
|
3951
4084
|
repeated string statusMentionSources = 71;
|
|
4085
|
+
repeated Citation supportAiCitations = 72;
|
|
4086
|
+
optional string botTargetId = 73;
|
|
3952
4087
|
enum BizPrivacyStatus {
|
|
3953
4088
|
E2EE = 0;
|
|
3954
4089
|
FB = 2;
|
|
@@ -4176,6 +4311,10 @@ message WebMessageInfo {
|
|
|
4176
4311
|
CAPI_GROUP_NE2EE_SYSTEM_MESSAGE = 209;
|
|
4177
4312
|
STATUS_MENTION = 210;
|
|
4178
4313
|
USER_CONTROLS_SYSTEM_MESSAGE = 211;
|
|
4314
|
+
SUPPORT_SYSTEM_MESSAGE = 212;
|
|
4315
|
+
CHANGE_LID = 213;
|
|
4316
|
+
BIZ_CUSTOMER_3PD_DATA_SHARING_OPT_IN_MESSAGE = 214;
|
|
4317
|
+
BIZ_CUSTOMER_3PD_DATA_SHARING_OPT_OUT_MESSAGE = 215;
|
|
4179
4318
|
}
|
|
4180
4319
|
}
|
|
4181
4320
|
|