@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 { int } from '../types.js';
@@ -19,13 +19,13 @@ export declare class ApiResponse extends TLObject {
19
19
  response: raw.TypeDataJSON;
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<ApiResponse>;
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 StreamingUrl extends TLObject {
@@ -36,13 +36,13 @@ export declare class StreamingUrl extends TLObject {
36
36
  expires: int;
37
37
  });
38
38
  /**
39
- * Generate the TLObject from buffer.
40
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
41
- */
39
+ * Generate the TLObject from buffer.
40
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
41
+ */
42
42
  static read(_data: BytesIO, ..._args: Array<any>): Promise<StreamingUrl>;
43
43
  /**
44
- * Generate buffer from TLObject.
45
- */
44
+ * Generate buffer from TLObject.
45
+ */
46
46
  write(): Buffer;
47
47
  }
48
48
  export declare class PerformApiRequest extends TLObject {
@@ -58,25 +58,25 @@ export declare class PerformApiRequest extends TLObject {
58
58
  payload?: string;
59
59
  });
60
60
  /**
61
- * Generate the TLObject from buffer.
62
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
63
- */
61
+ * Generate the TLObject from buffer.
62
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
63
+ */
64
64
  static read(_data: BytesIO, ..._args: Array<any>): Promise<PerformApiRequest>;
65
65
  /**
66
- * Generate buffer from TLObject.
67
- */
66
+ * Generate buffer from TLObject.
67
+ */
68
68
  write(): Buffer;
69
69
  }
70
70
  export declare class GetStreamingUrl extends TLObject {
71
71
  __response__: TypeStreamingUrl;
72
72
  constructor();
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<GetStreamingUrl>;
78
78
  /**
79
- * Generate buffer from TLObject.
80
- */
79
+ * Generate buffer from TLObject.
80
+ */
81
81
  write(): Buffer;
82
82
  }
@@ -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
  // This file is auto generate. All change made in this file will be lost!
11
11
  import { TLObject, Primitive } from '../../core/index.js';
12
12
  import { BytesIO } from '../../../deps.js';
