@tgsnake/skema 3.1.0-browser.0 → 3.1.0

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 (65) hide show
  1. package/dist/src/deps.d.ts +3 -4
  2. package/dist/src/deps.js +4 -4
  3. package/dist/src/raw/class/All.d.ts +1 -1
  4. package/dist/src/raw/class/All.js +2739 -2739
  5. package/dist/src/raw/class/Raw.d.ts +7516 -7516
  6. package/dist/src/raw/class/Raw.js +20426 -26448
  7. package/dist/src/raw/class/tl/account.d.ts +841 -841
  8. package/dist/src/raw/class/tl/account.js +1813 -1983
  9. package/dist/src/raw/class/tl/aicompose.d.ts +51 -51
  10. package/dist/src/raw/class/tl/aicompose.js +117 -128
  11. package/dist/src/raw/class/tl/auth.d.ts +296 -296
  12. package/dist/src/raw/class/tl/auth.js +714 -849
  13. package/dist/src/raw/class/tl/bots.d.ts +231 -231
  14. package/dist/src/raw/class/tl/bots.js +504 -524
  15. package/dist/src/raw/class/tl/channels.d.ts +331 -331
  16. package/dist/src/raw/class/tl/channels.js +732 -823
  17. package/dist/src/raw/class/tl/chatlists.d.ts +81 -81
  18. package/dist/src/raw/class/tl/chatlists.js +183 -196
  19. package/dist/src/raw/class/tl/communities.d.ts +56 -56
  20. package/dist/src/raw/class/tl/communities.js +138 -159
  21. package/dist/src/raw/class/tl/contacts.d.ts +216 -216
  22. package/dist/src/raw/class/tl/contacts.js +492 -537
  23. package/dist/src/raw/class/tl/ephemeral.d.ts +51 -51
  24. package/dist/src/raw/class/tl/ephemeral.js +152 -204
  25. package/dist/src/raw/class/tl/folders.d.ts +6 -6
  26. package/dist/src/raw/class/tl/folders.js +11 -11
  27. package/dist/src/raw/class/tl/fragment.d.ts +11 -11
  28. package/dist/src/raw/class/tl/fragment.js +25 -32
  29. package/dist/src/raw/class/tl/help.d.ts +286 -286
  30. package/dist/src/raw/class/tl/help.js +618 -686
  31. package/dist/src/raw/class/tl/langpack.d.ts +26 -26
  32. package/dist/src/raw/class/tl/langpack.js +57 -57
  33. package/dist/src/raw/class/tl/messages.d.ts +1851 -1851
  34. package/dist/src/raw/class/tl/messages.js +4854 -5924
  35. package/dist/src/raw/class/tl/payments.d.ts +641 -641
  36. package/dist/src/raw/class/tl/payments.js +1734 -2198
  37. package/dist/src/raw/class/tl/phone.d.ts +256 -256
  38. package/dist/src/raw/class/tl/phone.js +644 -779
  39. package/dist/src/raw/class/tl/photos.d.ts +41 -41
  40. package/dist/src/raw/class/tl/photos.js +116 -139
  41. package/dist/src/raw/class/tl/premium.d.ts +41 -41
  42. package/dist/src/raw/class/tl/premium.js +111 -133
  43. package/dist/src/raw/class/tl/smsjobs.d.ts +46 -46
  44. package/dist/src/raw/class/tl/smsjobs.js +97 -115
  45. package/dist/src/raw/class/tl/stats.d.ts +71 -71
  46. package/dist/src/raw/class/tl/stats.js +169 -268
  47. package/dist/src/raw/class/tl/stickers.d.ts +61 -61
  48. package/dist/src/raw/class/tl/stickers.js +144 -173
  49. package/dist/src/raw/class/tl/storage.d.ts +51 -51
  50. package/dist/src/raw/class/tl/storage.js +71 -71
  51. package/dist/src/raw/class/tl/stories.d.ts +221 -221
  52. package/dist/src/raw/class/tl/stories.js +622 -781
  53. package/dist/src/raw/class/tl/toncenter.d.ts +21 -21
  54. package/dist/src/raw/class/tl/toncenter.js +47 -52
  55. package/dist/src/raw/class/tl/updates.d.ts +56 -56
  56. package/dist/src/raw/class/tl/updates.js +175 -246
  57. package/dist/src/raw/class/tl/upload.d.ts +66 -66
  58. package/dist/src/raw/class/tl/upload.js +155 -178
  59. package/dist/src/raw/class/tl/users.d.ts +61 -61
  60. package/dist/src/raw/class/tl/users.js +124 -124
  61. package/dist/src/raw/class/tl/wallet.d.ts +206 -206
  62. package/dist/src/raw/class/tl/wallet.js +525 -591
  63. package/dist/src/raw/class/types.d.ts +1 -1
  64. package/dist/src/raw/class/types.js +1 -1
  65. package/package.json +4 -6
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * tgsnake is a free software: you can redistribute it and/or modify
8
8
  * it under the terms of the MIT License as published.
9
- */
9
+ */
10
10
  import { TLObject } from '../../core/index.js';
11
11
  import { Buffer, BytesIO } from '../../../deps.js';
