@tgsnake/skema 3.2.0 → 3.2.1-browser.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 (67) hide show
  1. package/dist/src/deps.d.ts +4 -3
  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 +2783 -2783
  5. package/dist/src/raw/class/Raw.d.ts +7601 -7601
  6. package/dist/src/raw/class/Raw.js +26781 -20676
  7. package/dist/src/raw/class/tl/account.d.ts +841 -841
  8. package/dist/src/raw/class/tl/account.js +1983 -1813
  9. package/dist/src/raw/class/tl/aicompose.d.ts +51 -51
  10. package/dist/src/raw/class/tl/aicompose.js +128 -117
  11. package/dist/src/raw/class/tl/auth.d.ts +296 -296
  12. package/dist/src/raw/class/tl/auth.js +849 -714
  13. package/dist/src/raw/class/tl/bots.d.ts +256 -256
  14. package/dist/src/raw/class/tl/bots.js +661 -607
  15. package/dist/src/raw/class/tl/channels.d.ts +336 -336
  16. package/dist/src/raw/class/tl/channels.js +836 -745
  17. package/dist/src/raw/class/tl/chatlists.d.ts +81 -81
  18. package/dist/src/raw/class/tl/chatlists.js +196 -183
  19. package/dist/src/raw/class/tl/communities.d.ts +56 -56
  20. package/dist/src/raw/class/tl/communities.js +159 -138
  21. package/dist/src/raw/class/tl/contacts.d.ts +216 -216
  22. package/dist/src/raw/class/tl/contacts.js +537 -492
  23. package/dist/src/raw/class/tl/ephemeral.d.ts +51 -51
  24. package/dist/src/raw/class/tl/ephemeral.js +204 -152
  25. package/dist/src/raw/class/tl/feed.d.ts +71 -71
  26. package/dist/src/raw/class/tl/feed.js +214 -179
  27. package/dist/src/raw/class/tl/folders.d.ts +6 -6
  28. package/dist/src/raw/class/tl/folders.js +11 -11
  29. package/dist/src/raw/class/tl/fragment.d.ts +11 -11
  30. package/dist/src/raw/class/tl/fragment.js +32 -25
  31. package/dist/src/raw/class/tl/help.d.ts +286 -286
  32. package/dist/src/raw/class/tl/help.js +686 -618
  33. package/dist/src/raw/class/tl/langpack.d.ts +26 -26
  34. package/dist/src/raw/class/tl/langpack.js +57 -57
  35. package/dist/src/raw/class/tl/messages.d.ts +1866 -1866
  36. package/dist/src/raw/class/tl/messages.js +5965 -4886
  37. package/dist/src/raw/class/tl/payments.d.ts +646 -646
  38. package/dist/src/raw/class/tl/payments.js +2254 -1766
  39. package/dist/src/raw/class/tl/phone.d.ts +256 -256
  40. package/dist/src/raw/class/tl/phone.js +779 -644
  41. package/dist/src/raw/class/tl/photos.d.ts +41 -41
  42. package/dist/src/raw/class/tl/photos.js +139 -116
  43. package/dist/src/raw/class/tl/premium.d.ts +41 -41
  44. package/dist/src/raw/class/tl/premium.js +133 -111
  45. package/dist/src/raw/class/tl/smsjobs.d.ts +46 -46
  46. package/dist/src/raw/class/tl/smsjobs.js +115 -97
  47. package/dist/src/raw/class/tl/stats.d.ts +71 -71
  48. package/dist/src/raw/class/tl/stats.js +268 -169
  49. package/dist/src/raw/class/tl/stickers.d.ts +61 -61
  50. package/dist/src/raw/class/tl/stickers.js +173 -144
  51. package/dist/src/raw/class/tl/storage.d.ts +51 -51
  52. package/dist/src/raw/class/tl/storage.js +71 -71
  53. package/dist/src/raw/class/tl/stories.d.ts +221 -221
  54. package/dist/src/raw/class/tl/stories.js +781 -622
  55. package/dist/src/raw/class/tl/toncenter.d.ts +21 -21
  56. package/dist/src/raw/class/tl/toncenter.js +52 -47
  57. package/dist/src/raw/class/tl/updates.d.ts +56 -56
  58. package/dist/src/raw/class/tl/updates.js +246 -175
  59. package/dist/src/raw/class/tl/upload.d.ts +66 -66
  60. package/dist/src/raw/class/tl/upload.js +178 -155
  61. package/dist/src/raw/class/tl/users.d.ts +61 -61
  62. package/dist/src/raw/class/tl/users.js +124 -124
  63. package/dist/src/raw/class/tl/wallet.d.ts +221 -221
  64. package/dist/src/raw/class/tl/wallet.js +624 -558
  65. package/dist/src/raw/class/types.d.ts +1 -1
  66. package/dist/src/raw/class/types.js +1 -1
  67. package/package.json +6 -4