@@ -14,25 +14,25 @@ export class ApiResponse extends TLObject {
14
14
  response;
15
15
  constructor(params) {
16
16
  super();
17
- this.classType = 'types';
18
- this.className = 'toncenter.ApiResponse';
17
+ this.classType = "types";
18
+ this.className = "toncenter.ApiResponse";
19
19
  this.constructorId = 0xac8dfe19;
20
20
  this.subclassOfId = 0x58093fd1;
21
- this._slots = ['response'];
21
+ this._slots = ["response"];
22
22
  this.response = params.response;
23
23
  }
24
24
  /**
25
- * Generate the TLObject from buffer.
26
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
27
- */
25
+ * Generate the TLObject from buffer.
26
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
27
+ */
28
28
  static async read(_data, ..._args) {
29
29
  // no flags
30
30
  let response = await TLObject.read(_data);
31
- return new ApiResponse({ response: response });
31
+ return new ApiResponse({ "response": response });
32
32
  }
33
33
  /**
34
- * Generate buffer from TLObject.
35
- */
34
+ * Generate buffer from TLObject.
35
+ */
36
36
  write() {
37
37
  const b = new BytesIO();
38
38
  b.write(Primitive.Int.write(this.constructorId, false));
@@ -48,36 +48,36 @@ export class StreamingUrl extends TLObject {
48
48
  expires;
49
49
  constructor(params) {
50
50
  super();
51
- this.classType = 'types';
52
- this.className = 'toncenter.StreamingUrl';
51
+ this.classType = "types";
52
+ this.className = "toncenter.StreamingUrl";
53
53
  this.constructorId = 0x19887601;
54
54
  this.subclassOfId = 0x4c379ca2;
55
- this._slots = ['url', 'expires'];
55
+ this._slots = ["url", "expires"];
56
56
  this.url = params.url;
57
57
  this.expires = params.expires;
58
58
  }
59
59
  /**
60
- * Generate the TLObject from buffer.
61
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
62
- */
60
+ * Generate the TLObject from buffer.
61
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
62
+ */
63
63
  static async read(_data, ..._args) {
64
64
  // no flags
65
65
  let url = await Primitive.String.read(_data);
66
66
  let expires = await Primitive.Int.read(_data);
67
- return new StreamingUrl({ url: url, expires: expires });
67
+ return new StreamingUrl({ "url": url, "expires": expires });
68
68
  }
69
69
  /**
70
- * Generate buffer from TLObject.
71
- */
70
+ * Generate buffer from TLObject.
71
+ */
72
72
  write() {
73
73
  const b = new BytesIO();
74
74
  b.write(Primitive.Int.write(this.constructorId, false));
75
75
  // no flags
76
76
  if (this.url !== undefined) {
77
- b.write(Primitive.String.write(this.url));
77
+ b.write((Primitive.String.write(this.url)));
78
78
  }
79
79
  if (this.expires !== undefined) {
80
- b.write(Primitive.Int.write(this.expires));
80
+ b.write((Primitive.Int.write(this.expires)));
81
81
  }
82
82
  return b.buffer;
83
83
  }
@@ -90,54 +90,49 @@ export class PerformApiRequest extends TLObject {
90
90
  payload;
91
91
  constructor(params) {
92
92
  super();
93
- this.classType = 'functions';
94
- this.className = 'toncenter.PerformApiRequest';
93
+ this.classType = "functions";
94
+ this.className = "toncenter.PerformApiRequest";
95
95
  this.constructorId = 0x8d7bdd61;
96
96
  this.subclassOfId = 0x58093fd1;
97
- this._slots = ['post', 'endpoint', 'query', 'payload'];
97
+ this._slots = ["post", "endpoint", "query", "payload"];
98
98
  this.post = params.post;
99
99
  this.endpoint = params.endpoint;
100
100
  this.query = params.query;
101
101
  this.payload = params.payload;
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 async read(_data, ..._args) {
108
108
  // @ts-ignore
109
109
  let flags = await Primitive.Int.read(_data);
110
- let post = flags & (1 << 0) ? true : false;
110
+ let post = (flags & (1 << 0)) ? true : false;
111
111
  let endpoint = await Primitive.String.read(_data);
112
- let query = flags & (1 << 1) ? await Primitive.String.read(_data) : undefined;
113
- let payload = flags & (1 << 2) ? await Primitive.String.read(_data) : undefined;
114
- return new PerformApiRequest({
115
- post: post,
116
- endpoint: endpoint,
117
- query: query,
118
- payload: payload,
119
- });
112
+ let query = (flags & (1 << 1)) ? await Primitive.String.read(_data) : undefined;
113
+ let payload = (flags & (1 << 2)) ? await Primitive.String.read(_data) : undefined;
114
+ return new PerformApiRequest({ "post": post, "endpoint": endpoint, "query": query, "payload": payload });
120
115
  }
121
116
  /**
122
- * Generate buffer from TLObject.
123
- */
117
+ * Generate buffer from TLObject.
118
+ */
124
119
  write() {
125
120
  const b = new BytesIO();
126
121
  b.write(Primitive.Int.write(this.constructorId, false));
127
122
  // @ts-ignore
128
123
  let flags = 0;
129
- flags |= this.post ? 1 << 0 : 0;
130
- flags |= this.query !== undefined ? 1 << 1 : 0;
131
- flags |= this.payload !== undefined ? 1 << 2 : 0;
132
- b.write(Primitive.Int.write(flags));
124
+ flags |= this.post ? (1 << 0) : 0;
125
+ flags |= this.query !== undefined ? (1 << 1) : 0;
126
+ flags |= this.payload !== undefined ? (1 << 2) : 0;
127
+ b.write((Primitive.Int.write(flags)));
133
128
  if (this.endpoint !== undefined) {
134
- b.write(Primitive.String.write(this.endpoint));
129
+ b.write((Primitive.String.write(this.endpoint)));
135
130
  }
136
131
  if (this.query !== undefined) {
137
- b.write(Primitive.String.write(this.query));
132
+ b.write((Primitive.String.write(this.query)));
138
133
  }
139
134
  if (this.payload !== undefined) {
140
- b.write(Primitive.String.write(this.payload));
135
+ b.write((Primitive.String.write(this.payload)));
141
136
  }
142
137
  return b.buffer;
143
138
  }
@@ -146,23 +141,23 @@ export class GetStreamingUrl extends TLObject {
146
141
  __response__;
147
142
  constructor() {
148
143
  super();
149
- this.classType = 'functions';
150
- this.className = 'toncenter.GetStreamingUrl';
144
+ this.classType = "functions";
145
+ this.className = "toncenter.GetStreamingUrl";
151
146
  this.constructorId = 0xcdaf63c7;
152
147
  this.subclassOfId = 0x4c379ca2;
153
148
  this._slots = [];
154
149
  }
155
150
  /**
156
- * Generate the TLObject from buffer.
157
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
158
- */
151
+ * Generate the TLObject from buffer.
152
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
153
+ */
159
154
  static async read(_data, ..._args) {
160
155
  // no flags
161
156
  return new GetStreamingUrl();
162
157
  }
163
158
  /**
164
- * Generate buffer from TLObject.
165
- */
159
+ * Generate buffer from TLObject.
160
+ */
166
161
  write() {
167
162
  const b = new BytesIO();
168
163
  b.write(Primitive.Int.write(this.constructorId, false));
@@ -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 { Vector, int } from '../types.js';
@@ -28,13 +28,13 @@ export declare class State extends TLObject {
28
28
  unreadCount: int;
29
29
  });
30
30
  /**
31
- * Generate the TLObject from buffer.
32
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
33
- */
31
+ * Generate the TLObject from buffer.
32
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
33
+ */
34
34
  static read(_data: BytesIO, ..._args: Array<any>): Promise<State>;
35
35
  /**
36
- * Generate buffer from TLObject.
37
- */
36
+ * Generate buffer from TLObject.
37
+ */
38
38
  write(): Buffer;
39
39
  }
40
40
  export declare class DifferenceEmpty extends TLObject {
@@ -45,13 +45,13 @@ export declare class DifferenceEmpty extends TLObject {
45
45
  seq: int;
46
46
  });
47
47
  /**
48
- * Generate the TLObject from buffer.
49
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50
- */
48
+ * Generate the TLObject from buffer.
49
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50
+ */
51
51
  static read(_data: BytesIO, ..._args: Array<any>): Promise<DifferenceEmpty>;
52
52
  /**
53
- * Generate buffer from TLObject.
54
- */
53
+ * Generate buffer from TLObject.
54
+ */
55
55
  write(): Buffer;
56
56
  }
57
57
  export declare class Difference extends TLObject {
@@ -72,13 +72,13 @@ export declare class Difference extends TLObject {
72
72
  state: TypeState;
73
73
  });
74
74
  /**
75
- * Generate the TLObject from buffer.
76
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
77
- */
75
+ * Generate the TLObject from buffer.
76
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
77
+ */
78
78
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Difference>;
79
79
  /**
80
- * Generate buffer from TLObject.
81
- */
80
+ * Generate buffer from TLObject.
81
+ */
82
82
  write(): Buffer;
83
83
  }
84
84
  export declare class DifferenceSlice extends TLObject {
@@ -99,13 +99,13 @@ export declare class DifferenceSlice extends TLObject {
99
99
  intermediateState: TypeState;
100
100
  });
101
101
  /**
102
- * Generate the TLObject from buffer.
103
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
104
- */
102
+ * Generate the TLObject from buffer.
103
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
104
+ */
105
105
  static read(_data: BytesIO, ..._args: Array<any>): Promise<DifferenceSlice>;
106
106
  /**
107
- * Generate buffer from TLObject.
108
- */
107
+ * Generate buffer from TLObject.
108
+ */
109
109
  write(): Buffer;
110
110
  }
111
111
  export declare class DifferenceTooLong extends TLObject {
@@ -114,13 +114,13 @@ export declare class DifferenceTooLong extends TLObject {
114
114
  pts: int;
115
115
  });
116
116
  /**
117
- * Generate the TLObject from buffer.
118
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
119
- */
117
+ * Generate the TLObject from buffer.
118
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
119
+ */
120
120
  static read(_data: BytesIO, ..._args: Array<any>): Promise<DifferenceTooLong>;
121
121
  /**
122
- * Generate buffer from TLObject.
123
- */
122
+ * Generate buffer from TLObject.
123
+ */
124
124
  write(): Buffer;
125
125
  }
126
126
  export declare class ChannelDifferenceEmpty extends TLObject {
@@ -133,13 +133,13 @@ export declare class ChannelDifferenceEmpty extends TLObject {
133
133
  timeout?: int;
134
134
  });
135
135
  /**
136
- * Generate the TLObject from buffer.
137
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
138
- */
136
+ * Generate the TLObject from buffer.
137
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
138
+ */
139
139
  static read(_data: BytesIO, ..._args: Array<any>): Promise<ChannelDifferenceEmpty>;
140
140
  /**
141
- * Generate buffer from TLObject.
142
- */
141
+ * Generate buffer from TLObject.
142
+ */
143
143
  write(): Buffer;
144
144
  }