12
12
  import type { Bool, Vector, int } from '../types.js';
@@ -42,13 +42,13 @@ export declare class ConfigSimple extends TLObject {
42
42
  rules: Vector<raw.TypeAccessPointRule>;
43
43
  });
44
44
  /**
45
- * Generate the TLObject from buffer.
46
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
47
- */
45
+ * Generate the TLObject from buffer.
46
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
47
+ */
48
48
  static read(_data: BytesIO, ..._args: Array<any>): Promise<ConfigSimple>;
49
49
  /**
50
- * Generate buffer from TLObject.
51
- */
50
+ * Generate buffer from TLObject.
51
+ */
52
52
  write(): Buffer;
53
53
  }
54
54
  export declare class AppUpdate extends TLObject {
@@ -71,25 +71,25 @@ export declare class AppUpdate extends TLObject {
71
71
  sticker?: raw.TypeDocument;
72
72
  });
73
73
  /**
74
- * Generate the TLObject from buffer.
75
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
76
- */
74
+ * Generate the TLObject from buffer.
75
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
76
+ */
77
77
  static read(_data: BytesIO, ..._args: Array<any>): Promise<AppUpdate>;
78
78
  /**
79
- * Generate buffer from TLObject.
80
- */
79
+ * Generate buffer from TLObject.
80
+ */
81
81
  write(): Buffer;
82
82
  }
83
83
  export declare class NoAppUpdate extends TLObject {
84
84
  constructor();
85
85
  /**
86
- * Generate the TLObject from buffer.
87
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
88
- */
86
+ * Generate the TLObject from buffer.
87
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
88
+ */
89
89
  static read(_data: BytesIO, ..._args: Array<any>): Promise<NoAppUpdate>;
90
90
  /**
91
- * Generate buffer from TLObject.
92
- */
91
+ * Generate buffer from TLObject.
92
+ */
93
93
  write(): Buffer;
94
94
  }
95
95
  export declare class InviteText extends TLObject {
@@ -98,13 +98,13 @@ export declare class InviteText extends TLObject {
98
98
  message: string;
99
99
  });
100
100
  /**
101
- * Generate the TLObject from buffer.
102
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
103
- */
101
+ * Generate the TLObject from buffer.
102
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
103
+ */
104
104
  static read(_data: BytesIO, ..._args: Array<any>): Promise<InviteText>;
105
105
  /**
106
- * Generate buffer from TLObject.
107
- */
106
+ * Generate buffer from TLObject.
107
+ */
108
108
  write(): Buffer;
109
109
  }
110
110
  export declare class Support extends TLObject {
@@ -115,13 +115,13 @@ export declare class Support extends TLObject {
115
115
  user: raw.TypeUser;
116
116
  });
117
117
  /**
118
- * Generate the TLObject from buffer.
119
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
120
- */
118
+ * Generate the TLObject from buffer.
119
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
120
+ */
121
121
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Support>;
122
122
  /**
123
- * Generate buffer from TLObject.
124
- */
123
+ * Generate buffer from TLObject.
124
+ */
125
125
  write(): Buffer;
126
126
  }
127
127
  export declare class TermsOfService extends TLObject {
@@ -138,13 +138,13 @@ export declare class TermsOfService extends TLObject {
138
138
  minAgeConfirm?: int;
139
139
  });
140
140
  /**
141
- * Generate the TLObject from buffer.
142
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
143
- */
141
+ * Generate the TLObject from buffer.
142
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
143
+ */
144
144
  static read(_data: BytesIO, ..._args: Array<any>): Promise<TermsOfService>;
145
145
  /**
146
- * Generate buffer from TLObject.
147
- */
146
+ * Generate buffer from TLObject.
147
+ */
148
148
  write(): Buffer;
149
149
  }
150
150
  export declare class RecentMeUrls extends TLObject {
@@ -157,13 +157,13 @@ export declare class RecentMeUrls extends TLObject {
157
157
  users: Vector<raw.TypeUser>;
158
158
  });
159
159
  /**
160
- * Generate the TLObject from buffer.
161
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
162
- */
160
+ * Generate the TLObject from buffer.
161
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
162
+ */
163
163
  static read(_data: BytesIO, ..._args: Array<any>): Promise<RecentMeUrls>;
164
164
  /**
165
- * Generate buffer from TLObject.
166
- */
165
+ * Generate buffer from TLObject.
166
+ */
167
167
  write(): Buffer;
168
168
  }
169
169
  export declare class TermsOfServiceUpdateEmpty extends TLObject {
@@ -172,13 +172,13 @@ export declare class TermsOfServiceUpdateEmpty extends TLObject {
172
172
  expires: int;
173
173
  });
174
174
  /**
175
- * Generate the TLObject from buffer.
176
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
177
- */
175
+ * Generate the TLObject from buffer.
176
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
177
+ */
178
178
  static read(_data: BytesIO, ..._args: Array<any>): Promise<TermsOfServiceUpdateEmpty>;
179
179
  /**
180
- * Generate buffer from TLObject.
181
- */
180
+ * Generate buffer from TLObject.
181
+ */
182
182
  write(): Buffer;
183
183
  }
