@wppconnect/wa-proto 2.3000.1048765379 → 2.3000.1048819617

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  syntax = "proto3";
2
2
  package waproto;
3
3
 
4
- /// WhatsApp Version: 2.3000.1048765379
4
+ /// WhatsApp Version: 2.3000.1048819617
5
5
 
6
6
  message ACP2Setting {
7
7
  optional bool enabled = 1;
@@ -2664,6 +2664,7 @@ message Message {
2664
2664
  optional FutureProofMessage newsletterScheduledMessage = 132;
2665
2665
  optional FutureProofMessage acp2SettingMessage = 133;
2666
2666
  optional FutureProofMessage audioStickerMessage = 134;
2667
+ optional FutureProofMessage botGroupParticipantMessage = 137;
2667
2668
  message AlbumMessage {
2668
2669
  optional uint32 expectedImageCount = 2;
2669
2670
  optional uint32 expectedVideoCount = 3;
package/dist/index.d.ts CHANGED
@@ -34273,6 +34273,9 @@ export namespace waproto {
34273
34273
  /** Message audioStickerMessage. */
34274
34274
  audioStickerMessage?: (waproto.Message.FutureProofMessage.$Properties|null);
34275
34275
 
34276
+ /** Message botGroupParticipantMessage. */
34277
+ botGroupParticipantMessage?: (waproto.Message.FutureProofMessage.$Properties|null);
34278
+
34276
34279
  /**
34277
34280
  * Creates a new Message instance using the specified properties.
34278
34281
  * @param [properties] Properties to set
@@ -34696,6 +34699,9 @@ export namespace waproto {
34696
34699
  /** Message audioStickerMessage */
34697
34700
  audioStickerMessage?: (waproto.Message.FutureProofMessage.$Properties|null);
34698
34701
 
34702
+ /** Message botGroupParticipantMessage */
34703
+ botGroupParticipantMessage?: (waproto.Message.FutureProofMessage.$Properties|null);
34704
+
34699
34705
  /** Unknown fields preserved while decoding when enabled */
34700
34706
  $unknowns?: Uint8Array[];
34701
34707
  }
@@ -34815,6 +34821,7 @@ export namespace waproto {
34815
34821
  newsletterScheduledMessage?: waproto.Message.FutureProofMessage.$Shape|null;
34816
34822
  acp2SettingMessage?: waproto.Message.FutureProofMessage.$Shape|null;
34817
34823
  audioStickerMessage?: waproto.Message.FutureProofMessage.$Shape|null;
34824
+ botGroupParticipantMessage?: waproto.Message.FutureProofMessage.$Shape|null;
34818
34825
  $unknowns?: Uint8Array[];
34819
34826
  };
34820
34827
 
package/dist/index.js CHANGED
@@ -100510,6 +100510,7 @@ $root.waproto = (function() {
100510
100510
  * @property {waproto.Message.FutureProofMessage.$Properties|null} [newsletterScheduledMessage] Message newsletterScheduledMessage
100511
100511
  * @property {waproto.Message.FutureProofMessage.$Properties|null} [acp2SettingMessage] Message acp2SettingMessage
100512
100512
  * @property {waproto.Message.FutureProofMessage.$Properties|null} [audioStickerMessage] Message audioStickerMessage
100513
+ * @property {waproto.Message.FutureProofMessage.$Properties|null} [botGroupParticipantMessage] Message botGroupParticipantMessage
100513
100514
  * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding when enabled
100514
100515
  */
100515
100516
 
@@ -100637,6 +100638,7 @@ $root.waproto = (function() {
100637
100638
  * newsletterScheduledMessage?: waproto.Message.FutureProofMessage.$Shape|null;
100638
100639
  * acp2SettingMessage?: waproto.Message.FutureProofMessage.$Shape|null;
100639
100640
  * audioStickerMessage?: waproto.Message.FutureProofMessage.$Shape|null;
100641
+ * botGroupParticipantMessage?: waproto.Message.FutureProofMessage.$Shape|null;
100640
100642
  * $unknowns?: Array.<Uint8Array>;
100641
100643
  * }} waproto.Message.$Shape
100642
100644
  */
@@ -101560,6 +101562,14 @@ $root.waproto = (function() {
101560
101562
  */
101561
101563
  Message.prototype.audioStickerMessage = null;
101562
101564
 
101565
+ /**
101566
+ * Message botGroupParticipantMessage.
101567
+ * @member {waproto.Message.FutureProofMessage.$Properties|null|undefined} botGroupParticipantMessage
101568
+ * @memberof waproto.Message
101569
+ * @instance
101570
+ */
101571
+ Message.prototype.botGroupParticipantMessage = null;
101572
+
101563
101573
  // OneOf field names bound to virtual getters and setters
101564
101574
  var $oneOfFields;
101565
101575
 
@@ -102241,6 +102251,12 @@ $root.waproto = (function() {
102241
102251
  set: $util.oneOfSetter($oneOfFields)
102242
102252
  });
102243
102253
 
102254
+ // Virtual OneOf for proto3 optional field
102255
+ $Object.defineProperty(Message.prototype, "_botGroupParticipantMessage", {
102256
+ get: $util.oneOfGetter($oneOfFields = ["botGroupParticipantMessage"]),
102257
+ set: $util.oneOfSetter($oneOfFields)
102258
+ });
102259
+
102244
102260
  /**
102245
102261
  * Creates a new Message instance using the specified properties.
102246
102262
  * @function create
@@ -102499,6 +102515,8 @@ $root.waproto = (function() {
102499
102515
  $root.waproto.Message.FutureProofMessage.encode(message.acp2SettingMessage, writer.uint32(/* id 133, wireType 2 =*/1066).fork(), _depth + 1).ldelim();
102500
102516
  if (message.audioStickerMessage != null && $Object.hasOwnProperty.call(message, "audioStickerMessage"))
102501
102517
  $root.waproto.Message.FutureProofMessage.encode(message.audioStickerMessage, writer.uint32(/* id 134, wireType 2 =*/1074).fork(), _depth + 1).ldelim();
102518
+ if (message.botGroupParticipantMessage != null && $Object.hasOwnProperty.call(message, "botGroupParticipantMessage"))
102519
+ $root.waproto.Message.FutureProofMessage.encode(message.botGroupParticipantMessage, writer.uint32(/* id 137, wireType 2 =*/1098).fork(), _depth + 1).ldelim();
102502
102520
  if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns"))
102503
102521
  for (var i = 0; i < message.$unknowns.length; ++i)
102504
102522
  writer.raw(message.$unknowns[i]);
@@ -103347,6 +103365,13 @@ $root.waproto = (function() {
103347
103365
  message._audioStickerMessage = "audioStickerMessage";
103348
103366
  continue;
103349
103367
  }
103368
+ case 137: {
103369
+ if (wireType !== 2)
103370
+ break;
103371
+ message.botGroupParticipantMessage = $root.waproto.Message.FutureProofMessage.decode(reader, reader.uint32(), $undefined, _depth + 1, message.botGroupParticipantMessage);
103372
+ message._botGroupParticipantMessage = "botGroupParticipantMessage";
103373
+ continue;
103374
+ }
103350
103375
  }
103351
103376
  reader.skipType(wireType, _depth, tag);
103352
103377
  if (!reader.discardUnknown) {
@@ -104297,6 +104322,14 @@ $root.waproto = (function() {
104297
104322
  return "audioStickerMessage." + error;
104298
104323
  }
104299
104324
  }
104325
+ if (message.botGroupParticipantMessage != null && $Object.hasOwnProperty.call(message, "botGroupParticipantMessage")) {
104326
+ properties._botGroupParticipantMessage = 1;
104327
+ {
104328
+ var error = $root.waproto.Message.FutureProofMessage.verify(message.botGroupParticipantMessage, _depth + 1);
104329
+ if (error)
104330
+ return "botGroupParticipantMessage." + error;
104331
+ }
104332
+ }
104300
104333
  return null;
104301
104334
  };
104302
104335
 
@@ -104880,6 +104913,11 @@ $root.waproto = (function() {
104880
104913
  throw $TypeError(".waproto.Message.audioStickerMessage: object expected");
104881
104914
  message.audioStickerMessage = $root.waproto.Message.FutureProofMessage.fromObject(object.audioStickerMessage, _depth + 1);
104882
104915
  }
104916
+ if (object.botGroupParticipantMessage != null) {
104917
+ if (!$util.isObject(object.botGroupParticipantMessage))
104918
+ throw $TypeError(".waproto.Message.botGroupParticipantMessage: object expected");
104919
+ message.botGroupParticipantMessage = $root.waproto.Message.FutureProofMessage.fromObject(object.botGroupParticipantMessage, _depth + 1);
104920
+ }
104883
104921
  return message;
104884
104922
  };
104885
104923
 
@@ -105126,6 +105164,8 @@ $root.waproto = (function() {
105126
105164
  object.acp2SettingMessage = $root.waproto.Message.FutureProofMessage.toObject(message.acp2SettingMessage, options, _depth + 1);
105127
105165
  if (message.audioStickerMessage != null && $Object.hasOwnProperty.call(message, "audioStickerMessage"))
105128
105166
  object.audioStickerMessage = $root.waproto.Message.FutureProofMessage.toObject(message.audioStickerMessage, options, _depth + 1);
105167
+ if (message.botGroupParticipantMessage != null && $Object.hasOwnProperty.call(message, "botGroupParticipantMessage"))
105168
+ object.botGroupParticipantMessage = $root.waproto.Message.FutureProofMessage.toObject(message.botGroupParticipantMessage, options, _depth + 1);
105129
105169
  return object;
105130
105170
  };
105131
105171
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wppconnect/wa-proto",
3
- "version": "2.3000.1048765379",
3
+ "version": "2.3000.1048819617",
4
4
  "description": "Protobuf files from WhatsApp WEB",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {