@mtkruto/node 0.1.106 → 0.1.107

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 (85) hide show
  1. package/esm/4_constants.d.ts +2 -2
  2. package/esm/4_constants.js +2 -2
  3. package/esm/client/3_types.d.ts +17 -12
  4. package/esm/client/4_client.d.ts +47 -20
  5. package/esm/client/4_client.js +56 -37
  6. package/esm/tl/2_types.d.ts +231 -55
  7. package/esm/tl/2_types.js +782 -150
  8. package/esm/tl/3_functions.d.ts +159 -53
  9. package/esm/tl/3_functions.js +488 -147
  10. package/esm/types/0_audio.d.ts +9 -9
  11. package/esm/types/0_bot_command.d.ts +2 -0
  12. package/esm/types/0_chat_action.d.ts +1 -0
  13. package/esm/types/0_chat_administrator_rights.d.ts +13 -13
  14. package/esm/types/0_chat_photo.d.ts +7 -6
  15. package/esm/types/0_chat_photo.js +1 -1
  16. package/esm/types/0_contact.d.ts +6 -6
  17. package/esm/types/0_dice.d.ts +3 -3
  18. package/esm/types/0_force_reply.d.ts +4 -4
  19. package/esm/types/0_input_contact_message_content.d.ts +5 -0
  20. package/esm/types/0_input_location_message_content.d.ts +7 -0
  21. package/esm/types/0_input_venue_message_content.d.ts +10 -1
  22. package/esm/types/0_keyboard_button_poll_type.d.ts +3 -3
  23. package/esm/types/0_location.d.ts +7 -7
  24. package/esm/types/0_login_url.d.ts +4 -5
  25. package/esm/types/0_mask_position.d.ts +0 -1
  26. package/esm/types/0_message_entity.d.ts +5 -5
  27. package/esm/types/0_parse_mode.d.ts +1 -0
  28. package/esm/types/0_poll_option.d.ts +2 -2
  29. package/esm/types/0_reply_keyboard_remove.d.ts +3 -3
  30. package/esm/types/0_thumbnail.d.ts +6 -6
  31. package/esm/types/0_venue.d.ts +6 -6
  32. package/esm/types/0_voice.d.ts +6 -6
  33. package/esm/types/0_web_app_info.d.ts +1 -2
  34. package/esm/types/1_animation.d.ts +9 -9
  35. package/esm/types/1_chat.d.ts +29 -28
  36. package/esm/types/1_document.d.ts +6 -7
  37. package/esm/types/1_keyboard_button.d.ts +1 -1
  38. package/esm/types/1_photo.d.ts +3 -3
  39. package/esm/types/1_sticker.d.ts +2 -2
  40. package/esm/types/1_user.d.ts +2 -1
  41. package/esm/types/1_video.d.ts +4 -4
  42. package/esm/types/1_video_note.d.ts +3 -3
  43. package/package.json +1 -1
  44. package/script/4_constants.d.ts +2 -2
  45. package/script/4_constants.js +2 -2
  46. package/script/client/3_types.d.ts +17 -12
  47. package/script/client/4_client.d.ts +47 -20
  48. package/script/client/4_client.js +56 -37
  49. package/script/tl/2_types.d.ts +231 -55
  50. package/script/tl/2_types.js +824 -179
  51. package/script/tl/3_functions.d.ts +159 -53
  52. package/script/tl/3_functions.js +510 -159
  53. package/script/types/0_audio.d.ts +9 -9
  54. package/script/types/0_bot_command.d.ts +2 -0
  55. package/script/types/0_chat_action.d.ts +1 -0
  56. package/script/types/0_chat_administrator_rights.d.ts +13 -13
  57. package/script/types/0_chat_photo.d.ts +7 -6
  58. package/script/types/0_chat_photo.js +1 -1
  59. package/script/types/0_contact.d.ts +6 -6
  60. package/script/types/0_dice.d.ts +3 -3
  61. package/script/types/0_force_reply.d.ts +4 -4
  62. package/script/types/0_input_contact_message_content.d.ts +5 -0
  63. package/script/types/0_input_location_message_content.d.ts +7 -0
  64. package/script/types/0_input_venue_message_content.d.ts +10 -1
  65. package/script/types/0_keyboard_button_poll_type.d.ts +3 -3
  66. package/script/types/0_location.d.ts +7 -7
  67. package/script/types/0_login_url.d.ts +4 -5
  68. package/script/types/0_mask_position.d.ts +0 -1
  69. package/script/types/0_message_entity.d.ts +5 -5
  70. package/script/types/0_parse_mode.d.ts +1 -0
  71. package/script/types/0_poll_option.d.ts +2 -2
  72. package/script/types/0_reply_keyboard_remove.d.ts +3 -3
  73. package/script/types/0_thumbnail.d.ts +6 -6
  74. package/script/types/0_venue.d.ts +6 -6
  75. package/script/types/0_voice.d.ts +6 -6
  76. package/script/types/0_web_app_info.d.ts +1 -2
  77. package/script/types/1_animation.d.ts +9 -9
  78. package/script/types/1_chat.d.ts +29 -28
  79. package/script/types/1_document.d.ts +6 -7
  80. package/script/types/1_keyboard_button.d.ts +1 -1
  81. package/script/types/1_photo.d.ts +3 -3
  82. package/script/types/1_sticker.d.ts +2 -2
  83. package/script/types/1_user.d.ts +2 -1
  84. package/script/types/1_video.d.ts +4 -4
  85. package/script/types/1_video_note.d.ts +3 -3
@@ -1,4 +1,5 @@
1
- import { flags, id, paramDesc, params, TLObject } from "./1_tl_object.js";
1
+ // deno-fmt-ignore-file
2
+ import { id, params, TLObject, paramDesc, flags } from "./1_tl_object.js";
2
3
  import * as types from "./2_types.js";
