@tgsnake/skema 3.2.1-browser.0 → 3.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) 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 +2783 -2783
  5. package/dist/src/raw/class/Raw.d.ts +7601 -7601
  6. package/dist/src/raw/class/Raw.js +20676 -26781
  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 +256 -256
  14. package/dist/src/raw/class/tl/bots.js +607 -661
  15. package/dist/src/raw/class/tl/channels.d.ts +336 -336
  16. package/dist/src/raw/class/tl/channels.js +745 -836
  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/feed.d.ts +71 -71
  26. package/dist/src/raw/class/tl/feed.js +179 -214
  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 +25 -32
  31. package/dist/src/raw/class/tl/help.d.ts +286 -286
  32. package/dist/src/raw/class/tl/help.js +618 -686
  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 +4886 -5965
  37. package/dist/src/raw/class/tl/payments.d.ts +646 -646
  38. package/dist/src/raw/class/tl/payments.js +1766 -2254
  39. package/dist/src/raw/class/tl/phone.d.ts +256 -256
  40. package/dist/src/raw/class/tl/phone.js +644 -779
  41. package/dist/src/raw/class/tl/photos.d.ts +41 -41
  42. package/dist/src/raw/class/tl/photos.js +116 -139
  43. package/dist/src/raw/class/tl/premium.d.ts +41 -41
  44. package/dist/src/raw/class/tl/premium.js +111 -133
  45. package/dist/src/raw/class/tl/smsjobs.d.ts +46 -46
  46. package/dist/src/raw/class/tl/smsjobs.js +97 -115
  47. package/dist/src/raw/class/tl/stats.d.ts +71 -71
  48. package/dist/src/raw/class/tl/stats.js +169 -268
  49. package/dist/src/raw/class/tl/stickers.d.ts +61 -61
  50. package/dist/src/raw/class/tl/stickers.js +144 -173
  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 +622 -781
  55. package/dist/src/raw/class/tl/toncenter.d.ts +21 -21
  56. package/dist/src/raw/class/tl/toncenter.js +47 -52
  57. package/dist/src/raw/class/tl/updates.d.ts +56 -56
  58. package/dist/src/raw/class/tl/updates.js +175 -246
  59. package/dist/src/raw/class/tl/upload.d.ts +66 -66
  60. package/dist/src/raw/class/tl/upload.js +155 -178
  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 +558 -624
  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 +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, long } from '../types.js';
@@ -19,13 +19,13 @@ export type TypeInterestCategories = InterestCategoriesNotModified | InterestCat
19
19
  export declare class FeedMessagesNotModified extends TLObject {
20
20
  constructor();
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<FeedMessagesNotModified>;
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 FeedMessages extends TLObject {
@@ -44,13 +44,13 @@ export declare class FeedMessages extends TLObject {
44
44
  users: Vector<raw.TypeUser>;
45
45
  });
46
46
  /**
47
- * Generate the TLObject from buffer.
48
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
49
- */
47
+ * Generate the TLObject from buffer.
48
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
49
+ */
50
50
  static read(_data: BytesIO, ..._args: Array<any>): Promise<FeedMessages>;
51
51
  /**
52
- * Generate buffer from TLObject.
53
- */
52
+ * Generate buffer from TLObject.
53
+ */
54
54
  write(): Buffer;
55
55
  }
56
56
  export declare class ForYouFeed extends TLObject {
@@ -65,13 +65,13 @@ export declare class ForYouFeed extends TLObject {
65
65
  recommendationId?: long;
66
66
  });
67
67
  /**
68
- * Generate the TLObject from buffer.
69
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
70
- */
68
+ * Generate the TLObject from buffer.
69
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
70
+ */
71
71
  static read(_data: BytesIO, ..._args: Array<any>): Promise<ForYouFeed>;
72
72
  /**
73
- * Generate buffer from TLObject.
74
- */
73
+ * Generate buffer from TLObject.
74
+ */
75
75
  write(): Buffer;
76
76
  }
