@wppconnect/wa-proto 1.1.32 → 1.1.49

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 CHANGED
@@ -1,3 +1,71 @@
1
+ ## [1.1.49](https://github.com/wppconnect-team/wa-proto/compare/v1.1.48...v1.1.49) (2025-03-15)
2
+
3
+
4
+
5
+ ## [1.1.48](https://github.com/wppconnect-team/wa-proto/compare/v1.1.47...v1.1.48) (2025-03-14)
6
+
7
+
8
+
9
+ ## [1.1.47](https://github.com/wppconnect-team/wa-proto/compare/v1.1.46...v1.1.47) (2025-03-13)
10
+
11
+
12
+
13
+ ## 1.1.46 (2025-03-12)
14
+
15
+
16
+
17
+ ## 1.1.45 (2025-03-10)
18
+
19
+
20
+
21
+ ## [1.1.44](https://github.com/wppconnect-team/wa-proto/compare/v1.1.43...v1.1.44) (2025-03-10)
22
+
23
+
24
+
25
+ ## [1.1.43](https://github.com/wppconnect-team/wa-proto/compare/v1.1.42...v1.1.43) (2025-03-08)
26
+
27
+
28
+
29
+ ## [1.1.42](https://github.com/wppconnect-team/wa-proto/compare/v1.1.41...v1.1.42) (2025-03-07)
30
+
31
+
32
+
33
+ ## [1.1.41](https://github.com/wppconnect-team/wa-proto/compare/v1.1.40...v1.1.41) (2025-03-06)
34
+
35
+
36
+
37
+ ## 1.1.40 (2025-03-05)
38
+
39
+
40
+
41
+ ## [1.1.39](https://github.com/wppconnect-team/wa-proto/compare/v1.1.38...v1.1.39) (2025-03-05)
42
+
43
+
44
+
45
+ ## [1.1.38](https://github.com/wppconnect-team/wa-proto/compare/v1.1.37...v1.1.38) (2025-03-04)
46
+
47
+
48
+
49
+ ## 1.1.37 (2025-03-03)
50
+
51
+
52
+
53
+ ## [1.1.36](https://github.com/wppconnect-team/wa-proto/compare/v1.1.35...v1.1.36) (2025-03-03)
54
+
55
+
56
+
57
+ ## [1.1.35](https://github.com/wppconnect-team/wa-proto/compare/v1.1.34...v1.1.35) (2025-02-28)
58
+
59
+
60
+
61
+ ## 1.1.34 (2025-02-27)
62
+
63
+
64
+
65
+ ## [1.1.33](https://github.com/wppconnect-team/wa-proto/compare/v1.1.32...v1.1.33) (2025-02-27)
66
+
67
+
68
+
1
69
  ## [1.1.32](https://github.com/wppconnect-team/wa-proto/compare/v1.1.31...v1.1.32) (2025-02-24)
2
70
 
3
71
 
package/WAProto.proto CHANGED
@@ -1,7 +1,7 @@
1
1
  syntax = "proto3";
2
2
  package waproto;
3
3
 
4
- /// WhatsApp Version: 2.3000.1020333766
4
+ /// WhatsApp Version: 2.3000.1020903593
5
5
 
6
6
  message ADVDeviceIdentity {
7
7
  optional uint32 rawId = 1;
@@ -68,6 +68,28 @@ message AIRichResponseMessage {
68
68
  }
69
69
  }
70
70
 