184
184
  export declare class TermsOfServiceUpdate extends TLObject {
@@ -189,25 +189,25 @@ export declare class TermsOfServiceUpdate extends TLObject {
189
189
  termsOfService: TypeTermsOfService;
190
190
  });
191
191
  /**
192
- * Generate the TLObject from buffer.
193
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
194
- */
192
+ * Generate the TLObject from buffer.
193
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
194
+ */
195
195
  static read(_data: BytesIO, ..._args: Array<any>): Promise<TermsOfServiceUpdate>;
196
196
  /**
197
- * Generate buffer from TLObject.
198
- */
197
+ * Generate buffer from TLObject.
198
+ */
199
199
  write(): Buffer;
200
200
  }
201
201
  export declare class DeepLinkInfoEmpty extends TLObject {
202
202
  constructor();
203
203
  /**
204
- * Generate the TLObject from buffer.
205
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
206
- */
204
+ * Generate the TLObject from buffer.
205
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
206
+ */
207
207
  static read(_data: BytesIO, ..._args: Array<any>): Promise<DeepLinkInfoEmpty>;
208
208
  /**
209
- * Generate buffer from TLObject.
210
- */
209
+ * Generate buffer from TLObject.
210
+ */
211
211
  write(): Buffer;
212
212
  }
213
213
  export declare class DeepLinkInfo extends TLObject {
@@ -220,25 +220,25 @@ export declare class DeepLinkInfo extends TLObject {
220
220
  entities?: Vector<raw.TypeMessageEntity>;
221
221
  });
222
222
  /**
223
- * Generate the TLObject from buffer.
224
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
225
- */
223
+ * Generate the TLObject from buffer.
224
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
225
+ */
226
226
  static read(_data: BytesIO, ..._args: Array<any>): Promise<DeepLinkInfo>;
227
227
  /**
228
- * Generate buffer from TLObject.
229
- */
228
+ * Generate buffer from TLObject.
229
+ */
230
230
  write(): Buffer;
231
231
  }
232
232
  export declare class PassportConfigNotModified extends TLObject {
233
233
  constructor();
234
234
  /**
235
- * Generate the TLObject from buffer.
236
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
237
- */
235
+ * Generate the TLObject from buffer.
236
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
237
+ */
238
238
  static read(_data: BytesIO, ..._args: Array<any>): Promise<PassportConfigNotModified>;
239
239
  /**
240
- * Generate buffer from TLObject.
241
- */
240
+ * Generate buffer from TLObject.
241
+ */
242
242
  write(): Buffer;
243
243
  }
244
244
  export declare class PassportConfig extends TLObject {
@@ -249,13 +249,13 @@ export declare class PassportConfig extends TLObject {
249
249
  countriesLangs: raw.TypeDataJSON;
250
250
  });
251
251
  /**
252
- * Generate the TLObject from buffer.
253
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
254
- */
252
+ * Generate the TLObject from buffer.
253
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
254
+ */
255
255
  static read(_data: BytesIO, ..._args: Array<any>): Promise<PassportConfig>;
256
256
  /**
257
- * Generate buffer from TLObject.
258
- */
257
+ * Generate buffer from TLObject.
258
+ */
259
259
  write(): Buffer;
260
260
  }
261
261
  export declare class SupportName extends TLObject {
@@ -264,25 +264,25 @@ export declare class SupportName extends TLObject {
264
264
  name: string;
265
265
  });
266
266
  /**
267
- * Generate the TLObject from buffer.
268
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
269
- */
267
+ * Generate the TLObject from buffer.
268
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
269
+ */
270
270
  static read(_data: BytesIO, ..._args: Array<any>): Promise<SupportName>;
271
271
  /**
272
- * Generate buffer from TLObject.
273
- */
272
+ * Generate buffer from TLObject.
273
+ */
274
274
  write(): Buffer;
275
275
  }
276
276
  export declare class UserInfoEmpty extends TLObject {
277
277
  constructor();
278
278
  /**
279
- * Generate the TLObject from buffer.
280
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
281
- */
279
+ * Generate the TLObject from buffer.
280
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
281
+ */
282
282
  static read(_data: BytesIO, ..._args: Array<any>): Promise<UserInfoEmpty>;
283
283
  /**
284
- * Generate buffer from TLObject.
285
- */
284
+ * Generate buffer from TLObject.
285
+ */
286
286
  write(): Buffer;
287
287
  }
288
288
  export declare class UserInfo extends TLObject {
@@ -297,13 +297,13 @@ export declare class UserInfo extends TLObject {
297
297
  date: int;
298
298
  });
299
299
  /**
300
- * Generate the TLObject from buffer.
301
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
302
- */
300
+ * Generate the TLObject from buffer.
301
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
302
+ */
303
303
  static read(_data: BytesIO, ..._args: Array<any>): Promise<UserInfo>;
304
304
  /**
305
- * Generate buffer from TLObject.
306
- */
305
+ * Generate buffer from TLObject.
306
+ */
307
307
  write(): Buffer;
308
308
  }
309
309
  export declare class PromoDataEmpty extends TLObject {
@@ -312,13 +312,13 @@ export declare class PromoDataEmpty extends TLObject {
312
312
  expires: int;
313
313
  });
