@wppconnect/wa-proto 2.3000.1024449876 → 2.3000.1024478481

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/dist/index.js CHANGED
@@ -14758,6 +14758,8 @@ $root.waproto = (function() {
14758
14758
  * @property {number} NEW_CHAT_AI_STUDIO=24 NEW_CHAT_AI_STUDIO value
14759
14759
  * @property {number} AIVOICE_FAVICON_CALL_HISTORY=25 AIVOICE_FAVICON_CALL_HISTORY value
14760
14760
  * @property {number} ASK_META_AI_CONTEXT_MENU=26 ASK_META_AI_CONTEXT_MENU value
14761
+ * @property {number} ASK_META_AI_CONTEXT_MENU_1ON1=27 ASK_META_AI_CONTEXT_MENU_1ON1 value
14762
+ * @property {number} ASK_META_AI_CONTEXT_MENU_GROUP=28 ASK_META_AI_CONTEXT_MENU_GROUP value
14761
14763
  */
14762
14764
  waproto.BotMetricsEntryPoint = (function() {
14763
14765
  var valuesById = {}, values = Object.create(valuesById);
@@ -14787,6 +14789,8 @@ $root.waproto = (function() {
14787
14789
  values[valuesById[24] = "NEW_CHAT_AI_STUDIO"] = 24;
14788
14790
  values[valuesById[25] = "AIVOICE_FAVICON_CALL_HISTORY"] = 25;
14789
14791
  values[valuesById[26] = "ASK_META_AI_CONTEXT_MENU"] = 26;
14792
+ values[valuesById[27] = "ASK_META_AI_CONTEXT_MENU_1ON1"] = 27;
14793
+ values[valuesById[28] = "ASK_META_AI_CONTEXT_MENU_GROUP"] = 28;
14790
14794
  return values;
14791
14795
  })();
14792
14796
 
@@ -15009,6 +15013,8 @@ $root.waproto = (function() {
15009
15013
  case 24:
15010
15014
  case 25:
15011
15015
  case 26:
15016
+ case 27:
15017
+ case 28:
15012
15018
  break;
15013
15019
  }
15014
15020
  }
@@ -15153,6 +15159,14 @@ $root.waproto = (function() {
15153
15159
  case 26:
15154
15160
  message.destinationEntryPoint = 26;
15155
15161
  break;
15162
+ case "ASK_META_AI_CONTEXT_MENU_1ON1":
15163
+ case 27:
15164
+ message.destinationEntryPoint = 27;
15165
+ break;
15166
+ case "ASK_META_AI_CONTEXT_MENU_GROUP":
15167
+ case 28:
15168
+ message.destinationEntryPoint = 28;
15169
+ break;
15156
15170
  }
15157
15171
  switch (object.threadOrigin) {
15158
15172
  default:
@@ -33166,6 +33180,7 @@ $root.waproto = (function() {
33166
33180
  * @property {boolean|null} [isQuestion] ContextInfo isQuestion
33167
33181
  * @property {waproto.ContextInfo.StatusSourceType|null} [statusSourceType] ContextInfo statusSourceType
33168
33182
  * @property {Array.<waproto.IStatusAttribution>|null} [statusAttributions] ContextInfo statusAttributions
33183
+ * @property {boolean|null} [isGroupStatus] ContextInfo isGroupStatus
33169
33184
  */
33170
33185
 
33171
33186
  /**
@@ -33570,6 +33585,14 @@ $root.waproto = (function() {
33570
33585
  */
33571
33586
  ContextInfo.prototype.statusAttributions = $util.emptyArray;
33572
33587
 
33588
+ /**
33589
+ * ContextInfo isGroupStatus.
33590
+ * @member {boolean|null|undefined} isGroupStatus
33591
+ * @memberof waproto.ContextInfo
33592
+ * @instance
33593
+ */
33594
+ ContextInfo.prototype.isGroupStatus = null;
33595
+
33573
33596
  // OneOf field names bound to virtual getters and setters
33574
33597
  var $oneOfFields;
33575
33598
 
@@ -33843,6 +33866,12 @@ $root.waproto = (function() {
33843
33866
  set: $util.oneOfSetter($oneOfFields)
33844
33867
  });
33845
33868
 
33869
+ // Virtual OneOf for proto3 optional field
33870
+ Object.defineProperty(ContextInfo.prototype, "_isGroupStatus", {
33871
+ get: $util.oneOfGetter($oneOfFields = ["isGroupStatus"]),
33872
+ set: $util.oneOfSetter($oneOfFields)
33873
+ });
33874
+
33846
33875
  /**
33847
33876
  * Creates a new ContextInfo instance using the specified properties.
33848
33877
  * @function create
@@ -33966,6 +33995,8 @@ $root.waproto = (function() {
33966
33995
  if (message.statusAttributions != null && message.statusAttributions.length)
33967
33996
  for (var i = 0; i < message.statusAttributions.length; ++i)
33968
33997
  $root.waproto.StatusAttribution.encode(message.statusAttributions[i], writer.uint32(/* id 65, wireType 2 =*/522).fork()).ldelim();
33998
+ if (message.isGroupStatus != null && Object.hasOwnProperty.call(message, "isGroupStatus"))
33999
+ writer.uint32(/* id 66, wireType 0 =*/528).bool(message.isGroupStatus);
33969
34000
  return writer;
33970
34001
  };
33971
34002
 
@@ -34198,6 +34229,10 @@ $root.waproto = (function() {
34198
34229
  message.statusAttributions.push($root.waproto.StatusAttribution.decode(reader, reader.uint32()));
34199
34230
  break;
34200
34231
  }
34232
+ case 66: {
34233
+ message.isGroupStatus = reader.bool();
34234
+ break;
34235
+ }
34201
34236
  default:
34202
34237
  reader.skipType(tag & 7);
34203
34238
  break;
@@ -34484,6 +34519,7 @@ $root.waproto = (function() {
34484
34519
  case 0:
34485
34520
  case 1:
34486
34521
  case 2:
34522
+ case 3:
34487
34523
  break;
34488
34524
  }
34489
34525
  }
@@ -34551,6 +34587,11 @@ $root.waproto = (function() {
34551
34587
  return "statusAttributions." + error;
34552
34588
  }
34553
34589
  }
34590
+ if (message.isGroupStatus != null && message.hasOwnProperty("isGroupStatus")) {
34591
+ properties._isGroupStatus = 1;
34592
+ if (typeof message.isGroupStatus !== "boolean")
34593
+ return "isGroupStatus: boolean expected";
34594
+ }
34554
34595
  return null;
34555
34596
  };
34556
34597
 
@@ -34730,6 +34771,10 @@ $root.waproto = (function() {
34730
34771
  case 2:
34731
34772
  message.statusAttributionType = 2;
34732
34773
  break;
34774
+ case "FORWARDED_FROM_STATUS":
34775
+ case 3:
34776
+ message.statusAttributionType = 3;
34777
+ break;
34733
34778
  }
34734
34779
  if (object.urlTrackingMap != null) {
34735
34780
  if (typeof object.urlTrackingMap !== "object")
@@ -34823,6 +34868,8 @@ $root.waproto = (function() {
34823
34868
  message.statusAttributions[i] = $root.waproto.StatusAttribution.fromObject(object.statusAttributions[i]);
34824
34869
  }
34825
34870
  }
34871
+ if (object.isGroupStatus != null)
34872
+ message.isGroupStatus = Boolean(object.isGroupStatus);
34826
34873
  return message;
34827
34874
  };
34828
34875
 
@@ -35087,6 +35134,11 @@ $root.waproto = (function() {
35087
35134
  for (var j = 0; j < message.statusAttributions.length; ++j)
35088
35135
  object.statusAttributions[j] = $root.waproto.StatusAttribution.toObject(message.statusAttributions[j], options);
35089
35136
  }
35137
+ if (message.isGroupStatus != null && message.hasOwnProperty("isGroupStatus")) {
35138
+ object.isGroupStatus = message.isGroupStatus;
35139
+ if (options.oneofs)
35140
+ object._isGroupStatus = "isGroupStatus";
35141
+ }
35090
35142
  return object;
35091
35143
  };
35092
35144
 
@@ -38448,12 +38500,14 @@ $root.waproto = (function() {
38448
38500
  * @property {number} NONE=0 NONE value
38449
38501
  * @property {number} RESHARED_FROM_MENTION=1 RESHARED_FROM_MENTION value
38450
38502
  * @property {number} RESHARED_FROM_POST=2 RESHARED_FROM_POST value
38503
+ * @property {number} FORWARDED_FROM_STATUS=3 FORWARDED_FROM_STATUS value
38451
38504
  */
38452
38505
  ContextInfo.StatusAttributionType = (function() {
38453
38506
  var valuesById = {}, values = Object.create(valuesById);
38454
38507
  values[valuesById[0] = "NONE"] = 0;
38455
38508
  values[valuesById[1] = "RESHARED_FROM_MENTION"] = 1;
38456
38509
  values[valuesById[2] = "RESHARED_FROM_POST"] = 2;
38510
+ values[valuesById[3] = "FORWARDED_FROM_STATUS"] = 3;
38457
38511
  return values;
38458
38512
  })();
38459
38513
 
@@ -57397,6 +57451,7 @@ $root.waproto = (function() {
57397
57451
  * @property {waproto.Message.IMessageHistoryNotice|null} [messageHistoryNotice] Message messageHistoryNotice
57398
57452
  * @property {waproto.Message.IFutureProofMessage|null} [groupStatusMessageV2] Message groupStatusMessageV2
57399
57453
  * @property {waproto.Message.IFutureProofMessage|null} [botForwardedMessage] Message botForwardedMessage
57454
+ * @property {waproto.Message.IStatusQuestionAnswerMessage|null} [statusQuestionAnswerMessage] Message statusQuestionAnswerMessage
57400
57455
  */
57401
57456
 
57402
57457
  /**
@@ -58118,6 +58173,14 @@ $root.waproto = (function() {
58118
58173
  */
58119
58174
  Message.prototype.botForwardedMessage = null;
58120
58175
 
58176
+ /**
58177
+ * Message statusQuestionAnswerMessage.
58178
+ * @member {waproto.Message.IStatusQuestionAnswerMessage|null|undefined} statusQuestionAnswerMessage
58179
+ * @memberof waproto.Message
58180
+ * @instance
58181
+ */
58182
+ Message.prototype.statusQuestionAnswerMessage = null;
58183
+
58121
58184
  // OneOf field names bound to virtual getters and setters
58122
58185
  var $oneOfFields;
58123
58186
 
@@ -58649,6 +58712,12 @@ $root.waproto = (function() {
58649
58712
  set: $util.oneOfSetter($oneOfFields)
58650
58713
  });
58651
58714
 
58715
+ // Virtual OneOf for proto3 optional field
58716
+ Object.defineProperty(Message.prototype, "_statusQuestionAnswerMessage", {
58717
+ get: $util.oneOfGetter($oneOfFields = ["statusQuestionAnswerMessage"]),
58718
+ set: $util.oneOfSetter($oneOfFields)
58719
+ });
58720
+
58652
58721
  /**
58653
58722
  * Creates a new Message instance using the specified properties.
58654
58723
  * @function create
@@ -58849,6 +58918,8 @@ $root.waproto = (function() {
58849
58918
  $root.waproto.Message.FutureProofMessage.encode(message.groupStatusMessageV2, writer.uint32(/* id 103, wireType 2 =*/826).fork()).ldelim();
58850
58919
  if (message.botForwardedMessage != null && Object.hasOwnProperty.call(message, "botForwardedMessage"))
58851
58920
  $root.waproto.Message.FutureProofMessage.encode(message.botForwardedMessage, writer.uint32(/* id 104, wireType 2 =*/834).fork()).ldelim();
58921
+ if (message.statusQuestionAnswerMessage != null && Object.hasOwnProperty.call(message, "statusQuestionAnswerMessage"))
58922
+ $root.waproto.Message.StatusQuestionAnswerMessage.encode(message.statusQuestionAnswerMessage, writer.uint32(/* id 105, wireType 2 =*/842).fork()).ldelim();
58852
58923
  return writer;
58853
58924
  };
58854
58925
 
@@ -59235,6 +59306,10 @@ $root.waproto = (function() {
59235
59306
  message.botForwardedMessage = $root.waproto.Message.FutureProofMessage.decode(reader, reader.uint32());
59236
59307
  break;
59237
59308
  }
59309
+ case 105: {
59310
+ message.statusQuestionAnswerMessage = $root.waproto.Message.StatusQuestionAnswerMessage.decode(reader, reader.uint32());
59311
+ break;
59312
+ }
59238
59313
  default:
59239
59314
  reader.skipType(tag & 7);
59240
59315
  break;
@@ -59972,6 +60047,14 @@ $root.waproto = (function() {
59972
60047
  return "botForwardedMessage." + error;
59973
60048
  }
59974
60049
  }
60050
+ if (message.statusQuestionAnswerMessage != null && message.hasOwnProperty("statusQuestionAnswerMessage")) {
60051
+ properties._statusQuestionAnswerMessage = 1;
60052
+ {
60053
+ var error = $root.waproto.Message.StatusQuestionAnswerMessage.verify(message.statusQuestionAnswerMessage);
60054
+ if (error)
60055
+ return "statusQuestionAnswerMessage." + error;
60056
+ }
60057
+ }
59975
60058
  return null;
59976
60059
  };
59977
60060
 
@@ -60424,6 +60507,11 @@ $root.waproto = (function() {
60424
60507
  throw TypeError(".waproto.Message.botForwardedMessage: object expected");
60425
60508
  message.botForwardedMessage = $root.waproto.Message.FutureProofMessage.fromObject(object.botForwardedMessage);
60426
60509
  }
60510
+ if (object.statusQuestionAnswerMessage != null) {
60511
+ if (typeof object.statusQuestionAnswerMessage !== "object")
60512
+ throw TypeError(".waproto.Message.statusQuestionAnswerMessage: object expected");
60513
+ message.statusQuestionAnswerMessage = $root.waproto.Message.StatusQuestionAnswerMessage.fromObject(object.statusQuestionAnswerMessage);
60514
+ }
60427
60515
  return message;
60428
60516
  };
60429
60517
 
@@ -60880,6 +60968,11 @@ $root.waproto = (function() {
60880
60968
  if (options.oneofs)
60881
60969
  object._botForwardedMessage = "botForwardedMessage";
60882
60970
  }
60971
+ if (message.statusQuestionAnswerMessage != null && message.hasOwnProperty("statusQuestionAnswerMessage")) {
60972
+ object.statusQuestionAnswerMessage = $root.waproto.Message.StatusQuestionAnswerMessage.toObject(message.statusQuestionAnswerMessage, options);
60973
+ if (options.oneofs)
60974
+ object._statusQuestionAnswerMessage = "statusQuestionAnswerMessage";
60975
+ }
60883
60976
  return object;
60884
60977
  };
60885
60978
 
@@ -96184,6 +96277,7 @@ $root.waproto = (function() {
96184
96277
  * @property {string|null} [matchText] LinkPreviewResponse matchText
96185
96278
  * @property {string|null} [previewType] LinkPreviewResponse previewType
96186
96279
  * @property {waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.ILinkPreviewHighQualityThumbnail|null} [hqThumbnail] LinkPreviewResponse hqThumbnail
96280
+ * @property {waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.IPaymentLinkPreviewMetadata|null} [previewMetadata] LinkPreviewResponse previewMetadata
96187
96281
  */
96188
96282
 
96189
96283
  /**
@@ -96257,6 +96351,14 @@ $root.waproto = (function() {
96257
96351
  */
96258
96352
  LinkPreviewResponse.prototype.hqThumbnail = null;
96259
96353
 
96354
+ /**
96355
+ * LinkPreviewResponse previewMetadata.
96356
+ * @member {waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.IPaymentLinkPreviewMetadata|null|undefined} previewMetadata
96357
+ * @memberof waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse
96358
+ * @instance
96359
+ */
96360
+ LinkPreviewResponse.prototype.previewMetadata = null;
96361
+
96260
96362
  // OneOf field names bound to virtual getters and setters
96261
96363
  var $oneOfFields;
96262
96364
 
@@ -96302,6 +96404,12 @@ $root.waproto = (function() {
96302
96404
  set: $util.oneOfSetter($oneOfFields)
96303
96405
  });
96304
96406
 
96407
+ // Virtual OneOf for proto3 optional field
96408
+ Object.defineProperty(LinkPreviewResponse.prototype, "_previewMetadata", {
96409
+ get: $util.oneOfGetter($oneOfFields = ["previewMetadata"]),
96410
+ set: $util.oneOfSetter($oneOfFields)
96411
+ });
96412
+
96305
96413
  /**
96306
96414
  * Creates a new LinkPreviewResponse instance using the specified properties.
96307
96415
  * @function create
@@ -96340,6 +96448,8 @@ $root.waproto = (function() {
96340
96448
  writer.uint32(/* id 7, wireType 2 =*/58).string(message.previewType);
96341
96449
  if (message.hqThumbnail != null && Object.hasOwnProperty.call(message, "hqThumbnail"))
96342
96450
  $root.waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.LinkPreviewHighQualityThumbnail.encode(message.hqThumbnail, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
96451
+ if (message.previewMetadata != null && Object.hasOwnProperty.call(message, "previewMetadata"))
96452
+ $root.waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata.encode(message.previewMetadata, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
96343
96453
  return writer;
96344
96454
  };
96345
96455
 
@@ -96402,6 +96512,10 @@ $root.waproto = (function() {
96402
96512
  message.hqThumbnail = $root.waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.LinkPreviewHighQualityThumbnail.decode(reader, reader.uint32());
96403
96513
  break;
96404
96514
  }
96515
+ case 9: {
96516
+ message.previewMetadata = $root.waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata.decode(reader, reader.uint32());
96517
+ break;
96518
+ }
96405
96519
  default:
96406
96520
  reader.skipType(tag & 7);
96407
96521
  break;
@@ -96476,6 +96590,14 @@ $root.waproto = (function() {
96476
96590
  return "hqThumbnail." + error;
96477
96591
  }
96478
96592
  }
96593
+ if (message.previewMetadata != null && message.hasOwnProperty("previewMetadata")) {
96594
+ properties._previewMetadata = 1;
96595
+ {
96596
+ var error = $root.waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata.verify(message.previewMetadata);
96597
+ if (error)
96598
+ return "previewMetadata." + error;
96599
+ }
96600
+ }
96479
96601
  return null;
96480
96602
  };
96481
96603
 
@@ -96511,6 +96633,11 @@ $root.waproto = (function() {
96511
96633
  throw TypeError(".waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.hqThumbnail: object expected");
96512
96634
  message.hqThumbnail = $root.waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.LinkPreviewHighQualityThumbnail.fromObject(object.hqThumbnail);
96513
96635
  }
96636
+ if (object.previewMetadata != null) {
96637
+ if (typeof object.previewMetadata !== "object")
96638
+ throw TypeError(".waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.previewMetadata: object expected");
96639
+ message.previewMetadata = $root.waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata.fromObject(object.previewMetadata);
96640
+ }
96514
96641
  return message;
96515
96642
  };
96516
96643
 
@@ -96562,6 +96689,11 @@ $root.waproto = (function() {
96562
96689
  if (options.oneofs)
96563
96690
  object._hqThumbnail = "hqThumbnail";
96564
96691
  }
96692
+ if (message.previewMetadata != null && message.hasOwnProperty("previewMetadata")) {
96693
+ object.previewMetadata = $root.waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata.toObject(message.previewMetadata, options);
96694
+ if (options.oneofs)
96695
+ object._previewMetadata = "previewMetadata";
96696
+ }
96565
96697
  return object;
96566
96698
  };
96567
96699
 
@@ -97018,6 +97150,255 @@ $root.waproto = (function() {
97018
97150
  return LinkPreviewHighQualityThumbnail;
97019
97151
  })();
97020
97152
 
97153
+ LinkPreviewResponse.PaymentLinkPreviewMetadata = (function() {
97154
+
97155
+ /**
97156
+ * Properties of a PaymentLinkPreviewMetadata.
97157
+ * @memberof waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse
97158
+ * @interface IPaymentLinkPreviewMetadata
97159
+ * @property {boolean|null} [isBusinessVerified] PaymentLinkPreviewMetadata isBusinessVerified
97160
+ * @property {string|null} [providerName] PaymentLinkPreviewMetadata providerName
97161
+ */
97162
+
97163
+ /**
97164
+ * Constructs a new PaymentLinkPreviewMetadata.
97165
+ * @memberof waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse
97166
+ * @classdesc Represents a PaymentLinkPreviewMetadata.
97167
+ * @implements IPaymentLinkPreviewMetadata
97168
+ * @constructor
97169
+ * @param {waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.IPaymentLinkPreviewMetadata=} [properties] Properties to set
97170
+ */
97171
+ function PaymentLinkPreviewMetadata(properties) {
97172
+ if (properties)
97173
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
97174
+ if (properties[keys[i]] != null)
97175
+ this[keys[i]] = properties[keys[i]];
97176
+ }
97177
+
97178
+ /**
97179
+ * PaymentLinkPreviewMetadata isBusinessVerified.
97180
+ * @member {boolean|null|undefined} isBusinessVerified
97181
+ * @memberof waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata
97182
+ * @instance
97183
+ */
97184
+ PaymentLinkPreviewMetadata.prototype.isBusinessVerified = null;
97185
+
97186
+ /**
97187
+ * PaymentLinkPreviewMetadata providerName.
97188
+ * @member {string|null|undefined} providerName
97189
+ * @memberof waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata
97190
+ * @instance
97191
+ */
97192
+ PaymentLinkPreviewMetadata.prototype.providerName = null;
97193
+
97194
+ // OneOf field names bound to virtual getters and setters
97195
+ var $oneOfFields;
97196
+
97197
+ // Virtual OneOf for proto3 optional field
97198
+ Object.defineProperty(PaymentLinkPreviewMetadata.prototype, "_isBusinessVerified", {
97199
+ get: $util.oneOfGetter($oneOfFields = ["isBusinessVerified"]),
97200
+ set: $util.oneOfSetter($oneOfFields)
97201
+ });
97202
+
97203
+ // Virtual OneOf for proto3 optional field
97204
+ Object.defineProperty(PaymentLinkPreviewMetadata.prototype, "_providerName", {
97205
+ get: $util.oneOfGetter($oneOfFields = ["providerName"]),
97206
+ set: $util.oneOfSetter($oneOfFields)
97207
+ });
97208
+
97209
+ /**
97210
+ * Creates a new PaymentLinkPreviewMetadata instance using the specified properties.
97211
+ * @function create
97212
+ * @memberof waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata
97213
+ * @static
97214
+ * @param {waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.IPaymentLinkPreviewMetadata=} [properties] Properties to set
97215
+ * @returns {waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata} PaymentLinkPreviewMetadata instance
97216
+ */
97217
+ PaymentLinkPreviewMetadata.create = function create(properties) {
97218
+ return new PaymentLinkPreviewMetadata(properties);
97219
+ };
97220
+
97221
+ /**
97222
+ * Encodes the specified PaymentLinkPreviewMetadata message. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata.verify|verify} messages.
97223
+ * @function encode
97224
+ * @memberof waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata
97225
+ * @static
97226
+ * @param {waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.IPaymentLinkPreviewMetadata} message PaymentLinkPreviewMetadata message or plain object to encode
97227
+ * @param {$protobuf.Writer} [writer] Writer to encode to
97228
+ * @returns {$protobuf.Writer} Writer
97229
+ */
97230
+ PaymentLinkPreviewMetadata.encode = function encode(message, writer) {
97231
+ if (!writer)
97232
+ writer = $Writer.create();
97233
+ if (message.isBusinessVerified != null && Object.hasOwnProperty.call(message, "isBusinessVerified"))
97234
+ writer.uint32(/* id 1, wireType 0 =*/8).bool(message.isBusinessVerified);
97235
+ if (message.providerName != null && Object.hasOwnProperty.call(message, "providerName"))
97236
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.providerName);
97237
+ return writer;
97238
+ };
97239
+
97240
+ /**
97241
+ * Encodes the specified PaymentLinkPreviewMetadata message, length delimited. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata.verify|verify} messages.
97242
+ * @function encodeDelimited
97243
+ * @memberof waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata
97244
+ * @static
97245
+ * @param {waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.IPaymentLinkPreviewMetadata} message PaymentLinkPreviewMetadata message or plain object to encode
97246
+ * @param {$protobuf.Writer} [writer] Writer to encode to
97247
+ * @returns {$protobuf.Writer} Writer
97248
+ */
97249
+ PaymentLinkPreviewMetadata.encodeDelimited = function encodeDelimited(message, writer) {
97250
+ return this.encode(message, writer).ldelim();
97251
+ };
97252
+
97253
+ /**
97254
+ * Decodes a PaymentLinkPreviewMetadata message from the specified reader or buffer.
97255
+ * @function decode
97256
+ * @memberof waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata
97257
+ * @static
97258
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
97259
+ * @param {number} [length] Message length if known beforehand
97260
+ * @returns {waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata} PaymentLinkPreviewMetadata
97261
+ * @throws {Error} If the payload is not a reader or valid buffer
97262
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
97263
+ */
97264
+ PaymentLinkPreviewMetadata.decode = function decode(reader, length) {
97265
+ if (!(reader instanceof $Reader))
97266
+ reader = $Reader.create(reader);
97267
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata();
97268
+ while (reader.pos < end) {
97269
+ var tag = reader.uint32();
97270
+ switch (tag >>> 3) {
97271
+ case 1: {
97272
+ message.isBusinessVerified = reader.bool();
97273
+ break;
97274
+ }
97275
+ case 2: {
97276
+ message.providerName = reader.string();
97277
+ break;
97278
+ }
97279
+ default:
97280
+ reader.skipType(tag & 7);
97281
+ break;
97282
+ }
97283
+ }
97284
+ return message;
97285
+ };
97286
+
97287
+ /**
97288
+ * Decodes a PaymentLinkPreviewMetadata message from the specified reader or buffer, length delimited.
97289
+ * @function decodeDelimited
97290
+ * @memberof waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata
97291
+ * @static
97292
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
97293
+ * @returns {waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata} PaymentLinkPreviewMetadata
97294
+ * @throws {Error} If the payload is not a reader or valid buffer
97295
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
97296
+ */
97297
+ PaymentLinkPreviewMetadata.decodeDelimited = function decodeDelimited(reader) {
97298
+ if (!(reader instanceof $Reader))
97299
+ reader = new $Reader(reader);
97300
+ return this.decode(reader, reader.uint32());
97301
+ };
97302
+
97303
+ /**
97304
+ * Verifies a PaymentLinkPreviewMetadata message.
97305
+ * @function verify
97306
+ * @memberof waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata
97307
+ * @static
97308
+ * @param {Object.<string,*>} message Plain object to verify
97309
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
97310
+ */
97311
+ PaymentLinkPreviewMetadata.verify = function verify(message) {
97312
+ if (typeof message !== "object" || message === null)
97313
+ return "object expected";
97314
+ var properties = {};
97315
+ if (message.isBusinessVerified != null && message.hasOwnProperty("isBusinessVerified")) {
97316
+ properties._isBusinessVerified = 1;
97317
+ if (typeof message.isBusinessVerified !== "boolean")
97318
+ return "isBusinessVerified: boolean expected";
97319
+ }
97320
+ if (message.providerName != null && message.hasOwnProperty("providerName")) {
97321
+ properties._providerName = 1;
97322
+ if (!$util.isString(message.providerName))
97323
+ return "providerName: string expected";
97324
+ }
97325
+ return null;
97326
+ };
97327
+
97328
+ /**
97329
+ * Creates a PaymentLinkPreviewMetadata message from a plain object. Also converts values to their respective internal types.
97330
+ * @function fromObject
97331
+ * @memberof waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata
97332
+ * @static
97333
+ * @param {Object.<string,*>} object Plain object
97334
+ * @returns {waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata} PaymentLinkPreviewMetadata
97335
+ */
97336
+ PaymentLinkPreviewMetadata.fromObject = function fromObject(object) {
97337
+ if (object instanceof $root.waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata)
97338
+ return object;
97339
+ var message = new $root.waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata();
97340
+ if (object.isBusinessVerified != null)
97341
+ message.isBusinessVerified = Boolean(object.isBusinessVerified);
97342
+ if (object.providerName != null)
97343
+ message.providerName = String(object.providerName);
97344
+ return message;
97345
+ };
97346
+
97347
+ /**
97348
+ * Creates a plain object from a PaymentLinkPreviewMetadata message. Also converts values to other types if specified.
97349
+ * @function toObject
97350
+ * @memberof waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata
97351
+ * @static
97352
+ * @param {waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata} message PaymentLinkPreviewMetadata
97353
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
97354
+ * @returns {Object.<string,*>} Plain object
97355
+ */
97356
+ PaymentLinkPreviewMetadata.toObject = function toObject(message, options) {
97357
+ if (!options)
97358
+ options = {};
97359
+ var object = {};
97360
+ if (message.isBusinessVerified != null && message.hasOwnProperty("isBusinessVerified")) {
97361
+ object.isBusinessVerified = message.isBusinessVerified;
97362
+ if (options.oneofs)
97363
+ object._isBusinessVerified = "isBusinessVerified";
97364
+ }
97365
+ if (message.providerName != null && message.hasOwnProperty("providerName")) {
97366
+ object.providerName = message.providerName;
97367
+ if (options.oneofs)
97368
+ object._providerName = "providerName";
97369
+ }
97370
+ return object;
97371
+ };
97372
+
97373
+ /**
97374
+ * Converts this PaymentLinkPreviewMetadata to JSON.
97375
+ * @function toJSON
97376
+ * @memberof waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata
97377
+ * @instance
97378
+ * @returns {Object.<string,*>} JSON object
97379
+ */
97380
+ PaymentLinkPreviewMetadata.prototype.toJSON = function toJSON() {
97381
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
97382
+ };
97383
+
97384
+ /**
97385
+ * Gets the default type url for PaymentLinkPreviewMetadata
97386
+ * @function getTypeUrl
97387
+ * @memberof waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata
97388
+ * @static
97389
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
97390
+ * @returns {string} The default type url
97391
+ */
97392
+ PaymentLinkPreviewMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
97393
+ if (typeUrlPrefix === undefined) {
97394
+ typeUrlPrefix = "type.googleapis.com";
97395
+ }
97396
+ return typeUrlPrefix + "/waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata";
97397
+ };
97398
+
97399
+ return PaymentLinkPreviewMetadata;
97400
+ })();
97401
+
97021
97402
  return LinkPreviewResponse;
97022
97403
  })();
97023
97404
 
@@ -106433,6 +106814,261 @@ $root.waproto = (function() {
106433
106814
  return StatusNotificationMessage;
106434
106815
  })();
106435
106816
 
106817
+ Message.StatusQuestionAnswerMessage = (function() {
106818
+
106819
+ /**
106820
+ * Properties of a StatusQuestionAnswerMessage.
106821
+ * @memberof waproto.Message
106822
+ * @interface IStatusQuestionAnswerMessage
106823
+ * @property {waproto.IMessageKey|null} [key] StatusQuestionAnswerMessage key
106824
+ * @property {string|null} [text] StatusQuestionAnswerMessage text
106825
+ */
106826
+
106827
+ /**
106828
+ * Constructs a new StatusQuestionAnswerMessage.
106829
+ * @memberof waproto.Message
106830
+ * @classdesc Represents a StatusQuestionAnswerMessage.
106831
+ * @implements IStatusQuestionAnswerMessage
106832
+ * @constructor
106833
+ * @param {waproto.Message.IStatusQuestionAnswerMessage=} [properties] Properties to set
106834
+ */
106835
+ function StatusQuestionAnswerMessage(properties) {
106836
+ if (properties)
106837
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
106838
+ if (properties[keys[i]] != null)
106839
+ this[keys[i]] = properties[keys[i]];
106840
+ }
106841
+
106842
+ /**
106843
+ * StatusQuestionAnswerMessage key.
106844
+ * @member {waproto.IMessageKey|null|undefined} key
106845
+ * @memberof waproto.Message.StatusQuestionAnswerMessage
106846
+ * @instance
106847
+ */
106848
+ StatusQuestionAnswerMessage.prototype.key = null;
106849
+
106850
+ /**
106851
+ * StatusQuestionAnswerMessage text.
106852
+ * @member {string|null|undefined} text
106853
+ * @memberof waproto.Message.StatusQuestionAnswerMessage
106854
+ * @instance
106855
+ */
106856
+ StatusQuestionAnswerMessage.prototype.text = null;
106857
+
106858
+ // OneOf field names bound to virtual getters and setters
106859
+ var $oneOfFields;
106860
+
106861
+ // Virtual OneOf for proto3 optional field
106862
+ Object.defineProperty(StatusQuestionAnswerMessage.prototype, "_key", {
106863
+ get: $util.oneOfGetter($oneOfFields = ["key"]),
106864
+ set: $util.oneOfSetter($oneOfFields)
106865
+ });
106866
+
106867
+ // Virtual OneOf for proto3 optional field
106868
+ Object.defineProperty(StatusQuestionAnswerMessage.prototype, "_text", {
106869
+ get: $util.oneOfGetter($oneOfFields = ["text"]),
106870
+ set: $util.oneOfSetter($oneOfFields)
106871
+ });
106872
+
106873
+ /**
106874
+ * Creates a new StatusQuestionAnswerMessage instance using the specified properties.
106875
+ * @function create
106876
+ * @memberof waproto.Message.StatusQuestionAnswerMessage
106877
+ * @static
106878
+ * @param {waproto.Message.IStatusQuestionAnswerMessage=} [properties] Properties to set
106879
+ * @returns {waproto.Message.StatusQuestionAnswerMessage} StatusQuestionAnswerMessage instance
106880
+ */
106881
+ StatusQuestionAnswerMessage.create = function create(properties) {
106882
+ return new StatusQuestionAnswerMessage(properties);
106883
+ };
106884
+
106885
+ /**
106886
+ * Encodes the specified StatusQuestionAnswerMessage message. Does not implicitly {@link waproto.Message.StatusQuestionAnswerMessage.verify|verify} messages.
106887
+ * @function encode
106888
+ * @memberof waproto.Message.StatusQuestionAnswerMessage
106889
+ * @static
106890
+ * @param {waproto.Message.IStatusQuestionAnswerMessage} message StatusQuestionAnswerMessage message or plain object to encode
106891
+ * @param {$protobuf.Writer} [writer] Writer to encode to
106892
+ * @returns {$protobuf.Writer} Writer
106893
+ */
106894
+ StatusQuestionAnswerMessage.encode = function encode(message, writer) {
106895
+ if (!writer)
106896
+ writer = $Writer.create();
106897
+ if (message.key != null && Object.hasOwnProperty.call(message, "key"))
106898
+ $root.waproto.MessageKey.encode(message.key, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
106899
+ if (message.text != null && Object.hasOwnProperty.call(message, "text"))
106900
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.text);
106901
+ return writer;
106902
+ };
106903
+
106904
+ /**
106905
+ * Encodes the specified StatusQuestionAnswerMessage message, length delimited. Does not implicitly {@link waproto.Message.StatusQuestionAnswerMessage.verify|verify} messages.
106906
+ * @function encodeDelimited
106907
+ * @memberof waproto.Message.StatusQuestionAnswerMessage
106908
+ * @static
106909
+ * @param {waproto.Message.IStatusQuestionAnswerMessage} message StatusQuestionAnswerMessage message or plain object to encode
106910
+ * @param {$protobuf.Writer} [writer] Writer to encode to
106911
+ * @returns {$protobuf.Writer} Writer
106912
+ */
106913
+ StatusQuestionAnswerMessage.encodeDelimited = function encodeDelimited(message, writer) {
106914
+ return this.encode(message, writer).ldelim();
106915
+ };
106916
+
106917
+ /**
106918
+ * Decodes a StatusQuestionAnswerMessage message from the specified reader or buffer.
106919
+ * @function decode
106920
+ * @memberof waproto.Message.StatusQuestionAnswerMessage
106921
+ * @static
106922
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
106923
+ * @param {number} [length] Message length if known beforehand
106924
+ * @returns {waproto.Message.StatusQuestionAnswerMessage} StatusQuestionAnswerMessage
106925
+ * @throws {Error} If the payload is not a reader or valid buffer
106926
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
106927
+ */
106928
+ StatusQuestionAnswerMessage.decode = function decode(reader, length) {
106929
+ if (!(reader instanceof $Reader))
106930
+ reader = $Reader.create(reader);
106931
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.waproto.Message.StatusQuestionAnswerMessage();
106932
+ while (reader.pos < end) {
106933
+ var tag = reader.uint32();
106934
+ switch (tag >>> 3) {
106935
+ case 1: {
106936
+ message.key = $root.waproto.MessageKey.decode(reader, reader.uint32());
106937
+ break;
106938
+ }
106939
+ case 2: {
106940
+ message.text = reader.string();
106941
+ break;
106942
+ }
106943
+ default:
106944
+ reader.skipType(tag & 7);
106945
+ break;
106946
+ }
106947
+ }
106948
+ return message;
106949
+ };
106950
+
106951
+ /**
106952
+ * Decodes a StatusQuestionAnswerMessage message from the specified reader or buffer, length delimited.
106953
+ * @function decodeDelimited
106954
+ * @memberof waproto.Message.StatusQuestionAnswerMessage
106955
+ * @static
106956
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
106957
+ * @returns {waproto.Message.StatusQuestionAnswerMessage} StatusQuestionAnswerMessage
106958
+ * @throws {Error} If the payload is not a reader or valid buffer
106959
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
106960
+ */
106961
+ StatusQuestionAnswerMessage.decodeDelimited = function decodeDelimited(reader) {
106962
+ if (!(reader instanceof $Reader))
106963
+ reader = new $Reader(reader);
106964
+ return this.decode(reader, reader.uint32());
106965
+ };
106966
+
106967
+ /**
106968
+ * Verifies a StatusQuestionAnswerMessage message.
106969
+ * @function verify
106970
+ * @memberof waproto.Message.StatusQuestionAnswerMessage
106971
+ * @static
106972
+ * @param {Object.<string,*>} message Plain object to verify
106973
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
106974
+ */
106975
+ StatusQuestionAnswerMessage.verify = function verify(message) {
106976
+ if (typeof message !== "object" || message === null)
106977
+ return "object expected";
106978
+ var properties = {};
106979
+ if (message.key != null && message.hasOwnProperty("key")) {
106980
+ properties._key = 1;
106981
+ {
106982
+ var error = $root.waproto.MessageKey.verify(message.key);
106983
+ if (error)
106984
+ return "key." + error;
106985
+ }
106986
+ }
106987
+ if (message.text != null && message.hasOwnProperty("text")) {
106988
+ properties._text = 1;
106989
+ if (!$util.isString(message.text))
106990
+ return "text: string expected";
106991
+ }
106992
+ return null;
106993
+ };
106994
+
106995
+ /**
106996
+ * Creates a StatusQuestionAnswerMessage message from a plain object. Also converts values to their respective internal types.
106997
+ * @function fromObject
106998
+ * @memberof waproto.Message.StatusQuestionAnswerMessage
106999
+ * @static
107000
+ * @param {Object.<string,*>} object Plain object
107001
+ * @returns {waproto.Message.StatusQuestionAnswerMessage} StatusQuestionAnswerMessage
107002
+ */
107003
+ StatusQuestionAnswerMessage.fromObject = function fromObject(object) {
107004
+ if (object instanceof $root.waproto.Message.StatusQuestionAnswerMessage)
107005
+ return object;
107006
+ var message = new $root.waproto.Message.StatusQuestionAnswerMessage();
107007
+ if (object.key != null) {
107008
+ if (typeof object.key !== "object")
107009
+ throw TypeError(".waproto.Message.StatusQuestionAnswerMessage.key: object expected");
107010
+ message.key = $root.waproto.MessageKey.fromObject(object.key);
107011
+ }
107012
+ if (object.text != null)
107013
+ message.text = String(object.text);
107014
+ return message;
107015
+ };
107016
+
107017
+ /**
107018
+ * Creates a plain object from a StatusQuestionAnswerMessage message. Also converts values to other types if specified.
107019
+ * @function toObject
107020
+ * @memberof waproto.Message.StatusQuestionAnswerMessage
107021
+ * @static
107022
+ * @param {waproto.Message.StatusQuestionAnswerMessage} message StatusQuestionAnswerMessage
107023
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
107024
+ * @returns {Object.<string,*>} Plain object
107025
+ */
107026
+ StatusQuestionAnswerMessage.toObject = function toObject(message, options) {
107027
+ if (!options)
107028
+ options = {};
107029
+ var object = {};
107030
+ if (message.key != null && message.hasOwnProperty("key")) {
107031
+ object.key = $root.waproto.MessageKey.toObject(message.key, options);
107032
+ if (options.oneofs)
107033
+ object._key = "key";
107034
+ }
107035
+ if (message.text != null && message.hasOwnProperty("text")) {
107036
+ object.text = message.text;
107037
+ if (options.oneofs)
107038
+ object._text = "text";
107039
+ }
107040
+ return object;
107041
+ };
107042
+
107043
+ /**
107044
+ * Converts this StatusQuestionAnswerMessage to JSON.
107045
+ * @function toJSON
107046
+ * @memberof waproto.Message.StatusQuestionAnswerMessage
107047
+ * @instance
107048
+ * @returns {Object.<string,*>} JSON object
107049
+ */
107050
+ StatusQuestionAnswerMessage.prototype.toJSON = function toJSON() {
107051
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
107052
+ };
107053
+
107054
+ /**
107055
+ * Gets the default type url for StatusQuestionAnswerMessage
107056
+ * @function getTypeUrl
107057
+ * @memberof waproto.Message.StatusQuestionAnswerMessage
107058
+ * @static
107059
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
107060
+ * @returns {string} The default type url
107061
+ */
107062
+ StatusQuestionAnswerMessage.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
107063
+ if (typeUrlPrefix === undefined) {
107064
+ typeUrlPrefix = "type.googleapis.com";
107065
+ }
107066
+ return typeUrlPrefix + "/waproto.Message.StatusQuestionAnswerMessage";
107067
+ };
107068
+
107069
+ return StatusQuestionAnswerMessage;
107070
+ })();
107071
+
106436
107072
  Message.StickerMessage = (function() {
106437
107073
 
106438
107074
  /**
@@ -113702,6 +114338,7 @@ $root.waproto = (function() {
113702
114338
  case 13:
113703
114339
  case 14:
113704
114340
  case 15:
114341
+ case 16:
113705
114342
  break;
113706
114343
  }
113707
114344
  }
@@ -113804,6 +114441,10 @@ $root.waproto = (function() {
113804
114441
  case 15:
113805
114442
  message.associationType = 15;
113806
114443
  break;
114444
+ case "STATUS_QUESTION":
114445
+ case 16:
114446
+ message.associationType = 16;
114447
+ break;
113807
114448
  }
113808
114449
  if (object.parentMessageKey != null) {
113809
114450
  if (typeof object.parentMessageKey !== "object")
@@ -113892,6 +114533,7 @@ $root.waproto = (function() {
113892
114533
  * @property {number} STATUS_LINK_ACTION=13 STATUS_LINK_ACTION value
113893
114534
  * @property {number} VIEW_ALL_REPLIES=14 VIEW_ALL_REPLIES value
113894
114535
  * @property {number} STATUS_ADD_YOURS_AI_IMAGINE=15 STATUS_ADD_YOURS_AI_IMAGINE value
114536
+ * @property {number} STATUS_QUESTION=16 STATUS_QUESTION value
113895
114537
  */
113896
114538
  MessageAssociation.AssociationType = (function() {
113897
114539
  var valuesById = {}, values = Object.create(valuesById);
@@ -113911,6 +114553,7 @@ $root.waproto = (function() {
113911
114553
  values[valuesById[13] = "STATUS_LINK_ACTION"] = 13;
113912
114554
  values[valuesById[14] = "VIEW_ALL_REPLIES"] = 14;
113913
114555
  values[valuesById[15] = "STATUS_ADD_YOURS_AI_IMAGINE"] = 15;
114556
+ values[valuesById[16] = "STATUS_QUESTION"] = 16;
113914
114557
  return values;
113915
114558
  })();
113916
114559
 
@@ -134219,6 +134862,7 @@ $root.waproto = (function() {
134219
134862
  * @property {waproto.StatusAttribution.IExternalShare|null} [externalShare] StatusAttribution externalShare
134220
134863
  * @property {waproto.StatusAttribution.IMusic|null} [music] StatusAttribution music
134221
134864
  * @property {waproto.StatusAttribution.IGroupStatus|null} [groupStatus] StatusAttribution groupStatus
134865
+ * @property {waproto.StatusAttribution.IRLAttribution|null} [rlAttribution] StatusAttribution rlAttribution
134222
134866
  */
134223
134867
 
134224
134868
  /**
@@ -134284,6 +134928,14 @@ $root.waproto = (function() {
134284
134928
  */
134285
134929
  StatusAttribution.prototype.groupStatus = null;
134286
134930
 
134931
+ /**
134932
+ * StatusAttribution rlAttribution.
134933
+ * @member {waproto.StatusAttribution.IRLAttribution|null|undefined} rlAttribution
134934
+ * @memberof waproto.StatusAttribution
134935
+ * @instance
134936
+ */
134937
+ StatusAttribution.prototype.rlAttribution = null;
134938
+
134287
134939
  // OneOf field names bound to virtual getters and setters
134288
134940
  var $oneOfFields;
134289
134941
 
@@ -134301,12 +134953,12 @@ $root.waproto = (function() {
134301
134953
 
134302
134954
  /**
134303
134955
  * StatusAttribution attributionData.
134304
- * @member {"statusReshare"|"externalShare"|"music"|"groupStatus"|undefined} attributionData
134956
+ * @member {"statusReshare"|"externalShare"|"music"|"groupStatus"|"rlAttribution"|undefined} attributionData
134305
134957
  * @memberof waproto.StatusAttribution
134306
134958
  * @instance
134307
134959
  */
134308
134960
  Object.defineProperty(StatusAttribution.prototype, "attributionData", {
134309
- get: $util.oneOfGetter($oneOfFields = ["statusReshare", "externalShare", "music", "groupStatus"]),
134961
+ get: $util.oneOfGetter($oneOfFields = ["statusReshare", "externalShare", "music", "groupStatus", "rlAttribution"]),
134310
134962
  set: $util.oneOfSetter($oneOfFields)
134311
134963
  });
134312
134964
 
@@ -134346,6 +134998,8 @@ $root.waproto = (function() {
134346
134998
  $root.waproto.StatusAttribution.Music.encode(message.music, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
134347
134999
  if (message.groupStatus != null && Object.hasOwnProperty.call(message, "groupStatus"))
134348
135000
  $root.waproto.StatusAttribution.GroupStatus.encode(message.groupStatus, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
135001
+ if (message.rlAttribution != null && Object.hasOwnProperty.call(message, "rlAttribution"))
135002
+ $root.waproto.StatusAttribution.RLAttribution.encode(message.rlAttribution, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
134349
135003
  return writer;
134350
135004
  };
134351
135005
 
@@ -134404,6 +135058,10 @@ $root.waproto = (function() {
134404
135058
  message.groupStatus = $root.waproto.StatusAttribution.GroupStatus.decode(reader, reader.uint32());
134405
135059
  break;
134406
135060
  }
135061
+ case 7: {
135062
+ message.rlAttribution = $root.waproto.StatusAttribution.RLAttribution.decode(reader, reader.uint32());
135063
+ break;
135064
+ }
134407
135065
  default:
134408
135066
  reader.skipType(tag & 7);
134409
135067
  break;
@@ -134450,6 +135108,8 @@ $root.waproto = (function() {
134450
135108
  case 2:
134451
135109
  case 3:
134452
135110
  case 4:
135111
+ case 5:
135112
+ case 6:
134453
135113
  break;
134454
135114
  }
134455
135115
  }
@@ -134496,6 +135156,16 @@ $root.waproto = (function() {
134496
135156
  return "groupStatus." + error;
134497
135157
  }
134498
135158
  }
135159
+ if (message.rlAttribution != null && message.hasOwnProperty("rlAttribution")) {
135160
+ if (properties.attributionData === 1)
135161
+ return "attributionData: multiple values";
135162
+ properties.attributionData = 1;
135163
+ {
135164
+ var error = $root.waproto.StatusAttribution.RLAttribution.verify(message.rlAttribution);
135165
+ if (error)
135166
+ return "rlAttribution." + error;
135167
+ }
135168
+ }
134499
135169
  return null;
134500
135170
  };
134501
135171
 
@@ -134518,26 +135188,34 @@ $root.waproto = (function() {
134518
135188
  break;
134519
135189
  }
134520
135190
  break;
134521
- case "RESHARE":
135191
+ case "UNKNOWN":
134522
135192
  case 0:
134523
135193
  message.type = 0;
134524
135194
  break;
134525
- case "EXTERNAL_SHARE":
135195
+ case "RESHARE":
134526
135196
  case 1:
134527
135197
  message.type = 1;
134528
135198
  break;
134529
- case "MUSIC":
135199
+ case "EXTERNAL_SHARE":
134530
135200
  case 2:
134531
135201
  message.type = 2;
134532
135202
  break;
134533
- case "STATUS_MENTION":
135203
+ case "MUSIC":
134534
135204
  case 3:
134535
135205
  message.type = 3;
134536
135206
  break;
134537
- case "GROUP_STATUS":
135207
+ case "STATUS_MENTION":
134538
135208
  case 4:
134539
135209
  message.type = 4;
134540
135210
  break;
135211
+ case "GROUP_STATUS":
135212
+ case 5:
135213
+ message.type = 5;
135214
+ break;
135215
+ case "RL_ATTRIBUTION":
135216
+ case 6:
135217
+ message.type = 6;
135218
+ break;
134541
135219
  }
134542
135220
  if (object.actionUrl != null)
134543
135221
  message.actionUrl = String(object.actionUrl);
@@ -134561,6 +135239,11 @@ $root.waproto = (function() {
134561
135239
  throw TypeError(".waproto.StatusAttribution.groupStatus: object expected");
134562
135240
  message.groupStatus = $root.waproto.StatusAttribution.GroupStatus.fromObject(object.groupStatus);
134563
135241
  }
135242
+ if (object.rlAttribution != null) {
135243
+ if (typeof object.rlAttribution !== "object")
135244
+ throw TypeError(".waproto.StatusAttribution.rlAttribution: object expected");
135245
+ message.rlAttribution = $root.waproto.StatusAttribution.RLAttribution.fromObject(object.rlAttribution);
135246
+ }
134564
135247
  return message;
134565
135248
  };
134566
135249
 
@@ -134607,6 +135290,11 @@ $root.waproto = (function() {
134607
135290
  if (options.oneofs)
134608
135291
  object.attributionData = "groupStatus";
134609
135292
  }
135293
+ if (message.rlAttribution != null && message.hasOwnProperty("rlAttribution")) {
135294
+ object.rlAttribution = $root.waproto.StatusAttribution.RLAttribution.toObject(message.rlAttribution, options);
135295
+ if (options.oneofs)
135296
+ object.attributionData = "rlAttribution";
135297
+ }
134610
135298
  return object;
134611
135299
  };
134612
135300
 
@@ -135616,6 +136304,262 @@ $root.waproto = (function() {
135616
136304
  return Music;
135617
136305
  })();
135618
136306
 
136307
+ StatusAttribution.RLAttribution = (function() {
136308
+
136309
+ /**
136310
+ * Properties of a RLAttribution.
136311
+ * @memberof waproto.StatusAttribution
136312
+ * @interface IRLAttribution
136313
+ * @property {waproto.StatusAttribution.RLAttribution.Source|null} [source] RLAttribution source
136314
+ */
136315
+
136316
+ /**
136317
+ * Constructs a new RLAttribution.
136318
+ * @memberof waproto.StatusAttribution
136319
+ * @classdesc Represents a RLAttribution.
136320
+ * @implements IRLAttribution
136321
+ * @constructor
136322
+ * @param {waproto.StatusAttribution.IRLAttribution=} [properties] Properties to set
136323
+ */
136324
+ function RLAttribution(properties) {
136325
+ if (properties)
136326
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
136327
+ if (properties[keys[i]] != null)
136328
+ this[keys[i]] = properties[keys[i]];
136329
+ }
136330
+
136331
+ /**
136332
+ * RLAttribution source.
136333
+ * @member {waproto.StatusAttribution.RLAttribution.Source|null|undefined} source
136334
+ * @memberof waproto.StatusAttribution.RLAttribution
136335
+ * @instance
136336
+ */
136337
+ RLAttribution.prototype.source = null;
136338
+
136339
+ // OneOf field names bound to virtual getters and setters
136340
+ var $oneOfFields;
136341
+
136342
+ // Virtual OneOf for proto3 optional field
136343
+ Object.defineProperty(RLAttribution.prototype, "_source", {
136344
+ get: $util.oneOfGetter($oneOfFields = ["source"]),
136345
+ set: $util.oneOfSetter($oneOfFields)
136346
+ });
136347
+
136348
+ /**
136349
+ * Creates a new RLAttribution instance using the specified properties.
136350
+ * @function create
136351
+ * @memberof waproto.StatusAttribution.RLAttribution
136352
+ * @static
136353
+ * @param {waproto.StatusAttribution.IRLAttribution=} [properties] Properties to set
136354
+ * @returns {waproto.StatusAttribution.RLAttribution} RLAttribution instance
136355
+ */
136356
+ RLAttribution.create = function create(properties) {
136357
+ return new RLAttribution(properties);
136358
+ };
136359
+
136360
+ /**
136361
+ * Encodes the specified RLAttribution message. Does not implicitly {@link waproto.StatusAttribution.RLAttribution.verify|verify} messages.
136362
+ * @function encode
136363
+ * @memberof waproto.StatusAttribution.RLAttribution
136364
+ * @static
136365
+ * @param {waproto.StatusAttribution.IRLAttribution} message RLAttribution message or plain object to encode
136366
+ * @param {$protobuf.Writer} [writer] Writer to encode to
136367
+ * @returns {$protobuf.Writer} Writer
136368
+ */
136369
+ RLAttribution.encode = function encode(message, writer) {
136370
+ if (!writer)
136371
+ writer = $Writer.create();
136372
+ if (message.source != null && Object.hasOwnProperty.call(message, "source"))
136373
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.source);
136374
+ return writer;
136375
+ };
136376
+
136377
+ /**
136378
+ * Encodes the specified RLAttribution message, length delimited. Does not implicitly {@link waproto.StatusAttribution.RLAttribution.verify|verify} messages.
136379
+ * @function encodeDelimited
136380
+ * @memberof waproto.StatusAttribution.RLAttribution
136381
+ * @static
136382
+ * @param {waproto.StatusAttribution.IRLAttribution} message RLAttribution message or plain object to encode
136383
+ * @param {$protobuf.Writer} [writer] Writer to encode to
136384
+ * @returns {$protobuf.Writer} Writer
136385
+ */
136386
+ RLAttribution.encodeDelimited = function encodeDelimited(message, writer) {
136387
+ return this.encode(message, writer).ldelim();
136388
+ };
136389
+
136390
+ /**
136391
+ * Decodes a RLAttribution message from the specified reader or buffer.
136392
+ * @function decode
136393
+ * @memberof waproto.StatusAttribution.RLAttribution
136394
+ * @static
136395
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
136396
+ * @param {number} [length] Message length if known beforehand
136397
+ * @returns {waproto.StatusAttribution.RLAttribution} RLAttribution
136398
+ * @throws {Error} If the payload is not a reader or valid buffer
136399
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
136400
+ */
136401
+ RLAttribution.decode = function decode(reader, length) {
136402
+ if (!(reader instanceof $Reader))
136403
+ reader = $Reader.create(reader);
136404
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.waproto.StatusAttribution.RLAttribution();
136405
+ while (reader.pos < end) {
136406
+ var tag = reader.uint32();
136407
+ switch (tag >>> 3) {
136408
+ case 1: {
136409
+ message.source = reader.int32();
136410
+ break;
136411
+ }
136412
+ default:
136413
+ reader.skipType(tag & 7);
136414
+ break;
136415
+ }
136416
+ }
136417
+ return message;
136418
+ };
136419
+
136420
+ /**
136421
+ * Decodes a RLAttribution message from the specified reader or buffer, length delimited.
136422
+ * @function decodeDelimited
136423
+ * @memberof waproto.StatusAttribution.RLAttribution
136424
+ * @static
136425
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
136426
+ * @returns {waproto.StatusAttribution.RLAttribution} RLAttribution
136427
+ * @throws {Error} If the payload is not a reader or valid buffer
136428
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
136429
+ */
136430
+ RLAttribution.decodeDelimited = function decodeDelimited(reader) {
136431
+ if (!(reader instanceof $Reader))
136432
+ reader = new $Reader(reader);
136433
+ return this.decode(reader, reader.uint32());
136434
+ };
136435
+
136436
+ /**
136437
+ * Verifies a RLAttribution message.
136438
+ * @function verify
136439
+ * @memberof waproto.StatusAttribution.RLAttribution
136440
+ * @static
136441
+ * @param {Object.<string,*>} message Plain object to verify
136442
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
136443
+ */
136444
+ RLAttribution.verify = function verify(message) {
136445
+ if (typeof message !== "object" || message === null)
136446
+ return "object expected";
136447
+ var properties = {};
136448
+ if (message.source != null && message.hasOwnProperty("source")) {
136449
+ properties._source = 1;
136450
+ switch (message.source) {
136451
+ default:
136452
+ return "source: enum value expected";
136453
+ case 0:
136454
+ case 1:
136455
+ case 2:
136456
+ break;
136457
+ }
136458
+ }
136459
+ return null;
136460
+ };
136461
+
136462
+ /**
136463
+ * Creates a RLAttribution message from a plain object. Also converts values to their respective internal types.
136464
+ * @function fromObject
136465
+ * @memberof waproto.StatusAttribution.RLAttribution
136466
+ * @static
136467
+ * @param {Object.<string,*>} object Plain object
136468
+ * @returns {waproto.StatusAttribution.RLAttribution} RLAttribution
136469
+ */
136470
+ RLAttribution.fromObject = function fromObject(object) {
136471
+ if (object instanceof $root.waproto.StatusAttribution.RLAttribution)
136472
+ return object;
136473
+ var message = new $root.waproto.StatusAttribution.RLAttribution();
136474
+ switch (object.source) {
136475
+ default:
136476
+ if (typeof object.source === "number") {
136477
+ message.source = object.source;
136478
+ break;
136479
+ }
136480
+ break;
136481
+ case "UNKNOWN":
136482
+ case 0:
136483
+ message.source = 0;
136484
+ break;
136485
+ case "RAY_BAN_META_GLASSES":
136486
+ case 1:
136487
+ message.source = 1;
136488
+ break;
136489
+ case "OAKLEY_META_GLASSES":
136490
+ case 2:
136491
+ message.source = 2;
136492
+ break;
136493
+ }
136494
+ return message;
136495
+ };
136496
+
136497
+ /**
136498
+ * Creates a plain object from a RLAttribution message. Also converts values to other types if specified.
136499
+ * @function toObject
136500
+ * @memberof waproto.StatusAttribution.RLAttribution
136501
+ * @static
136502
+ * @param {waproto.StatusAttribution.RLAttribution} message RLAttribution
136503
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
136504
+ * @returns {Object.<string,*>} Plain object
136505
+ */
136506
+ RLAttribution.toObject = function toObject(message, options) {
136507
+ if (!options)
136508
+ options = {};
136509
+ var object = {};
136510
+ if (message.source != null && message.hasOwnProperty("source")) {
136511
+ object.source = options.enums === String ? $root.waproto.StatusAttribution.RLAttribution.Source[message.source] === undefined ? message.source : $root.waproto.StatusAttribution.RLAttribution.Source[message.source] : message.source;
136512
+ if (options.oneofs)
136513
+ object._source = "source";
136514
+ }
136515
+ return object;
136516
+ };
136517
+
136518
+ /**
136519
+ * Converts this RLAttribution to JSON.
136520
+ * @function toJSON
136521
+ * @memberof waproto.StatusAttribution.RLAttribution
136522
+ * @instance
136523
+ * @returns {Object.<string,*>} JSON object
136524
+ */
136525
+ RLAttribution.prototype.toJSON = function toJSON() {
136526
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
136527
+ };
136528
+
136529
+ /**
136530
+ * Gets the default type url for RLAttribution
136531
+ * @function getTypeUrl
136532
+ * @memberof waproto.StatusAttribution.RLAttribution
136533
+ * @static
136534
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
136535
+ * @returns {string} The default type url
136536
+ */
136537
+ RLAttribution.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
136538
+ if (typeUrlPrefix === undefined) {
136539
+ typeUrlPrefix = "type.googleapis.com";
136540
+ }
136541
+ return typeUrlPrefix + "/waproto.StatusAttribution.RLAttribution";
136542
+ };
136543
+
136544
+ /**
136545
+ * Source enum.
136546
+ * @name waproto.StatusAttribution.RLAttribution.Source
136547
+ * @enum {number}
136548
+ * @property {number} UNKNOWN=0 UNKNOWN value
136549
+ * @property {number} RAY_BAN_META_GLASSES=1 RAY_BAN_META_GLASSES value
136550
+ * @property {number} OAKLEY_META_GLASSES=2 OAKLEY_META_GLASSES value
136551
+ */
136552
+ RLAttribution.Source = (function() {
136553
+ var valuesById = {}, values = Object.create(valuesById);
136554
+ values[valuesById[0] = "UNKNOWN"] = 0;
136555
+ values[valuesById[1] = "RAY_BAN_META_GLASSES"] = 1;
136556
+ values[valuesById[2] = "OAKLEY_META_GLASSES"] = 2;
136557
+ return values;
136558
+ })();
136559
+
136560
+ return RLAttribution;
136561
+ })();
136562
+
135619
136563
  StatusAttribution.StatusReshare = (function() {
135620
136564
 
135621
136565
  /**
@@ -136237,19 +137181,23 @@ $root.waproto = (function() {
136237
137181
  * Type enum.
136238
137182
  * @name waproto.StatusAttribution.Type
136239
137183
  * @enum {number}
136240
- * @property {number} RESHARE=0 RESHARE value
136241
- * @property {number} EXTERNAL_SHARE=1 EXTERNAL_SHARE value
136242
- * @property {number} MUSIC=2 MUSIC value
136243
- * @property {number} STATUS_MENTION=3 STATUS_MENTION value
136244
- * @property {number} GROUP_STATUS=4 GROUP_STATUS value
137184
+ * @property {number} UNKNOWN=0 UNKNOWN value
137185
+ * @property {number} RESHARE=1 RESHARE value
137186
+ * @property {number} EXTERNAL_SHARE=2 EXTERNAL_SHARE value
137187
+ * @property {number} MUSIC=3 MUSIC value
137188
+ * @property {number} STATUS_MENTION=4 STATUS_MENTION value
137189
+ * @property {number} GROUP_STATUS=5 GROUP_STATUS value
137190
+ * @property {number} RL_ATTRIBUTION=6 RL_ATTRIBUTION value
136245
137191
  */
136246
137192
  StatusAttribution.Type = (function() {
136247
137193
  var valuesById = {}, values = Object.create(valuesById);
136248
- values[valuesById[0] = "RESHARE"] = 0;
136249
- values[valuesById[1] = "EXTERNAL_SHARE"] = 1;
136250
- values[valuesById[2] = "MUSIC"] = 2;
136251
- values[valuesById[3] = "STATUS_MENTION"] = 3;
136252
- values[valuesById[4] = "GROUP_STATUS"] = 4;
137194
+ values[valuesById[0] = "UNKNOWN"] = 0;
137195
+ values[valuesById[1] = "RESHARE"] = 1;
137196
+ values[valuesById[2] = "EXTERNAL_SHARE"] = 2;
137197
+ values[valuesById[3] = "MUSIC"] = 3;
137198
+ values[valuesById[4] = "STATUS_MENTION"] = 4;
137199
+ values[valuesById[5] = "GROUP_STATUS"] = 5;
137200
+ values[valuesById[6] = "RL_ATTRIBUTION"] = 6;
136253
137201
  return values;
136254
137202
  })();
136255
137203