@d0v3riz/baileys 6.3.1 → 6.4.1

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.
Files changed (53) hide show
  1. package/WAProto/WAProto.proto +58 -24
  2. package/WAProto/index.d.ts +649 -410
  3. package/WAProto/index.js +1632 -985
  4. package/lib/Defaults/baileys-version.json +1 -1
  5. package/lib/Defaults/index.js +1 -1
  6. package/lib/Socket/Client/abstract-socket-client.d.ts +1 -0
  7. package/lib/Socket/Client/web-socket-client.d.ts +1 -1
  8. package/lib/Socket/Client/web-socket-client.js +1 -1
  9. package/lib/Socket/business.d.ts +4 -3
  10. package/lib/Socket/chats.d.ts +6 -5
  11. package/lib/Socket/groups.d.ts +3 -2
  12. package/lib/Socket/index.d.ts +9 -8
  13. package/lib/Socket/messages-recv.d.ts +5 -3
  14. package/lib/Socket/messages-recv.js +75 -2
  15. package/lib/Socket/messages-send.d.ts +3 -2
  16. package/lib/Socket/messages-send.js +13 -8
  17. package/lib/Socket/registration.d.ts +5 -4
  18. package/lib/Socket/socket.d.ts +4 -3
  19. package/lib/Socket/socket.js +69 -9
  20. package/lib/Store/make-in-memory-store.d.ts +2 -2
  21. package/lib/Types/Auth.d.ts +19 -17
  22. package/lib/Types/Call.d.ts +2 -2
  23. package/lib/Types/Chat.d.ts +13 -13
  24. package/lib/Types/Events.d.ts +3 -3
  25. package/lib/Types/GroupMetadata.d.ts +2 -2
  26. package/lib/Types/LabelAssociation.d.ts +2 -2
  27. package/lib/Types/Message.d.ts +57 -45
  28. package/lib/Types/Product.d.ts +14 -14
  29. package/lib/Types/Signal.d.ts +10 -10
  30. package/lib/Types/Socket.d.ts +5 -4
  31. package/lib/Types/State.d.ts +2 -2
  32. package/lib/Types/index.d.ts +5 -5
  33. package/lib/Utils/auth-utils.js +3 -1
  34. package/lib/Utils/chat-utils.d.ts +4 -4
  35. package/lib/Utils/crypto.d.ts +3 -0
  36. package/lib/Utils/crypto.js +15 -1
  37. package/lib/Utils/event-buffer.d.ts +2 -2
  38. package/lib/Utils/event-buffer.js +3 -3
  39. package/lib/Utils/generics.d.ts +7 -6
  40. package/lib/Utils/generics.js +25 -27
  41. package/lib/Utils/link-preview.d.ts +1 -1
  42. package/lib/Utils/link-preview.js +1 -24
  43. package/lib/Utils/make-mutex.d.ts +1 -1
  44. package/lib/Utils/messages-media.d.ts +9 -3
  45. package/lib/Utils/messages-media.js +54 -6
  46. package/lib/Utils/messages.d.ts +6 -5
  47. package/lib/Utils/messages.js +35 -1
  48. package/lib/Utils/process-message.d.ts +2 -2
  49. package/lib/Utils/validate-connection.js +1 -2
  50. package/lib/WABinary/jid-utils.d.ts +4 -4
  51. package/lib/WABinary/types.d.ts +4 -4
  52. package/lib/index.d.ts +1 -1
  53. package/package.json +8 -6
@@ -1220,8 +1220,8 @@ export namespace proto {
1220
1220
  /** BotAvatarMetadata sentiment */
1221
1221
  sentiment?: (number|null);
1222
1222
 
1223
- /** BotAvatarMetadata dynamicVideoList */
1224
- dynamicVideoList?: (proto.BotAvatarMetadata.IPlaybackMetadata[]|null);
1223
+ /** BotAvatarMetadata behaviorGraph */
1224
+ behaviorGraph?: (string|null);
1225
1225
  }
1226
1226
 
1227
1227
  /** Represents a BotAvatarMetadata. */