314
314
  /**
315
- * Generate the TLObject from buffer.
316
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
317
- */
315
+ * Generate the TLObject from buffer.
316
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
317
+ */
318
318
  static read(_data: BytesIO, ..._args: Array<any>): Promise<PromoDataEmpty>;
319
319
  /**
320
- * Generate buffer from TLObject.
321
- */
320
+ * Generate buffer from TLObject.
321
+ */
322
322
  write(): Buffer;
323
323
  }
324
324
  export declare class PromoData extends TLObject {
@@ -345,13 +345,13 @@ export declare class PromoData extends TLObject {
345
345
  users: Vector<raw.TypeUser>;
346
346
  });
347
347
  /**
348
- * Generate the TLObject from buffer.
349
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
350
- */
348
+ * Generate the TLObject from buffer.
349
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
350
+ */
351
351
  static read(_data: BytesIO, ..._args: Array<any>): Promise<PromoData>;
352
352
  /**
353
- * Generate buffer from TLObject.
354
- */
353
+ * Generate buffer from TLObject.
354
+ */
355
355
  write(): Buffer;
356
356
  }
357
357
  export declare class CountryCode extends TLObject {
@@ -364,13 +364,13 @@ export declare class CountryCode extends TLObject {
364
364
  patterns?: Vector<string>;
365
365
  });
366
366
  /**
367
- * Generate the TLObject from buffer.
368
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
369
- */
367
+ * Generate the TLObject from buffer.
368
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
369
+ */
370
370
  static read(_data: BytesIO, ..._args: Array<any>): Promise<CountryCode>;
371
371
  /**
372
- * Generate buffer from TLObject.
373
- */
372
+ * Generate buffer from TLObject.
373
+ */
374
374
  write(): Buffer;
375
375
  }
376
376
  export declare class Country extends TLObject {
@@ -387,25 +387,25 @@ export declare class Country extends TLObject {
387
387
  countryCodes: Vector<TypeCountryCode>;
388
388
  });
389
389
  /**
390
- * Generate the TLObject from buffer.
391
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
392
- */
390
+ * Generate the TLObject from buffer.
391
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
392
+ */
393
393
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Country>;
394
394
  /**
395
- * Generate buffer from TLObject.
396
- */
395
+ * Generate buffer from TLObject.
396
+ */
397
397
  write(): Buffer;
398
398
  }
399
399
  export declare class CountriesListNotModified extends TLObject {
400
400
  constructor();
401
401
  /**
402
- * Generate the TLObject from buffer.
403
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
404
- */
402
+ * Generate the TLObject from buffer.
403
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
404
+ */
405
405
  static read(_data: BytesIO, ..._args: Array<any>): Promise<CountriesListNotModified>;
406
406
  /**
407
- * Generate buffer from TLObject.
408
- */
407
+ * Generate buffer from TLObject.
408
+ */
409
409
  write(): Buffer;
410
410
  }
411
411
  export declare class CountriesList extends TLObject {
@@ -416,13 +416,13 @@ export declare class CountriesList extends TLObject {
416
416
  hash: int;
417
417
  });
418
418
  /**
419
- * Generate the TLObject from buffer.
420
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
421
- */
419
+ * Generate the TLObject from buffer.
420
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
421
+ */
422
422
  static read(_data: BytesIO, ..._args: Array<any>): Promise<CountriesList>;
423
423
  /**
424
- * Generate buffer from TLObject.
425
- */
424
+ * Generate buffer from TLObject.
425
+ */
426
426
  write(): Buffer;
427
427
  }
428
428
  export declare class PremiumPromo extends TLObject {
@@ -441,25 +441,25 @@ export declare class PremiumPromo extends TLObject {
441
441
  users: Vector<raw.TypeUser>;
442
442
  });
443
443
  /**
444
- * Generate the TLObject from buffer.
445
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
446
- */
444
+ * Generate the TLObject from buffer.
445
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
446
+ */
447
447
  static read(_data: BytesIO, ..._args: Array<any>): Promise<PremiumPromo>;
448
448
  /**
449
- * Generate buffer from TLObject.
450
- */
449
+ * Generate buffer from TLObject.
450
+ */
451
451
  write(): Buffer;
452
452
  }
453
453
  export declare class AppConfigNotModified extends TLObject {
454
454
  constructor();
455
455
  /**
456
- * Generate the TLObject from buffer.
457
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
458
- */
456
+ * Generate the TLObject from buffer.
457
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
458
+ */
459
459
  static read(_data: BytesIO, ..._args: Array<any>): Promise<AppConfigNotModified>;
460
460
  /**
461
- * Generate buffer from TLObject.
462
- */
461
+ * Generate buffer from TLObject.
462
+ */
463
463
  write(): Buffer;
464
464
  }
465
465
  export declare class AppConfig extends TLObject {
@@ -470,13 +470,13 @@ export declare class AppConfig extends TLObject {
470
470
  config: raw.TypeJSONValue;
471
471
  });
472
472
  /**
473
- * Generate the TLObject from buffer.
474
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
475
- */
473
+ * Generate the TLObject from buffer.
474
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
475
+ */
476
476
  static read(_data: BytesIO, ..._args: Array<any>): Promise<AppConfig>;
