@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, bytes, int, long } from '../types.js';
@@ -16,13 +16,13 @@ export type TypeWelcomeMessages = WelcomeMessagesNotModified | WelcomeMessages;
16
16
  export declare class WelcomeMessagesNotModified extends TLObject {
17
17
  constructor();
18
18
  /**
19
- * Generate the TLObject from buffer.
20
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
21
- */
19
+ * Generate the TLObject from buffer.
20
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
21
+ */
22
22
  static read(_data: BytesIO, ..._args: Array<any>): Promise<WelcomeMessagesNotModified>;
23
23
  /**
24
- * Generate buffer from TLObject.
25
- */
24
+ * Generate buffer from TLObject.
25
+ */
26
26
  write(): Buffer;
27
27
  }
28
28
  export declare class WelcomeMessages extends TLObject {
@@ -33,13 +33,13 @@ export declare class WelcomeMessages extends TLObject {
33
33
  messages: Vector<raw.TypeEphemeralMessage>;
34
34
  });
35
35
  /**
36
- * Generate the TLObject from buffer.
37
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
38
- */
36
+ * Generate the TLObject from buffer.
37
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
38
+ */
39
39
  static read(_data: BytesIO, ..._args: Array<any>): Promise<WelcomeMessages>;
40
40
  /**
41
- * Generate buffer from TLObject.
42
- */
41
+ * Generate buffer from TLObject.
42
+ */
43
43
  write(): Buffer;
44
44
  }
45
45
  export declare class SendMessage extends TLObject {
@@ -75,13 +75,13 @@ export declare class SendMessage extends TLObject {
75
75
  replyTo?: raw.TypeInputReplyTo;
76
76
  });
77
77
  /**
78
- * Generate the TLObject from buffer.
79
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
80
- */
78
+ * Generate the TLObject from buffer.
79
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
80
+ */
81
81
  static read(_data: BytesIO, ..._args: Array<any>): Promise<SendMessage>;
82
82
  /**
83
- * Generate buffer from TLObject.
84
- */
83
+ * Generate buffer from TLObject.
84
+ */
85
85
  write(): Buffer;
86
86
  }
87
87
  export declare class DeleteMessage extends TLObject {
@@ -95,13 +95,13 @@ export declare class DeleteMessage extends TLObject {
95
95
  id: int;
96
96
  });
97
97
  /**
98
- * Generate the TLObject from buffer.
99
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
100
- */
98
+ * Generate the TLObject from buffer.
99
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
100
+ */
101
101
  static read(_data: BytesIO, ..._args: Array<any>): Promise<DeleteMessage>;
102
102
  /**
103
- * Generate buffer from TLObject.
104
- */
103
+ * Generate buffer from TLObject.
104
+ */
105
105
  write(): Buffer;
106
106
  }
107
107
  export declare class ReportMessage extends TLObject {
@@ -117,13 +117,13 @@ export declare class ReportMessage extends TLObject {
117
117
  message: string;
118
118
  });
119
119
  /**
120
- * Generate the TLObject from buffer.
121
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
122
- */
120
+ * Generate the TLObject from buffer.
121
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
122
+ */
123
123
  static read(_data: BytesIO, ..._args: Array<any>): Promise<ReportMessage>;
124
124
  /**
125
- * Generate buffer from TLObject.
126
- */
125
+ * Generate buffer from TLObject.
126
+ */
127
127
  write(): Buffer;
128
128
  }
129
129
  export declare class GetCallbackAnswer extends TLObject {
@@ -137,13 +137,13 @@ export declare class GetCallbackAnswer extends TLObject {
137
137
  data?: bytes;
138
138
  });
139
139
  /**
140
- * Generate the TLObject from buffer.
141
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
142
- */
140
+ * Generate the TLObject from buffer.
141
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
142
+ */
143
143
  static read(_data: BytesIO, ..._args: Array<any>): Promise<GetCallbackAnswer>;
144
144
  /**
145
- * Generate buffer from TLObject.
146
- */
145
+ * Generate buffer from TLObject.
146
+ */
147
147
  write(): Buffer;
148
148
  }
149
149
  export declare class EditMessage extends TLObject {
@@ -171,13 +171,13 @@ export declare class EditMessage extends TLObject {
171
171
  richMessage?: raw.TypeInputRichMessage;
172
172
  });
173
173
  /**
174
- * Generate the TLObject from buffer.
175
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
176
- */
174
+ * Generate the TLObject from buffer.
175
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
176
+ */
177
177
  static read(_data: BytesIO, ..._args: Array<any>): Promise<EditMessage>;
178
178
  /**
179
- * Generate buffer from TLObject.
180
- */
179
+ * Generate buffer from TLObject.
180
+ */
181
181
  write(): Buffer;
182
182
  }
183
183
  export declare class DeleteWelcomeMessage extends TLObject {
@@ -189,13 +189,13 @@ export declare class DeleteWelcomeMessage extends TLObject {
189
189
  id: int;
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<DeleteWelcomeMessage>;
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 DeleteAllWelcomeMessages extends TLObject {
@@ -205,13 +205,13 @@ export declare class DeleteAllWelcomeMessages extends TLObject {
205
205
  peer: raw.TypeInputPeer;
206
206
  });
207
207
  /**
208
- * Generate the TLObject from buffer.
209
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
210
- */
208
+ * Generate the TLObject from buffer.
209
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
210
+ */
211
211
  static read(_data: BytesIO, ..._args: Array<any>): Promise<DeleteAllWelcomeMessages>;
212
212
  /**
213
- * Generate buffer from TLObject.
214
- */
213
+ * Generate buffer from TLObject.
214
+ */
215
215
  write(): Buffer;
216
216
  }
217
217
  export declare class GetWelcomeMessages extends TLObject {
@@ -223,12 +223,12 @@ export declare class GetWelcomeMessages extends TLObject {
223
223
  hash: long;
224
224
  });
225
225
  /**
226
- * Generate the TLObject from buffer.
227
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
228
- */
226
+ * Generate the TLObject from buffer.
227
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
228
+ */
229
229
  static read(_data: BytesIO, ..._args: Array<any>): Promise<GetWelcomeMessages>;
230
230
  /**
231
- * Generate buffer from TLObject.
232
- */
231
+ * Generate buffer from TLObject.
232
+ */
233
233
  write(): Buffer;
234
234
  }