145
145
  export declare class ChannelDifferenceTooLong extends TLObject {
@@ -160,13 +160,13 @@ export declare class ChannelDifferenceTooLong extends TLObject {
160
160
  users: Vector<raw.TypeUser>;
161
161
  });
162
162
  /**
163
- * Generate the TLObject from buffer.
164
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
165
- */
163
+ * Generate the TLObject from buffer.
164
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
165
+ */
166
166
  static read(_data: BytesIO, ..._args: Array<any>): Promise<ChannelDifferenceTooLong>;
167
167
  /**
168
- * Generate buffer from TLObject.
169
- */
168
+ * Generate buffer from TLObject.
169
+ */
170
170
  write(): Buffer;
171
171
  }
172
172
  export declare class ChannelDifference extends TLObject {
@@ -189,26 +189,26 @@ export declare class ChannelDifference extends TLObject {
189
189
  users: Vector<raw.TypeUser>;
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<ChannelDifference>;
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 GetState extends TLObject {
202
202
  __response__: TypeState;
203
203
  constructor();
204
204
  /**
205
- * Generate the TLObject from buffer.
206
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
207
- */
205
+ * Generate the TLObject from buffer.
206
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
207
+ */
208
208
  static read(_data: BytesIO, ..._args: Array<any>): Promise<GetState>;
209
209
  /**
210
- * Generate buffer from TLObject.
211
- */
210
+ * Generate buffer from TLObject.
211
+ */
212
212
  write(): Buffer;
213
213
  }
214
214
  export declare class GetDifference extends TLObject {
@@ -228,13 +228,13 @@ export declare class GetDifference extends TLObject {
228
228
  qtsLimit?: int;
229
229
  });
230
230
  /**
231
- * Generate the TLObject from buffer.
232
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
233
- */
231
+ * Generate the TLObject from buffer.
232
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
233
+ */
234
234
  static read(_data: BytesIO, ..._args: Array<any>): Promise<GetDifference>;
235
235
  /**
236
- * Generate buffer from TLObject.
237
- */
236
+ * Generate buffer from TLObject.
237
+ */
238
238
  write(): Buffer;
239
239
  }
240
240
  export declare class GetChannelDifference extends TLObject {
@@ -252,12 +252,12 @@ export declare class GetChannelDifference extends TLObject {
252
252
  limit: int;
253
253
  });
254
254
  /**
255
- * Generate the TLObject from buffer.
256
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
257
- */
255
+ * Generate the TLObject from buffer.
256
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
257
+ */
258
258
  static read(_data: BytesIO, ..._args: Array<any>): Promise<GetChannelDifference>;
259
259
  /**
260
- * Generate buffer from TLObject.
261
- */
260
+ * Generate buffer from TLObject.
261
+ */
262
262
  write(): Buffer;
263
263
  }