@@ -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, long } from '../types.js';
@@ -19,13 +19,13 @@ export declare class SuggestedShortName extends TLObject {
19
19
  shortName: string;
20
20
  });
21
21
  /**
22
- * Generate the TLObject from buffer.
23
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
24
- */
22
+ * Generate the TLObject from buffer.
23
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
24
+ */
25
25
  static read(_data: BytesIO, ..._args: Array<any>): Promise<SuggestedShortName>;
26
26
  /**
27
- * Generate buffer from TLObject.
28
- */
27
+ * Generate buffer from TLObject.
28
+ */
29
29
  write(): Buffer;
30
30
  }
31
31
  export declare class CreateStickerSet extends TLObject {
@@ -51,13 +51,13 @@ export declare class CreateStickerSet extends TLObject {
51
51
  software?: string;
52
52
  });
53
53
  /**
54
- * Generate the TLObject from buffer.
55
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
56
- */
54
+ * Generate the TLObject from buffer.
55
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
56
+ */
57
57
  static read(_data: BytesIO, ..._args: Array<any>): Promise<CreateStickerSet>;
58
58
  /**
59
- * Generate buffer from TLObject.
60
- */
59
+ * Generate buffer from TLObject.
60
+ */
61
61
  write(): Buffer;
62
62
  }
63
63
  export declare class RemoveStickerFromSet extends TLObject {
@@ -67,13 +67,13 @@ export declare class RemoveStickerFromSet extends TLObject {
67
67
  sticker: raw.TypeInputDocument;
68
68
  });
69
69
  /**
70
- * Generate the TLObject from buffer.
71
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
72
- */
70
+ * Generate the TLObject from buffer.
71
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
72
+ */
73
73
  static read(_data: BytesIO, ..._args: Array<any>): Promise<RemoveStickerFromSet>;
74
74
  /**
75
- * Generate buffer from TLObject.
76
- */
75
+ * Generate buffer from TLObject.
76
+ */
77
77
  write(): Buffer;
78
78
  }
79
79
  export declare class ChangeStickerPosition extends TLObject {
@@ -85,13 +85,13 @@ export declare class ChangeStickerPosition extends TLObject {
85
85
  position: int;
86
86
  });
87
87
  /**
88
- * Generate the TLObject from buffer.
89
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
90
- */
88
+ * Generate the TLObject from buffer.
89
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
90
+ */
91
91
  static read(_data: BytesIO, ..._args: Array<any>): Promise<ChangeStickerPosition>;
92
92
  /**
93
- * Generate buffer from TLObject.
94
- */
93
+ * Generate buffer from TLObject.
94
+ */
95
95
  write(): Buffer;
96
96
  }
97
97
  export declare class AddStickerToSet extends TLObject {
@@ -103,13 +103,13 @@ export declare class AddStickerToSet extends TLObject {
103
103
  sticker: raw.TypeInputStickerSetItem;
104
104
  });
105
105
  /**
106
- * Generate the TLObject from buffer.
107
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
108
- */
106
+ * Generate the TLObject from buffer.
107
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
108
+ */
109
109
  static read(_data: BytesIO, ..._args: Array<any>): Promise<AddStickerToSet>;
110
110
  /**
111
- * Generate buffer from TLObject.
112
- */
111
+ * Generate buffer from TLObject.
112
+ */
113
113
  write(): Buffer;
114
114
  }
115
115
  export declare class SetStickerSetThumb extends TLObject {
@@ -123,13 +123,13 @@ export declare class SetStickerSetThumb extends TLObject {
123
123
  thumbDocumentId?: long;
124
124
  });
125
125
  /**
126
- * Generate the TLObject from buffer.
127
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
128
- */
126
+ * Generate the TLObject from buffer.
127
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
128
+ */
129
129
  static read(_data: BytesIO, ..._args: Array<any>): Promise<SetStickerSetThumb>;