@@ -1236,8 +1236,8 @@ export namespace proto {
1236
1236
  /** BotAvatarMetadata sentiment. */
1237
1237
  public sentiment: number;
1238
1238
 
1239
- /** BotAvatarMetadata dynamicVideoList. */
1240
- public dynamicVideoList: proto.BotAvatarMetadata.IPlaybackMetadata[];
1239
+ /** BotAvatarMetadata behaviorGraph. */
1240
+ public behaviorGraph: string;
1241
1241
 
1242
1242
  /**
1243
1243
  * Creates a new BotAvatarMetadata instance using the specified properties.
@@ -1310,219 +1310,6 @@ export namespace proto {
1310
1310
  public toJSON(): { [k: string]: any };
1311
1311
  }
1312
1312
 
1313
- namespace BotAvatarMetadata {
1314
-
1315
- /** Properties of a PlaybackMetadata. */
1316
- interface IPlaybackMetadata {
1317
-
1318
- /** PlaybackMetadata sdProgressiveUrl */
1319
- sdProgressiveUrl?: (string|null);
1320
-
1321
- /** PlaybackMetadata hdProgressiveUrl */
1322
- hdProgressiveUrl?: (string|null);
1323
-
1324
- /** PlaybackMetadata dashManifest */
1325
- dashManifest?: (string|null);
1326
-
1327
- /** PlaybackMetadata sentiment */
1328
- sentiment?: (number|null);
1329
-
1330
- /** PlaybackMetadata durationMs */
1331
- durationMs?: (number|null);
1332
-
1333
- /** PlaybackMetadata videoID */
1334
- videoID?: (number|Long|null);
1335
- }
1336
-
1337
- /** Represents a PlaybackMetadata. */
1338
- class PlaybackMetadata implements IPlaybackMetadata {
1339
-
1340
- /**
1341
- * Constructs a new PlaybackMetadata.
1342
- * @param [properties] Properties to set
1343
- */
1344
- constructor(properties?: proto.BotAvatarMetadata.IPlaybackMetadata);
1345
-
1346
- /** PlaybackMetadata sdProgressiveUrl. */
1347
- public sdProgressiveUrl: string;
1348
-
1349
- /** PlaybackMetadata hdProgressiveUrl. */
1350
- public hdProgressiveUrl: string;
1351
-
1352
- /** PlaybackMetadata dashManifest. */
1353
- public dashManifest: string;
1354
-
1355
- /** PlaybackMetadata sentiment. */
1356
- public sentiment: number;
1357
-
1358
- /** PlaybackMetadata durationMs. */
1359
- public durationMs: number;
1360
-
1361
- /** PlaybackMetadata videoID. */
1362
- public videoID: (number|Long);
1363
-
1364
- /**
1365
- * Creates a new PlaybackMetadata instance using the specified properties.
1366
- * @param [properties] Properties to set
1367
- * @returns PlaybackMetadata instance
1368
- */
1369
- public static create(properties?: proto.BotAvatarMetadata.IPlaybackMetadata): proto.BotAvatarMetadata.PlaybackMetadata;
1370
-
1371
- /**
1372
- * Encodes the specified PlaybackMetadata message. Does not implicitly {@link proto.BotAvatarMetadata.PlaybackMetadata.verify|verify} messages.
1373
- * @param message PlaybackMetadata message or plain object to encode
1374
- * @param [writer] Writer to encode to
1375
- * @returns Writer
1376
- */
1377
- public static encode(message: proto.BotAvatarMetadata.IPlaybackMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
1378
-
1379
- /**
1380
- * Encodes the specified PlaybackMetadata message, length delimited. Does not implicitly {@link proto.BotAvatarMetadata.PlaybackMetadata.verify|verify} messages.
1381
- * @param message PlaybackMetadata message or plain object to encode
1382
- * @param [writer] Writer to encode to
1383
- * @returns Writer
1384
- */
1385
- public static encodeDelimited(message: proto.BotAvatarMetadata.IPlaybackMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
1386
-
1387
- /**
1388
- * Decodes a PlaybackMetadata message from the specified reader or buffer.
1389
- * @param reader Reader or buffer to decode from
1390
- * @param [length] Message length if known beforehand
1391
- * @returns PlaybackMetadata
1392
- * @throws {Error} If the payload is not a reader or valid buffer
1393
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1394
- */
1395
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.BotAvatarMetadata.PlaybackMetadata;
1396
-
1397
- /**
1398
- * Decodes a PlaybackMetadata message from the specified reader or buffer, length delimited.
1399
- * @param reader Reader or buffer to decode from
1400
- * @returns PlaybackMetadata
1401
- * @throws {Error} If the payload is not a reader or valid buffer
1402
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1403
- */
1404
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.BotAvatarMetadata.PlaybackMetadata;
1405
-
1406
- /**
1407
- * Verifies a PlaybackMetadata message.
1408
- * @param message Plain object to verify
1409
- * @returns `null` if valid, otherwise the reason why it is not
1410
- */
1411
- public static verify(message: { [k: string]: any }): (string|null);
1412
-
1413
- /**
1414
- * Creates a PlaybackMetadata message from a plain object. Also converts values to their respective internal types.
1415
- * @param object Plain object
1416
- * @returns PlaybackMetadata
1417
- */
1418
- public static fromObject(object: { [k: string]: any }): proto.BotAvatarMetadata.PlaybackMetadata;
1419
-
1420
- /**
1421
- * Creates a plain object from a PlaybackMetadata message. Also converts values to other types if specified.
1422
- * @param message PlaybackMetadata
1423
- * @param [options] Conversion options
1424
- * @returns Plain object
1425
- */
1426
- public static toObject(message: proto.BotAvatarMetadata.PlaybackMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
1427
-
1428
- /**
1429
- * Converts this PlaybackMetadata to JSON.
1430
- * @returns JSON object
1431
- */
1432
- public toJSON(): { [k: string]: any };
1433
- }
1434
- }
1435
-
1436
- /** Properties of a BotData. */
1437
- interface IBotData {
1438
-
1439
- /** BotData targetMessageKey */
1440
- targetMessageKey: proto.IMessageKey;
1441
- }
1442
-
1443
- /** Represents a BotData. */
1444
- class BotData implements IBotData {
1445
-
1446
- /**
1447
- * Constructs a new BotData.
1448
- * @param [properties] Properties to set
1449
- */
1450
- constructor(properties?: proto.IBotData);
1451
-
1452
- /** BotData targetMessageKey. */
1453
- public targetMessageKey: proto.IMessageKey;
1454
-
1455
- /**
1456
- * Creates a new BotData instance using the specified properties.
1457
- * @param [properties] Properties to set
1458
- * @returns BotData instance
1459
- */
1460
- public static create(properties?: proto.IBotData): proto.BotData;
1461
-
1462
- /**
1463
- * Encodes the specified BotData message. Does not implicitly {@link proto.BotData.verify|verify} messages.
1464
- * @param message BotData message or plain object to encode
1465
- * @param [writer] Writer to encode to
1466
- * @returns Writer
1467
- */
1468
- public static encode(message: proto.IBotData, writer?: $protobuf.Writer): $protobuf.Writer;
1469
-
1470
- /**
1471
- * Encodes the specified BotData message, length delimited. Does not implicitly {@link proto.BotData.verify|verify} messages.
1472
- * @param message BotData message or plain object to encode
1473
- * @param [writer] Writer to encode to
1474
- * @returns Writer
1475
- */
1476
- public static encodeDelimited(message: proto.IBotData, writer?: $protobuf.Writer): $protobuf.Writer;
1477
-
1478
- /**
1479
- * Decodes a BotData message from the specified reader or buffer.
1480
- * @param reader Reader or buffer to decode from
1481
- * @param [length] Message length if known beforehand
1482
- * @returns BotData
1483
- * @throws {Error} If the payload is not a reader or valid buffer
1484
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1485
- */
1486
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.BotData;
1487
-
1488
- /**
1489
- * Decodes a BotData message from the specified reader or buffer, length delimited.
1490
- * @param reader Reader or buffer to decode from
1491
- * @returns BotData
1492
- * @throws {Error} If the payload is not a reader or valid buffer
1493
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1494
- */
1495
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.BotData;
1496
-
1497
- /**
1498
- * Verifies a BotData message.
1499
- * @param message Plain object to verify
1500
- * @returns `null` if valid, otherwise the reason why it is not
1501
- */
1502
- public static verify(message: { [k: string]: any }): (string|null);
1503
-
1504
- /**
1505
- * Creates a BotData message from a plain object. Also converts values to their respective internal types.
1506
- * @param object Plain object
1507
- * @returns BotData
1508
- */
1509
- public static fromObject(object: { [k: string]: any }): proto.BotData;
1510
-
1511
- /**
1512
- * Creates a plain object from a BotData message. Also converts values to other types if specified.
1513
- * @param message BotData
1514
- * @param [options] Conversion options
1515
- * @returns Plain object
1516
- */
1517
- public static toObject(message: proto.BotData, options?: $protobuf.IConversionOptions): { [k: string]: any };
1518
-
1519
- /**
1520
- * Converts this BotData to JSON.
1521
- * @returns JSON object
1522
- */
1523
- public toJSON(): { [k: string]: any };
1524
- }
1525
-
1526
1313
  /** Properties of a BotMetadata. */
1527
1314
  interface IBotMetadata {
1528
1315
 
@@ -3746,6 +3533,12 @@ export namespace proto {
3746
3533
 
3747
3534
  /** ContextInfo utm */
3748
3535
  utm?: (proto.ContextInfo.IUTMInfo|null);
3536
+
3537
+ /** ContextInfo forwardedNewsletterMessageInfo */
3538
+ forwardedNewsletterMessageInfo?: (proto.ContextInfo.IForwardedNewsletterMessageInfo|null);
3539
+
3540
+ /** ContextInfo businessMessageForwardInfo */
3541
+ businessMessageForwardInfo?: (proto.ContextInfo.IBusinessMessageForwardInfo|null);
3749
3542
  }
3750
3543
 
3751
3544
  /** Represents a ContextInfo. */
@@ -3841,6 +3634,12 @@ export namespace proto {
3841
3634
  /** ContextInfo utm. */
3842
3635
  public utm?: (proto.ContextInfo.IUTMInfo|null);
3843
3636
 
3637
+ /** ContextInfo forwardedNewsletterMessageInfo. */
3638
+ public forwardedNewsletterMessageInfo?: (proto.ContextInfo.IForwardedNewsletterMessageInfo|null);
3639
+
3640
+ /** ContextInfo businessMessageForwardInfo. */
3641
+ public businessMessageForwardInfo?: (proto.ContextInfo.IBusinessMessageForwardInfo|null);
3642
+
3844
3643
  /**
3845
3644
  * Creates a new ContextInfo instance using the specified properties.
3846
3645
  * @param [properties] Properties to set
@@ -4032,6 +3831,96 @@ export namespace proto {
4032
3831
  }
4033
3832
  }
4034
3833
 
3834
+ /** Properties of a BusinessMessageForwardInfo. */
3835
+ interface IBusinessMessageForwardInfo {
3836
+
3837
+ /** BusinessMessageForwardInfo businessOwnerJid */
3838
+ businessOwnerJid?: (string|null);
3839
+ }
3840
+
3841
+ /** Represents a BusinessMessageForwardInfo. */
3842
+ class BusinessMessageForwardInfo implements IBusinessMessageForwardInfo {
3843
+
3844
+ /**
3845
+ * Constructs a new BusinessMessageForwardInfo.
3846
+ * @param [properties] Properties to set
3847
+ */
3848
+ constructor(properties?: proto.ContextInfo.IBusinessMessageForwardInfo);
3849
+
3850
+ /** BusinessMessageForwardInfo businessOwnerJid. */
3851
+ public businessOwnerJid: string;
3852
+
3853
+ /**
3854
+ * Creates a new BusinessMessageForwardInfo instance using the specified properties.
3855
+ * @param [properties] Properties to set
3856
+ * @returns BusinessMessageForwardInfo instance
3857
+ */
3858
+ public static create(properties?: proto.ContextInfo.IBusinessMessageForwardInfo): proto.ContextInfo.BusinessMessageForwardInfo;
3859
+
3860
+ /**
3861
+ * Encodes the specified BusinessMessageForwardInfo message. Does not implicitly {@link proto.ContextInfo.BusinessMessageForwardInfo.verify|verify} messages.
3862
+ * @param message BusinessMessageForwardInfo message or plain object to encode
3863
+ * @param [writer] Writer to encode to
3864
+ * @returns Writer
3865
+ */
3866
+ public static encode(message: proto.ContextInfo.IBusinessMessageForwardInfo, writer?: $protobuf.Writer): $protobuf.Writer;
3867
+
3868
+ /**
3869
+ * Encodes the specified BusinessMessageForwardInfo message, length delimited. Does not implicitly {@link proto.ContextInfo.BusinessMessageForwardInfo.verify|verify} messages.
3870
+ * @param message BusinessMessageForwardInfo message or plain object to encode
3871
+ * @param [writer] Writer to encode to
3872
+ * @returns Writer
3873
+ */
3874
+ public static encodeDelimited(message: proto.ContextInfo.IBusinessMessageForwardInfo, writer?: $protobuf.Writer): $protobuf.Writer;
3875
+
3876
+ /**
3877
+ * Decodes a BusinessMessageForwardInfo message from the specified reader or buffer.
3878
+ * @param reader Reader or buffer to decode from
3879
+ * @param [length] Message length if known beforehand
3880
+ * @returns BusinessMessageForwardInfo
3881
+ * @throws {Error} If the payload is not a reader or valid buffer
3882
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3883
+ */
3884
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ContextInfo.BusinessMessageForwardInfo;
3885
+
3886
+ /**
3887
+ * Decodes a BusinessMessageForwardInfo message from the specified reader or buffer, length delimited.
3888
+ * @param reader Reader or buffer to decode from
3889
+ * @returns BusinessMessageForwardInfo
3890
+ * @throws {Error} If the payload is not a reader or valid buffer
3891
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3892
+ */
3893
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ContextInfo.BusinessMessageForwardInfo;
3894
+
3895
+ /**
3896
+ * Verifies a BusinessMessageForwardInfo message.
3897
+ * @param message Plain object to verify
3898
+ * @returns `null` if valid, otherwise the reason why it is not
3899
+ */
3900
+ public static verify(message: { [k: string]: any }): (string|null);
3901
+
3902
+ /**
3903
+ * Creates a BusinessMessageForwardInfo message from a plain object. Also converts values to their respective internal types.
3904
+ * @param object Plain object
3905
+ * @returns BusinessMessageForwardInfo
3906
+ */
3907
+ public static fromObject(object: { [k: string]: any }): proto.ContextInfo.BusinessMessageForwardInfo;
3908
+
3909
+ /**
3910
+ * Creates a plain object from a BusinessMessageForwardInfo message. Also converts values to other types if specified.
3911
+ * @param message BusinessMessageForwardInfo
3912
+ * @param [options] Conversion options
3913
+ * @returns Plain object
3914
+ */
3915
+ public static toObject(message: proto.ContextInfo.BusinessMessageForwardInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
3916
+
3917
+ /**
3918
+ * Converts this BusinessMessageForwardInfo to JSON.
3919
+ * @returns JSON object
3920
+ */
3921
+ public toJSON(): { [k: string]: any };
3922
+ }
3923
+
4035
3924
  /** Properties of an ExternalAdReplyInfo. */
4036
3925
  interface IExternalAdReplyInfo {
4037
3926
 
@@ -4210,6 +4099,102 @@ export namespace proto {
4210
4099
  }
4211
4100
  }
4212
4101
 
4102
+ /** Properties of a ForwardedNewsletterMessageInfo. */
4103
+ interface IForwardedNewsletterMessageInfo {
4104
+
4105
+ /** ForwardedNewsletterMessageInfo newsletterJid */
4106
+ newsletterJid?: (string|null);
4107
+
4108
+ /** ForwardedNewsletterMessageInfo serverMessageId */
4109
+ serverMessageId?: (number|null);
4110
+ }
4111
+
4112
+ /** Represents a ForwardedNewsletterMessageInfo. */
4113
+ class ForwardedNewsletterMessageInfo implements IForwardedNewsletterMessageInfo {
4114
+
4115
+ /**
4116
+ * Constructs a new ForwardedNewsletterMessageInfo.
4117
+ * @param [properties] Properties to set
4118
+ */
4119
+ constructor(properties?: proto.ContextInfo.IForwardedNewsletterMessageInfo);
4120
+
4121
+ /** ForwardedNewsletterMessageInfo newsletterJid. */
4122
+ public newsletterJid: string;
4123
+
4124
+ /** ForwardedNewsletterMessageInfo serverMessageId. */
4125
+ public serverMessageId: number;
4126
+
4127
+ /**
4128
+ * Creates a new ForwardedNewsletterMessageInfo instance using the specified properties.
4129
+ * @param [properties] Properties to set
4130
+ * @returns ForwardedNewsletterMessageInfo instance
4131
+ */
4132
+ public static create(properties?: proto.ContextInfo.IForwardedNewsletterMessageInfo): proto.ContextInfo.ForwardedNewsletterMessageInfo;
4133
+
4134
+ /**
4135
+ * Encodes the specified ForwardedNewsletterMessageInfo message. Does not implicitly {@link proto.ContextInfo.ForwardedNewsletterMessageInfo.verify|verify} messages.
4136
+ * @param message ForwardedNewsletterMessageInfo message or plain object to encode
4137
+ * @param [writer] Writer to encode to
4138
+ * @returns Writer
4139
+ */
4140
+ public static encode(message: proto.ContextInfo.IForwardedNewsletterMessageInfo, writer?: $protobuf.Writer): $protobuf.Writer;
4141
+
4142
+ /**
4143
+ * Encodes the specified ForwardedNewsletterMessageInfo message, length delimited. Does not implicitly {@link proto.ContextInfo.ForwardedNewsletterMessageInfo.verify|verify} messages.
4144
+ * @param message ForwardedNewsletterMessageInfo message or plain object to encode
4145
+ * @param [writer] Writer to encode to
4146
+ * @returns Writer
4147
+ */
4148
+ public static encodeDelimited(message: proto.ContextInfo.IForwardedNewsletterMessageInfo, writer?: $protobuf.Writer): $protobuf.Writer;
4149
+
4150
+ /**
4151
+ * Decodes a ForwardedNewsletterMessageInfo message from the specified reader or buffer.
4152
+ * @param reader Reader or buffer to decode from
4153
+ * @param [length] Message length if known beforehand
4154
+ * @returns ForwardedNewsletterMessageInfo
4155
+ * @throws {Error} If the payload is not a reader or valid buffer
4156
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4157
+ */
4158
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ContextInfo.ForwardedNewsletterMessageInfo;
4159
+
4160
+ /**
4161
+ * Decodes a ForwardedNewsletterMessageInfo message from the specified reader or buffer, length delimited.
4162
+ * @param reader Reader or buffer to decode from
4163
+ * @returns ForwardedNewsletterMessageInfo
4164
+ * @throws {Error} If the payload is not a reader or valid buffer
4165
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4166
+ */
4167
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ContextInfo.ForwardedNewsletterMessageInfo;
4168
+
4169
+ /**
4170
+ * Verifies a ForwardedNewsletterMessageInfo message.
4171
+ * @param message Plain object to verify
4172
+ * @returns `null` if valid, otherwise the reason why it is not
4173
+ */
4174
+ public static verify(message: { [k: string]: any }): (string|null);
4175
+
4176
+ /**
4177
+ * Creates a ForwardedNewsletterMessageInfo message from a plain object. Also converts values to their respective internal types.
4178
+ * @param object Plain object
4179
+ * @returns ForwardedNewsletterMessageInfo
4180
+ */
4181
+ public static fromObject(object: { [k: string]: any }): proto.ContextInfo.ForwardedNewsletterMessageInfo;
4182
+
4183
+ /**
4184
+ * Creates a plain object from a ForwardedNewsletterMessageInfo message. Also converts values to other types if specified.
4185
+ * @param message ForwardedNewsletterMessageInfo
4186
+ * @param [options] Conversion options
4187
+ * @returns Plain object
4188
+ */
4189
+ public static toObject(message: proto.ContextInfo.ForwardedNewsletterMessageInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
4190
+
4191
+ /**
4192
+ * Converts this ForwardedNewsletterMessageInfo to JSON.
4193
+ * @returns JSON object
4194
+ */
4195
+ public toJSON(): { [k: string]: any };
4196
+ }
4197
+
4213
4198
  /** Properties of a UTMInfo. */
4214
4199
  interface IUTMInfo {
4215
4200
 
@@ -5236,7 +5221,8 @@ export namespace proto {
5236
5221
  WEAR_OS = 18,
5237
5222
  AR_WRIST = 19,
5238
5223
  AR_DEVICE = 20,
5239
- UWP = 21
5224
+ UWP = 21,
5225
+ VR = 22
5240
5226
  }
5241
5227
  }
5242
5228
 
@@ -5245,6 +5231,12 @@ export namespace proto {
5245
5231
 
5246
5232
  /** DisappearingMode initiator */
5247
5233
  initiator?: (proto.DisappearingMode.Initiator|null);
5234
+
5235
+ /** DisappearingMode trigger */
5236
+ trigger?: (proto.DisappearingMode.Trigger|null);
5237
+
5238
+ /** DisappearingMode initiatorDeviceJid */
5239
+ initiatorDeviceJid?: (string|null);
5248
5240
  }
5249
5241
 
5250
5242
  /** Represents a DisappearingMode. */
@@ -5259,6 +5251,12 @@ export namespace proto {
5259
5251
  /** DisappearingMode initiator. */
5260
5252
  public initiator: proto.DisappearingMode.Initiator;
5261
5253
 
5254
+ /** DisappearingMode trigger. */
5255
+ public trigger: proto.DisappearingMode.Trigger;
5256
+
5257
+ /** DisappearingMode initiatorDeviceJid. */
5258
+ public initiatorDeviceJid: string;
5259
+
5262
5260
  /**
5263
5261
  * Creates a new DisappearingMode instance using the specified properties.
5264
5262
  * @param [properties] Properties to set
@@ -5338,6 +5336,14 @@ export namespace proto {
5338
5336
  INITIATED_BY_ME = 1,
5339
5337
  INITIATED_BY_OTHER = 2
5340
5338
  }
5339
+
5340
+ /** Trigger enum. */
5341
+ enum Trigger {
5342
+ UNKNOWN = 0,
5343
+ CHAT_SETTING = 1,
5344
+ ACCOUNT_SETTING = 2,
5345
+ BULK_CHANGE = 3
5346
+ }
5341
5347
  }
5342
5348
 
5343
5349
  /** Properties of an EphemeralSetting. */
@@ -5652,192 +5658,6 @@ export namespace proto {
5652
5658
  public toJSON(): { [k: string]: any };
5653
5659
  }
5654
5660
 
5655
- /** Properties of a FutureMessageData. */
5656
- interface IFutureMessageData {
5657
-
5658
- /** FutureMessageData botData */
5659
- botData?: (proto.IBotData|null);
5660
- }
5661
-
5662
- /** Represents a FutureMessageData. */
5663
- class FutureMessageData implements IFutureMessageData {
5664
-
5665
- /**
5666
- * Constructs a new FutureMessageData.
5667
- * @param [properties] Properties to set
5668
- */
5669
- constructor(properties?: proto.IFutureMessageData);
5670
-
5671
- /** FutureMessageData botData. */
5672
- public botData?: (proto.IBotData|null);
5673
-
5674
- /**
5675
- * Creates a new FutureMessageData instance using the specified properties.
5676
- * @param [properties] Properties to set
5677
- * @returns FutureMessageData instance
5678
- */
5679
- public static create(properties?: proto.IFutureMessageData): proto.FutureMessageData;
5680
-
5681
- /**
5682
- * Encodes the specified FutureMessageData message. Does not implicitly {@link proto.FutureMessageData.verify|verify} messages.
5683
- * @param message FutureMessageData message or plain object to encode
5684
- * @param [writer] Writer to encode to
5685
- * @returns Writer
5686
- */
5687
- public static encode(message: proto.IFutureMessageData, writer?: $protobuf.Writer): $protobuf.Writer;
5688
-
5689
- /**
5690
- * Encodes the specified FutureMessageData message, length delimited. Does not implicitly {@link proto.FutureMessageData.verify|verify} messages.
5691
- * @param message FutureMessageData message or plain object to encode
5692
- * @param [writer] Writer to encode to
5693
- * @returns Writer
5694
- */
5695
- public static encodeDelimited(message: proto.IFutureMessageData, writer?: $protobuf.Writer): $protobuf.Writer;
5696
-
5697
- /**
5698
- * Decodes a FutureMessageData message from the specified reader or buffer.
5699
- * @param reader Reader or buffer to decode from
5700
- * @param [length] Message length if known beforehand
5701
- * @returns FutureMessageData
5702
- * @throws {Error} If the payload is not a reader or valid buffer
5703
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
5704
- */
5705
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.FutureMessageData;
5706
-
5707
- /**
5708
- * Decodes a FutureMessageData message from the specified reader or buffer, length delimited.
5709
- * @param reader Reader or buffer to decode from
5710
- * @returns FutureMessageData
5711
- * @throws {Error} If the payload is not a reader or valid buffer
5712
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
5713
- */
5714
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.FutureMessageData;
5715
-
5716
- /**
5717
- * Verifies a FutureMessageData message.
5718
- * @param message Plain object to verify
5719
- * @returns `null` if valid, otherwise the reason why it is not
5720
- */
5721
- public static verify(message: { [k: string]: any }): (string|null);
5722
-
5723
- /**
5724
- * Creates a FutureMessageData message from a plain object. Also converts values to their respective internal types.
5725
- * @param object Plain object
5726
- * @returns FutureMessageData
5727
- */
5728
- public static fromObject(object: { [k: string]: any }): proto.FutureMessageData;
5729
-
5730
- /**
5731
- * Creates a plain object from a FutureMessageData message. Also converts values to other types if specified.
5732
- * @param message FutureMessageData
5733
- * @param [options] Conversion options
5734
- * @returns Plain object
5735
- */
5736
- public static toObject(message: proto.FutureMessageData, options?: $protobuf.IConversionOptions): { [k: string]: any };
5737
-
5738
- /**
5739
- * Converts this FutureMessageData to JSON.
5740
- * @returns JSON object
5741
- */
5742
- public toJSON(): { [k: string]: any };
5743
- }
5744
-
5745
- /** Properties of a FutureproofMessageSecretMessage. */
5746
- interface IFutureproofMessageSecretMessage {
5747
-
5748
- /** FutureproofMessageSecretMessage messageSecretMessage */
5749
- messageSecretMessage: proto.IMessageSecretMessage;
5750
-
5751
- /** FutureproofMessageSecretMessage futureMessageData */
5752
- futureMessageData: proto.IFutureMessageData;
5753
- }
5754
-
5755
- /** Represents a FutureproofMessageSecretMessage. */
5756
- class FutureproofMessageSecretMessage implements IFutureproofMessageSecretMessage {
5757
-
5758
- /**
5759
- * Constructs a new FutureproofMessageSecretMessage.
5760
- * @param [properties] Properties to set
5761
- */
5762
- constructor(properties?: proto.IFutureproofMessageSecretMessage);
5763
-
5764
- /** FutureproofMessageSecretMessage messageSecretMessage. */
5765
- public messageSecretMessage: proto.IMessageSecretMessage;
5766
-
5767
- /** FutureproofMessageSecretMessage futureMessageData. */
5768
- public futureMessageData: proto.IFutureMessageData;
5769
-
5770
- /**
5771
- * Creates a new FutureproofMessageSecretMessage instance using the specified properties.
5772
- * @param [properties] Properties to set
5773
- * @returns FutureproofMessageSecretMessage instance
5774
- */
5775
- public static create(properties?: proto.IFutureproofMessageSecretMessage): proto.FutureproofMessageSecretMessage;
5776
-
5777
- /**
5778
- * Encodes the specified FutureproofMessageSecretMessage message. Does not implicitly {@link proto.FutureproofMessageSecretMessage.verify|verify} messages.
5779
- * @param message FutureproofMessageSecretMessage message or plain object to encode
5780
- * @param [writer] Writer to encode to
5781
- * @returns Writer
5782
- */
5783
- public static encode(message: proto.IFutureproofMessageSecretMessage, writer?: $protobuf.Writer): $protobuf.Writer;
5784
-
5785
- /**
5786
- * Encodes the specified FutureproofMessageSecretMessage message, length delimited. Does not implicitly {@link proto.FutureproofMessageSecretMessage.verify|verify} messages.
5787
- * @param message FutureproofMessageSecretMessage message or plain object to encode
5788
- * @param [writer] Writer to encode to
5789
- * @returns Writer
5790
- */
5791
- public static encodeDelimited(message: proto.IFutureproofMessageSecretMessage, writer?: $protobuf.Writer): $protobuf.Writer;
5792
-
5793
- /**
5794
- * Decodes a FutureproofMessageSecretMessage message from the specified reader or buffer.
5795
- * @param reader Reader or buffer to decode from
5796
- * @param [length] Message length if known beforehand
5797
- * @returns FutureproofMessageSecretMessage
5798
- * @throws {Error} If the payload is not a reader or valid buffer
5799
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
5800
- */
5801
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.FutureproofMessageSecretMessage;
5802
-
5803
- /**
5804
- * Decodes a FutureproofMessageSecretMessage message from the specified reader or buffer, length delimited.
5805
- * @param reader Reader or buffer to decode from
5806
- * @returns FutureproofMessageSecretMessage
5807
- * @throws {Error} If the payload is not a reader or valid buffer
5808
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
5809
- */
5810
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.FutureproofMessageSecretMessage;
5811
-
5812
- /**
5813
- * Verifies a FutureproofMessageSecretMessage message.
5814
- * @param message Plain object to verify
5815
- * @returns `null` if valid, otherwise the reason why it is not
5816
- */
5817
- public static verify(message: { [k: string]: any }): (string|null);
5818
-
5819
- /**
5820
- * Creates a FutureproofMessageSecretMessage message from a plain object. Also converts values to their respective internal types.
5821
- * @param object Plain object
5822
- * @returns FutureproofMessageSecretMessage
5823
- */
5824
- public static fromObject(object: { [k: string]: any }): proto.FutureproofMessageSecretMessage;
5825
-
5826
- /**
5827
- * Creates a plain object from a FutureproofMessageSecretMessage message. Also converts values to other types if specified.
5828
- * @param message FutureproofMessageSecretMessage
5829
- * @param [options] Conversion options
5830
- * @returns Plain object
5831
- */
5832
- public static toObject(message: proto.FutureproofMessageSecretMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
5833
-
5834
- /**
5835
- * Converts this FutureproofMessageSecretMessage to JSON.
5836
- * @returns JSON object
5837
- */
5838
- public toJSON(): { [k: string]: any };
5839
- }
5840
-
5841
5661
  /** Properties of a GlobalSettings. */
5842
5662
  interface IGlobalSettings {
5843
5663
 
@@ -13110,6 +12930,9 @@ export namespace proto {
13110
12930
 
13111
12931
  /** CarouselMessage cards */
13112
12932
  cards?: (proto.Message.IInteractiveMessage[]|null);
12933
+
12934
+ /** CarouselMessage messageVersion */
12935
+ messageVersion?: (number|null);
13113
12936
  }
13114
12937
 
13115
12938
  /** Represents a CarouselMessage. */
@@ -13124,6 +12947,9 @@ export namespace proto {
13124
12947
  /** CarouselMessage cards. */
13125
12948
  public cards: proto.Message.IInteractiveMessage[];
13126
12949
 
12950
+ /** CarouselMessage messageVersion. */
12951
+ public messageVersion: number;
12952
+
13127
12953
  /**
13128
12954
  * Creates a new CarouselMessage instance using the specified properties.
13129
12955
  * @param [properties] Properties to set
@@ -20649,6 +20475,9 @@ export namespace proto {
20649
20475
 
20650
20476
  /** MsgOpaqueData encReactionEncIv */
20651
20477
  encReactionEncIv?: (Uint8Array|null);
20478
+
20479
+ /** MsgOpaqueData botMessageSecret */
20480
+ botMessageSecret?: (Uint8Array|null);
20652
20481
  }
20653
20482
 
20654
20483
  /** Represents a MsgOpaqueData. */
@@ -20738,6 +20567,9 @@ export namespace proto {
20738
20567
  /** MsgOpaqueData encReactionEncIv. */
20739
20568
  public encReactionEncIv: Uint8Array;
20740
20569
 
20570
+ /** MsgOpaqueData botMessageSecret. */
20571
+ public botMessageSecret: Uint8Array;
20572
+
20741
20573
  /**
20742
20574
  * Creates a new MsgOpaqueData instance using the specified properties.
20743
20575
  * @param [properties] Properties to set
@@ -23088,6 +22920,419 @@ export namespace proto {
23088
22920
  public toJSON(): { [k: string]: any };
23089
22921
  }
23090
22922
 
22923
+ /** Properties of a QP. */
22924
+ interface IQP {
22925
+ }
22926
+
22927
+ /** Represents a QP. */
22928
+ class QP implements IQP {
22929
+
22930
+ /**
22931
+ * Constructs a new QP.
22932
+ * @param [properties] Properties to set
22933
+ */
22934
+ constructor(properties?: proto.IQP);
22935
+
22936
+ /**
22937
+ * Creates a new QP instance using the specified properties.
22938
+ * @param [properties] Properties to set
22939
+ * @returns QP instance
22940
+ */
22941
+ public static create(properties?: proto.IQP): proto.QP;
22942
+
22943
+ /**
22944
+ * Encodes the specified QP message. Does not implicitly {@link proto.QP.verify|verify} messages.
22945
+ * @param message QP message or plain object to encode
22946
+ * @param [writer] Writer to encode to
22947
+ * @returns Writer
22948
+ */
22949
+ public static encode(message: proto.IQP, writer?: $protobuf.Writer): $protobuf.Writer;
22950
+
22951
+ /**
22952
+ * Encodes the specified QP message, length delimited. Does not implicitly {@link proto.QP.verify|verify} messages.
22953
+ * @param message QP message or plain object to encode
22954
+ * @param [writer] Writer to encode to
22955
+ * @returns Writer
22956
+ */
22957
+ public static encodeDelimited(message: proto.IQP, writer?: $protobuf.Writer): $protobuf.Writer;
22958
+
22959
+ /**
22960
+ * Decodes a QP message from the specified reader or buffer.
22961
+ * @param reader Reader or buffer to decode from
22962
+ * @param [length] Message length if known beforehand
22963
+ * @returns QP
22964
+ * @throws {Error} If the payload is not a reader or valid buffer
22965
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
22966
+ */
22967
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.QP;
22968
+
22969
+ /**
22970
+ * Decodes a QP message from the specified reader or buffer, length delimited.
22971
+ * @param reader Reader or buffer to decode from
22972
+ * @returns QP
22973
+ * @throws {Error} If the payload is not a reader or valid buffer
22974
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
22975
+ */
22976
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.QP;
22977
+
22978
+ /**
22979
+ * Verifies a QP message.
22980
+ * @param message Plain object to verify
22981
+ * @returns `null` if valid, otherwise the reason why it is not
22982
+ */
22983
+ public static verify(message: { [k: string]: any }): (string|null);
22984
+
22985
+ /**
22986
+ * Creates a QP message from a plain object. Also converts values to their respective internal types.
22987
+ * @param object Plain object
22988
+ * @returns QP
22989
+ */
22990
+ public static fromObject(object: { [k: string]: any }): proto.QP;
22991
+
22992
+ /**
22993
+ * Creates a plain object from a QP message. Also converts values to other types if specified.
22994
+ * @param message QP
22995
+ * @param [options] Conversion options
22996
+ * @returns Plain object
22997
+ */
22998
+ public static toObject(message: proto.QP, options?: $protobuf.IConversionOptions): { [k: string]: any };
22999
+
23000
+ /**
23001
+ * Converts this QP to JSON.
23002
+ * @returns JSON object
23003
+ */
23004
+ public toJSON(): { [k: string]: any };
23005
+ }
23006
+
23007
+ namespace QP {
23008
+
23009
+ /** ClauseType enum. */
23010
+ enum ClauseType {
23011
+ AND = 1,
23012
+ OR = 2,
23013
+ NOR = 3
23014
+ }
23015
+
23016
+ /** Properties of a Filter. */
23017
+ interface IFilter {
23018
+
23019
+ /** Filter filterName */
23020
+ filterName: string;
23021
+
23022
+ /** Filter parameters */
23023
+ parameters?: (proto.QP.IFilterParameters[]|null);
23024
+
23025
+ /** Filter filterResult */
23026
+ filterResult?: (proto.QP.FilterResult|null);
23027
+
23028
+ /** Filter clientNotSupportedConfig */
23029
+ clientNotSupportedConfig: proto.QP.FilterClientNotSupportedConfig;
23030
+ }
23031
+
23032
+ /** Represents a Filter. */
23033
+ class Filter implements IFilter {
23034
+
23035
+ /**
23036
+ * Constructs a new Filter.
23037
+ * @param [properties] Properties to set
23038
+ */
23039
+ constructor(properties?: proto.QP.IFilter);
23040
+
23041
+ /** Filter filterName. */
23042
+ public filterName: string;
23043
+
23044
+ /** Filter parameters. */
23045
+ public parameters: proto.QP.IFilterParameters[];
23046
+
23047
+ /** Filter filterResult. */
23048
+ public filterResult: proto.QP.FilterResult;
23049
+
23050
+ /** Filter clientNotSupportedConfig. */
23051
+ public clientNotSupportedConfig: proto.QP.FilterClientNotSupportedConfig;
23052
+
23053
+ /**
23054
+ * Creates a new Filter instance using the specified properties.
23055
+ * @param [properties] Properties to set
23056
+ * @returns Filter instance
23057
+ */
23058
+ public static create(properties?: proto.QP.IFilter): proto.QP.Filter;
23059
+
23060
+ /**
23061
+ * Encodes the specified Filter message. Does not implicitly {@link proto.QP.Filter.verify|verify} messages.
23062
+ * @param message Filter message or plain object to encode
23063
+ * @param [writer] Writer to encode to
23064
+ * @returns Writer
23065
+ */
23066
+ public static encode(message: proto.QP.IFilter, writer?: $protobuf.Writer): $protobuf.Writer;
23067
+
23068
+ /**
23069
+ * Encodes the specified Filter message, length delimited. Does not implicitly {@link proto.QP.Filter.verify|verify} messages.
23070
+ * @param message Filter message or plain object to encode
23071
+ * @param [writer] Writer to encode to
23072
+ * @returns Writer
23073
+ */
23074
+ public static encodeDelimited(message: proto.QP.IFilter, writer?: $protobuf.Writer): $protobuf.Writer;
23075
+
23076
+ /**
23077
+ * Decodes a Filter message from the specified reader or buffer.
23078
+ * @param reader Reader or buffer to decode from
23079
+ * @param [length] Message length if known beforehand
23080
+ * @returns Filter
23081
+ * @throws {Error} If the payload is not a reader or valid buffer
23082
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
23083
+ */
23084
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.QP.Filter;
23085
+
23086
+ /**
23087
+ * Decodes a Filter message from the specified reader or buffer, length delimited.
23088
+ * @param reader Reader or buffer to decode from
23089
+ * @returns Filter
23090
+ * @throws {Error} If the payload is not a reader or valid buffer
23091
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
23092
+ */
23093
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.QP.Filter;
23094
+
23095
+ /**
23096
+ * Verifies a Filter message.
23097
+ * @param message Plain object to verify
23098
+ * @returns `null` if valid, otherwise the reason why it is not
23099
+ */
23100
+ public static verify(message: { [k: string]: any }): (string|null);
23101
+
23102
+ /**
23103
+ * Creates a Filter message from a plain object. Also converts values to their respective internal types.
23104
+ * @param object Plain object
23105
+ * @returns Filter
23106
+ */
23107
+ public static fromObject(object: { [k: string]: any }): proto.QP.Filter;
23108
+
23109
+ /**
23110
+ * Creates a plain object from a Filter message. Also converts values to other types if specified.
23111
+ * @param message Filter
23112
+ * @param [options] Conversion options
23113
+ * @returns Plain object
23114
+ */
23115
+ public static toObject(message: proto.QP.Filter, options?: $protobuf.IConversionOptions): { [k: string]: any };
23116
+
23117
+ /**
23118
+ * Converts this Filter to JSON.
23119
+ * @returns JSON object
23120
+ */
23121
+ public toJSON(): { [k: string]: any };
23122
+ }
23123
+
23124
+ /** Properties of a FilterClause. */
23125
+ interface IFilterClause {
23126
+
23127
+ /** FilterClause clauseType */
23128
+ clauseType: proto.QP.ClauseType;
23129
+
23130
+ /** FilterClause clauses */
23131
+ clauses?: (proto.QP.IFilterClause[]|null);
23132
+
23133
+ /** FilterClause filters */
23134
+ filters?: (proto.QP.IFilter[]|null);
23135
+ }
23136
+
23137
+ /** Represents a FilterClause. */
23138
+ class FilterClause implements IFilterClause {
23139
+
23140
+ /**
23141
+ * Constructs a new FilterClause.
23142
+ * @param [properties] Properties to set
23143
+ */
23144
+ constructor(properties?: proto.QP.IFilterClause);
23145
+
23146
+ /** FilterClause clauseType. */
23147
+ public clauseType: proto.QP.ClauseType;
23148
+
23149
+ /** FilterClause clauses. */
23150
+ public clauses: proto.QP.IFilterClause[];
23151
+
23152
+ /** FilterClause filters. */
23153
+ public filters: proto.QP.IFilter[];
23154
+
23155
+ /**
23156
+ * Creates a new FilterClause instance using the specified properties.
23157
+ * @param [properties] Properties to set
23158
+ * @returns FilterClause instance
23159
+ */
23160
+ public static create(properties?: proto.QP.IFilterClause): proto.QP.FilterClause;
23161
+
23162
+ /**
23163
+ * Encodes the specified FilterClause message. Does not implicitly {@link proto.QP.FilterClause.verify|verify} messages.
23164
+ * @param message FilterClause message or plain object to encode
23165
+ * @param [writer] Writer to encode to
23166
+ * @returns Writer
23167
+ */
23168
+ public static encode(message: proto.QP.IFilterClause, writer?: $protobuf.Writer): $protobuf.Writer;
23169
+
23170
+ /**
23171
+ * Encodes the specified FilterClause message, length delimited. Does not implicitly {@link proto.QP.FilterClause.verify|verify} messages.
23172
+ * @param message FilterClause message or plain object to encode
23173
+ * @param [writer] Writer to encode to
23174
+ * @returns Writer
23175
+ */
23176
+ public static encodeDelimited(message: proto.QP.IFilterClause, writer?: $protobuf.Writer): $protobuf.Writer;
23177
+
23178
+ /**
23179
+ * Decodes a FilterClause message from the specified reader or buffer.
23180
+ * @param reader Reader or buffer to decode from
23181
+ * @param [length] Message length if known beforehand
23182
+ * @returns FilterClause
23183
+ * @throws {Error} If the payload is not a reader or valid buffer
23184
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
23185
+ */
23186
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.QP.FilterClause;
23187
+
23188
+ /**
23189
+ * Decodes a FilterClause message from the specified reader or buffer, length delimited.
23190
+ * @param reader Reader or buffer to decode from
23191
+ * @returns FilterClause
23192
+ * @throws {Error} If the payload is not a reader or valid buffer
23193
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
23194
+ */
23195
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.QP.FilterClause;
23196
+
23197
+ /**
23198
+ * Verifies a FilterClause message.
23199
+ * @param message Plain object to verify
23200
+ * @returns `null` if valid, otherwise the reason why it is not
23201
+ */
23202
+ public static verify(message: { [k: string]: any }): (string|null);
23203
+
23204
+ /**
23205
+ * Creates a FilterClause message from a plain object. Also converts values to their respective internal types.
23206
+ * @param object Plain object
23207
+ * @returns FilterClause
23208
+ */
23209
+ public static fromObject(object: { [k: string]: any }): proto.QP.FilterClause;
23210
+
23211
+ /**
23212
+ * Creates a plain object from a FilterClause message. Also converts values to other types if specified.
23213
+ * @param message FilterClause
23214
+ * @param [options] Conversion options
23215
+ * @returns Plain object
23216
+ */
23217
+ public static toObject(message: proto.QP.FilterClause, options?: $protobuf.IConversionOptions): { [k: string]: any };
23218
+
23219
+ /**
23220
+ * Converts this FilterClause to JSON.
23221
+ * @returns JSON object
23222
+ */
23223
+ public toJSON(): { [k: string]: any };
23224
+ }
23225
+
23226
+ /** FilterClientNotSupportedConfig enum. */
23227
+ enum FilterClientNotSupportedConfig {
23228
+ PASS_BY_DEFAULT = 1,
23229
+ FAIL_BY_DEFAULT = 2
23230
+ }
23231
+
23232
+ /** Properties of a FilterParameters. */
23233
+ interface IFilterParameters {
23234
+
23235
+ /** FilterParameters key */
23236
+ key?: (string|null);
23237
+
23238
+ /** FilterParameters value */
23239
+ value?: (string|null);
23240
+ }
23241
+
23242
+ /** Represents a FilterParameters. */
23243
+ class FilterParameters implements IFilterParameters {
23244
+
23245
+ /**
23246
+ * Constructs a new FilterParameters.
23247
+ * @param [properties] Properties to set
23248
+ */
23249
+ constructor(properties?: proto.QP.IFilterParameters);
23250
+
23251
+ /** FilterParameters key. */
23252
+ public key: string;
23253
+
23254
+ /** FilterParameters value. */
23255
+ public value: string;
23256
+
23257
+ /**
23258
+ * Creates a new FilterParameters instance using the specified properties.
23259
+ * @param [properties] Properties to set
23260
+ * @returns FilterParameters instance
23261
+ */
23262
+ public static create(properties?: proto.QP.IFilterParameters): proto.QP.FilterParameters;
23263
+
23264
+ /**
23265
+ * Encodes the specified FilterParameters message. Does not implicitly {@link proto.QP.FilterParameters.verify|verify} messages.
23266
+ * @param message FilterParameters message or plain object to encode
23267
+ * @param [writer] Writer to encode to
23268
+ * @returns Writer
23269
+ */
23270
+ public static encode(message: proto.QP.IFilterParameters, writer?: $protobuf.Writer): $protobuf.Writer;
23271
+
23272
+ /**
23273
+ * Encodes the specified FilterParameters message, length delimited. Does not implicitly {@link proto.QP.FilterParameters.verify|verify} messages.
23274
+ * @param message FilterParameters message or plain object to encode
23275
+ * @param [writer] Writer to encode to
23276
+ * @returns Writer
23277
+ */
23278
+ public static encodeDelimited(message: proto.QP.IFilterParameters, writer?: $protobuf.Writer): $protobuf.Writer;
23279
+
23280
+ /**
23281
+ * Decodes a FilterParameters message from the specified reader or buffer.
23282
+ * @param reader Reader or buffer to decode from
23283
+ * @param [length] Message length if known beforehand
23284
+ * @returns FilterParameters
23285
+ * @throws {Error} If the payload is not a reader or valid buffer
23286
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
23287
+ */
23288
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.QP.FilterParameters;
23289
+
23290
+ /**
23291
+ * Decodes a FilterParameters message from the specified reader or buffer, length delimited.
23292
+ * @param reader Reader or buffer to decode from
23293
+ * @returns FilterParameters
23294
+ * @throws {Error} If the payload is not a reader or valid buffer
23295
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
23296
+ */
23297
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.QP.FilterParameters;
23298
+
23299
+ /**
23300
+ * Verifies a FilterParameters message.
23301
+ * @param message Plain object to verify
23302
+ * @returns `null` if valid, otherwise the reason why it is not
23303
+ */
23304
+ public static verify(message: { [k: string]: any }): (string|null);
23305
+
23306
+ /**
23307
+ * Creates a FilterParameters message from a plain object. Also converts values to their respective internal types.
23308
+ * @param object Plain object
23309
+ * @returns FilterParameters
23310
+ */
23311
+ public static fromObject(object: { [k: string]: any }): proto.QP.FilterParameters;
23312
+
23313
+ /**
23314
+ * Creates a plain object from a FilterParameters message. Also converts values to other types if specified.
23315
+ * @param message FilterParameters
23316
+ * @param [options] Conversion options
23317
+ * @returns Plain object
23318
+ */
23319
+ public static toObject(message: proto.QP.FilterParameters, options?: $protobuf.IConversionOptions): { [k: string]: any };
23320
+
23321
+ /**
23322
+ * Converts this FilterParameters to JSON.
23323
+ * @returns JSON object
23324
+ */
23325
+ public toJSON(): { [k: string]: any };
23326
+ }
23327
+
23328
+ /** FilterResult enum. */
23329
+ enum FilterResult {
23330
+ TRUE = 1,
23331
+ FALSE = 2,
23332
+ UNKNOWN = 3
23333
+ }
23334
+ }
23335
+
23091
23336
  /** Properties of a Reaction. */
23092
23337
  interface IReaction {
23093
23338
 
@@ -31467,9 +31712,6 @@ export namespace proto {
31467
31712
 
31468
31713
  /** WebMessageInfo pinInChat */
31469
31714
  pinInChat?: (proto.IPinInChat|null);
31470
-
31471
- /** WebMessageInfo futureproofMessageSecretMessage */
31472
- futureproofMessageSecretMessage?: (proto.IFutureproofMessageSecretMessage|null);
31473
31715
  }
31474
31716
 
31475
31717
  /** Represents a WebMessageInfo. */
@@ -31613,9 +31855,6 @@ export namespace proto {
31613
31855
  /** WebMessageInfo pinInChat. */
31614
31856
  public pinInChat?: (proto.IPinInChat|null);
31615
31857
 
31616
- /** WebMessageInfo futureproofMessageSecretMessage. */
31617
- public futureproofMessageSecretMessage?: (proto.IFutureproofMessageSecretMessage|null);
31618
-
31619
31858
  /**
31620
31859
  * Creates a new WebMessageInfo instance using the specified properties.
31621
31860
  * @param [properties] Properties to set