477
477
  /**
478
- * Generate buffer from TLObject.
479
- */
478
+ * Generate buffer from TLObject.
479
+ */
480
480
  write(): Buffer;
481
481
  }
482
482
  export declare class PeerColorSet extends TLObject {
@@ -485,13 +485,13 @@ export declare class PeerColorSet extends TLObject {
485
485
  colors: Vector<int>;
486
486
  });
487
487
  /**
488
- * Generate the TLObject from buffer.
489
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
490
- */
488
+ * Generate the TLObject from buffer.
489
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
490
+ */
491
491
  static read(_data: BytesIO, ..._args: Array<any>): Promise<PeerColorSet>;
492
492
  /**
493
- * Generate buffer from TLObject.
494
- */
493
+ * Generate buffer from TLObject.
494
+ */
495
495
  write(): Buffer;
496
496
  }
497
497
  export declare class PeerColorProfileSet extends TLObject {
@@ -504,13 +504,13 @@ export declare class PeerColorProfileSet extends TLObject {
504
504
  storyColors: Vector<int>;
505
505
  });
506
506
  /**
507
- * Generate the TLObject from buffer.
508
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
509
- */
507
+ * Generate the TLObject from buffer.
508
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
509
+ */
510
510
  static read(_data: BytesIO, ..._args: Array<any>): Promise<PeerColorProfileSet>;
511
511
  /**
512
- * Generate buffer from TLObject.
513
- */
512
+ * Generate buffer from TLObject.
513
+ */
514
514
  write(): Buffer;
515
515
  }
516
516
  export declare class PeerColorOption extends TLObject {
@@ -529,25 +529,25 @@ export declare class PeerColorOption extends TLObject {
529
529
  groupMinLevel?: int;
530
530
  });
531
531
  /**
532
- * Generate the TLObject from buffer.
533
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
534
- */
532
+ * Generate the TLObject from buffer.
533
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
534
+ */
535
535
  static read(_data: BytesIO, ..._args: Array<any>): Promise<PeerColorOption>;
536
536
  /**
537
- * Generate buffer from TLObject.
538
- */
537
+ * Generate buffer from TLObject.
538
+ */
539
539
  write(): Buffer;
540
540
  }
541
541
  export declare class PeerColorsNotModified extends TLObject {
542
542
  constructor();
543
543
  /**
544
- * Generate the TLObject from buffer.
545
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
546
- */
544
+ * Generate the TLObject from buffer.
545
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
546
+ */
547
547
  static read(_data: BytesIO, ..._args: Array<any>): Promise<PeerColorsNotModified>;
548
548
  /**
549
- * Generate buffer from TLObject.
550
- */
549
+ * Generate buffer from TLObject.
550
+ */
551
551
  write(): Buffer;
552
552
  }
553
553
  export declare class PeerColors extends TLObject {
@@ -558,25 +558,25 @@ export declare class PeerColors extends TLObject {
558
558
  colors: Vector<TypePeerColorOption>;
559
559
  });
560
560
  /**
561
- * Generate the TLObject from buffer.
562
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
563
- */
561
+ * Generate the TLObject from buffer.
562
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
563
+ */
564
564
  static read(_data: BytesIO, ..._args: Array<any>): Promise<PeerColors>;
565
565
  /**
566
- * Generate buffer from TLObject.
567
- */
566
+ * Generate buffer from TLObject.
567
+ */
568
568
  write(): Buffer;
569
569
  }
570
570
  export declare class TimezonesListNotModified extends TLObject {
571
571
  constructor();
572
572
  /**
573
- * Generate the TLObject from buffer.
574
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
575
- */
573
+ * Generate the TLObject from buffer.
574
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
575
+ */
576
576
  static read(_data: BytesIO, ..._args: Array<any>): Promise<TimezonesListNotModified>;
577
577
  /**
578
- * Generate buffer from TLObject.
579
- */
578
+ * Generate buffer from TLObject.
579
+ */
580
580
  write(): Buffer;
581
581
  }
582
582
  export declare class TimezonesList extends TLObject {
@@ -587,39 +587,39 @@ export declare class TimezonesList extends TLObject {
587
587
  hash: int;
588
588
  });
589
589
  /**
590
- * Generate the TLObject from buffer.
591
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
592
- */
590
+ * Generate the TLObject from buffer.
591
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
592
+ */
593
593
  static read(_data: BytesIO, ..._args: Array<any>): Promise<TimezonesList>;
594
594
  /**
595
- * Generate buffer from TLObject.
596
- */
595
+ * Generate buffer from TLObject.
596
+ */
597
597
  write(): Buffer;
598
598
  }
599
599
  export declare class GetConfig extends TLObject {
600
600
  __response__: raw.TypeConfig;
601
601
  constructor();
602
602
  /**
603
- * Generate the TLObject from buffer.
604
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
605
- */
603
+ * Generate the TLObject from buffer.
604
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
605
+ */
606
606
  static read(_data: BytesIO, ..._args: Array<any>): Promise<GetConfig>;
607
607
  /**
608
- * Generate buffer from TLObject.
609
- */
608
+ * Generate buffer from TLObject.
609
+ */
610
610
  write(): Buffer;
611
611
  }
