@wppconnect/wa-proto 2.3000.1024570263 → 2.3000.1024617758

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,7 @@
1
+ ## [2.3000.1024617758](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1024570263...v2.3000.1024617758) (2025-07-10)
2
+
3
+
4
+
1
5
  ## [2.3000.1024570263](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1024551647...v2.3000.1024570263) (2025-07-09)
2
6
 
3
7
 
package/WAProto.proto CHANGED
@@ -1,7 +1,7 @@
1
1
  syntax = "proto3";
2
2
  package waproto;
3
3
 
4
- /// WhatsApp Version: 2.3000.1024570263
4
+ /// WhatsApp Version: 2.3000.1024617758
5
5
 
6
6
  message ADVDeviceIdentity {
7
7
  optional uint32 rawId = 1;
@@ -1868,6 +1868,7 @@ message Message {
1868
1868
  optional fixed32 backgroundArgb = 20;
1869
1869
  optional bool viewOnce = 21;
1870
1870
  optional string accessibilityLabel = 22;
1871
+ optional Message.MediaKeyDomain mediaKeyDomain = 23;
1871
1872
  }
1872
1873
 
1873
1874
  message BCallMessage {
@@ -2099,6 +2100,7 @@ message Message {
2099
2100
  optional uint32 thumbnailWidth = 19;
2100
2101
  optional string caption = 20;
2101
2102
  optional string accessibilityLabel = 21;
2103
+ optional Message.MediaKeyDomain mediaKeyDomain = 22;
2102
2104
  }
2103
2105
 
2104
2106
  message EncCommentMessage {
@@ -2174,6 +2176,7 @@ message Message {
2174
2176
  optional Message.LinkPreviewMetadata linkPreviewMetadata = 34;
2175
2177
  optional Message.PaymentLinkMetadata paymentLinkMetadata = 35;
2176
2178
  repeated Message.VideoEndCard endCardTiles = 36;
2179
+ optional Message.MediaKeyDomain mediaKeyDomain = 37;
2177
2180
  enum FontType {
2178
2181
  SYSTEM = 0;
2179
2182
  SYSTEM_TEXT = 1;
@@ -2339,6 +2342,7 @@ message Message {
2339
2342
  repeated InteractiveAnnotation annotations = 30;
2340
2343
  optional ImageSourceType imageSourceType = 31;
2341
2344
  optional string accessibilityLabel = 32;
2345
+ optional Message.MediaKeyDomain mediaKeyDomain = 33;
2342
2346
  enum ImageSourceType {
2343
2347
  USER_IMAGE = 0;
2344
2348
  AI_GENERATED = 1;
@@ -2582,8 +2586,16 @@ message Message {
2582
2586
  optional int64 mediaKeyTimestamp = 5;
2583
2587
  optional uint32 thumbnailHeight = 6;
2584
2588
  optional uint32 thumbnailWidth = 7;
2589
+ optional Message.MediaKeyDomain mediaKeyDomain = 8;
2585
2590
  }
2586
2591
 
2592
+ enum MediaKeyDomain {
2593
+ UNSET = 0;
2594
+ E2EE_CHAT = 1;
2595
+ STATUS = 2;
2596
+ CAPI = 3;
2597
+ BOT = 4;
2598
+ }
2587
2599
  message MessageHistoryBundle {
2588
2600
  optional string mimetype = 1;
2589
2601
  optional bytes fileSha256 = 2;
@@ -3086,6 +3098,7 @@ message Message {
3086
3098
  optional bool isAiSticker = 20;
3087
3099
  optional bool isLottie = 21;
3088
3100
  optional string accessibilityLabel = 22;
3101
+ optional Message.MediaKeyDomain mediaKeyDomain = 23;
3089
3102
  }
3090
3103
 
3091
3104
  message StickerPackMessage {
@@ -3222,6 +3235,7 @@ message Message {
3222
3235
  optional uint64 motionPhotoPresentationOffsetMs = 29;
3223
3236
  optional string metadataUrl = 30;
3224
3237
  optional VideoSourceType videoSourceType = 31;
3238
+ optional Message.MediaKeyDomain mediaKeyDomain = 32;
3225
3239
  enum Attribution {
3226
3240
  NONE = 0;
3227
3241
  GIPHY = 1;
@@ -3832,6 +3846,7 @@ message StatusAttribution {
3832
3846
  SPOTIFY = 4;
3833
3847
  YOUTUBE = 5;
3834
3848
  PINTEREST = 6;
3849
+ THREADS = 7;
3835
3850
  }
3836
3851
  }
3837
3852
 
package/dist/index.d.ts CHANGED
@@ -20329,6 +20329,9 @@ export namespace waproto {
20329
20329
 
20330
20330
  /** AudioMessage accessibilityLabel */
20331
20331
  accessibilityLabel?: (string|null);
20332
+
20333
+ /** AudioMessage mediaKeyDomain */
20334
+ mediaKeyDomain?: (waproto.Message.MediaKeyDomain|null);
20332
20335
  }
20333
20336
 
20334
20337
  /** Represents an AudioMessage. */
@@ -20388,6 +20391,9 @@ export namespace waproto {
20388
20391
  /** AudioMessage accessibilityLabel. */
20389
20392
  public accessibilityLabel?: (string|null);
20390
20393
 
20394
+ /** AudioMessage mediaKeyDomain. */
20395
+ public mediaKeyDomain?: (waproto.Message.MediaKeyDomain|null);
20396
+
20391
20397
  /**
20392
20398
  * Creates a new AudioMessage instance using the specified properties.
20393
20399
  * @param [properties] Properties to set
@@ -22795,6 +22801,9 @@ export namespace waproto {
22795
22801
 
22796
22802
  /** DocumentMessage accessibilityLabel */
22797
22803
  accessibilityLabel?: (string|null);
22804
+
22805
+ /** DocumentMessage mediaKeyDomain */
22806
+ mediaKeyDomain?: (waproto.Message.MediaKeyDomain|null);
22798
22807
  }
22799
22808
 
22800
22809
  /** Represents a DocumentMessage. */
@@ -22869,6 +22878,9 @@ export namespace waproto {
22869
22878
  /** DocumentMessage accessibilityLabel. */
22870
22879
  public accessibilityLabel?: (string|null);
22871
22880
 
22881
+ /** DocumentMessage mediaKeyDomain. */
22882
+ public mediaKeyDomain?: (waproto.Message.MediaKeyDomain|null);
22883
+
22872
22884
  /**
22873
22885
  * Creates a new DocumentMessage instance using the specified properties.
22874
22886
  * @param [properties] Properties to set
@@ -23634,6 +23646,9 @@ export namespace waproto {
23634
23646
 
23635
23647
  /** ExtendedTextMessage endCardTiles */
23636
23648
  endCardTiles?: (waproto.Message.IVideoEndCard[]|null);
23649
+
23650
+ /** ExtendedTextMessage mediaKeyDomain */
23651
+ mediaKeyDomain?: (waproto.Message.MediaKeyDomain|null);
23637
23652
  }
23638
23653
 
23639
23654
  /** Represents an ExtendedTextMessage. */
@@ -23732,6 +23747,9 @@ export namespace waproto {
23732
23747
  /** ExtendedTextMessage endCardTiles. */
23733
23748
  public endCardTiles: waproto.Message.IVideoEndCard[];
23734
23749
 
23750
+ /** ExtendedTextMessage mediaKeyDomain. */
23751
+ public mediaKeyDomain?: (waproto.Message.MediaKeyDomain|null);
23752
+
23735
23753
  /**
23736
23754
  * Creates a new ExtendedTextMessage instance using the specified properties.
23737
23755
  * @param [properties] Properties to set
@@ -25189,6 +25207,9 @@ export namespace waproto {
25189
25207
 
25190
25208
  /** ImageMessage accessibilityLabel */
25191
25209
  accessibilityLabel?: (string|null);
25210
+
25211
+ /** ImageMessage mediaKeyDomain */
25212
+ mediaKeyDomain?: (waproto.Message.MediaKeyDomain|null);
25192
25213
  }
25193
25214
 
25194
25215
  /** Represents an ImageMessage. */
@@ -25287,6 +25308,9 @@ export namespace waproto {
25287
25308
  /** ImageMessage accessibilityLabel. */
25288
25309
  public accessibilityLabel?: (string|null);
25289
25310
 
25311
+ /** ImageMessage mediaKeyDomain. */
25312
+ public mediaKeyDomain?: (waproto.Message.MediaKeyDomain|null);
25313
+
25290
25314
  /**
25291
25315
  * Creates a new ImageMessage instance using the specified properties.
25292
25316
  * @param [properties] Properties to set
@@ -28589,6 +28613,9 @@ export namespace waproto {
28589
28613
 
28590
28614
  /** MMSThumbnailMetadata thumbnailWidth */
28591
28615
  thumbnailWidth?: (number|null);
28616
+
28617
+ /** MMSThumbnailMetadata mediaKeyDomain */
28618
+ mediaKeyDomain?: (waproto.Message.MediaKeyDomain|null);
28592
28619
  }
28593
28620
 
28594
28621
  /** Represents a MMSThumbnailMetadata. */
@@ -28621,6 +28648,9 @@ export namespace waproto {
28621
28648
  /** MMSThumbnailMetadata thumbnailWidth. */
28622
28649
  public thumbnailWidth?: (number|null);
28623
28650
 
28651
+ /** MMSThumbnailMetadata mediaKeyDomain. */
28652
+ public mediaKeyDomain?: (waproto.Message.MediaKeyDomain|null);
28653
+
28624
28654
  /**
28625
28655
  * Creates a new MMSThumbnailMetadata instance using the specified properties.
28626
28656
  * @param [properties] Properties to set
@@ -28699,6 +28729,15 @@ export namespace waproto {
28699
28729
  public static getTypeUrl(typeUrlPrefix?: string): string;
28700
28730
  }
28701
28731
 
28732
+ /** MediaKeyDomain enum. */
28733
+ enum MediaKeyDomain {
28734
+ UNSET = 0,
28735
+ E2EE_CHAT = 1,
28736
+ STATUS = 2,
28737
+ CAPI = 3,
28738
+ BOT = 4
28739
+ }
28740
+
28702
28741
  /** Properties of a MessageHistoryBundle. */
28703
28742
  interface IMessageHistoryBundle {
28704
28743
 
@@ -35219,6 +35258,9 @@ export namespace waproto {
35219
35258
 
35220
35259
  /** StickerMessage accessibilityLabel */
35221
35260
  accessibilityLabel?: (string|null);
35261
+
35262
+ /** StickerMessage mediaKeyDomain */
35263
+ mediaKeyDomain?: (waproto.Message.MediaKeyDomain|null);
35222
35264
  }
35223
35265
 
35224
35266
  /** Represents a StickerMessage. */
@@ -35290,6 +35332,9 @@ export namespace waproto {
35290
35332
  /** StickerMessage accessibilityLabel. */
35291
35333
  public accessibilityLabel?: (string|null);
35292
35334
 
35335
+ /** StickerMessage mediaKeyDomain. */
35336
+ public mediaKeyDomain?: (waproto.Message.MediaKeyDomain|null);
35337
+
35293
35338
  /**
35294
35339
  * Creates a new StickerMessage instance using the specified properties.
35295
35340
  * @param [properties] Properties to set
@@ -36691,6 +36736,9 @@ export namespace waproto {
36691
36736
 
36692
36737
  /** VideoMessage videoSourceType */
36693
36738
  videoSourceType?: (waproto.Message.VideoMessage.VideoSourceType|null);
36739
+
36740
+ /** VideoMessage mediaKeyDomain */
36741
+ mediaKeyDomain?: (waproto.Message.MediaKeyDomain|null);
36694
36742
  }
36695
36743
 
36696
36744
  /** Represents a VideoMessage. */
@@ -36792,6 +36840,9 @@ export namespace waproto {
36792
36840
  /** VideoMessage videoSourceType. */
36793
36841
  public videoSourceType?: (waproto.Message.VideoMessage.VideoSourceType|null);
36794
36842
 
36843
+ /** VideoMessage mediaKeyDomain. */
36844
+ public mediaKeyDomain?: (waproto.Message.MediaKeyDomain|null);
36845
+
36795
36846
  /**
36796
36847
  * Creates a new VideoMessage instance using the specified properties.
36797
36848
  * @param [properties] Properties to set
@@ -44359,7 +44410,8 @@ export namespace waproto {
44359
44410
  MESSENGER = 3,
44360
44411
  SPOTIFY = 4,
44361
44412
  YOUTUBE = 5,
44362
- PINTEREST = 6
44413
+ PINTEREST = 6,
44414
+ THREADS = 7
44363
44415
  }
44364
44416
  }
44365
44417
 
package/dist/index.js CHANGED
@@ -63648,6 +63648,7 @@ $root.waproto = (function() {
63648
63648
  * @property {number|null} [backgroundArgb] AudioMessage backgroundArgb
63649
63649
  * @property {boolean|null} [viewOnce] AudioMessage viewOnce
63650
63650
  * @property {string|null} [accessibilityLabel] AudioMessage accessibilityLabel
63651
+ * @property {waproto.Message.MediaKeyDomain|null} [mediaKeyDomain] AudioMessage mediaKeyDomain
63651
63652
  */
63652
63653
 
63653
63654
  /**
@@ -63793,6 +63794,14 @@ $root.waproto = (function() {
63793
63794
  */
63794
63795
  AudioMessage.prototype.accessibilityLabel = null;
63795
63796
 
63797
+ /**
63798
+ * AudioMessage mediaKeyDomain.
63799
+ * @member {waproto.Message.MediaKeyDomain|null|undefined} mediaKeyDomain
63800
+ * @memberof waproto.Message.AudioMessage
63801
+ * @instance
63802
+ */
63803
+ AudioMessage.prototype.mediaKeyDomain = null;
63804
+
63796
63805
  // OneOf field names bound to virtual getters and setters
63797
63806
  var $oneOfFields;
63798
63807
 
@@ -63892,6 +63901,12 @@ $root.waproto = (function() {
63892
63901
  set: $util.oneOfSetter($oneOfFields)
63893
63902
  });
63894
63903
 
63904
+ // Virtual OneOf for proto3 optional field
63905
+ Object.defineProperty(AudioMessage.prototype, "_mediaKeyDomain", {
63906
+ get: $util.oneOfGetter($oneOfFields = ["mediaKeyDomain"]),
63907
+ set: $util.oneOfSetter($oneOfFields)
63908
+ });
63909
+
63895
63910
  /**
63896
63911
  * Creates a new AudioMessage instance using the specified properties.
63897
63912
  * @function create
@@ -63948,6 +63963,8 @@ $root.waproto = (function() {
63948
63963
  writer.uint32(/* id 21, wireType 0 =*/168).bool(message.viewOnce);
63949
63964
  if (message.accessibilityLabel != null && Object.hasOwnProperty.call(message, "accessibilityLabel"))
63950
63965
  writer.uint32(/* id 22, wireType 2 =*/178).string(message.accessibilityLabel);
63966
+ if (message.mediaKeyDomain != null && Object.hasOwnProperty.call(message, "mediaKeyDomain"))
63967
+ writer.uint32(/* id 23, wireType 0 =*/184).int32(message.mediaKeyDomain);
63951
63968
  return writer;
63952
63969
  };
63953
63970
 
@@ -64046,6 +64063,10 @@ $root.waproto = (function() {
64046
64063
  message.accessibilityLabel = reader.string();
64047
64064
  break;
64048
64065
  }
64066
+ case 23: {
64067
+ message.mediaKeyDomain = reader.int32();
64068
+ break;
64069
+ }
64049
64070
  default:
64050
64071
  reader.skipType(tag & 7);
64051
64072
  break;
@@ -64165,6 +64186,19 @@ $root.waproto = (function() {
64165
64186
  if (!$util.isString(message.accessibilityLabel))
64166
64187
  return "accessibilityLabel: string expected";
64167
64188
  }
64189
+ if (message.mediaKeyDomain != null && message.hasOwnProperty("mediaKeyDomain")) {
64190
+ properties._mediaKeyDomain = 1;
64191
+ switch (message.mediaKeyDomain) {
64192
+ default:
64193
+ return "mediaKeyDomain: enum value expected";
64194
+ case 0:
64195
+ case 1:
64196
+ case 2:
64197
+ case 3:
64198
+ case 4:
64199
+ break;
64200
+ }
64201
+ }
64168
64202
  return null;
64169
64203
  };
64170
64204
 
@@ -64244,6 +64278,34 @@ $root.waproto = (function() {
64244
64278
  message.viewOnce = Boolean(object.viewOnce);
64245
64279
  if (object.accessibilityLabel != null)
64246
64280
  message.accessibilityLabel = String(object.accessibilityLabel);
64281
+ switch (object.mediaKeyDomain) {
64282
+ default:
64283
+ if (typeof object.mediaKeyDomain === "number") {
64284
+ message.mediaKeyDomain = object.mediaKeyDomain;
64285
+ break;
64286
+ }
64287
+ break;
64288
+ case "UNSET":
64289
+ case 0:
64290
+ message.mediaKeyDomain = 0;
64291
+ break;
64292
+ case "E2EE_CHAT":
64293
+ case 1:
64294
+ message.mediaKeyDomain = 1;
64295
+ break;
64296
+ case "STATUS":
64297
+ case 2:
64298
+ message.mediaKeyDomain = 2;
64299
+ break;
64300
+ case "CAPI":
64301
+ case 3:
64302
+ message.mediaKeyDomain = 3;
64303
+ break;
64304
+ case "BOT":
64305
+ case 4:
64306
+ message.mediaKeyDomain = 4;
64307
+ break;
64308
+ }
64247
64309
  return message;
64248
64310
  };
64249
64311
 
@@ -64346,6 +64408,11 @@ $root.waproto = (function() {
64346
64408
  if (options.oneofs)
64347
64409
  object._accessibilityLabel = "accessibilityLabel";
64348
64410
  }
64411
+ if (message.mediaKeyDomain != null && message.hasOwnProperty("mediaKeyDomain")) {
64412
+ object.mediaKeyDomain = options.enums === String ? $root.waproto.Message.MediaKeyDomain[message.mediaKeyDomain] === undefined ? message.mediaKeyDomain : $root.waproto.Message.MediaKeyDomain[message.mediaKeyDomain] : message.mediaKeyDomain;
64413
+ if (options.oneofs)
64414
+ object._mediaKeyDomain = "mediaKeyDomain";
64415
+ }
64349
64416
  return object;
64350
64417
  };
64351
64418
 
@@ -70898,6 +70965,7 @@ $root.waproto = (function() {
70898
70965
  * @property {number|null} [thumbnailWidth] DocumentMessage thumbnailWidth
70899
70966
  * @property {string|null} [caption] DocumentMessage caption
70900
70967
  * @property {string|null} [accessibilityLabel] DocumentMessage accessibilityLabel
70968
+ * @property {waproto.Message.MediaKeyDomain|null} [mediaKeyDomain] DocumentMessage mediaKeyDomain
70901
70969
  */
70902
70970
 
70903
70971
  /**
@@ -71083,6 +71151,14 @@ $root.waproto = (function() {
71083
71151
  */
71084
71152
  DocumentMessage.prototype.accessibilityLabel = null;
71085
71153
 
71154
+ /**
71155
+ * DocumentMessage mediaKeyDomain.
71156
+ * @member {waproto.Message.MediaKeyDomain|null|undefined} mediaKeyDomain
71157
+ * @memberof waproto.Message.DocumentMessage
71158
+ * @instance
71159
+ */
71160
+ DocumentMessage.prototype.mediaKeyDomain = null;
71161
+
71086
71162
  // OneOf field names bound to virtual getters and setters
71087
71163
  var $oneOfFields;
71088
71164
 
@@ -71212,6 +71288,12 @@ $root.waproto = (function() {
71212
71288
  set: $util.oneOfSetter($oneOfFields)
71213
71289
  });
71214
71290
 
71291
+ // Virtual OneOf for proto3 optional field
71292
+ Object.defineProperty(DocumentMessage.prototype, "_mediaKeyDomain", {
71293
+ get: $util.oneOfGetter($oneOfFields = ["mediaKeyDomain"]),
71294
+ set: $util.oneOfSetter($oneOfFields)
71295
+ });
71296
+
71215
71297
  /**
71216
71298
  * Creates a new DocumentMessage instance using the specified properties.
71217
71299
  * @function create
@@ -71278,6 +71360,8 @@ $root.waproto = (function() {
71278
71360
  writer.uint32(/* id 20, wireType 2 =*/162).string(message.caption);
71279
71361
  if (message.accessibilityLabel != null && Object.hasOwnProperty.call(message, "accessibilityLabel"))
71280
71362
  writer.uint32(/* id 21, wireType 2 =*/170).string(message.accessibilityLabel);
71363
+ if (message.mediaKeyDomain != null && Object.hasOwnProperty.call(message, "mediaKeyDomain"))
71364
+ writer.uint32(/* id 22, wireType 0 =*/176).int32(message.mediaKeyDomain);
71281
71365
  return writer;
71282
71366
  };
71283
71367
 
@@ -71396,6 +71480,10 @@ $root.waproto = (function() {
71396
71480
  message.accessibilityLabel = reader.string();
71397
71481
  break;
71398
71482
  }
71483
+ case 22: {
71484
+ message.mediaKeyDomain = reader.int32();
71485
+ break;
71486
+ }
71399
71487
  default:
71400
71488
  reader.skipType(tag & 7);
71401
71489
  break;
@@ -71540,6 +71628,19 @@ $root.waproto = (function() {
71540
71628
  if (!$util.isString(message.accessibilityLabel))
71541
71629
  return "accessibilityLabel: string expected";
71542
71630
  }
71631
+ if (message.mediaKeyDomain != null && message.hasOwnProperty("mediaKeyDomain")) {
71632
+ properties._mediaKeyDomain = 1;
71633
+ switch (message.mediaKeyDomain) {
71634
+ default:
71635
+ return "mediaKeyDomain: enum value expected";
71636
+ case 0:
71637
+ case 1:
71638
+ case 2:
71639
+ case 3:
71640
+ case 4:
71641
+ break;
71642
+ }
71643
+ }
71543
71644
  return null;
71544
71645
  };
71545
71646
 
@@ -71632,6 +71733,34 @@ $root.waproto = (function() {
71632
71733
  message.caption = String(object.caption);
71633
71734
  if (object.accessibilityLabel != null)
71634
71735
  message.accessibilityLabel = String(object.accessibilityLabel);
71736
+ switch (object.mediaKeyDomain) {
71737
+ default:
71738
+ if (typeof object.mediaKeyDomain === "number") {
71739
+ message.mediaKeyDomain = object.mediaKeyDomain;
71740
+ break;
71741
+ }
71742
+ break;
71743
+ case "UNSET":
71744
+ case 0:
71745
+ message.mediaKeyDomain = 0;
71746
+ break;
71747
+ case "E2EE_CHAT":
71748
+ case 1:
71749
+ message.mediaKeyDomain = 1;
71750
+ break;
71751
+ case "STATUS":
71752
+ case 2:
71753
+ message.mediaKeyDomain = 2;
71754
+ break;
71755
+ case "CAPI":
71756
+ case 3:
71757
+ message.mediaKeyDomain = 3;
71758
+ break;
71759
+ case "BOT":
71760
+ case 4:
71761
+ message.mediaKeyDomain = 4;
71762
+ break;
71763
+ }
71635
71764
  return message;
71636
71765
  };
71637
71766
 
@@ -71759,6 +71888,11 @@ $root.waproto = (function() {
71759
71888
  if (options.oneofs)
71760
71889
  object._accessibilityLabel = "accessibilityLabel";
71761
71890
  }
71891
+ if (message.mediaKeyDomain != null && message.hasOwnProperty("mediaKeyDomain")) {
71892
+ object.mediaKeyDomain = options.enums === String ? $root.waproto.Message.MediaKeyDomain[message.mediaKeyDomain] === undefined ? message.mediaKeyDomain : $root.waproto.Message.MediaKeyDomain[message.mediaKeyDomain] : message.mediaKeyDomain;
71893
+ if (options.oneofs)
71894
+ object._mediaKeyDomain = "mediaKeyDomain";
71895
+ }
71762
71896
  return object;
71763
71897
  };
71764
71898
 
@@ -73592,6 +73726,7 @@ $root.waproto = (function() {
73592
73726
  * @property {waproto.Message.ILinkPreviewMetadata|null} [linkPreviewMetadata] ExtendedTextMessage linkPreviewMetadata
73593
73727
  * @property {waproto.Message.IPaymentLinkMetadata|null} [paymentLinkMetadata] ExtendedTextMessage paymentLinkMetadata
73594
73728
  * @property {Array.<waproto.Message.IVideoEndCard>|null} [endCardTiles] ExtendedTextMessage endCardTiles
73729
+ * @property {waproto.Message.MediaKeyDomain|null} [mediaKeyDomain] ExtendedTextMessage mediaKeyDomain
73595
73730
  */
73596
73731
 
73597
73732
  /**
@@ -73842,6 +73977,14 @@ $root.waproto = (function() {
73842
73977
  */
73843
73978
  ExtendedTextMessage.prototype.endCardTiles = $util.emptyArray;
73844
73979
 
73980
+ /**
73981
+ * ExtendedTextMessage mediaKeyDomain.
73982
+ * @member {waproto.Message.MediaKeyDomain|null|undefined} mediaKeyDomain
73983
+ * @memberof waproto.Message.ExtendedTextMessage
73984
+ * @instance
73985
+ */
73986
+ ExtendedTextMessage.prototype.mediaKeyDomain = null;
73987
+
73845
73988
  // OneOf field names bound to virtual getters and setters
73846
73989
  var $oneOfFields;
73847
73990
 
@@ -74013,6 +74156,12 @@ $root.waproto = (function() {
74013
74156
  set: $util.oneOfSetter($oneOfFields)
74014
74157
  });
74015
74158
 
74159
+ // Virtual OneOf for proto3 optional field
74160
+ Object.defineProperty(ExtendedTextMessage.prototype, "_mediaKeyDomain", {
74161
+ get: $util.oneOfGetter($oneOfFields = ["mediaKeyDomain"]),
74162
+ set: $util.oneOfSetter($oneOfFields)
74163
+ });
74164
+
74016
74165
  /**
74017
74166
  * Creates a new ExtendedTextMessage instance using the specified properties.
74018
74167
  * @function create
@@ -74096,6 +74245,8 @@ $root.waproto = (function() {
74096
74245
  if (message.endCardTiles != null && message.endCardTiles.length)
74097
74246
  for (var i = 0; i < message.endCardTiles.length; ++i)
74098
74247
  $root.waproto.Message.VideoEndCard.encode(message.endCardTiles[i], writer.uint32(/* id 36, wireType 2 =*/290).fork()).ldelim();
74248
+ if (message.mediaKeyDomain != null && Object.hasOwnProperty.call(message, "mediaKeyDomain"))
74249
+ writer.uint32(/* id 37, wireType 0 =*/296).int32(message.mediaKeyDomain);
74099
74250
  return writer;
74100
74251
  };
74101
74252
 
@@ -74248,6 +74399,10 @@ $root.waproto = (function() {
74248
74399
  message.endCardTiles.push($root.waproto.Message.VideoEndCard.decode(reader, reader.uint32()));
74249
74400
  break;
74250
74401
  }
74402
+ case 37: {
74403
+ message.mediaKeyDomain = reader.int32();
74404
+ break;
74405
+ }
74251
74406
  default:
74252
74407
  reader.skipType(tag & 7);
74253
74408
  break;
@@ -74479,6 +74634,19 @@ $root.waproto = (function() {
74479
74634
  return "endCardTiles." + error;
74480
74635
  }
74481
74636
  }
74637
+ if (message.mediaKeyDomain != null && message.hasOwnProperty("mediaKeyDomain")) {
74638
+ properties._mediaKeyDomain = 1;
74639
+ switch (message.mediaKeyDomain) {
74640
+ default:
74641
+ return "mediaKeyDomain: enum value expected";
74642
+ case 0:
74643
+ case 1:
74644
+ case 2:
74645
+ case 3:
74646
+ case 4:
74647
+ break;
74648
+ }
74649
+ }
74482
74650
  return null;
74483
74651
  };
74484
74652
 
@@ -74706,6 +74874,34 @@ $root.waproto = (function() {
74706
74874
  message.endCardTiles[i] = $root.waproto.Message.VideoEndCard.fromObject(object.endCardTiles[i]);
74707
74875
  }
74708
74876
  }
74877
+ switch (object.mediaKeyDomain) {
74878
+ default:
74879
+ if (typeof object.mediaKeyDomain === "number") {
74880
+ message.mediaKeyDomain = object.mediaKeyDomain;
74881
+ break;
74882
+ }
74883
+ break;
74884
+ case "UNSET":
74885
+ case 0:
74886
+ message.mediaKeyDomain = 0;
74887
+ break;
74888
+ case "E2EE_CHAT":
74889
+ case 1:
74890
+ message.mediaKeyDomain = 1;
74891
+ break;
74892
+ case "STATUS":
74893
+ case 2:
74894
+ message.mediaKeyDomain = 2;
74895
+ break;
74896
+ case "CAPI":
74897
+ case 3:
74898
+ message.mediaKeyDomain = 3;
74899
+ break;
74900
+ case "BOT":
74901
+ case 4:
74902
+ message.mediaKeyDomain = 4;
74903
+ break;
74904
+ }
74709
74905
  return message;
74710
74906
  };
74711
74907
 
@@ -74872,6 +75068,11 @@ $root.waproto = (function() {
74872
75068
  for (var j = 0; j < message.endCardTiles.length; ++j)
74873
75069
  object.endCardTiles[j] = $root.waproto.Message.VideoEndCard.toObject(message.endCardTiles[j], options);
74874
75070
  }
75071
+ if (message.mediaKeyDomain != null && message.hasOwnProperty("mediaKeyDomain")) {
75072
+ object.mediaKeyDomain = options.enums === String ? $root.waproto.Message.MediaKeyDomain[message.mediaKeyDomain] === undefined ? message.mediaKeyDomain : $root.waproto.Message.MediaKeyDomain[message.mediaKeyDomain] : message.mediaKeyDomain;
75073
+ if (options.oneofs)
75074
+ object._mediaKeyDomain = "mediaKeyDomain";
75075
+ }
74875
75076
  return object;
74876
75077
  };
74877
75078
 
@@ -78762,6 +78963,7 @@ $root.waproto = (function() {
78762
78963
  * @property {Array.<waproto.IInteractiveAnnotation>|null} [annotations] ImageMessage annotations
78763
78964
  * @property {waproto.Message.ImageMessage.ImageSourceType|null} [imageSourceType] ImageMessage imageSourceType
78764
78965
  * @property {string|null} [accessibilityLabel] ImageMessage accessibilityLabel
78966
+ * @property {waproto.Message.MediaKeyDomain|null} [mediaKeyDomain] ImageMessage mediaKeyDomain
78765
78967
  */
78766
78968
 
78767
78969
  /**
@@ -79014,6 +79216,14 @@ $root.waproto = (function() {
79014
79216
  */
79015
79217
  ImageMessage.prototype.accessibilityLabel = null;
79016
79218
 
79219
+ /**
79220
+ * ImageMessage mediaKeyDomain.
79221
+ * @member {waproto.Message.MediaKeyDomain|null|undefined} mediaKeyDomain
79222
+ * @memberof waproto.Message.ImageMessage
79223
+ * @instance
79224
+ */
79225
+ ImageMessage.prototype.mediaKeyDomain = null;
79226
+
79017
79227
  // OneOf field names bound to virtual getters and setters
79018
79228
  var $oneOfFields;
79019
79229
 
@@ -79173,6 +79383,12 @@ $root.waproto = (function() {
79173
79383
  set: $util.oneOfSetter($oneOfFields)
79174
79384
  });
79175
79385
 
79386
+ // Virtual OneOf for proto3 optional field
79387
+ Object.defineProperty(ImageMessage.prototype, "_mediaKeyDomain", {
79388
+ get: $util.oneOfGetter($oneOfFields = ["mediaKeyDomain"]),
79389
+ set: $util.oneOfSetter($oneOfFields)
79390
+ });
79391
+
79176
79392
  /**
79177
79393
  * Creates a new ImageMessage instance using the specified properties.
79178
79394
  * @function create
@@ -79261,6 +79477,8 @@ $root.waproto = (function() {
79261
79477
  writer.uint32(/* id 31, wireType 0 =*/248).int32(message.imageSourceType);
79262
79478
  if (message.accessibilityLabel != null && Object.hasOwnProperty.call(message, "accessibilityLabel"))
79263
79479
  writer.uint32(/* id 32, wireType 2 =*/258).string(message.accessibilityLabel);
79480
+ if (message.mediaKeyDomain != null && Object.hasOwnProperty.call(message, "mediaKeyDomain"))
79481
+ writer.uint32(/* id 33, wireType 0 =*/264).int32(message.mediaKeyDomain);
79264
79482
  return writer;
79265
79483
  };
79266
79484
 
@@ -79422,6 +79640,10 @@ $root.waproto = (function() {
79422
79640
  message.accessibilityLabel = reader.string();
79423
79641
  break;
79424
79642
  }
79643
+ case 33: {
79644
+ message.mediaKeyDomain = reader.int32();
79645
+ break;
79646
+ }
79425
79647
  default:
79426
79648
  reader.skipType(tag & 7);
79427
79649
  break;
@@ -79623,6 +79845,19 @@ $root.waproto = (function() {
79623
79845
  if (!$util.isString(message.accessibilityLabel))
79624
79846
  return "accessibilityLabel: string expected";
79625
79847
  }
79848
+ if (message.mediaKeyDomain != null && message.hasOwnProperty("mediaKeyDomain")) {
79849
+ properties._mediaKeyDomain = 1;
79850
+ switch (message.mediaKeyDomain) {
79851
+ default:
79852
+ return "mediaKeyDomain: enum value expected";
79853
+ case 0:
79854
+ case 1:
79855
+ case 2:
79856
+ case 3:
79857
+ case 4:
79858
+ break;
79859
+ }
79860
+ }
79626
79861
  return null;
79627
79862
  };
79628
79863
 
@@ -79786,6 +80021,34 @@ $root.waproto = (function() {
79786
80021
  }
79787
80022
  if (object.accessibilityLabel != null)
79788
80023
  message.accessibilityLabel = String(object.accessibilityLabel);
80024
+ switch (object.mediaKeyDomain) {
80025
+ default:
80026
+ if (typeof object.mediaKeyDomain === "number") {
80027
+ message.mediaKeyDomain = object.mediaKeyDomain;
80028
+ break;
80029
+ }
80030
+ break;
80031
+ case "UNSET":
80032
+ case 0:
80033
+ message.mediaKeyDomain = 0;
80034
+ break;
80035
+ case "E2EE_CHAT":
80036
+ case 1:
80037
+ message.mediaKeyDomain = 1;
80038
+ break;
80039
+ case "STATUS":
80040
+ case 2:
80041
+ message.mediaKeyDomain = 2;
80042
+ break;
80043
+ case "CAPI":
80044
+ case 3:
80045
+ message.mediaKeyDomain = 3;
80046
+ break;
80047
+ case "BOT":
80048
+ case 4:
80049
+ message.mediaKeyDomain = 4;
80050
+ break;
80051
+ }
79789
80052
  return message;
79790
80053
  };
79791
80054
 
@@ -79958,6 +80221,11 @@ $root.waproto = (function() {
79958
80221
  if (options.oneofs)
79959
80222
  object._accessibilityLabel = "accessibilityLabel";
79960
80223
  }
80224
+ if (message.mediaKeyDomain != null && message.hasOwnProperty("mediaKeyDomain")) {
80225
+ object.mediaKeyDomain = options.enums === String ? $root.waproto.Message.MediaKeyDomain[message.mediaKeyDomain] === undefined ? message.mediaKeyDomain : $root.waproto.Message.MediaKeyDomain[message.mediaKeyDomain] : message.mediaKeyDomain;
80226
+ if (options.oneofs)
80227
+ object._mediaKeyDomain = "mediaKeyDomain";
80228
+ }
79961
80229
  return object;
79962
80230
  };
79963
80231
 
@@ -89101,6 +89369,7 @@ $root.waproto = (function() {
89101
89369
  * @property {number|Long|null} [mediaKeyTimestamp] MMSThumbnailMetadata mediaKeyTimestamp
89102
89370
  * @property {number|null} [thumbnailHeight] MMSThumbnailMetadata thumbnailHeight
89103
89371
  * @property {number|null} [thumbnailWidth] MMSThumbnailMetadata thumbnailWidth
89372
+ * @property {waproto.Message.MediaKeyDomain|null} [mediaKeyDomain] MMSThumbnailMetadata mediaKeyDomain
89104
89373
  */
89105
89374
 
89106
89375
  /**
@@ -89174,6 +89443,14 @@ $root.waproto = (function() {
89174
89443
  */
89175
89444
  MMSThumbnailMetadata.prototype.thumbnailWidth = null;
89176
89445
 
89446
+ /**
89447
+ * MMSThumbnailMetadata mediaKeyDomain.
89448
+ * @member {waproto.Message.MediaKeyDomain|null|undefined} mediaKeyDomain
89449
+ * @memberof waproto.Message.MMSThumbnailMetadata
89450
+ * @instance
89451
+ */
89452
+ MMSThumbnailMetadata.prototype.mediaKeyDomain = null;
89453
+
89177
89454
  // OneOf field names bound to virtual getters and setters
89178
89455
  var $oneOfFields;
89179
89456
 
@@ -89219,6 +89496,12 @@ $root.waproto = (function() {
89219
89496
  set: $util.oneOfSetter($oneOfFields)
89220
89497
  });
89221
89498
 
89499
+ // Virtual OneOf for proto3 optional field
89500
+ Object.defineProperty(MMSThumbnailMetadata.prototype, "_mediaKeyDomain", {
89501
+ get: $util.oneOfGetter($oneOfFields = ["mediaKeyDomain"]),
89502
+ set: $util.oneOfSetter($oneOfFields)
89503
+ });
89504
+
89222
89505
  /**
89223
89506
  * Creates a new MMSThumbnailMetadata instance using the specified properties.
89224
89507
  * @function create
@@ -89257,6 +89540,8 @@ $root.waproto = (function() {
89257
89540
  writer.uint32(/* id 6, wireType 0 =*/48).uint32(message.thumbnailHeight);
89258
89541
  if (message.thumbnailWidth != null && Object.hasOwnProperty.call(message, "thumbnailWidth"))
89259
89542
  writer.uint32(/* id 7, wireType 0 =*/56).uint32(message.thumbnailWidth);
89543
+ if (message.mediaKeyDomain != null && Object.hasOwnProperty.call(message, "mediaKeyDomain"))
89544
+ writer.uint32(/* id 8, wireType 0 =*/64).int32(message.mediaKeyDomain);
89260
89545
  return writer;
89261
89546
  };
89262
89547
 
@@ -89319,6 +89604,10 @@ $root.waproto = (function() {
89319
89604
  message.thumbnailWidth = reader.uint32();
89320
89605
  break;
89321
89606
  }
89607
+ case 8: {
89608
+ message.mediaKeyDomain = reader.int32();
89609
+ break;
89610
+ }
89322
89611
  default:
89323
89612
  reader.skipType(tag & 7);
89324
89613
  break;
@@ -89390,6 +89679,19 @@ $root.waproto = (function() {
89390
89679
  if (!$util.isInteger(message.thumbnailWidth))
89391
89680
  return "thumbnailWidth: integer expected";
89392
89681
  }
89682
+ if (message.mediaKeyDomain != null && message.hasOwnProperty("mediaKeyDomain")) {
89683
+ properties._mediaKeyDomain = 1;
89684
+ switch (message.mediaKeyDomain) {
89685
+ default:
89686
+ return "mediaKeyDomain: enum value expected";
89687
+ case 0:
89688
+ case 1:
89689
+ case 2:
89690
+ case 3:
89691
+ case 4:
89692
+ break;
89693
+ }
89694
+ }
89393
89695
  return null;
89394
89696
  };
89395
89697
 
@@ -89435,6 +89737,34 @@ $root.waproto = (function() {
89435
89737
  message.thumbnailHeight = object.thumbnailHeight >>> 0;
89436
89738
  if (object.thumbnailWidth != null)
89437
89739
  message.thumbnailWidth = object.thumbnailWidth >>> 0;
89740
+ switch (object.mediaKeyDomain) {
89741
+ default:
89742
+ if (typeof object.mediaKeyDomain === "number") {
89743
+ message.mediaKeyDomain = object.mediaKeyDomain;
89744
+ break;
89745
+ }
89746
+ break;
89747
+ case "UNSET":
89748
+ case 0:
89749
+ message.mediaKeyDomain = 0;
89750
+ break;
89751
+ case "E2EE_CHAT":
89752
+ case 1:
89753
+ message.mediaKeyDomain = 1;
89754
+ break;
89755
+ case "STATUS":
89756
+ case 2:
89757
+ message.mediaKeyDomain = 2;
89758
+ break;
89759
+ case "CAPI":
89760
+ case 3:
89761
+ message.mediaKeyDomain = 3;
89762
+ break;
89763
+ case "BOT":
89764
+ case 4:
89765
+ message.mediaKeyDomain = 4;
89766
+ break;
89767
+ }
89438
89768
  return message;
89439
89769
  };
89440
89770
 
@@ -89489,6 +89819,11 @@ $root.waproto = (function() {
89489
89819
  if (options.oneofs)
89490
89820
  object._thumbnailWidth = "thumbnailWidth";
89491
89821
  }
89822
+ if (message.mediaKeyDomain != null && message.hasOwnProperty("mediaKeyDomain")) {
89823
+ object.mediaKeyDomain = options.enums === String ? $root.waproto.Message.MediaKeyDomain[message.mediaKeyDomain] === undefined ? message.mediaKeyDomain : $root.waproto.Message.MediaKeyDomain[message.mediaKeyDomain] : message.mediaKeyDomain;
89824
+ if (options.oneofs)
89825
+ object._mediaKeyDomain = "mediaKeyDomain";
89826
+ }
89492
89827
  return object;
89493
89828
  };
89494
89829
 
@@ -89521,6 +89856,26 @@ $root.waproto = (function() {
89521
89856
  return MMSThumbnailMetadata;
89522
89857
  })();
89523
89858
 
89859
+ /**
89860
+ * MediaKeyDomain enum.
89861
+ * @name waproto.Message.MediaKeyDomain
89862
+ * @enum {number}
89863
+ * @property {number} UNSET=0 UNSET value
89864
+ * @property {number} E2EE_CHAT=1 E2EE_CHAT value
89865
+ * @property {number} STATUS=2 STATUS value
89866
+ * @property {number} CAPI=3 CAPI value
89867
+ * @property {number} BOT=4 BOT value
89868
+ */
89869
+ Message.MediaKeyDomain = (function() {
89870
+ var valuesById = {}, values = Object.create(valuesById);
89871
+ values[valuesById[0] = "UNSET"] = 0;
89872
+ values[valuesById[1] = "E2EE_CHAT"] = 1;
89873
+ values[valuesById[2] = "STATUS"] = 2;
89874
+ values[valuesById[3] = "CAPI"] = 3;
89875
+ values[valuesById[4] = "BOT"] = 4;
89876
+ return values;
89877
+ })();
89878
+
89524
89879
  Message.MessageHistoryBundle = (function() {
89525
89880
 
89526
89881
  /**
@@ -108194,6 +108549,7 @@ $root.waproto = (function() {
108194
108549
  * @property {boolean|null} [isAiSticker] StickerMessage isAiSticker
108195
108550
  * @property {boolean|null} [isLottie] StickerMessage isLottie
108196
108551
  * @property {string|null} [accessibilityLabel] StickerMessage accessibilityLabel
108552
+ * @property {waproto.Message.MediaKeyDomain|null} [mediaKeyDomain] StickerMessage mediaKeyDomain
108197
108553
  */
108198
108554
 
108199
108555
  /**
@@ -108371,6 +108727,14 @@ $root.waproto = (function() {
108371
108727
  */
108372
108728
  StickerMessage.prototype.accessibilityLabel = null;
108373
108729
 
108730
+ /**
108731
+ * StickerMessage mediaKeyDomain.
108732
+ * @member {waproto.Message.MediaKeyDomain|null|undefined} mediaKeyDomain
108733
+ * @memberof waproto.Message.StickerMessage
108734
+ * @instance
108735
+ */
108736
+ StickerMessage.prototype.mediaKeyDomain = null;
108737
+
108374
108738
  // OneOf field names bound to virtual getters and setters
108375
108739
  var $oneOfFields;
108376
108740
 
@@ -108494,6 +108858,12 @@ $root.waproto = (function() {
108494
108858
  set: $util.oneOfSetter($oneOfFields)
108495
108859
  });
108496
108860
 
108861
+ // Virtual OneOf for proto3 optional field
108862
+ Object.defineProperty(StickerMessage.prototype, "_mediaKeyDomain", {
108863
+ get: $util.oneOfGetter($oneOfFields = ["mediaKeyDomain"]),
108864
+ set: $util.oneOfSetter($oneOfFields)
108865
+ });
108866
+
108497
108867
  /**
108498
108868
  * Creates a new StickerMessage instance using the specified properties.
108499
108869
  * @function create
@@ -108558,6 +108928,8 @@ $root.waproto = (function() {
108558
108928
  writer.uint32(/* id 21, wireType 0 =*/168).bool(message.isLottie);
108559
108929
  if (message.accessibilityLabel != null && Object.hasOwnProperty.call(message, "accessibilityLabel"))
108560
108930
  writer.uint32(/* id 22, wireType 2 =*/178).string(message.accessibilityLabel);
108931
+ if (message.mediaKeyDomain != null && Object.hasOwnProperty.call(message, "mediaKeyDomain"))
108932
+ writer.uint32(/* id 23, wireType 0 =*/184).int32(message.mediaKeyDomain);
108561
108933
  return writer;
108562
108934
  };
108563
108935
 
@@ -108672,6 +109044,10 @@ $root.waproto = (function() {
108672
109044
  message.accessibilityLabel = reader.string();
108673
109045
  break;
108674
109046
  }
109047
+ case 23: {
109048
+ message.mediaKeyDomain = reader.int32();
109049
+ break;
109050
+ }
108675
109051
  default:
108676
109052
  reader.skipType(tag & 7);
108677
109053
  break;
@@ -108811,6 +109187,19 @@ $root.waproto = (function() {
108811
109187
  if (!$util.isString(message.accessibilityLabel))
108812
109188
  return "accessibilityLabel: string expected";
108813
109189
  }
109190
+ if (message.mediaKeyDomain != null && message.hasOwnProperty("mediaKeyDomain")) {
109191
+ properties._mediaKeyDomain = 1;
109192
+ switch (message.mediaKeyDomain) {
109193
+ default:
109194
+ return "mediaKeyDomain: enum value expected";
109195
+ case 0:
109196
+ case 1:
109197
+ case 2:
109198
+ case 3:
109199
+ case 4:
109200
+ break;
109201
+ }
109202
+ }
108814
109203
  return null;
108815
109204
  };
108816
109205
 
@@ -108905,6 +109294,34 @@ $root.waproto = (function() {
108905
109294
  message.isLottie = Boolean(object.isLottie);
108906
109295
  if (object.accessibilityLabel != null)
108907
109296
  message.accessibilityLabel = String(object.accessibilityLabel);
109297
+ switch (object.mediaKeyDomain) {
109298
+ default:
109299
+ if (typeof object.mediaKeyDomain === "number") {
109300
+ message.mediaKeyDomain = object.mediaKeyDomain;
109301
+ break;
109302
+ }
109303
+ break;
109304
+ case "UNSET":
109305
+ case 0:
109306
+ message.mediaKeyDomain = 0;
109307
+ break;
109308
+ case "E2EE_CHAT":
109309
+ case 1:
109310
+ message.mediaKeyDomain = 1;
109311
+ break;
109312
+ case "STATUS":
109313
+ case 2:
109314
+ message.mediaKeyDomain = 2;
109315
+ break;
109316
+ case "CAPI":
109317
+ case 3:
109318
+ message.mediaKeyDomain = 3;
109319
+ break;
109320
+ case "BOT":
109321
+ case 4:
109322
+ message.mediaKeyDomain = 4;
109323
+ break;
109324
+ }
108908
109325
  return message;
108909
109326
  };
108910
109327
 
@@ -109030,6 +109447,11 @@ $root.waproto = (function() {
109030
109447
  if (options.oneofs)
109031
109448
  object._accessibilityLabel = "accessibilityLabel";
109032
109449
  }
109450
+ if (message.mediaKeyDomain != null && message.hasOwnProperty("mediaKeyDomain")) {
109451
+ object.mediaKeyDomain = options.enums === String ? $root.waproto.Message.MediaKeyDomain[message.mediaKeyDomain] === undefined ? message.mediaKeyDomain : $root.waproto.Message.MediaKeyDomain[message.mediaKeyDomain] : message.mediaKeyDomain;
109452
+ if (options.oneofs)
109453
+ object._mediaKeyDomain = "mediaKeyDomain";
109454
+ }
109033
109455
  return object;
109034
109456
  };
109035
109457
 
@@ -113076,6 +113498,7 @@ $root.waproto = (function() {
113076
113498
  * @property {number|Long|null} [motionPhotoPresentationOffsetMs] VideoMessage motionPhotoPresentationOffsetMs
113077
113499
  * @property {string|null} [metadataUrl] VideoMessage metadataUrl
113078
113500
  * @property {waproto.Message.VideoMessage.VideoSourceType|null} [videoSourceType] VideoMessage videoSourceType
113501
+ * @property {waproto.Message.MediaKeyDomain|null} [mediaKeyDomain] VideoMessage mediaKeyDomain
113079
113502
  */
113080
113503
 
113081
113504
  /**
@@ -113336,6 +113759,14 @@ $root.waproto = (function() {
113336
113759
  */
113337
113760
  VideoMessage.prototype.videoSourceType = null;
113338
113761
 
113762
+ /**
113763
+ * VideoMessage mediaKeyDomain.
113764
+ * @member {waproto.Message.MediaKeyDomain|null|undefined} mediaKeyDomain
113765
+ * @memberof waproto.Message.VideoMessage
113766
+ * @instance
113767
+ */
113768
+ VideoMessage.prototype.mediaKeyDomain = null;
113769
+
113339
113770
  // OneOf field names bound to virtual getters and setters
113340
113771
  var $oneOfFields;
113341
113772
 
@@ -113501,6 +113932,12 @@ $root.waproto = (function() {
113501
113932
  set: $util.oneOfSetter($oneOfFields)
113502
113933
  });
113503
113934
 
113935
+ // Virtual OneOf for proto3 optional field
113936
+ Object.defineProperty(VideoMessage.prototype, "_mediaKeyDomain", {
113937
+ get: $util.oneOfGetter($oneOfFields = ["mediaKeyDomain"]),
113938
+ set: $util.oneOfSetter($oneOfFields)
113939
+ });
113940
+
113504
113941
  /**
113505
113942
  * Creates a new VideoMessage instance using the specified properties.
113506
113943
  * @function create
@@ -113588,6 +114025,8 @@ $root.waproto = (function() {
113588
114025
  writer.uint32(/* id 30, wireType 2 =*/242).string(message.metadataUrl);
113589
114026
  if (message.videoSourceType != null && Object.hasOwnProperty.call(message, "videoSourceType"))
113590
114027
  writer.uint32(/* id 31, wireType 0 =*/248).int32(message.videoSourceType);
114028
+ if (message.mediaKeyDomain != null && Object.hasOwnProperty.call(message, "mediaKeyDomain"))
114029
+ writer.uint32(/* id 32, wireType 0 =*/256).int32(message.mediaKeyDomain);
113591
114030
  return writer;
113592
114031
  };
113593
114032
 
@@ -113748,6 +114187,10 @@ $root.waproto = (function() {
113748
114187
  message.videoSourceType = reader.int32();
113749
114188
  break;
113750
114189
  }
114190
+ case 32: {
114191
+ message.mediaKeyDomain = reader.int32();
114192
+ break;
114193
+ }
113751
114194
  default:
113752
114195
  reader.skipType(tag & 7);
113753
114196
  break;
@@ -113960,6 +114403,19 @@ $root.waproto = (function() {
113960
114403
  break;
113961
114404
  }
113962
114405
  }
114406
+ if (message.mediaKeyDomain != null && message.hasOwnProperty("mediaKeyDomain")) {
114407
+ properties._mediaKeyDomain = 1;
114408
+ switch (message.mediaKeyDomain) {
114409
+ default:
114410
+ return "mediaKeyDomain: enum value expected";
114411
+ case 0:
114412
+ case 1:
114413
+ case 2:
114414
+ case 3:
114415
+ case 4:
114416
+ break;
114417
+ }
114418
+ }
113963
114419
  return null;
113964
114420
  };
113965
114421
 
@@ -114136,6 +114592,34 @@ $root.waproto = (function() {
114136
114592
  message.videoSourceType = 1;
114137
114593
  break;
114138
114594
  }
114595
+ switch (object.mediaKeyDomain) {
114596
+ default:
114597
+ if (typeof object.mediaKeyDomain === "number") {
114598
+ message.mediaKeyDomain = object.mediaKeyDomain;
114599
+ break;
114600
+ }
114601
+ break;
114602
+ case "UNSET":
114603
+ case 0:
114604
+ message.mediaKeyDomain = 0;
114605
+ break;
114606
+ case "E2EE_CHAT":
114607
+ case 1:
114608
+ message.mediaKeyDomain = 1;
114609
+ break;
114610
+ case "STATUS":
114611
+ case 2:
114612
+ message.mediaKeyDomain = 2;
114613
+ break;
114614
+ case "CAPI":
114615
+ case 3:
114616
+ message.mediaKeyDomain = 3;
114617
+ break;
114618
+ case "BOT":
114619
+ case 4:
114620
+ message.mediaKeyDomain = 4;
114621
+ break;
114622
+ }
114139
114623
  return message;
114140
114624
  };
114141
114625
 
@@ -114316,6 +114800,11 @@ $root.waproto = (function() {
114316
114800
  if (options.oneofs)
114317
114801
  object._videoSourceType = "videoSourceType";
114318
114802
  }
114803
+ if (message.mediaKeyDomain != null && message.hasOwnProperty("mediaKeyDomain")) {
114804
+ object.mediaKeyDomain = options.enums === String ? $root.waproto.Message.MediaKeyDomain[message.mediaKeyDomain] === undefined ? message.mediaKeyDomain : $root.waproto.Message.MediaKeyDomain[message.mediaKeyDomain] : message.mediaKeyDomain;
114805
+ if (options.oneofs)
114806
+ object._mediaKeyDomain = "mediaKeyDomain";
114807
+ }
114319
114808
  return object;
114320
114809
  };
114321
114810
 
@@ -136644,6 +137133,7 @@ $root.waproto = (function() {
136644
137133
  case 4:
136645
137134
  case 5:
136646
137135
  case 6:
137136
+ case 7:
136647
137137
  break;
136648
137138
  }
136649
137139
  }
@@ -136709,6 +137199,10 @@ $root.waproto = (function() {
136709
137199
  case 6:
136710
137200
  message.source = 6;
136711
137201
  break;
137202
+ case "THREADS":
137203
+ case 7:
137204
+ message.source = 7;
137205
+ break;
136712
137206
  }
136713
137207
  if (object.duration != null)
136714
137208
  message.duration = object.duration | 0;
@@ -136790,6 +137284,7 @@ $root.waproto = (function() {
136790
137284
  * @property {number} SPOTIFY=4 SPOTIFY value
136791
137285
  * @property {number} YOUTUBE=5 YOUTUBE value
136792
137286
  * @property {number} PINTEREST=6 PINTEREST value
137287
+ * @property {number} THREADS=7 THREADS value
136793
137288
  */
136794
137289
  ExternalShare.Source = (function() {
136795
137290
  var valuesById = {}, values = Object.create(valuesById);
@@ -136800,6 +137295,7 @@ $root.waproto = (function() {
136800
137295
  values[valuesById[4] = "SPOTIFY"] = 4;
136801
137296
  values[valuesById[5] = "YOUTUBE"] = 5;
136802
137297
  values[valuesById[6] = "PINTEREST"] = 6;
137298
+ values[valuesById[7] = "THREADS"] = 7;
136803
137299
  return values;
136804
137300
  })();
136805
137301
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wppconnect/wa-proto",
3
- "version": "2.3000.1024570263",
3
+ "version": "2.3000.1024617758",
4
4
  "description": "Protobuf files from WhatsApp WEB",
5
5
  "license": "Apache-2.0",
6
6
  "author": {