@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, bytes, int, long } from '../types.js';
@@ -25,13 +25,13 @@ export declare class File extends TLObject {
25
25
  bytes: bytes;
26
26
  });
27
27
  /**
28
- * Generate the TLObject from buffer.
29
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
30
- */
28
+ * Generate the TLObject from buffer.
29
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
30
+ */
31
31
  static read(_data: BytesIO, ..._args: Array<any>): Promise<File>;
32
32
  /**
33
- * Generate buffer from TLObject.
34
- */
33
+ * Generate buffer from TLObject.
34
+ */
35
35
  write(): Buffer;
36
36
  }
37
37
  export declare class FileCdnRedirect extends TLObject {
@@ -48,13 +48,13 @@ export declare class FileCdnRedirect extends TLObject {
48
48
  fileHashes: Vector<raw.TypeFileHash>;
49
49
  });
50
50
  /**
51
- * Generate the TLObject from buffer.
52
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
53
- */
51
+ * Generate the TLObject from buffer.
52
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
53
+ */
54
54
  static read(_data: BytesIO, ..._args: Array<any>): Promise<FileCdnRedirect>;
55
55
  /**
56
- * Generate buffer from TLObject.
57
- */
56
+ * Generate buffer from TLObject.
57
+ */
58
58
  write(): Buffer;
59
59
  }
60
60
  export declare class WebFile extends TLObject {
@@ -71,13 +71,13 @@ export declare class WebFile extends TLObject {
71
71
  bytes: bytes;
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<WebFile>;
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 CdnFileReuploadNeeded extends TLObject {
@@ -86,13 +86,13 @@ export declare class CdnFileReuploadNeeded extends TLObject {
86
86
  requestToken: bytes;
87
87
  });
88
88
  /**
89
- * Generate the TLObject from buffer.
90
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
91
- */
89
+ * Generate the TLObject from buffer.
90
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
91
+ */
92
92
  static read(_data: BytesIO, ..._args: Array<any>): Promise<CdnFileReuploadNeeded>;
93
93
  /**
94
- * Generate buffer from TLObject.
95
- */
94
+ * Generate buffer from TLObject.
95
+ */
96
96
  write(): Buffer;
97
97
  }
98
98
  export declare class CdnFile extends TLObject {
@@ -101,13 +101,13 @@ export declare class CdnFile extends TLObject {
101
101
  bytes: bytes;
102
102
  });
103
103
  /**
104
- * Generate the TLObject from buffer.
105
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
106
- */
104
+ * Generate the TLObject from buffer.
105
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
106
+ */
107
107
  static read(_data: BytesIO, ..._args: Array<any>): Promise<CdnFile>;
108
108
  /**
109
- * Generate buffer from TLObject.
110
- */
109
+ * Generate buffer from TLObject.
110
+ */
111
111
  write(): Buffer;
112
112
  }
113
113
  export declare class SaveFilePart extends TLObject {
@@ -121,13 +121,13 @@ export declare class SaveFilePart extends TLObject {
121
121
  bytes: bytes;
122
122
  });
123
123
  /**
124
- * Generate the TLObject from buffer.
125
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
126
- */
124
+ * Generate the TLObject from buffer.
125
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
126
+ */
127
127
  static read(_data: BytesIO, ..._args: Array<any>): Promise<SaveFilePart>;
128
128
  /**
129
- * Generate buffer from TLObject.
130
- */
129
+ * Generate buffer from TLObject.
130
+ */
131
131
  write(): Buffer;
132
132
  }
133
133
  export declare class GetFile extends TLObject {
@@ -145,13 +145,13 @@ export declare class GetFile extends TLObject {
145
145
  limit: int;
146
146
  });
147
147
  /**
148
- * Generate the TLObject from buffer.
149
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
150
- */
148
+ * Generate the TLObject from buffer.
149
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
150
+ */
151
151
  static read(_data: BytesIO, ..._args: Array<any>): Promise<GetFile>;
152
152
  /**
153
- * Generate buffer from TLObject.
154
- */
153
+ * Generate buffer from TLObject.
154
+ */
155
155
  write(): Buffer;