130
130
  /**
131
- * Generate buffer from TLObject.
132
- */
131
+ * Generate buffer from TLObject.
132
+ */
133
133
  write(): Buffer;
134
134
  }
135
135
  export declare class CheckShortName extends TLObject {
@@ -139,13 +139,13 @@ export declare class CheckShortName extends TLObject {
139
139
  shortName: string;
140
140
  });
141
141
  /**
142
- * Generate the TLObject from buffer.
143
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
144
- */
142
+ * Generate the TLObject from buffer.
143
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
144
+ */
145
145
  static read(_data: BytesIO, ..._args: Array<any>): Promise<CheckShortName>;
146
146
  /**
147
- * Generate buffer from TLObject.
148
- */
147
+ * Generate buffer from TLObject.
148
+ */
149
149
  write(): Buffer;
150
150
  }
151
151
  export declare class SuggestShortName extends TLObject {
@@ -155,13 +155,13 @@ export declare class SuggestShortName extends TLObject {
155
155
  title: string;
156
156
  });
157
157
  /**
158
- * Generate the TLObject from buffer.
159
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
160
- */
158
+ * Generate the TLObject from buffer.
159
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
160
+ */
161
161
  static read(_data: BytesIO, ..._args: Array<any>): Promise<SuggestShortName>;
162
162
  /**
163
- * Generate buffer from TLObject.
164
- */
163
+ * Generate buffer from TLObject.
164
+ */
165
165
  write(): Buffer;
166
166
  }
167
167
  export declare class ChangeSticker extends TLObject {
@@ -177,13 +177,13 @@ export declare class ChangeSticker extends TLObject {
177
177
  keywords?: string;
178
178
  });
179
179
  /**
180
- * Generate the TLObject from buffer.
181
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
182
- */
180
+ * Generate the TLObject from buffer.
181
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
182
+ */
183
183
  static read(_data: BytesIO, ..._args: Array<any>): Promise<ChangeSticker>;
184
184
  /**
185
- * Generate buffer from TLObject.
186
- */
185
+ * Generate buffer from TLObject.
186
+ */
187
187
  write(): Buffer;
188
188
  }
189
189
  export declare class RenameStickerSet extends TLObject {
@@ -195,13 +195,13 @@ export declare class RenameStickerSet extends TLObject {
195
195
  title: string;
196
196
  });
197
197
  /**
198
- * Generate the TLObject from buffer.
199
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
200
- */
198
+ * Generate the TLObject from buffer.
199
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
200
+ */
201
201
  static read(_data: BytesIO, ..._args: Array<any>): Promise<RenameStickerSet>;
202
202
  /**
203
- * Generate buffer from TLObject.
204
- */
203
+ * Generate buffer from TLObject.
204
+ */
205
205
  write(): Buffer;
206
206
  }
207
207
  export declare class DeleteStickerSet extends TLObject {
@@ -211,13 +211,13 @@ export declare class DeleteStickerSet extends TLObject {
211
211
  stickerset: raw.TypeInputStickerSet;
212
212
  });
213
213
  /**
214
- * Generate the TLObject from buffer.
215
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
216
- */
214
+ * Generate the TLObject from buffer.
215
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
216
+ */
217
217
  static read(_data: BytesIO, ..._args: Array<any>): Promise<DeleteStickerSet>;
218
218
  /**
219
- * Generate buffer from TLObject.
220
- */
219
+ * Generate buffer from TLObject.
220
+ */
221
221
  write(): Buffer;
222
222
  }
223
223
  export declare class ReplaceSticker extends TLObject {
@@ -229,12 +229,12 @@ export declare class ReplaceSticker extends TLObject {
229
229
  newSticker: raw.TypeInputStickerSetItem;
230
230
  });
231
231
  /**
232
- * Generate the TLObject from buffer.
233
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
234
- */
232
+ * Generate the TLObject from buffer.
233
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
234
+ */
235
235
  static read(_data: BytesIO, ..._args: Array<any>): Promise<ReplaceSticker>;
236
236
  /**
237
- * Generate buffer from TLObject.
238
- */
237
+ * Generate buffer from TLObject.
238
+ */
239
239
  write(): Buffer;
240
240
  }