612
612
  export declare class GetNearestDc extends TLObject {
613
613
  __response__: raw.TypeNearestDc;
614
614
  constructor();
615
615
  /**
616
- * Generate the TLObject from buffer.
617
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
618
- */
616
+ * Generate the TLObject from buffer.
617
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
618
+ */
619
619
  static read(_data: BytesIO, ..._args: Array<any>): Promise<GetNearestDc>;
620
620
  /**
621
- * Generate buffer from TLObject.
622
- */
621
+ * Generate buffer from TLObject.
622
+ */
623
623
  write(): Buffer;
624
624
  }
625
625
  export declare class GetAppUpdate extends TLObject {
@@ -629,39 +629,39 @@ export declare class GetAppUpdate extends TLObject {
629
629
  source: string;
630
630
  });
631
631
  /**
632
- * Generate the TLObject from buffer.
633
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
634
- */
632
+ * Generate the TLObject from buffer.
633
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
634
+ */
635
635
  static read(_data: BytesIO, ..._args: Array<any>): Promise<GetAppUpdate>;
636
636
  /**
637
- * Generate buffer from TLObject.
638
- */
637
+ * Generate buffer from TLObject.
638
+ */
639
639
  write(): Buffer;
640
640
  }
641
641
  export declare class GetInviteText extends TLObject {
642
642
  __response__: TypeInviteText;
643
643
  constructor();
644
644
  /**
645
- * Generate the TLObject from buffer.
646
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
647
- */
645
+ * Generate the TLObject from buffer.
646
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
647
+ */
648
648
  static read(_data: BytesIO, ..._args: Array<any>): Promise<GetInviteText>;
649
649
  /**
650
- * Generate buffer from TLObject.
651
- */
650
+ * Generate buffer from TLObject.
651
+ */
652
652
  write(): Buffer;
653
653
  }
654
654
  export declare class GetSupport extends TLObject {
655
655
  __response__: TypeSupport;
656
656
  constructor();
657
657
  /**
658
- * Generate the TLObject from buffer.
659
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
660
- */
658
+ * Generate the TLObject from buffer.
659
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
660
+ */
661
661
  static read(_data: BytesIO, ..._args: Array<any>): Promise<GetSupport>;
662
662
  /**
663
- * Generate buffer from TLObject.
664
- */
663
+ * Generate buffer from TLObject.
664
+ */
665
665
  write(): Buffer;
666
666
  }
667
667
  export declare class SetBotUpdatesStatus extends TLObject {
@@ -673,26 +673,26 @@ export declare class SetBotUpdatesStatus extends TLObject {
673
673
  message: string;
674
674
  });
675
675
  /**
676
- * Generate the TLObject from buffer.
677
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
678
- */
676
+ * Generate the TLObject from buffer.
677
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
678
+ */
679
679
  static read(_data: BytesIO, ..._args: Array<any>): Promise<SetBotUpdatesStatus>;
680
680
  /**
681
- * Generate buffer from TLObject.
682
- */
681
+ * Generate buffer from TLObject.
682
+ */
683
683
  write(): Buffer;
684
684
  }
685
685
  export declare class GetCdnConfig extends TLObject {
686
686
  __response__: raw.TypeCdnConfig;
687
687
  constructor();
688
688
  /**
689
- * Generate the TLObject from buffer.
690
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
691
- */
689
+ * Generate the TLObject from buffer.
690
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
691
+ */
692
692
  static read(_data: BytesIO, ..._args: Array<any>): Promise<GetCdnConfig>;
693
693
  /**
694
- * Generate buffer from TLObject.
695
- */
694
+ * Generate buffer from TLObject.
695
+ */
696
696
  write(): Buffer;
697
697
  }
698
698
  export declare class GetRecentMeUrls extends TLObject {
@@ -702,26 +702,26 @@ export declare class GetRecentMeUrls extends TLObject {
702
702
  referer: string;
703
703
  });
704
704
  /**
705
- * Generate the TLObject from buffer.
706
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
707
- */
705
+ * Generate the TLObject from buffer.
706
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
707
+ */
708
708
  static read(_data: BytesIO, ..._args: Array<any>): Promise<GetRecentMeUrls>;
709
709
  /**
710
- * Generate buffer from TLObject.
711
- */
710
+ * Generate buffer from TLObject.
711
+ */
712
712
  write(): Buffer;
713
713
  }
714
714
  export declare class GetTermsOfServiceUpdate extends TLObject {
715
715
  __response__: TypeTermsOfServiceUpdate;
716
716
  constructor();
717
717
  /**
718
- * Generate the TLObject from buffer.
719
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
720
- */
718
+ * Generate the TLObject from buffer.
719
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
720
+ */
721
721
  static read(_data: BytesIO, ..._args: Array<any>): Promise<GetTermsOfServiceUpdate>;
722
722
  /**
723
- * Generate buffer from TLObject.
724
- */
723
+ * Generate buffer from TLObject.
724
+ */
725
725
  write(): Buffer;
726
726
  }