156
156
  }
157
157
  export declare class SaveBigFilePart extends TLObject {
@@ -167,13 +167,13 @@ export declare class SaveBigFilePart extends TLObject {
167
167
  bytes: bytes;
168
168
  });
169
169
  /**
170
- * Generate the TLObject from buffer.
171
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
172
- */
170
+ * Generate the TLObject from buffer.
171
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
172
+ */
173
173
  static read(_data: BytesIO, ..._args: Array<any>): Promise<SaveBigFilePart>;
174
174
  /**
175
- * Generate buffer from TLObject.
176
- */
175
+ * Generate buffer from TLObject.
176
+ */
177
177
  write(): Buffer;
178
178
  }
179
179
  export declare class GetWebFile extends TLObject {
@@ -187,13 +187,13 @@ export declare class GetWebFile extends TLObject {
187
187
  limit: int;
188
188
  });
189
189
  /**
190
- * Generate the TLObject from buffer.
191
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
192
- */
190
+ * Generate the TLObject from buffer.
191
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
192
+ */
193
193
  static read(_data: BytesIO, ..._args: Array<any>): Promise<GetWebFile>;
194
194
  /**
195
- * Generate buffer from TLObject.
196
- */
195
+ * Generate buffer from TLObject.
196
+ */
197
197
  write(): Buffer;
198
198
  }
199
199
  export declare class GetCdnFile extends TLObject {
@@ -207,13 +207,13 @@ export declare class GetCdnFile extends TLObject {
207
207
  limit: int;
208
208
  });
209
209
  /**
210
- * Generate the TLObject from buffer.
211
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
212
- */
210
+ * Generate the TLObject from buffer.
211
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
212
+ */
213
213
  static read(_data: BytesIO, ..._args: Array<any>): Promise<GetCdnFile>;
214
214
  /**
215
- * Generate buffer from TLObject.
216
- */
215
+ * Generate buffer from TLObject.
216
+ */
217
217
  write(): Buffer;
218
218
  }
219
219
  export declare class ReuploadCdnFile extends TLObject {
@@ -225,13 +225,13 @@ export declare class ReuploadCdnFile extends TLObject {
225
225
  requestToken: bytes;
226
226
  });
227
227
  /**
228
- * Generate the TLObject from buffer.
229
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
230
- */
228
+ * Generate the TLObject from buffer.
229
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
230
+ */
231
231
  static read(_data: BytesIO, ..._args: Array<any>): Promise<ReuploadCdnFile>;
232
232
  /**
233
- * Generate buffer from TLObject.
234
- */
233
+ * Generate buffer from TLObject.
234
+ */
235
235
  write(): Buffer;
236
236
  }
237
237
  export declare class GetCdnFileHashes extends TLObject {
@@ -243,13 +243,13 @@ export declare class GetCdnFileHashes extends TLObject {
243
243
  offset: long;
244
244
  });
245
245
  /**
246
- * Generate the TLObject from buffer.
247
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
248
- */
246
+ * Generate the TLObject from buffer.
247
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
248
+ */
249
249
  static read(_data: BytesIO, ..._args: Array<any>): Promise<GetCdnFileHashes>;
250
250
  /**
251
- * Generate buffer from TLObject.
252
- */
251
+ * Generate buffer from TLObject.
252
+ */
253
253
  write(): Buffer;
254
254
  }
255
255
  export declare class GetFileHashes extends TLObject {
@@ -261,12 +261,12 @@ export declare class GetFileHashes extends TLObject {
261
261
  offset: long;
262
262
  });
263
263
  /**
264
- * Generate the TLObject from buffer.
265
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
266
- */
264
+ * Generate the TLObject from buffer.
265
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
266
+ */
267
267
  static read(_data: BytesIO, ..._args: Array<any>): Promise<GetFileHashes>;
268
268
  /**
269
- * Generate buffer from TLObject.
270
- */
269
+ * Generate buffer from TLObject.
270
+ */
271
271
  write(): Buffer;
272
272
  }