3
4
  export class Function extends TLObject {
4
5
  constructor() {
@@ -3644,6 +3645,7 @@ export class AccountChangeAuthorizationSettings extends Function {
3644
3645
  static get [paramDesc]() {
3645
3646
  return [
3646
3647
  ["flags", flags, "#"],
3648
+ ["confirmed", "true", "flags.3?true"],
3647
3649
  ["hash", "bigint", "long"],
3648
3650
  ["encryptedRequestsDisabled", "boolean", "flags.0?Bool"],
3649
3651
  ["callRequestsDisabled", "boolean", "flags.1?Bool"],
@@ -3652,6 +3654,7 @@ export class AccountChangeAuthorizationSettings extends Function {
3652
3654
  get [params]() {
3653
3655
  return [
3654
3656
  ["flags", flags, "#"],
3657
+ [this.confirmed ?? null, "true", "flags.3?true"],
3655
3658
  [this.hash, "bigint", "long"],
3656
3659
  [this.encryptedRequestsDisabled ?? null, "boolean", "flags.0?Bool"],
3657
3660
  [this.callRequestsDisabled ?? null, "boolean", "flags.1?Bool"],
@@ -3659,6 +3662,12 @@ export class AccountChangeAuthorizationSettings extends Function {
3659
3662
  }
3660
3663
  constructor(params) {
3661
3664
  super();
3665
+ Object.defineProperty(this, "confirmed", {
3666
+ enumerable: true,
3667
+ configurable: true,
3668
+ writable: true,
3669
+ value: void 0
3670
+ });
3662
3671
  Object.defineProperty(this, "hash", {
3663
3672
  enumerable: true,
3664
3673
  configurable: true,
@@ -3677,6 +3686,7 @@ export class AccountChangeAuthorizationSettings extends Function {
3677
3686
  writable: true,
3678
3687
  value: void 0
3679
3688
  });
3689
+ this.confirmed = params.confirmed;
3680
3690
  this.hash = params.hash;
3681
3691
  this.encryptedRequestsDisabled = params.encryptedRequestsDisabled;
3682
3692
  this.callRequestsDisabled = params.callRequestsDisabled;
@@ -4182,31 +4192,6 @@ export class UsersSetSecureValueErrors extends Function {
4182
4192
  this.errors = params.errors;
4183
4193
  }
4184
4194
  }
4185
- export class UsersGetStoriesMaxIDs extends Function {
4186
- get [id]() {
4187
- return 0xCA1CB9AB;
4188
- }
4189
- static get [paramDesc]() {
4190
- return [
4191
- ["id", [types._TypeInputUser], "Vector<InputUser>"],
4192
- ];
4193
- }
4194
- get [params]() {
4195
- return [
4196
- [this.id, [types._TypeInputUser], "Vector<InputUser>"],
4197
- ];
4198
- }
4199
- constructor(params) {
4200
- super();
4201
- Object.defineProperty(this, "id", {
4202
- enumerable: true,
4203
- configurable: true,
4204
- writable: true,
4205
- value: void 0
4206
- });
4207
- this.id = params.id;
4208
- }
4209
- }
4210
4195
  export class ContactsGetContactIDs extends Function {
4211
4196
  get [id]() {
4212
4197
  return 0x7ADC669D;
@@ -5002,40 +4987,6 @@ export class ContactsEditCloseFriends extends Function {
5002
4987
  this.id = params.id;
5003
4988
  }
5004
4989
  }
5005
- export class ContactsToggleStoriesHidden extends Function {
5006
- get [id]() {
5007
- return 0x753FB865;
5008
- }
5009
- static get [paramDesc]() {
5010
- return [
5011
- ["id", types._TypeInputUser, "InputUser"],
5012
- ["hidden", "boolean", "Bool"],
5013
- ];
5014
- }
5015
- get [params]() {
5016
- return [
5017
- [this.id, types._TypeInputUser, "InputUser"],
5018
- [this.hidden, "boolean", "Bool"],
5019
- ];
5020
- }
5021
- constructor(params) {
5022
- super();
5023
- Object.defineProperty(this, "id", {
5024
- enumerable: true,
5025
- configurable: true,
5026
- writable: true,
5027
- value: void 0
5028
- });
5029
- Object.defineProperty(this, "hidden", {
5030
- enumerable: true,
5031
- configurable: true,
5032
- writable: true,
5033
- value: void 0
5034
- });
5035
- this.id = params.id;
5036
- this.hidden = params.hidden;
5037
- }
5038
- }
5039
4990
  export class ContactsSetBlocked extends Function {
5040
4991
  get [id]() {
5041
4992
  return 0x94C65C76;
@@ -8798,7 +8749,7 @@ export class MessagesGetCommonChats extends Function {
8798
8749
  }
8799
8750
  export class MessagesGetWebPage extends Function {
8800
8751
  get [id]() {
8801
- return 0x32CA8F91;
8752
+ return 0x8D9692A3;
8802
8753
  }
8803
8754
  static get [paramDesc]() {
8804
8755
  return [
@@ -12402,14 +12353,16 @@ export class MessagesProlongWebView extends Function {
12402
12353
  }
12403
12354
  export class MessagesRequestSimpleWebView extends Function {
12404
12355
  get [id]() {
12405
- return 0x299BEC8E;
12356
+ return 0x1A46500A;
12406
12357
  }
12407
12358
  static get [paramDesc]() {
12408
12359
  return [
12409
12360
  ["flags", flags, "#"],
12410
12361
  ["fromSwitchWebview", "true", "flags.1?true"],
12362
+ ["fromSideMenu", "true", "flags.2?true"],
12411
12363
  ["bot", types._TypeInputUser, "InputUser"],
12412
- ["url", "string", "string"],
12364
+ ["url", "string", "flags.3?string"],
12365
+ ["startParam", "string", "flags.4?string"],
12413
12366
  ["themeParams", types._TypeDataJSON, "flags.0?DataJSON"],
12414
12367
  ["platform", "string", "string"],
12415
12368
  ];
@@ -12418,8 +12371,10 @@ export class MessagesRequestSimpleWebView extends Function {
12418
12371
  return [
12419
12372
  ["flags", flags, "#"],
12420
12373
  [this.fromSwitchWebview ?? null, "true", "flags.1?true"],
12374
+ [this.fromSideMenu ?? null, "true", "flags.2?true"],
12421
12375
  [this.bot, types._TypeInputUser, "InputUser"],
12422
- [this.url, "string", "string"],
12376
+ [this.url ?? null, "string", "flags.3?string"],
12377
+ [this.startParam ?? null, "string", "flags.4?string"],
12423
12378
  [this.themeParams ?? null, types._TypeDataJSON, "flags.0?DataJSON"],
12424
12379
  [this.platform, "string", "string"],
12425
12380
  ];
@@ -12432,6 +12387,12 @@ export class MessagesRequestSimpleWebView extends Function {
12432
12387
  writable: true,
12433
12388
  value: void 0
12434
12389
  });
12390
+ Object.defineProperty(this, "fromSideMenu", {
12391
+ enumerable: true,
12392
+ configurable: true,
12393
+ writable: true,
12394
+ value: void 0
12395
+ });
12435
12396
  Object.defineProperty(this, "bot", {
12436
12397
  enumerable: true,
12437
12398
  configurable: true,
@@ -12444,6 +12405,12 @@ export class MessagesRequestSimpleWebView extends Function {
12444
12405
  writable: true,
12445
12406
  value: void 0
12446
12407
  });
12408
+ Object.defineProperty(this, "startParam", {
12409
+ enumerable: true,
12410
+ configurable: true,
12411
+ writable: true,
12412
+ value: void 0
12413
+ });
12447
12414
  Object.defineProperty(this, "themeParams", {
12448
12415
  enumerable: true,
12449
12416
  configurable: true,
@@ -12457,8 +12424,10 @@ export class MessagesRequestSimpleWebView extends Function {
12457
12424
  value: void 0
12458
12425
  });
12459
12426
  this.fromSwitchWebview = params.fromSwitchWebview;
12427
+ this.fromSideMenu = params.fromSideMenu;
12460
12428
  this.bot = params.bot;
12461
12429
  this.url = params.url;
12430
+ this.startParam = params.startParam;
12462
12431
  this.themeParams = params.themeParams;
12463
12432
  this.platform = params.platform;
12464
12433
  }
@@ -17163,6 +17132,99 @@ export class BotsToggleUsername extends Function {
17163
17132
  this.active = params.active;
17164
17133
  }
17165
17134
  }
17135
+ export class BotsCanSendMessage extends Function {
17136
+ get [id]() {
17137
+ return 0x1359F4E6;
17138
+ }
17139
+ static get [paramDesc]() {
17140
+ return [
17141
+ ["bot", types._TypeInputUser, "InputUser"],
17142
+ ];
17143
+ }
17144
+ get [params]() {
17145
+ return [
17146
+ [this.bot, types._TypeInputUser, "InputUser"],
17147
+ ];
17148
+ }
17149
+ constructor(params) {
17150
+ super();
17151
+ Object.defineProperty(this, "bot", {
17152
+ enumerable: true,
17153
+ configurable: true,
17154
+ writable: true,
17155
+ value: void 0
17156
+ });
17157
+ this.bot = params.bot;
17158
+ }
17159
+ }
17160
+ export class BotsAllowSendMessage extends Function {
17161
+ get [id]() {
17162
+ return 0xF132E3EF;
17163
+ }
17164
+ static get [paramDesc]() {
17165
+ return [
17166
+ ["bot", types._TypeInputUser, "InputUser"],
17167
+ ];
17168
+ }
17169
+ get [params]() {
17170
+ return [
17171
+ [this.bot, types._TypeInputUser, "InputUser"],
17172
+ ];
17173
+ }
17174
+ constructor(params) {
17175
+ super();
17176
+ Object.defineProperty(this, "bot", {
17177
+ enumerable: true,
17178
+ configurable: true,
17179
+ writable: true,
17180
+ value: void 0
17181
+ });
17182
+ this.bot = params.bot;
17183
+ }
17184
+ }
17185
+ export class BotsInvokeWebViewCustomMethod extends Function {
17186
+ get [id]() {
17187
+ return 0x087FC5E7;
17188
+ }
17189
+ static get [paramDesc]() {
17190
+ return [
17191
+ ["bot", types._TypeInputUser, "InputUser"],
17192
+ ["customMethod", "string", "string"],
17193
+ ["params", types._TypeDataJSON, "DataJSON"],
17194
+ ];
17195
+ }
17196
+ get [params]() {
17197
+ return [
17198
+ [this.bot, types._TypeInputUser, "InputUser"],
17199
+ [this.customMethod, "string", "string"],
17200
+ [this.params, types._TypeDataJSON, "DataJSON"],
17201
+ ];
17202
+ }
17203
+ constructor(params) {
17204
+ super();
17205
+ Object.defineProperty(this, "bot", {
17206
+ enumerable: true,
17207
+ configurable: true,
17208
+ writable: true,
17209
+ value: void 0
17210
+ });
17211
+ Object.defineProperty(this, "customMethod", {
17212
+ enumerable: true,
17213
+ configurable: true,
17214
+ writable: true,
17215
+ value: void 0
17216
+ });
17217
+ Object.defineProperty(this, "params", {
17218
+ enumerable: true,
17219
+ configurable: true,
17220
+ writable: true,
17221
+ value: void 0
17222
+ });
17223
+ this.bot = params.bot;
17224
+ this.customMethod = params.customMethod;
17225
+ this.params = params.params;
17226
+ }
17227
+ }
17166
17228
  export class PaymentsGetPaymentForm extends Function {
17167
17229
  get [id]() {
17168
17230
  return 0x37148DBB;
@@ -20023,15 +20085,41 @@ export class ChatlistsLeaveChatlist extends Function {
20023
20085
  this.peers = params.peers;
20024
20086
  }
20025
20087
  }
20088
+ export class StoriesCanSendStory extends Function {
20089
+ get [id]() {
20090
+ return 0xC7DFDFDD;
20091
+ }
20092
+ static get [paramDesc]() {
20093
+ return [
20094
+ ["peer", types._TypeInputPeer, "InputPeer"],
20095
+ ];
20096
+ }
20097
+ get [params]() {
20098
+ return [
20099
+ [this.peer, types._TypeInputPeer, "InputPeer"],
20100
+ ];
20101
+ }
20102
+ constructor(params) {
20103
+ super();
20104
+ Object.defineProperty(this, "peer", {
20105
+ enumerable: true,
20106
+ configurable: true,
20107
+ writable: true,
20108
+ value: void 0
20109
+ });
20110
+ this.peer = params.peer;
20111
+ }
20112
+ }
20026
20113
  export class StoriesSendStory extends Function {
20027
20114
  get [id]() {
20028
- return 0xD455FCEC;
20115
+ return 0xBCB73644;
20029
20116
  }
20030
20117
  static get [paramDesc]() {
20031
20118
  return [
20032
20119
  ["flags", flags, "#"],
20033
20120
  ["pinned", "true", "flags.2?true"],
20034
20121
  ["noforwards", "true", "flags.4?true"],
20122
+ ["peer", types._TypeInputPeer, "InputPeer"],
20035
20123
  ["media", types._TypeInputMedia, "InputMedia"],
20036
20124
  ["mediaAreas", [types._TypeMediaArea], "flags.5?Vector<MediaArea>"],
20037
20125
  ["caption", "string", "flags.0?string"],
@@ -20046,6 +20134,7 @@ export class StoriesSendStory extends Function {
20046
20134
  ["flags", flags, "#"],
20047
20135
  [this.pinned ?? null, "true", "flags.2?true"],
20048
20136
  [this.noforwards ?? null, "true", "flags.4?true"],
20137
+ [this.peer, types._TypeInputPeer, "InputPeer"],
20049
20138
  [this.media, types._TypeInputMedia, "InputMedia"],
20050
20139
  [this.mediaAreas ?? null, [types._TypeMediaArea], "flags.5?Vector<MediaArea>"],
20051
20140
  [this.caption ?? null, "string", "flags.0?string"],
@@ -20069,6 +20158,12 @@ export class StoriesSendStory extends Function {
20069
20158
  writable: true,
20070
20159
  value: void 0
20071
20160
  });
20161
+ Object.defineProperty(this, "peer", {
20162
+ enumerable: true,
20163
+ configurable: true,
20164
+ writable: true,
20165
+ value: void 0
20166
+ });
20072
20167
  Object.defineProperty(this, "media", {
20073
20168
  enumerable: true,
20074
20169
  configurable: true,
@@ -20113,6 +20208,7 @@ export class StoriesSendStory extends Function {
20113
20208
  });
20114
20209
  this.pinned = params.pinned;
20115
20210
  this.noforwards = params.noforwards;
20211
+ this.peer = params.peer;
20116
20212
  this.media = params.media;
20117
20213
  this.mediaAreas = params.mediaAreas;
20118
20214
  this.caption = params.caption;
@@ -20124,11 +20220,12 @@ export class StoriesSendStory extends Function {
20124
20220
  }
20125
20221
  export class StoriesEditStory extends Function {
20126
20222
  get [id]() {
20127
- return 0xA9B91AE4;
20223
+ return 0xB583BA46;
20128
20224
  }
20129
20225
  static get [paramDesc]() {
20130
20226
  return [
20131
20227
  ["flags", flags, "#"],
20228
+ ["peer", types._TypeInputPeer, "InputPeer"],
20132
20229
  ["id", "number", "int"],
20133
20230
  ["media", types._TypeInputMedia, "flags.0?InputMedia"],
20134
20231
  ["mediaAreas", [types._TypeMediaArea], "flags.3?Vector<MediaArea>"],
@@ -20140,6 +20237,7 @@ export class StoriesEditStory extends Function {
20140
20237
  get [params]() {
20141
20238
  return [
20142
20239
  ["flags", flags, "#"],
20240
+ [this.peer, types._TypeInputPeer, "InputPeer"],
20143
20241
  [this.id, "number", "int"],
20144
20242
  [this.media ?? null, types._TypeInputMedia, "flags.0?InputMedia"],
20145
20243
  [this.mediaAreas ?? null, [types._TypeMediaArea], "flags.3?Vector<MediaArea>"],
@@ -20150,6 +20248,12 @@ export class StoriesEditStory extends Function {
20150
20248
  }
20151
20249
  constructor(params) {
20152
20250
  super();
20251
+ Object.defineProperty(this, "peer", {
20252
+ enumerable: true,
20253
+ configurable: true,
20254
+ writable: true,
20255
+ value: void 0
20256
+ });
20153
20257
  Object.defineProperty(this, "id", {
20154
20258
  enumerable: true,
20155
20259
  configurable: true,
@@ -20186,6 +20290,7 @@ export class StoriesEditStory extends Function {
20186
20290
  writable: true,
20187
20291
  value: void 0
20188
20292
  });
20293
+ this.peer = params.peer;
20189
20294
  this.id = params.id;
20190
20295
  this.media = params.media;
20191
20296
  this.mediaAreas = params.mediaAreas;
@@ -20196,47 +20301,64 @@ export class StoriesEditStory extends Function {
20196
20301
  }
20197
20302
  export class StoriesDeleteStories extends Function {
20198
20303
  get [id]() {
20199
- return 0xB5D501D7;
20304
+ return 0xAE59DB5F;
20200
20305
  }
20201
20306
  static get [paramDesc]() {
20202
20307
  return [
20308
+ ["peer", types._TypeInputPeer, "InputPeer"],
20203
20309
  ["id", ["number"], "Vector<int>"],
20204
20310
  ];
20205
20311
  }
20206
20312
  get [params]() {
20207
20313
  return [
20314
+ [this.peer, types._TypeInputPeer, "InputPeer"],
20208
20315
  [this.id, ["number"], "Vector<int>"],
20209
20316
  ];
20210
20317
  }
20211
20318
  constructor(params) {
20212
20319
  super();
20320
+ Object.defineProperty(this, "peer", {
20321
+ enumerable: true,
20322
+ configurable: true,
20323
+ writable: true,
20324
+ value: void 0
20325
+ });
20213
20326
  Object.defineProperty(this, "id", {
20214
20327
  enumerable: true,
20215
20328
  configurable: true,
20216
20329
  writable: true,
20217
20330
  value: void 0
20218
20331
  });
20332
+ this.peer = params.peer;
20219
20333
  this.id = params.id;
20220
20334
  }
20221
20335
  }
20222
20336
  export class StoriesTogglePinned extends Function {
20223
20337
  get [id]() {
20224
- return 0x51602944;
20338
+ return 0x9A75A1EF;
20225
20339
  }
20226
20340
  static get [paramDesc]() {
20227
20341
  return [
20342
+ ["peer", types._TypeInputPeer, "InputPeer"],
20228
20343
  ["id", ["number"], "Vector<int>"],
20229
20344
  ["pinned", "boolean", "Bool"],
20230
20345
  ];
20231
20346
  }
20232
20347
  get [params]() {
20233
20348
  return [
20349
+ [this.peer, types._TypeInputPeer, "InputPeer"],
20234
20350
  [this.id, ["number"], "Vector<int>"],
20235
20351
  [this.pinned, "boolean", "Bool"],
20236
20352
  ];
20237
20353
  }
20238
20354
  constructor(params) {
20239
20355
  super();
20356
+ Object.defineProperty(this, "peer", {
20357
+ enumerable: true,
20358
+ configurable: true,
20359
+ writable: true,
20360
+ value: void 0
20361
+ });
20240
20362
  Object.defineProperty(this, "id", {
20241
20363
  enumerable: true,
20242
20364
  configurable: true,
@@ -20249,6 +20371,7 @@ export class StoriesTogglePinned extends Function {
20249
20371
  writable: true,
20250
20372
  value: void 0
20251
20373
  });
20374
+ this.peer = params.peer;
20252
20375
  this.id = params.id;
20253
20376
  this.pinned = params.pinned;
20254
20377
  }
@@ -20298,52 +20421,27 @@ export class StoriesGetAllStories extends Function {
20298
20421
  this.state = params?.state;
20299
20422
  }
20300
20423
  }
20301
- export class StoriesGetUserStories extends Function {
20302
- get [id]() {
20303
- return 0x96D528E0;
20304
- }
20305
- static get [paramDesc]() {
20306
- return [
20307
- ["userId", types._TypeInputUser, "InputUser"],
20308
- ];
20309
- }
20310
- get [params]() {
20311
- return [
20312
- [this.userId, types._TypeInputUser, "InputUser"],
20313
- ];
20314
- }
20315
- constructor(params) {
20316
- super();
20317
- Object.defineProperty(this, "userId", {
20318
- enumerable: true,
20319
- configurable: true,
20320
- writable: true,
20321
- value: void 0
20322
- });
20323
- this.userId = params.userId;
20324
- }
20325
- }
20326
20424
  export class StoriesGetPinnedStories extends Function {
20327
20425
  get [id]() {
20328
- return 0x0B471137;
20426
+ return 0x5821A5DC;
20329
20427
  }
20330
20428
  static get [paramDesc]() {
20331
20429
  return [
20332
- ["userId", types._TypeInputUser, "InputUser"],
20430
+ ["peer", types._TypeInputPeer, "InputPeer"],
20333
20431
  ["offsetId", "number", "int"],
20334
20432
  ["limit", "number", "int"],
20335
20433
  ];
20336
20434
  }
20337
20435
  get [params]() {
20338
20436
  return [
20339
- [this.userId, types._TypeInputUser, "InputUser"],
20437
+ [this.peer, types._TypeInputPeer, "InputPeer"],
20340
20438
  [this.offsetId, "number", "int"],
20341
20439
  [this.limit, "number", "int"],
20342
20440
  ];
20343
20441
  }
20344
20442
  constructor(params) {
20345
20443
  super();
20346
- Object.defineProperty(this, "userId", {
20444
+ Object.defineProperty(this, "peer", {
20347
20445
  enumerable: true,
20348
20446
  configurable: true,
20349
20447
  writable: true,
@@ -20361,64 +20459,73 @@ export class StoriesGetPinnedStories extends Function {
20361
20459
  writable: true,
20362
20460
  value: void 0
20363
20461
  });
20364
- this.userId = params.userId;
20462
+ this.peer = params.peer;
20365
20463
  this.offsetId = params.offsetId;
20366
20464
  this.limit = params.limit;
20367
20465
  }
20368
20466
  }
20369
20467
  export class StoriesGetStoriesArchive extends Function {
20370
20468
  get [id]() {
20371
- return 0x1F5BC5D2;
20469
+ return 0xB4352016;
20372
20470
  }
20373
20471
  static get [paramDesc]() {
20374
20472
  return [
20473
+ ["peer", types._TypeInputPeer, "InputPeer"],
20375
20474
  ["offsetId", "number", "int"],
20376
20475
  ["limit", "number", "int"],
20377
20476
  ];
20378
20477
  }
20379
20478
  get [params]() {
20380
20479
  return [
20480
+ [this.peer, types._TypeInputPeer, "InputPeer"],
20381
20481
  [this.offsetId, "number", "int"],
20382
20482
  [this.limit, "number", "int"],
20383
20483
  ];
20384
20484
  }
20385
20485
  constructor(params) {
20386
20486
  super();
20387
- Object.defineProperty(this, "offsetId", {
20487
+ Object.defineProperty(this, "peer", {
20388
20488
  enumerable: true,
20389
20489
  configurable: true,
20390
20490
  writable: true,
20391
20491
  value: void 0
20392
20492
  });
20393
- Object.defineProperty(this, "limit", {
20493
+ Object.defineProperty(this, "offsetId", {
20494
+ enumerable: true,
20495
+ configurable: true,
20496
+ writable: true,
20497
+ value: void 0
20498
+ });
20499
+ Object.defineProperty(this, "limit", {
20394
20500
  enumerable: true,
20395
20501
  configurable: true,
20396
20502
  writable: true,
20397
20503
  value: void 0
20398
20504
  });
20505
+ this.peer = params.peer;
20399
20506
  this.offsetId = params.offsetId;
20400
20507
  this.limit = params.limit;
20401
20508
  }
20402
20509
  }
20403
20510
  export class StoriesGetStoriesByID extends Function {
20404
20511
  get [id]() {
20405
- return 0x6A15CF46;
20512
+ return 0x5774CA74;
20406
20513
  }
20407
20514
  static get [paramDesc]() {
20408
20515
  return [
20409
- ["userId", types._TypeInputUser, "InputUser"],
20516
+ ["peer", types._TypeInputPeer, "InputPeer"],
20410
20517
  ["id", ["number"], "Vector<int>"],
20411
20518
  ];
20412
20519
  }
20413
20520
  get [params]() {
20414
20521
  return [
20415
- [this.userId, types._TypeInputUser, "InputUser"],
20522
+ [this.peer, types._TypeInputPeer, "InputPeer"],
20416
20523
  [this.id, ["number"], "Vector<int>"],
20417
20524
  ];
20418
20525
  }
20419
20526
  constructor(params) {
20420
20527
  super();
20421
- Object.defineProperty(this, "userId", {
20528
+ Object.defineProperty(this, "peer", {
20422
20529
  enumerable: true,
20423
20530
  configurable: true,
20424
20531
  writable: true,
@@ -20430,7 +20537,7 @@ export class StoriesGetStoriesByID extends Function {
20430
20537
  writable: true,
20431
20538
  value: void 0
20432
20539
  });
20433
- this.userId = params.userId;
20540
+ this.peer = params.peer;
20434
20541
  this.id = params.id;
20435
20542
  }
20436
20543
  }
@@ -20459,39 +20566,25 @@ export class StoriesToggleAllStoriesHidden extends Function {
20459
20566
  this.hidden = params.hidden;
20460
20567
  }
20461
20568
  }
20462
- export class StoriesGetAllReadUserStories extends Function {
20463
- get [id]() {
20464
- return 0x729C562C;
20465
- }
20466
- static get [paramDesc]() {
20467
- return [];
20468
- }
20469
- get [params]() {
20470
- return [];
20471
- }
20472
- constructor() {
20473
- super();
20474
- }
20475
- }
20476
20569
  export class StoriesReadStories extends Function {
20477
20570
  get [id]() {
20478
- return 0xEDC5105B;
20571
+ return 0xA556DAC8;
20479
20572
  }
20480
20573
  static get [paramDesc]() {
20481
20574
  return [
20482
- ["userId", types._TypeInputUser, "InputUser"],
20575
+ ["peer", types._TypeInputPeer, "InputPeer"],
20483
20576
  ["maxId", "number", "int"],
20484
20577
  ];
20485
20578
  }
20486
20579
  get [params]() {
20487
20580
  return [
20488
- [this.userId, types._TypeInputUser, "InputUser"],
20581
+ [this.peer, types._TypeInputPeer, "InputPeer"],
20489
20582
  [this.maxId, "number", "int"],
20490
20583
  ];
20491
20584
  }
20492
20585
  constructor(params) {
20493
20586
  super();
20494
- Object.defineProperty(this, "userId", {
20587
+ Object.defineProperty(this, "peer", {
20495
20588
  enumerable: true,
20496
20589
  configurable: true,
20497
20590
  writable: true,
@@ -20503,29 +20596,29 @@ export class StoriesReadStories extends Function {
20503
20596
  writable: true,
20504
20597
  value: void 0
20505
20598
  });
20506
- this.userId = params.userId;
20599
+ this.peer = params.peer;
20507
20600
  this.maxId = params.maxId;
20508
20601
  }
20509
20602
  }
20510
20603
  export class StoriesIncrementStoryViews extends Function {
20511
20604
  get [id]() {
20512
- return 0x22126127;
20605
+ return 0xB2028AFB;
20513
20606
  }
20514
20607
  static get [paramDesc]() {
20515
20608
  return [
20516
- ["userId", types._TypeInputUser, "InputUser"],
20609
+ ["peer", types._TypeInputPeer, "InputPeer"],
20517
20610
  ["id", ["number"], "Vector<int>"],
20518
20611
  ];
20519
20612
  }
20520
20613
  get [params]() {
20521
20614
  return [
20522
- [this.userId, types._TypeInputUser, "InputUser"],
20615
+ [this.peer, types._TypeInputPeer, "InputPeer"],
20523
20616
  [this.id, ["number"], "Vector<int>"],
20524
20617
  ];
20525
20618
  }
20526
20619
  constructor(params) {
20527
20620
  super();
20528
- Object.defineProperty(this, "userId", {
20621
+ Object.defineProperty(this, "peer", {
20529
20622
  enumerable: true,
20530
20623
  configurable: true,
20531
20624
  writable: true,
@@ -20537,19 +20630,20 @@ export class StoriesIncrementStoryViews extends Function {
20537
20630
  writable: true,
20538
20631
  value: void 0
20539
20632
  });
20540
- this.userId = params.userId;
20633
+ this.peer = params.peer;
20541
20634
  this.id = params.id;
20542
20635
  }
20543
20636
  }
20544
20637
  export class StoriesGetStoryViewsList extends Function {
20545
20638
  get [id]() {
20546
- return 0xF95F61A4;
20639
+ return 0x7ED23C57;
20547
20640
  }
20548
20641
  static get [paramDesc]() {
20549
20642
  return [
20550
20643
  ["flags", flags, "#"],
20551
20644
  ["justContacts", "true", "flags.0?true"],
20552
20645
  ["reactionsFirst", "true", "flags.2?true"],
20646
+ ["peer", types._TypeInputPeer, "InputPeer"],
20553
20647
  ["q", "string", "flags.1?string"],
20554
20648
  ["id", "number", "int"],
20555
20649
  ["offset", "string", "string"],
@@ -20561,6 +20655,7 @@ export class StoriesGetStoryViewsList extends Function {
20561
20655
  ["flags", flags, "#"],
20562
20656
  [this.justContacts ?? null, "true", "flags.0?true"],
20563
20657
  [this.reactionsFirst ?? null, "true", "flags.2?true"],
20658
+ [this.peer, types._TypeInputPeer, "InputPeer"],
20564
20659
  [this.q ?? null, "string", "flags.1?string"],
20565
20660
  [this.id, "number", "int"],
20566
20661
  [this.offset, "string", "string"],
@@ -20581,6 +20676,12 @@ export class StoriesGetStoryViewsList extends Function {
20581
20676
  writable: true,
20582
20677
  value: void 0
20583
20678
  });
20679
+ Object.defineProperty(this, "peer", {
20680
+ enumerable: true,
20681
+ configurable: true,
20682
+ writable: true,
20683
+ value: void 0
20684
+ });
20584
20685
  Object.defineProperty(this, "q", {
20585
20686
  enumerable: true,
20586
20687
  configurable: true,
@@ -20607,6 +20708,7 @@ export class StoriesGetStoryViewsList extends Function {
20607
20708
  });
20608
20709
  this.justContacts = params.justContacts;
20609
20710
  this.reactionsFirst = params.reactionsFirst;
20711
+ this.peer = params.peer;
20610
20712
  this.q = params.q;
20611
20713
  this.id = params.id;
20612
20714
  this.offset = params.offset;
@@ -20615,48 +20717,57 @@ export class StoriesGetStoryViewsList extends Function {
20615
20717
  }
20616
20718
  export class StoriesGetStoriesViews extends Function {
20617
20719
  get [id]() {
20618
- return 0x9A75D6A6;
20720
+ return 0x28E16CC8;
20619
20721
  }
20620
20722
  static get [paramDesc]() {
20621
20723
  return [
20724
+ ["peer", types._TypeInputPeer, "InputPeer"],
20622
20725
  ["id", ["number"], "Vector<int>"],
20623
20726
  ];
20624
20727
  }
20625
20728
  get [params]() {
20626
20729
  return [
20730
+ [this.peer, types._TypeInputPeer, "InputPeer"],
20627
20731
  [this.id, ["number"], "Vector<int>"],
20628
20732
  ];
20629
20733
  }
20630
20734
  constructor(params) {
20631
20735
  super();
20736
+ Object.defineProperty(this, "peer", {
20737
+ enumerable: true,
20738
+ configurable: true,
20739
+ writable: true,
20740
+ value: void 0
20741
+ });
20632
20742
  Object.defineProperty(this, "id", {
20633
20743
  enumerable: true,
20634
20744
  configurable: true,
20635
20745
  writable: true,
20636
20746
  value: void 0
20637
20747
  });
20748
+ this.peer = params.peer;
20638
20749
  this.id = params.id;
20639
20750
  }
20640
20751
  }
20641
20752
  export class StoriesExportStoryLink extends Function {
20642
20753
  get [id]() {
20643
- return 0x16E443CE;
20754
+ return 0x7B8DEF20;
20644
20755
  }
20645
20756
  static get [paramDesc]() {
20646
20757
  return [
20647
- ["userId", types._TypeInputUser, "InputUser"],
20758
+ ["peer", types._TypeInputPeer, "InputPeer"],
20648
20759
  ["id", "number", "int"],
20649
20760
  ];
20650
20761
  }
20651
20762
  get [params]() {
20652
20763
  return [
20653
- [this.userId, types._TypeInputUser, "InputUser"],
20764
+ [this.peer, types._TypeInputPeer, "InputPeer"],
20654
20765
  [this.id, "number", "int"],
20655
20766
  ];
20656
20767
  }
20657
20768
  constructor(params) {
20658
20769
  super();
20659
- Object.defineProperty(this, "userId", {
20770
+ Object.defineProperty(this, "peer", {
20660
20771
  enumerable: true,
20661
20772
  configurable: true,
20662
20773
  writable: true,
@@ -20668,17 +20779,17 @@ export class StoriesExportStoryLink extends Function {
20668
20779
  writable: true,
20669
20780
  value: void 0
20670
20781
  });
20671
- this.userId = params.userId;
20782
+ this.peer = params.peer;
20672
20783
  this.id = params.id;
20673
20784
  }
20674
20785
  }
20675
20786
  export class StoriesReport extends Function {
20676
20787
  get [id]() {
20677
- return 0xC95BE06A;
20788
+ return 0x1923FA8C;
20678
20789
  }
20679
20790
  static get [paramDesc]() {
20680
20791
  return [
20681
- ["userId", types._TypeInputUser, "InputUser"],
20792
+ ["peer", types._TypeInputPeer, "InputPeer"],
20682
20793
  ["id", ["number"], "Vector<int>"],
20683
20794
  ["reason", types._TypeReportReason, "ReportReason"],
20684
20795
  ["message", "string", "string"],
@@ -20686,7 +20797,7 @@ export class StoriesReport extends Function {
20686
20797
  }
20687
20798
  get [params]() {
20688
20799
  return [
20689
- [this.userId, types._TypeInputUser, "InputUser"],
20800
+ [this.peer, types._TypeInputPeer, "InputPeer"],
20690
20801
  [this.id, ["number"], "Vector<int>"],
20691
20802
  [this.reason, types._TypeReportReason, "ReportReason"],
20692
20803
  [this.message, "string", "string"],
@@ -20694,7 +20805,7 @@ export class StoriesReport extends Function {
20694
20805
  }
20695
20806
  constructor(params) {
20696
20807
  super();
20697
- Object.defineProperty(this, "userId", {
20808
+ Object.defineProperty(this, "peer", {
20698
20809
  enumerable: true,
20699
20810
  configurable: true,
20700
20811
  writable: true,
@@ -20718,7 +20829,7 @@ export class StoriesReport extends Function {
20718
20829
  writable: true,
20719
20830
  value: void 0
20720
20831
  });
20721
- this.userId = params.userId;
20832
+ this.peer = params.peer;
20722
20833
  this.id = params.id;
20723
20834
  this.reason = params.reason;
20724
20835
  this.message = params.message;
@@ -20762,13 +20873,13 @@ export class StoriesActivateStealthMode extends Function {
20762
20873
  }
20763
20874
  export class StoriesSendReaction extends Function {
20764
20875
  get [id]() {
20765
- return 0x49AAA9B3;
20876
+ return 0x7FD736B2;
20766
20877
  }
20767
20878
  static get [paramDesc]() {
20768
20879
  return [
20769
20880
  ["flags", flags, "#"],
20770
20881
  ["addToRecent", "true", "flags.0?true"],
20771
- ["userId", types._TypeInputUser, "InputUser"],
20882
+ ["peer", types._TypeInputPeer, "InputPeer"],
20772
20883
  ["storyId", "number", "int"],
20773
20884
  ["reaction", types._TypeReaction, "Reaction"],
20774
20885
  ];
@@ -20777,7 +20888,7 @@ export class StoriesSendReaction extends Function {
20777
20888
  return [
20778
20889
  ["flags", flags, "#"],
20779
20890
  [this.addToRecent ?? null, "true", "flags.0?true"],
20780
- [this.userId, types._TypeInputUser, "InputUser"],
20891
+ [this.peer, types._TypeInputPeer, "InputPeer"],
20781
20892
  [this.storyId, "number", "int"],
20782
20893
  [this.reaction, types._TypeReaction, "Reaction"],
20783
20894
  ];
@@ -20790,7 +20901,7 @@ export class StoriesSendReaction extends Function {
20790
20901
  writable: true,
20791
20902
  value: void 0
20792
20903
  });
20793
- Object.defineProperty(this, "userId", {
20904
+ Object.defineProperty(this, "peer", {
20794
20905
  enumerable: true,
20795
20906
  configurable: true,
20796
20907
  writable: true,
@@ -20809,8 +20920,238 @@ export class StoriesSendReaction extends Function {
20809
20920
  value: void 0
20810
20921
  });
20811
20922
  this.addToRecent = params.addToRecent;
20812
- this.userId = params.userId;
20923
+ this.peer = params.peer;
20813
20924
  this.storyId = params.storyId;
20814
20925
  this.reaction = params.reaction;
20815
20926
  }
20816
20927
  }
20928
+ export class StoriesGetPeerStories extends Function {
20929
+ get [id]() {
20930
+ return 0x2C4ADA50;
20931
+ }
20932
+ static get [paramDesc]() {
20933
+ return [
20934
+ ["peer", types._TypeInputPeer, "InputPeer"],
20935
+ ];
20936
+ }
20937
+ get [params]() {
20938
+ return [
20939
+ [this.peer, types._TypeInputPeer, "InputPeer"],
20940
+ ];
20941
+ }
20942
+ constructor(params) {
20943
+ super();
20944
+ Object.defineProperty(this, "peer", {
20945
+ enumerable: true,
20946
+ configurable: true,
20947
+ writable: true,
20948
+ value: void 0
20949
+ });
20950
+ this.peer = params.peer;
20951
+ }
20952
+ }
20953
+ export class StoriesGetAllReadPeerStories extends Function {
20954
+ get [id]() {
20955
+ return 0x9B5AE7F9;
20956
+ }
20957
+ static get [paramDesc]() {
20958
+ return [];
20959
+ }
20960
+ get [params]() {
20961
+ return [];
20962
+ }
20963
+ constructor() {
20964
+ super();
20965
+ }
20966
+ }
20967
+ export class StoriesGetPeerMaxIDs extends Function {
20968
+ get [id]() {
20969
+ return 0x535983C3;
20970
+ }
20971
+ static get [paramDesc]() {
20972
+ return [
20973
+ ["id", [types._TypeInputPeer], "Vector<InputPeer>"],
20974
+ ];
20975
+ }
20976
+ get [params]() {
20977
+ return [
20978
+ [this.id, [types._TypeInputPeer], "Vector<InputPeer>"],
20979
+ ];
20980
+ }
20981
+ constructor(params) {
20982
+ super();
20983
+ Object.defineProperty(this, "id", {
20984
+ enumerable: true,
20985
+ configurable: true,
20986
+ writable: true,
20987
+ value: void 0
20988
+ });
20989
+ this.id = params.id;
20990
+ }
20991
+ }
20992
+ export class StoriesGetChatsToSend extends Function {
20993
+ get [id]() {
20994
+ return 0xA56A8B60;
20995
+ }
20996
+ static get [paramDesc]() {
20997
+ return [];
20998
+ }
20999
+ get [params]() {
21000
+ return [];
21001
+ }
21002
+ constructor() {
21003
+ super();
21004
+ }
21005
+ }
21006
+ export class StoriesTogglePeerStoriesHidden extends Function {
21007
+ get [id]() {
21008
+ return 0xBD0415C4;
21009
+ }
21010
+ static get [paramDesc]() {
21011
+ return [
21012
+ ["peer", types._TypeInputPeer, "InputPeer"],
21013
+ ["hidden", "boolean", "Bool"],
21014
+ ];
21015
+ }
21016
+ get [params]() {
21017
+ return [
21018
+ [this.peer, types._TypeInputPeer, "InputPeer"],
21019
+ [this.hidden, "boolean", "Bool"],
21020
+ ];
21021
+ }
21022
+ constructor(params) {
21023
+ super();
21024
+ Object.defineProperty(this, "peer", {
21025
+ enumerable: true,
21026
+ configurable: true,
21027
+ writable: true,
21028
+ value: void 0
21029
+ });
21030
+ Object.defineProperty(this, "hidden", {
21031
+ enumerable: true,
21032
+ configurable: true,
21033
+ writable: true,
21034
+ value: void 0
21035
+ });
21036
+ this.peer = params.peer;
21037
+ this.hidden = params.hidden;
21038
+ }
21039
+ }
21040
+ export class StoriesGetBoostsStatus extends Function {
21041
+ get [id]() {
21042
+ return 0x4C449472;
21043
+ }
21044
+ static get [paramDesc]() {
21045
+ return [
21046
+ ["peer", types._TypeInputPeer, "InputPeer"],
21047
+ ];
21048
+ }
21049
+ get [params]() {
21050
+ return [
21051
+ [this.peer, types._TypeInputPeer, "InputPeer"],
21052
+ ];
21053
+ }
21054
+ constructor(params) {
21055
+ super();
21056
+ Object.defineProperty(this, "peer", {
21057
+ enumerable: true,
21058
+ configurable: true,
21059
+ writable: true,
21060
+ value: void 0
21061
+ });
21062
+ this.peer = params.peer;
21063
+ }
21064
+ }
21065
+ export class StoriesGetBoostersList extends Function {
21066
+ get [id]() {
21067
+ return 0x337EF980;
21068
+ }
21069
+ static get [paramDesc]() {
21070
+ return [
21071
+ ["peer", types._TypeInputPeer, "InputPeer"],
21072
+ ["offset", "string", "string"],
21073
+ ["limit", "number", "int"],
21074
+ ];
21075
+ }
21076
+ get [params]() {
21077
+ return [
21078
+ [this.peer, types._TypeInputPeer, "InputPeer"],
21079
+ [this.offset, "string", "string"],
21080
+ [this.limit, "number", "int"],
21081
+ ];
21082
+ }
21083
+ constructor(params) {
21084
+ super();
21085
+ Object.defineProperty(this, "peer", {
21086
+ enumerable: true,
21087
+ configurable: true,
21088
+ writable: true,
21089
+ value: void 0
21090
+ });
21091
+ Object.defineProperty(this, "offset", {
21092
+ enumerable: true,
21093
+ configurable: true,
21094
+ writable: true,
21095
+ value: void 0
21096
+ });
21097
+ Object.defineProperty(this, "limit", {
21098
+ enumerable: true,
21099
+ configurable: true,
21100
+ writable: true,
21101
+ value: void 0
21102
+ });
21103
+ this.peer = params.peer;
21104
+ this.offset = params.offset;
21105
+ this.limit = params.limit;
21106
+ }
21107
+ }
21108
+ export class StoriesCanApplyBoost extends Function {
21109
+ get [id]() {
21110
+ return 0xDB05C1BD;
21111
+ }
21112
+ static get [paramDesc]() {
21113
+ return [
21114
+ ["peer", types._TypeInputPeer, "InputPeer"],
21115
+ ];
21116
+ }
21117
+ get [params]() {
21118
+ return [
21119
+ [this.peer, types._TypeInputPeer, "InputPeer"],
21120
+ ];
21121
+ }
21122
+ constructor(params) {
21123
+ super();
21124
+ Object.defineProperty(this, "peer", {
21125
+ enumerable: true,
21126
+ configurable: true,
21127
+ writable: true,
21128
+ value: void 0
21129
+ });
21130
+ this.peer = params.peer;
21131
+ }
21132
+ }
21133
+ export class StoriesApplyBoost extends Function {
21134
+ get [id]() {
21135
+ return 0xF29D7C2B;
21136
+ }
21137
+ static get [paramDesc]() {
21138
+ return [
21139
+ ["peer", types._TypeInputPeer, "InputPeer"],
21140
+ ];
21141
+ }
21142
+ get [params]() {
21143
+ return [
21144
+ [this.peer, types._TypeInputPeer, "InputPeer"],
21145
+ ];
21146
+ }
21147
+ constructor(params) {
21148
+ super();
21149
+ Object.defineProperty(this, "peer", {
21150
+ enumerable: true,
21151
+ configurable: true,
21152
+ writable: true,
21153
+ value: void 0
21154
+ });
21155
+ this.peer = params.peer;
21156
+ }
21157
+ }