@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';
@@ -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
  }