727
727
  export declare class AcceptTermsOfService extends TLObject {
@@ -731,13 +731,13 @@ export declare class AcceptTermsOfService extends TLObject {
731
731
  id: raw.TypeDataJSON;
732
732
  });
733
733
  /**
734
- * Generate the TLObject from buffer.
735
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
736
- */
734
+ * Generate the TLObject from buffer.
735
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
736
+ */
737
737
  static read(_data: BytesIO, ..._args: Array<any>): Promise<AcceptTermsOfService>;
738
738
  /**
739
- * Generate buffer from TLObject.
740
- */
739
+ * Generate buffer from TLObject.
740
+ */
741
741
  write(): Buffer;
742
742
  }
743
743
  export declare class GetDeepLinkInfo extends TLObject {
@@ -747,13 +747,13 @@ export declare class GetDeepLinkInfo extends TLObject {
747
747
  path: string;
748
748
  });
749
749
  /**
750
- * Generate the TLObject from buffer.
751
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
752
- */
750
+ * Generate the TLObject from buffer.
751
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
752
+ */
753
753
  static read(_data: BytesIO, ..._args: Array<any>): Promise<GetDeepLinkInfo>;
754
754
  /**
755
- * Generate buffer from TLObject.
756
- */
755
+ * Generate buffer from TLObject.
756
+ */
757
757
  write(): Buffer;
758
758
  }
759
759
  export declare class GetAppConfig extends TLObject {
@@ -763,13 +763,13 @@ export declare class GetAppConfig extends TLObject {
763
763
  hash: int;
764
764
  });
765
765
  /**
766
- * Generate the TLObject from buffer.
767
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
768
- */
766
+ * Generate the TLObject from buffer.
767
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
768
+ */
769
769
  static read(_data: BytesIO, ..._args: Array<any>): Promise<GetAppConfig>;
770
770
  /**
771
- * Generate buffer from TLObject.
772
- */
771
+ * Generate buffer from TLObject.
772
+ */
773
773
  write(): Buffer;
774
774
  }
775
775
  export declare class SaveAppLog extends TLObject {
@@ -779,13 +779,13 @@ export declare class SaveAppLog extends TLObject {
779
779
  events: Vector<raw.TypeInputAppEvent>;
780
780
  });
781
781
  /**
782
- * Generate the TLObject from buffer.
783
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
784
- */
782
+ * Generate the TLObject from buffer.
783
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
784
+ */
785
785
  static read(_data: BytesIO, ..._args: Array<any>): Promise<SaveAppLog>;
786
786
  /**
787
- * Generate buffer from TLObject.
788
- */
787
+ * Generate buffer from TLObject.
788
+ */
789
789
  write(): Buffer;
790
790
  }
791
791
  export declare class GetPassportConfig extends TLObject {
@@ -795,26 +795,26 @@ export declare class GetPassportConfig extends TLObject {
795
795
  hash: int;
796
796
  });
797
797
  /**
798
- * Generate the TLObject from buffer.
799
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
800
- */
798
+ * Generate the TLObject from buffer.
799
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
800
+ */
801
801
  static read(_data: BytesIO, ..._args: Array<any>): Promise<GetPassportConfig>;
802
802
  /**
803
- * Generate buffer from TLObject.
804
- */
803
+ * Generate buffer from TLObject.
804
+ */
805
805
  write(): Buffer;
806
806
  }
807
807
  export declare class GetSupportName extends TLObject {
808
808
  __response__: TypeSupportName;
809
809
  constructor();
810
810
  /**
811
- * Generate the TLObject from buffer.
812
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
813
- */
811
+ * Generate the TLObject from buffer.
812
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
813
+ */
814
814
  static read(_data: BytesIO, ..._args: Array<any>): Promise<GetSupportName>;
815
815
  /**
816
- * Generate buffer from TLObject.
817
- */
816
+ * Generate buffer from TLObject.
817
+ */
818
818
  write(): Buffer;
819
819
  }
820
820
  export declare class GetUserInfo extends TLObject {
@@ -824,13 +824,13 @@ export declare class GetUserInfo extends TLObject {
824
824
  userId: raw.TypeInputUser;
825
825
  });
826
826
  /**
827
- * Generate the TLObject from buffer.
828
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
829
- */
827
+ * Generate the TLObject from buffer.
828
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
829
+ */
830
830
  static read(_data: BytesIO, ..._args: Array<any>): Promise<GetUserInfo>;
831
831
  /**
832
- * Generate buffer from TLObject.
833
- */
832
+ * Generate buffer from TLObject.
833
+ */
834
834
  write(): Buffer;
835
835
  }
836
836
  export declare class EditUserInfo extends TLObject {
@@ -844,26 +844,26 @@ export declare class EditUserInfo extends TLObject {
844
844
  entities: Vector<raw.TypeMessageEntity>;
845
845
  });
846
846
  /**
847
- * Generate the TLObject from buffer.
848
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
849
- */
847
+ * Generate the TLObject from buffer.
848
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
849
+ */
850
850
  static read(_data: BytesIO, ..._args: Array<any>): Promise<EditUserInfo>;
851
851
  /**
852
- * Generate buffer from TLObject.
853
- */
852
+ * Generate buffer from TLObject.
853
+ */
854
854
  write(): Buffer;