71
+ message AIRichResponseContentItemsMetadata {
72
+ repeated AIRichResponseContentItemMetadata itemsMetadata = 1;
73
+ optional ContentType contentType = 2;
74
+ message AIRichResponseContentItemMetadata {
75
+ oneof aIRichResponseContentItem {
76
+ AIRichResponseMessage.AIRichResponseContentItemsMetadata.AIRichResponseReelItem reelItem = 1;
77
+ }
78
+ }
79
+
80
+ message AIRichResponseReelItem {
81
+ optional string title = 1;
82
+ optional string profileIconUrl = 2;
83
+ optional string thumbnailUrl = 3;
84
+ optional string videoUrl = 4;
85
+ }
86
+
87
+ enum ContentType {
88
+ DEFAULT = 0;
89
+ CAROUSEL = 1;
90
+ }
91
+ }
92
+
71
93
  message AIRichResponseDynamicMetadata {
72
94
  optional AIRichResponseDynamicMetadataType type = 1;
73
95
  optional uint64 version = 2;
@@ -118,15 +140,15 @@ message AIRichResponseMessage {
118
140
 
119
141
  message AIRichResponseMapMetadata {
120
142
  optional double centerLatitude = 1;
121
- optional double centerLongtitude = 2;
143
+ optional double centerLongitude = 2;
122
144
  optional double latitudeDelta = 3;
123
- optional double longtitudeDelta = 4;
124
- repeated AIRichResponseMapAnnotation anotations = 5;
145
+ optional double longitudeDelta = 4;
146
+ repeated AIRichResponseMapAnnotation annotations = 5;
125
147
  optional bool showInfoList = 6;
126
148
  message AIRichResponseMapAnnotation {
127
149
  optional uint32 annotationNumber = 1;
128
150
  optional double latitude = 2;
129
- optional double longtitude = 3;
151
+ optional double longitude = 3;
130
152
  optional string title = 4;
131
153
  optional string body = 5;
132
154
  }
@@ -137,17 +159,6 @@ message AIRichResponseMessage {
137
159
  AI_RICH_RESPONSE_TYPE_UNKNOWN = 0;
138
160
  AI_RICH_RESPONSE_TYPE_STANDARD = 1;
139
161
  }
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
-
151
162
  message AIRichResponseSubMessage {
152
163
  optional AIRichResponseMessage.AIRichResponseSubMessageType messageType = 1;
153
164
  optional AIRichResponseMessage.AIRichResponseGridImageMetadata gridImageMetadata = 2;
@@ -158,7 +169,7 @@ message AIRichResponseMessage {
158
169
  optional AIRichResponseMessage.AIRichResponseDynamicMetadata dynamicMetadata = 7;
159
170
  optional AIRichResponseMessage.AIRichResponseLatexMetadata latexMetadata = 8;
160
171
  optional AIRichResponseMessage.AIRichResponseMapMetadata mapMetadata = 9;
161
- optional AIRichResponseMessage.AIRichResponseReelsMetadata reelsMetadata = 10;
172
+ optional AIRichResponseMessage.AIRichResponseContentItemsMetadata contentItemsMetadata = 10;
162
173
  }
163
174
 
164
175
  enum AIRichResponseSubMessageType {
@@ -171,7 +182,7 @@ message AIRichResponseMessage {
171
182
  AI_RICH_RESPONSE_DYNAMIC = 6;
172
183
  AI_RICH_RESPONSE_MAP = 7;
173
184
  AI_RICH_RESPONSE_LATEX = 8;
174
- AI_RICH_RESPONSE_INLINE_REELS = 9;
185
+ AI_RICH_RESPONSE_CONTENT_ITEMS = 9;
175
186
  }
176
187
  message AIRichResponseTableMetadata {
177
188
  repeated AIRichResponseTableRow rows = 1;
@@ -184,6 +195,13 @@ message AIRichResponseMessage {
184
195
 
185
196
  }
186
197
 
198
+ message Account {
199
+ optional string lid = 1;
200
+ optional string username = 2;
201
+ optional string countryCode = 3;
202
+ optional bool isUsernameDeleted = 4;
203
+ }
204
+
187
205
  message ActionLink {
188
206
  optional string url = 1;
189
207
  optional string buttonTitle = 2;
@@ -284,6 +302,8 @@ message BotCapabilityMetadata {
284
302
  RICH_RESPONSE_MAPS = 25;
285
303
  RICH_RESPONSE_INLINE_REELS = 26;
286
304
  AGENTIC_PLANNING = 27;
305
+ ACCOUNT_LINKING = 28;
306
+ STREAMING_DISAGGREGATION = 29;
287
307
  }
288
308
  }
289
309
 
@@ -359,6 +379,7 @@ message BotMetadata {
359
379
  optional BotRenderingMetadata renderingMetadata = 16;
360
380
  optional BotMetricsMetadata botMetricsMetadata = 17;
361
381
  optional BotLinkedAccountsMetadata botLinkedAccountsMetadata = 18;
382
+ optional BotSourcesMetadata richResponseSourcesMetadata = 19;
362
383
  }
363
384
 
364
385
  enum BotMetricsEntryPoint {
@@ -379,12 +400,23 @@ enum BotMetricsEntryPoint {
379
400
  FORWARD = 15;
380
401
  APP_SHORTCUT = 16;
381
402
  FF_FAMILY = 17;
403
+ AI_TAB = 18;
404
+ AI_HOME = 19;
405
+ AI_DEEPLINK_IMMERSIVE = 20;
406
+ AI_DEEPLINK = 21;
382
407
  }
383
408
  message BotMetricsMetadata {
384
409
  optional string destinationId = 1;
385
410
  optional BotMetricsEntryPoint destinationEntryPoint = 2;
411
+ optional BotMetricsThreadEntryPoint threadOrigin = 3;
386
412
  }
387
413
 
414
+ enum BotMetricsThreadEntryPoint {
415
+ AI_TAB_THREAD = 1;
416
+ AI_HOME_THREAD = 2;
417
+ AI_DEEPLINK_IMMERSIVE_THREAD = 3;
418
+ AI_DEEPLINK_THREAD = 4;
419
+ }
388
420
  message BotModelMetadata {
389
421
  optional ModelType modelType = 1;
390
422
  optional PremiumModelStatus premiumModelStatus = 2;
@@ -436,6 +468,14 @@ message BotProgressIndicatorMetadata {
436
468
  optional PlanningStepStatus status = 4;
437
469
  optional bool isReasoning = 5;
438
470
  optional bool isEnhancedSearch = 6;
471
+ repeated BotPlanningStepSectionMetadata sections = 7;
472
+ message BotPlanningSearchSourceMetadata {
473
+ optional string title = 1;
474
+ optional BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotSearchSourceProvider provider = 2;
475
+ optional string sourceUrl = 3;
476
+ optional string favIconUrl = 4;
477
+ }
478
+
439
479
  message BotPlanningSearchSourcesMetadata {
440
480
  optional string sourceTitle = 1;
441
481
  optional BotPlanningSearchSourceProvider provider = 2;
@@ -448,6 +488,18 @@ message BotProgressIndicatorMetadata {
448
488
  }
449
489
  }
450
490
 
491
+ message BotPlanningStepSectionMetadata {
492
+ optional string sectionTitle = 1;
493
+ optional string sectionBody = 2;
494
+ repeated BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourceMetadata sourcesMetadata = 3;
495
+ }
496
+
497
+ enum BotSearchSourceProvider {
498
+ UNKNOWN_PROVIDER = 0;
499
+ OTHER = 1;
500
+ GOOGLE = 2;
501
+ BING = 3;
502
+ }
451
503
  enum PlanningStepStatus {
452
504
  UNKNOWN = 0;
453
505
  PLANNED = 1;
@@ -511,6 +563,25 @@ enum BotSessionSource {
511
563
  EMU_FLASH_FOLLOWUP = 5;
512
564
  VOICE = 6;
513
565
  }
566
+ message BotSourcesMetadata {
567
+ repeated BotSourceItem sources = 1;
568
+ message BotSourceItem {
569
+ optional SourceProvider provider = 1;
570
+ optional string thumbnailCdnUrl = 2;
571
+ optional string sourceProviderUrl = 3;
572
+ optional string sourceQuery = 4;
573
+ optional string faviconCdnUrl = 5;
574
+ optional uint32 citationNumber = 6;
575
+ enum SourceProvider {
576
+ UNKNOWN = 0;
577
+ BING = 1;
578
+ GOOGLE = 2;
579
+ SUPPORT = 3;
580
+ }
581
+ }
582
+
583
+ }
584
+
514
585
  message BotSuggestedPromptMetadata {
515
586
  repeated string suggestedPrompts = 1;
516
587
  optional uint32 selectedPromptIndex = 2;
@@ -668,6 +739,7 @@ message ClientPayload {
668
739
  optional int32 memClass = 37;
669
740
  optional InteropData interopData = 38;
670
741
  optional TrafficAnonymization trafficAnonymization = 40;
742
+ optional bool lidDbMigrated = 41;
671
743
  enum ConnectReason {
672
744
  PUSH = 0;
673
745
  USER_ACTIVATED = 1;
@@ -966,6 +1038,7 @@ message ContextInfo {
966
1038
  optional string ctaPayload = 20;
967
1039
  optional bool disableNudge = 21;
968
1040
  optional string originalImageUrl = 22;
1041
+ optional bool wtwaAdFormat = 23;
969
1042
  enum MediaType {
970
1043
  NONE = 0;
971
1044
  IMAGE = 1;
@@ -1068,6 +1141,8 @@ message Conversation {
1068
1141
  optional PrivacySystemMessage systemMessageToInsert = 47;
1069
1142
  optional bool capiCreatedGroup = 48;
1070
1143
  optional string accountLid = 49;
1144
+ optional bool limitSharing = 50;
1145
+ optional int64 limitSharingSettingTimestamp = 51;
1071
1146
  enum EndOfHistoryTransferType {
1072
1147
  COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0;
1073
1148
  COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1;
@@ -1332,6 +1407,7 @@ message HistorySync {
1332
1407
  repeated PhoneNumberToLIDMapping phoneNumberToLidMappings = 15;
1333
1408
  optional string companionMetaNonce = 16;
1334
1409
  optional bytes shareableChatIdentifierEncryptionKey = 17;
1410
+ repeated Account accounts = 18;
1335
1411
  enum BotAIWaitListState {
1336
1412
  IN_WAITLIST = 0;
1337
1413
  AI_AVAILABLE = 1;
@@ -1392,12 +1468,18 @@ message InteractiveAnnotation {
1392
1468
  repeated Point polygonVertices = 1;
1393
1469
  optional bool shouldSkipConfirmation = 4;
1394
1470
  optional EmbeddedContent embeddedContent = 5;
1471
+ optional StatusLinkType statusLinkType = 8;
1395
1472
  oneof action {
1396
1473
  Location location = 2;
1397
1474
  ContextInfo.ForwardedNewsletterMessageInfo newsletter = 3;
1398
1475
  bool embeddedAction = 6;
1399
1476
  TapLinkAction tapAction = 7;
1400
1477
  }
1478
+ enum StatusLinkType {
1479
+ RASTERIZED_LINK_PREVIEW = 1;
1480
+ RASTERIZED_LINK_TRUNCATED = 2;
1481
+ RASTERIZED_LINK_FULL_URL = 3;
1482
+ }
1401
1483
  }
1402
1484
 
1403
1485
  message KeepInChat {
@@ -1577,6 +1659,7 @@ message Message {
1577
1659
  optional FutureProofMessage groupStatusMessage = 96;
1578
1660
  optional AIRichResponseMessage richResponseMessage = 97;
1579
1661
  optional StatusNotificationMessage statusNotificationMessage = 98;
1662
+ optional FutureProofMessage limitSharingMessage = 99;
1580
1663
  message AlbumMessage {
1581
1664
  optional uint32 expectedImageCount = 2;
1582
1665
  optional uint32 expectedVideoCount = 3;
@@ -1925,6 +2008,7 @@ message Message {
1925
2008
  optional uint32 videoHeight = 31;
1926
2009
  optional uint32 videoWidth = 32;
1927
2010
  optional Message.MMSThumbnailMetadata faviconMMSMetadata = 33;
2011
+ optional LinkPreviewMetadata linkPreviewMetadata = 34;
1928
2012
  enum FontType {
1929
2013
  SYSTEM = 0;
1930
2014
  SYSTEM_TEXT = 1;
@@ -1941,6 +2025,10 @@ message Message {
1941
2025
  SUB = 2;
1942
2026
  DEFAULT_SUB = 3;
1943
2027
  }
2028
+ message LinkPreviewMetadata {
2029
+ optional Message.PaymentLinkMetadata paymentLinkMetadata = 1;
2030
+ }
2031
+
1944
2032
  enum PreviewType {
1945
2033
  NONE = 0;
1946
2034
  VIDEO = 1;
@@ -2375,6 +2463,23 @@ message Message {
2375
2463
  }
2376
2464
  }
2377
2465
 
2466
+ message PaymentLinkMetadata {
2467
+ optional PaymentLinkButton button = 1;
2468
+ optional PaymentLinkHeader header = 2;
2469
+ message PaymentLinkButton {
2470
+ required string displayText = 1;
2471
+ }
2472
+
2473
+ message PaymentLinkHeader {
2474
+ required PaymentLinkHeaderType headerType = 1;
2475
+ enum PaymentLinkHeaderType {
2476
+ LINK_PREVIEW = 0;
2477
+ ORDER = 1;
2478
+ }
2479
+ }
2480
+
2481
+ }
2482
+
2378
2483
  message PeerDataOperationRequestMessage {
2379
2484
  optional Message.PeerDataOperationRequestType peerDataOperationRequestType = 1;
2380
2485
  repeated RequestStickerReupload requestStickerReupload = 2;
@@ -2909,6 +3014,9 @@ message MessageAssociation {
2909
3014
  STATUS_NOTIFICATION = 9;
2910
3015
  HD_IMAGE_DUAL_UPLOAD = 10;
2911
3016
  STICKER_ANNOTATION = 11;
3017
+ MOTION_PHOTO = 12;
3018
+ STATUS_LINK_ACTION = 13;
3019
+ VIEW_ALL_REPLIES = 14;
2912
3020
  }
2913
3021
  }
2914
3022