77
77
  export declare class InterestCategory extends TLObject {
@@ -86,25 +86,25 @@ export declare class InterestCategory extends TLObject {
86
86
  emojiDocumentId?: long;
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<InterestCategory>;
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 InterestCategoriesNotModified extends TLObject {
99
99
  constructor();
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<InterestCategoriesNotModified>;
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 InterestCategories extends TLObject {
@@ -115,13 +115,13 @@ export declare class InterestCategories extends TLObject {
115
115
  selected: Vector<int>;
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<InterestCategories>;
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 GetFeed extends TLObject {
@@ -145,13 +145,13 @@ export declare class GetFeed extends TLObject {
145
145
  hash: long;
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<GetFeed>;
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 ReadFeed extends TLObject {
@@ -163,13 +163,13 @@ export declare class ReadFeed extends TLObject {
163
163
  maxPosition: raw.TypeFeedPosition;
164
164
  });
165
165
  /**
166
- * Generate the TLObject from buffer.
167
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
168
- */
166
+ * Generate the TLObject from buffer.
167
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
168
+ */
169
169
  static read(_data: BytesIO, ..._args: Array<any>): Promise<ReadFeed>;
170
170
  /**
171
- * Generate buffer from TLObject.
172
- */
171
+ * Generate buffer from TLObject.
172
+ */
173
173
  write(): Buffer;
174
174
  }
175
175
  export declare class GetForYou extends TLObject {
@@ -183,13 +183,13 @@ export declare class GetForYou extends TLObject {
183
183
  limit: int;
184
184
  });
185
185
  /**
186
- * Generate the TLObject from buffer.
187
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
188
- */
186
+ * Generate the TLObject from buffer.
187
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
188
+ */
189
189
  static read(_data: BytesIO, ..._args: Array<any>): Promise<GetForYou>;
190
190
  /**
191
- * Generate buffer from TLObject.
192
- */
191
+ * Generate buffer from TLObject.
192
+ */
193
193
  write(): Buffer;
194
194
  }
195
195
  export declare class GetInterestCategories extends TLObject {
@@ -199,13 +199,13 @@ export declare class GetInterestCategories extends TLObject {
199
199
  hash: long;
200
200
  });
201
201
  /**
202
- * Generate the TLObject from buffer.
203
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
204
- */
202
+ * Generate the TLObject from buffer.
203
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
204
+ */
205
205
  static read(_data: BytesIO, ..._args: Array<any>): Promise<GetInterestCategories>;
206
206
  /**
207
- * Generate buffer from TLObject.
208
- */
207
+ * Generate buffer from TLObject.
208
+ */
209
209
  write(): Buffer;
210
210
  }
211
211
  export declare class SetInterestCategories extends TLObject {
@@ -215,13 +215,13 @@ export declare class SetInterestCategories extends TLObject {
215
215
  categoryIds: Vector<int>;
216
216
  });
217
217
  /**
218
- * Generate the TLObject from buffer.
219
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
220
- */
218
+ * Generate the TLObject from buffer.
219
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
220
+ */
221
221
  static read(_data: BytesIO, ..._args: Array<any>): Promise<SetInterestCategories>;
222
222
  /**
223
- * Generate buffer from TLObject.
224
- */
223
+ * Generate buffer from TLObject.
224
+ */
225
225
  write(): Buffer;
226
226
  }
227
227
  export declare class LikePost extends TLObject {
@@ -233,13 +233,13 @@ export declare class LikePost extends TLObject {
233
233
  msgId: int;
234
234
  });
235
235
  /**
236
- * Generate the TLObject from buffer.
237
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
238
- */
236
+ * Generate the TLObject from buffer.
237
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
238
+ */
239
239
  static read(_data: BytesIO, ..._args: Array<any>): Promise<LikePost>;
240
240
  /**
241
- * Generate buffer from TLObject.
242
- */
241
+ * Generate buffer from TLObject.
242
+ */
243
243
  write(): Buffer;
244
244
  }
245
245
  export declare class DislikePost extends TLObject {
@@ -251,13 +251,13 @@ export declare class DislikePost extends TLObject {
251
251
  msgId: int;
252
252
  });
253
253
  /**
254
- * Generate the TLObject from buffer.
255
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
256
- */
254
+ * Generate the TLObject from buffer.
255
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
256
+ */
257
257
  static read(_data: BytesIO, ..._args: Array<any>): Promise<DislikePost>;
258
258
  /**
259
- * Generate buffer from TLObject.
260
- */
259
+ * Generate buffer from TLObject.
260
+ */
261
261
  write(): Buffer;
262
262
  }
263
263
  export declare class GetSponsoredMessages extends TLObject {
@@ -267,12 +267,12 @@ export declare class GetSponsoredMessages extends TLObject {
267
267
  forYou?: boolean;
268
268
  });
269
269
  /**
270
- * Generate the TLObject from buffer.
271
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
272
- */
270
+ * Generate the TLObject from buffer.
271
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
272
+ */
273
273
  static read(_data: BytesIO, ..._args: Array<any>): Promise<GetSponsoredMessages>;
274
274
  /**
275
- * Generate buffer from TLObject.
276
- */
275
+ * Generate buffer from TLObject.
276
+ */
277
277
  write(): Buffer;
278
278
  }