855
855
  }
856
856
  export declare class GetPromoData extends TLObject {
857
857
  __response__: TypePromoData;
858
858
  constructor();
859
859
  /**
860
- * Generate the TLObject from buffer.
861
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
862
- */
860
+ * Generate the TLObject from buffer.
861
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
862
+ */
863
863
  static read(_data: BytesIO, ..._args: Array<any>): Promise<GetPromoData>;
864
864
  /**
865
- * Generate buffer from TLObject.
866
- */
865
+ * Generate buffer from TLObject.
866
+ */
867
867
  write(): Buffer;
868
868
  }
869
869
  export declare class HidePromoData extends TLObject {
@@ -873,13 +873,13 @@ export declare class HidePromoData extends TLObject {
873
873
  peer: raw.TypeInputPeer;
874
874
  });
875
875
  /**
876
- * Generate the TLObject from buffer.
877
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
878
- */
876
+ * Generate the TLObject from buffer.
877
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
878
+ */
879
879
  static read(_data: BytesIO, ..._args: Array<any>): Promise<HidePromoData>;
880
880
  /**
881
- * Generate buffer from TLObject.
882
- */
881
+ * Generate buffer from TLObject.
882
+ */
883
883
  write(): Buffer;
884
884
  }
885
885
  export declare class DismissSuggestion extends TLObject {
@@ -891,13 +891,13 @@ export declare class DismissSuggestion extends TLObject {
891
891
  suggestion: string;
892
892
  });
893
893
  /**
894
- * Generate the TLObject from buffer.
895
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
896
- */
894
+ * Generate the TLObject from buffer.
895
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
896
+ */
897
897
  static read(_data: BytesIO, ..._args: Array<any>): Promise<DismissSuggestion>;
898
898
  /**
899
- * Generate buffer from TLObject.
900
- */
899
+ * Generate buffer from TLObject.
900
+ */
901
901
  write(): Buffer;
902
902
  }
903
903
  export declare class GetCountriesList extends TLObject {
@@ -909,26 +909,26 @@ export declare class GetCountriesList extends TLObject {
909
909
  hash: int;
910
910
  });
911
911
  /**
912
- * Generate the TLObject from buffer.
913
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
914
- */
912
+ * Generate the TLObject from buffer.
913
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
914
+ */
915
915
  static read(_data: BytesIO, ..._args: Array<any>): Promise<GetCountriesList>;
916
916
  /**
917
- * Generate buffer from TLObject.
918
- */
917
+ * Generate buffer from TLObject.
918
+ */
919
919
  write(): Buffer;
920
920
  }
921
921
  export declare class GetPremiumPromo extends TLObject {
922
922
  __response__: TypePremiumPromo;
923
923
  constructor();
924
924
  /**
925
- * Generate the TLObject from buffer.
926
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
927
- */
925
+ * Generate the TLObject from buffer.
926
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
927
+ */
928
928
  static read(_data: BytesIO, ..._args: Array<any>): Promise<GetPremiumPromo>;
929
929
  /**
930
- * Generate buffer from TLObject.
931
- */
930
+ * Generate buffer from TLObject.
931
+ */
932
932
  write(): Buffer;
933
933
  }
934
934
  export declare class GetPeerColors extends TLObject {
@@ -938,13 +938,13 @@ export declare class GetPeerColors extends TLObject {
938
938
  hash: int;
939
939
  });
940
940
  /**
941
- * Generate the TLObject from buffer.
942
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
943
- */
941
+ * Generate the TLObject from buffer.
942
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
943
+ */
944
944
  static read(_data: BytesIO, ..._args: Array<any>): Promise<GetPeerColors>;
945
945
  /**
946
- * Generate buffer from TLObject.
947
- */
946
+ * Generate buffer from TLObject.
947
+ */
948
948
  write(): Buffer;
949
949
  }
950
950
  export declare class GetPeerProfileColors extends TLObject {
@@ -954,13 +954,13 @@ export declare class GetPeerProfileColors extends TLObject {
954
954
  hash: int;
955
955
  });
956
956
  /**
957
- * Generate the TLObject from buffer.
958
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
959
- */
957
+ * Generate the TLObject from buffer.
958
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
959
+ */
960
960
  static read(_data: BytesIO, ..._args: Array<any>): Promise<GetPeerProfileColors>;
961
961
  /**
962
- * Generate buffer from TLObject.
963
- */
962
+ * Generate buffer from TLObject.
963
+ */
964
964
  write(): Buffer;
965
965
  }
966
966
  export declare class GetTimezonesList extends TLObject {
@@ -970,12 +970,12 @@ export declare class GetTimezonesList extends TLObject {
970
970
  hash: int;
971
971
  });
972
972
  /**
973
- * Generate the TLObject from buffer.
974
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
975
- */
973
+ * Generate the TLObject from buffer.
974
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
975
+ */
976
976
  static read(_data: BytesIO, ..._args: Array<any>): Promise<GetTimezonesList>;
977
977
  /**
978
- * Generate buffer from TLObject.
979
- */
978
+ * Generate buffer from TLObject.
979
+ */
980
980
  write(): Buffer;
981
981
  }