@tgsnake/skema 3.1.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.
- package/README.md +1 -1
- package/dist/src/deps.d.ts +4 -3
- package/dist/src/deps.js +4 -4
- package/dist/src/errors/RpcError.js +3 -1
- package/dist/src/helpers.js +19 -34
- package/dist/src/raw/class/All.d.ts +49 -5
- package/dist/src/raw/class/All.js +2783 -2739
- package/dist/src/raw/class/Raw.d.ts +7856 -7518
- package/dist/src/raw/class/Raw.js +27367 -20433
- package/dist/src/raw/class/tl/account.d.ts +841 -841
- package/dist/src/raw/class/tl/account.js +1983 -1813
- package/dist/src/raw/class/tl/aicompose.d.ts +51 -51
- package/dist/src/raw/class/tl/aicompose.js +128 -117
- package/dist/src/raw/class/tl/auth.d.ts +296 -296
- package/dist/src/raw/class/tl/auth.js +849 -714
- package/dist/src/raw/class/tl/bots.d.ts +353 -232
- package/dist/src/raw/class/tl/bots.js +871 -504
- package/dist/src/raw/class/tl/channels.d.ts +351 -331
- package/dist/src/raw/class/tl/channels.js +873 -735
- package/dist/src/raw/class/tl/chatlists.d.ts +81 -81
- package/dist/src/raw/class/tl/chatlists.js +196 -183
- package/dist/src/raw/class/tl/communities.d.ts +56 -56
- package/dist/src/raw/class/tl/communities.js +159 -138
- package/dist/src/raw/class/tl/contacts.d.ts +216 -216
- package/dist/src/raw/class/tl/contacts.js +537 -492
- package/dist/src/raw/class/tl/ephemeral.d.ts +51 -51
- package/dist/src/raw/class/tl/ephemeral.js +204 -152
- package/dist/src/raw/class/tl/feed.d.ts +278 -0
- package/dist/src/raw/class/tl/feed.js +671 -0
- package/dist/src/raw/class/tl/folders.d.ts +6 -6
- package/dist/src/raw/class/tl/folders.js +11 -11
- package/dist/src/raw/class/tl/fragment.d.ts +11 -11
- package/dist/src/raw/class/tl/fragment.js +32 -25
- package/dist/src/raw/class/tl/help.d.ts +286 -286
- package/dist/src/raw/class/tl/help.js +686 -618
- package/dist/src/raw/class/tl/langpack.d.ts +26 -26
- package/dist/src/raw/class/tl/langpack.js +57 -57
- package/dist/src/raw/class/tl/messages.d.ts +1901 -1851
- package/dist/src/raw/class/tl/messages.js +6043 -4855
- package/dist/src/raw/class/tl/payments.d.ts +677 -641
- package/dist/src/raw/class/tl/payments.js +2312 -1734
- package/dist/src/raw/class/tl/phone.d.ts +256 -256
- package/dist/src/raw/class/tl/phone.js +779 -644
- package/dist/src/raw/class/tl/photos.d.ts +41 -41
- package/dist/src/raw/class/tl/photos.js +139 -116
- package/dist/src/raw/class/tl/premium.d.ts +41 -41
- package/dist/src/raw/class/tl/premium.js +133 -111
- package/dist/src/raw/class/tl/smsjobs.d.ts +46 -46
- package/dist/src/raw/class/tl/smsjobs.js +115 -97
- package/dist/src/raw/class/tl/stats.d.ts +71 -71
- package/dist/src/raw/class/tl/stats.js +268 -169
- package/dist/src/raw/class/tl/stickers.d.ts +61 -61
- package/dist/src/raw/class/tl/stickers.js +173 -144
- package/dist/src/raw/class/tl/storage.d.ts +51 -51
- package/dist/src/raw/class/tl/storage.js +71 -71
- package/dist/src/raw/class/tl/stories.d.ts +221 -221
- package/dist/src/raw/class/tl/stories.js +781 -622
- package/dist/src/raw/class/tl/toncenter.d.ts +21 -21
- package/dist/src/raw/class/tl/toncenter.js +52 -47
- package/dist/src/raw/class/tl/updates.d.ts +56 -56
- package/dist/src/raw/class/tl/updates.js +246 -175
- package/dist/src/raw/class/tl/upload.d.ts +66 -66
- package/dist/src/raw/class/tl/upload.js +178 -155
- package/dist/src/raw/class/tl/users.d.ts +61 -61
- package/dist/src/raw/class/tl/users.js +124 -124
- package/dist/src/raw/class/tl/wallet.d.ts +257 -206
- package/dist/src/raw/class/tl/wallet.js +701 -525
- package/dist/src/raw/class/types.d.ts +3 -2
- package/dist/src/raw/class/types.js +1 -1
- package/dist/src/raw/core/GzipPacked.d.ts +4 -0
- package/dist/src/raw/core/GzipPacked.js +9 -1
- package/dist/src/raw/core/primitive/Bytes.js +26 -4
- package/dist/src/raw/core/primitive/Vector.js +11 -3
- package/package.json +7 -5
|
@@ -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';
|
|
@@ -22,13 +22,13 @@ export type TypeSponsoredPeers = SponsoredPeersEmpty | SponsoredPeers;
|
|
|
22
22
|
export declare class ContactsNotModified extends TLObject {
|
|
23
23
|
constructor();
|
|
24
24
|
/**
|
|
25
|
-
|
|
26
|
-
|
|
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 read(_data: BytesIO, ..._args: Array<any>): Promise<ContactsNotModified>;
|
|
29
29
|
/**
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
* Generate buffer from TLObject.
|
|
31
|
+
*/
|
|
32
32
|
write(): Buffer;
|
|
33
33
|
}
|
|
34
34
|
export declare class Contacts extends TLObject {
|
|
@@ -41,13 +41,13 @@ export declare class Contacts extends TLObject {
|
|
|
41
41
|
users: Vector<raw.TypeUser>;
|
|
42
42
|
});
|
|
43
43
|
/**
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
* Generate the TLObject from buffer.
|
|
45
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
46
|
+
*/
|
|
47
47
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Contacts>;
|
|
48
48
|
/**
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
* Generate buffer from TLObject.
|
|
50
|
+
*/
|
|
51
51
|
write(): Buffer;
|
|
52
52
|
}
|
|
53
53
|
export declare class ImportedContacts extends TLObject {
|
|
@@ -62,13 +62,13 @@ export declare class ImportedContacts extends TLObject {
|
|
|
62
62
|
users: Vector<raw.TypeUser>;
|
|
63
63
|
});
|
|
64
64
|
/**
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
65
|
+
* Generate the TLObject from buffer.
|
|
66
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
67
|
+
*/
|
|
68
68
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ImportedContacts>;
|
|
69
69
|
/**
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
* Generate buffer from TLObject.
|
|
71
|
+
*/
|
|
72
72
|
write(): Buffer;
|
|
73
73
|
}
|
|
74
74
|
export declare class Blocked extends TLObject {
|
|
@@ -81,13 +81,13 @@ export declare class Blocked extends TLObject {
|
|
|
81
81
|
users: Vector<raw.TypeUser>;
|
|
82
82
|
});
|
|
83
83
|
/**
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
* Generate the TLObject from buffer.
|
|
85
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
86
|
+
*/
|
|
87
87
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Blocked>;
|
|
88
88
|
/**
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
* Generate buffer from TLObject.
|
|
90
|
+
*/
|
|
91
91
|
write(): Buffer;
|
|
92
92
|
}
|
|
93
93
|
export declare class BlockedSlice extends TLObject {
|
|
@@ -102,13 +102,13 @@ export declare class BlockedSlice extends TLObject {
|
|
|
102
102
|
users: Vector<raw.TypeUser>;
|
|
103
103
|
});
|
|
104
104
|
/**
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
105
|
+
* Generate the TLObject from buffer.
|
|
106
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
107
|
+
*/
|
|
108
108
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<BlockedSlice>;
|
|
109
109
|
/**
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
* Generate buffer from TLObject.
|
|
111
|
+
*/
|
|
112
112
|
write(): Buffer;
|
|
113
113
|
}
|
|
114
114
|
export declare class Found extends TLObject {
|
|
@@ -123,13 +123,13 @@ export declare class Found extends TLObject {
|
|
|
123
123
|
users: Vector<raw.TypeUser>;
|
|
124
124
|
});
|
|
125
125
|
/**
|
|
126
|
-
|
|
127
|
-
|
|
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<Found>;
|
|
130
130
|
/**
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
* Generate buffer from TLObject.
|
|
132
|
+
*/
|
|
133
133
|
write(): Buffer;
|
|
134
134
|
}
|
|
135
135
|
export declare class ResolvedPeer extends TLObject {
|
|
@@ -142,25 +142,25 @@ export declare class ResolvedPeer extends TLObject {
|
|
|
142
142
|
users: Vector<raw.TypeUser>;
|
|
143
143
|
});
|
|
144
144
|
/**
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
145
|
+
* Generate the TLObject from buffer.
|
|
146
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
147
|
+
*/
|
|
148
148
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ResolvedPeer>;
|
|
149
149
|
/**
|
|
150
|
-
|
|
151
|
-
|
|
150
|
+
* Generate buffer from TLObject.
|
|
151
|
+
*/
|
|
152
152
|
write(): Buffer;
|
|
153
153
|
}
|
|
154
154
|
export declare class TopPeersNotModified extends TLObject {
|
|
155
155
|
constructor();
|
|
156
156
|
/**
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
157
|
+
* Generate the TLObject from buffer.
|
|
158
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
159
|
+
*/
|
|
160
160
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<TopPeersNotModified>;
|
|
161
161
|
/**
|
|
162
|
-
|
|
163
|
-
|
|
162
|
+
* Generate buffer from TLObject.
|
|
163
|
+
*/
|
|
164
164
|
write(): Buffer;
|
|
165
165
|
}
|
|
166
166
|
export declare class TopPeers extends TLObject {
|
|
@@ -173,25 +173,25 @@ export declare class TopPeers extends TLObject {
|
|
|
173
173
|
users: Vector<raw.TypeUser>;
|
|
174
174
|
});
|
|
175
175
|
/**
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
176
|
+
* Generate the TLObject from buffer.
|
|
177
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
178
|
+
*/
|
|
179
179
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<TopPeers>;
|
|
180
180
|
/**
|
|
181
|
-
|
|
182
|
-
|
|
181
|
+
* Generate buffer from TLObject.
|
|
182
|
+
*/
|
|
183
183
|
write(): Buffer;
|
|
184
184
|
}
|
|
185
185
|
export declare class TopPeersDisabled extends TLObject {
|
|
186
186
|
constructor();
|
|
187
187
|
/**
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
188
|
+
* Generate the TLObject from buffer.
|
|
189
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
190
|
+
*/
|
|
191
191
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<TopPeersDisabled>;
|
|
192
192
|
/**
|
|
193
|
-
|
|
194
|
-
|
|
193
|
+
* Generate buffer from TLObject.
|
|
194
|
+
*/
|
|
195
195
|
write(): Buffer;
|
|
196
196
|
}
|
|
197
197
|
export declare class ContactBirthdays extends TLObject {
|
|
@@ -202,25 +202,25 @@ export declare class ContactBirthdays extends TLObject {
|
|
|
202
202
|
users: Vector<raw.TypeUser>;
|
|
203
203
|
});
|
|
204
204
|
/**
|
|
205
|
-
|
|
206
|
-
|
|
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<ContactBirthdays>;
|
|
209
209
|
/**
|
|
210
|
-
|
|
211
|
-
|
|
210
|
+
* Generate buffer from TLObject.
|
|
211
|
+
*/
|
|
212
212
|
write(): Buffer;
|
|
213
213
|
}
|
|
214
214
|
export declare class SponsoredPeersEmpty extends TLObject {
|
|
215
215
|
constructor();
|
|
216
216
|
/**
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
217
|
+
* Generate the TLObject from buffer.
|
|
218
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
219
|
+
*/
|
|
220
220
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SponsoredPeersEmpty>;
|
|
221
221
|
/**
|
|
222
|
-
|
|
223
|
-
|
|
222
|
+
* Generate buffer from TLObject.
|
|
223
|
+
*/
|
|
224
224
|
write(): Buffer;
|
|
225
225
|
}
|
|
226
226
|
export declare class SponsoredPeers extends TLObject {
|
|
@@ -233,13 +233,13 @@ export declare class SponsoredPeers extends TLObject {
|
|
|
233
233
|
users: Vector<raw.TypeUser>;
|
|
234
234
|
});
|
|
235
235
|
/**
|
|
236
|
-
|
|
237
|
-
|
|
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<SponsoredPeers>;
|
|
240
240
|
/**
|
|
241
|
-
|
|
242
|
-
|
|
241
|
+
* Generate buffer from TLObject.
|
|
242
|
+
*/
|
|
243
243
|
write(): Buffer;
|
|
244
244
|
}
|
|
245
245
|
export declare class GetContactIDs extends TLObject {
|
|
@@ -249,26 +249,26 @@ export declare class GetContactIDs extends TLObject {
|
|
|
249
249
|
hash: long;
|
|
250
250
|
});
|
|
251
251
|
/**
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
252
|
+
* Generate the TLObject from buffer.
|
|
253
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
254
|
+
*/
|
|
255
255
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetContactIDs>;
|
|
256
256
|
/**
|
|
257
|
-
|
|
258
|
-
|
|
257
|
+
* Generate buffer from TLObject.
|
|
258
|
+
*/
|
|
259
259
|
write(): Buffer;
|
|
260
260
|
}
|
|
261
261
|
export declare class GetStatuses extends TLObject {
|
|
262
262
|
__response__: Vector<raw.TypeContactStatus>;
|
|
263
263
|
constructor();
|
|
264
264
|
/**
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
265
|
+
* Generate the TLObject from buffer.
|
|
266
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
267
|
+
*/
|
|
268
268
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetStatuses>;
|
|
269
269
|
/**
|
|
270
|
-
|
|
271
|
-
|
|
270
|
+
* Generate buffer from TLObject.
|
|
271
|
+
*/
|
|
272
272
|
write(): Buffer;
|
|
273
273
|
}
|
|
274
274
|
export declare class GetContacts extends TLObject {
|
|
@@ -278,13 +278,13 @@ export declare class GetContacts extends TLObject {
|
|
|
278
278
|
hash: long;
|
|
279
279
|
});
|
|
280
280
|
/**
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
281
|
+
* Generate the TLObject from buffer.
|
|
282
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
283
|
+
*/
|
|
284
284
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetContacts>;
|
|
285
285
|
/**
|
|
286
|
-
|
|
287
|
-
|
|
286
|
+
* Generate buffer from TLObject.
|
|
287
|
+
*/
|
|
288
288
|
write(): Buffer;
|
|
289
289
|
}
|
|
290
290
|
export declare class ImportContacts extends TLObject {
|
|
@@ -294,13 +294,13 @@ export declare class ImportContacts extends TLObject {
|
|
|
294
294
|
contacts: Vector<raw.TypeInputContact>;
|
|
295
295
|
});
|
|
296
296
|
/**
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
297
|
+
* Generate the TLObject from buffer.
|
|
298
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
299
|
+
*/
|
|
300
300
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ImportContacts>;
|
|
301
301
|
/**
|
|
302
|
-
|
|
303
|
-
|
|
302
|
+
* Generate buffer from TLObject.
|
|
303
|
+
*/
|
|
304
304
|
write(): Buffer;
|
|
305
305
|
}
|
|
306
306
|
export declare class DeleteContacts extends TLObject {
|
|
@@ -310,13 +310,13 @@ export declare class DeleteContacts extends TLObject {
|
|
|
310
310
|
id: Vector<raw.TypeInputUser>;
|
|
311
311
|
});
|
|
312
312
|
/**
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
313
|
+
* Generate the TLObject from buffer.
|
|
314
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
315
|
+
*/
|
|
316
316
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<DeleteContacts>;
|
|
317
317
|
/**
|
|
318
|
-
|
|
319
|
-
|
|
318
|
+
* Generate buffer from TLObject.
|
|
319
|
+
*/
|
|
320
320
|
write(): Buffer;
|
|
321
321
|
}
|
|
322
322
|
export declare class DeleteByPhones extends TLObject {
|
|
@@ -326,13 +326,13 @@ export declare class DeleteByPhones extends TLObject {
|
|
|
326
326
|
phones: Vector<string>;
|
|
327
327
|
});
|
|
328
328
|
/**
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
329
|
+
* Generate the TLObject from buffer.
|
|
330
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
331
|
+
*/
|
|
332
332
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<DeleteByPhones>;
|
|
333
333
|
/**
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
* Generate buffer from TLObject.
|
|
335
|
+
*/
|
|
336
336
|
write(): Buffer;
|
|
337
337
|
}
|
|
338
338
|
export declare class Block extends TLObject {
|
|
@@ -344,13 +344,13 @@ export declare class Block extends TLObject {
|
|
|
344
344
|
id: raw.TypeInputPeer;
|
|
345
345
|
});
|
|
346
346
|
/**
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
347
|
+
* Generate the TLObject from buffer.
|
|
348
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
349
|
+
*/
|
|
350
350
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Block>;
|
|
351
351
|
/**
|
|
352
|
-
|
|
353
|
-
|
|
352
|
+
* Generate buffer from TLObject.
|
|
353
|
+
*/
|
|
354
354
|
write(): Buffer;
|
|
355
355
|
}
|
|
356
356
|
export declare class Unblock extends TLObject {
|
|
@@ -362,13 +362,13 @@ export declare class Unblock extends TLObject {
|
|
|
362
362
|
id: raw.TypeInputPeer;
|
|
363
363
|
});
|
|
364
364
|
/**
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
365
|
+
* Generate the TLObject from buffer.
|
|
366
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
367
|
+
*/
|
|
368
368
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Unblock>;
|
|
369
369
|
/**
|
|
370
|
-
|
|
371
|
-
|
|
370
|
+
* Generate buffer from TLObject.
|
|
371
|
+
*/
|
|
372
372
|
write(): Buffer;
|
|
373
373
|
}
|
|
374
374
|
export declare class GetBlocked extends TLObject {
|
|
@@ -382,13 +382,13 @@ export declare class GetBlocked extends TLObject {
|
|
|
382
382
|
limit: int;
|
|
383
383
|
});
|
|
384
384
|
/**
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
385
|
+
* Generate the TLObject from buffer.
|
|
386
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
387
|
+
*/
|
|
388
388
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetBlocked>;
|
|
389
389
|
/**
|
|
390
|
-
|
|
391
|
-
|
|
390
|
+
* Generate buffer from TLObject.
|
|
391
|
+
*/
|
|
392
392
|
write(): Buffer;
|
|
393
393
|
}
|
|
394
394
|
export declare class Search extends TLObject {
|
|
@@ -404,13 +404,13 @@ export declare class Search extends TLObject {
|
|
|
404
404
|
limit: int;
|
|
405
405
|
});
|
|
406
406
|
/**
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
407
|
+
* Generate the TLObject from buffer.
|
|
408
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
409
|
+
*/
|
|
410
410
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Search>;
|
|
411
411
|
/**
|
|
412
|
-
|
|
413
|
-
|
|
412
|
+
* Generate buffer from TLObject.
|
|
413
|
+
*/
|
|
414
414
|
write(): Buffer;
|
|
415
415
|
}
|
|
416
416
|
export declare class ResolveUsername extends TLObject {
|
|
@@ -422,13 +422,13 @@ export declare class ResolveUsername extends TLObject {
|
|
|
422
422
|
referer?: string;
|
|
423
423
|
});
|
|
424
424
|
/**
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
425
|
+
* Generate the TLObject from buffer.
|
|
426
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
427
|
+
*/
|
|
428
428
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ResolveUsername>;
|
|
429
429
|
/**
|
|
430
|
-
|
|
431
|
-
|
|
430
|
+
* Generate buffer from TLObject.
|
|
431
|
+
*/
|
|
432
432
|
write(): Buffer;
|
|
433
433
|
}
|
|
434
434
|
export declare class GetTopPeers extends TLObject {
|
|
@@ -462,13 +462,13 @@ export declare class GetTopPeers extends TLObject {
|
|
|
462
462
|
hash: long;
|
|
463
463
|
});
|
|
464
464
|
/**
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
465
|
+
* Generate the TLObject from buffer.
|
|
466
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
467
|
+
*/
|
|
468
468
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetTopPeers>;
|
|
469
469
|
/**
|
|
470
|
-
|
|
471
|
-
|
|
470
|
+
* Generate buffer from TLObject.
|
|
471
|
+
*/
|
|
472
472
|
write(): Buffer;
|
|
473
473
|
}
|
|
474
474
|
export declare class ResetTopPeerRating extends TLObject {
|
|
@@ -480,39 +480,39 @@ export declare class ResetTopPeerRating extends TLObject {
|
|
|
480
480
|
peer: raw.TypeInputPeer;
|
|
481
481
|
});
|
|
482
482
|
/**
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
483
|
+
* Generate the TLObject from buffer.
|
|
484
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
485
|
+
*/
|
|
486
486
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ResetTopPeerRating>;
|
|
487
487
|
/**
|
|
488
|
-
|
|
489
|
-
|
|
488
|
+
* Generate buffer from TLObject.
|
|
489
|
+
*/
|
|
490
490
|
write(): Buffer;
|
|
491
491
|
}
|
|
492
492
|
export declare class ResetSaved extends TLObject {
|
|
493
493
|
__response__: Bool;
|
|
494
494
|
constructor();
|
|
495
495
|
/**
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
496
|
+
* Generate the TLObject from buffer.
|
|
497
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
498
|
+
*/
|
|
499
499
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ResetSaved>;
|
|
500
500
|
/**
|
|
501
|
-
|
|
502
|
-
|
|
501
|
+
* Generate buffer from TLObject.
|
|
502
|
+
*/
|
|
503
503
|
write(): Buffer;
|
|
504
504
|
}
|
|
505
505
|
export declare class GetSaved extends TLObject {
|
|
506
506
|
__response__: Vector<raw.TypeSavedContact>;
|
|
507
507
|
constructor();
|
|
508
508
|
/**
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
509
|
+
* Generate the TLObject from buffer.
|
|
510
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
511
|
+
*/
|
|
512
512
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetSaved>;
|
|
513
513
|
/**
|
|
514
|
-
|
|
515
|
-
|
|
514
|
+
* Generate buffer from TLObject.
|
|
515
|
+
*/
|
|
516
516
|
write(): Buffer;
|
|
517
517
|
}
|
|
518
518
|
export declare class ToggleTopPeers extends TLObject {
|
|
@@ -522,13 +522,13 @@ export declare class ToggleTopPeers extends TLObject {
|
|
|
522
522
|
enabled: Bool;
|
|
523
523
|
});
|
|
524
524
|
/**
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
525
|
+
* Generate the TLObject from buffer.
|
|
526
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
527
|
+
*/
|
|
528
528
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ToggleTopPeers>;
|
|
529
529
|
/**
|
|
530
|
-
|
|
531
|
-
|
|
530
|
+
* Generate buffer from TLObject.
|
|
531
|
+
*/
|
|
532
532
|
write(): Buffer;
|
|
533
533
|
}
|
|
534
534
|
export declare class AddContact extends TLObject {
|
|
@@ -548,13 +548,13 @@ export declare class AddContact extends TLObject {
|
|
|
548
548
|
note?: raw.TypeTextWithEntities;
|
|
549
549
|
});
|
|
550
550
|
/**
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
551
|
+
* Generate the TLObject from buffer.
|
|
552
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
553
|
+
*/
|
|
554
554
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<AddContact>;
|
|
555
555
|
/**
|
|
556
|
-
|
|
557
|
-
|
|
556
|
+
* Generate buffer from TLObject.
|
|
557
|
+
*/
|
|
558
558
|
write(): Buffer;
|
|
559
559
|
}
|
|
560
560
|
export declare class AcceptContact extends TLObject {
|
|
@@ -564,13 +564,13 @@ export declare class AcceptContact extends TLObject {
|
|
|
564
564
|
id: raw.TypeInputUser;
|
|
565
565
|
});
|
|
566
566
|
/**
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
567
|
+
* Generate the TLObject from buffer.
|
|
568
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
569
|
+
*/
|
|
570
570
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<AcceptContact>;
|
|
571
571
|
/**
|
|
572
|
-
|
|
573
|
-
|
|
572
|
+
* Generate buffer from TLObject.
|
|
573
|
+
*/
|
|
574
574
|
write(): Buffer;
|
|
575
575
|
}
|
|
576
576
|
export declare class GetLocated extends TLObject {
|
|
@@ -584,13 +584,13 @@ export declare class GetLocated extends TLObject {
|
|
|
584
584
|
selfExpires?: int;
|
|
585
585
|
});
|
|
586
586
|
/**
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
587
|
+
* Generate the TLObject from buffer.
|
|
588
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
589
|
+
*/
|
|
590
590
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetLocated>;
|
|
591
591
|
/**
|
|
592
|
-
|
|
593
|
-
|
|
592
|
+
* Generate buffer from TLObject.
|
|
593
|
+
*/
|
|
594
594
|
write(): Buffer;
|
|
595
595
|
}
|
|
596
596
|
export declare class BlockFromReplies extends TLObject {
|
|
@@ -606,13 +606,13 @@ export declare class BlockFromReplies extends TLObject {
|
|
|
606
606
|
msgId: int;
|
|
607
607
|
});
|
|
608
608
|
/**
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
609
|
+
* Generate the TLObject from buffer.
|
|
610
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
611
|
+
*/
|
|
612
612
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<BlockFromReplies>;
|
|
613
613
|
/**
|
|
614
|
-
|
|
615
|
-
|
|
614
|
+
* Generate buffer from TLObject.
|
|
615
|
+
*/
|
|
616
616
|
write(): Buffer;
|
|
617
617
|
}
|
|
618
618
|
export declare class ResolvePhone extends TLObject {
|
|
@@ -622,26 +622,26 @@ export declare class ResolvePhone extends TLObject {
|
|
|
622
622
|
phone: string;
|
|
623
623
|
});
|
|
624
624
|
/**
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
625
|
+
* Generate the TLObject from buffer.
|
|
626
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
627
|
+
*/
|
|
628
628
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ResolvePhone>;
|
|
629
629
|
/**
|
|
630
|
-
|
|
631
|
-
|
|
630
|
+
* Generate buffer from TLObject.
|
|
631
|
+
*/
|
|
632
632
|
write(): Buffer;
|
|
633
633
|
}
|
|
634
634
|
export declare class ExportContactToken extends TLObject {
|
|
635
635
|
__response__: raw.TypeExportedContactToken;
|
|
636
636
|
constructor();
|
|
637
637
|
/**
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
638
|
+
* Generate the TLObject from buffer.
|
|
639
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
640
|
+
*/
|
|
641
641
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ExportContactToken>;
|
|
642
642
|
/**
|
|
643
|
-
|
|
644
|
-
|
|
643
|
+
* Generate buffer from TLObject.
|
|
644
|
+
*/
|
|
645
645
|
write(): Buffer;
|
|
646
646
|
}
|
|
647
647
|
export declare class ImportContactToken extends TLObject {
|
|
@@ -651,13 +651,13 @@ export declare class ImportContactToken extends TLObject {
|
|
|
651
651
|
token: string;
|
|
652
652
|
});
|
|
653
653
|
/**
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
654
|
+
* Generate the TLObject from buffer.
|
|
655
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
656
|
+
*/
|
|
657
657
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ImportContactToken>;
|
|
658
658
|
/**
|
|
659
|
-
|
|
660
|
-
|
|
659
|
+
* Generate buffer from TLObject.
|
|
660
|
+
*/
|
|
661
661
|
write(): Buffer;
|
|
662
662
|
}
|
|
663
663
|
export declare class EditCloseFriends extends TLObject {
|
|
@@ -667,13 +667,13 @@ export declare class EditCloseFriends extends TLObject {
|
|
|
667
667
|
id: Vector<long>;
|
|
668
668
|
});
|
|
669
669
|
/**
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
670
|
+
* Generate the TLObject from buffer.
|
|
671
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
672
|
+
*/
|
|
673
673
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<EditCloseFriends>;
|
|
674
674
|
/**
|
|
675
|
-
|
|
676
|
-
|
|
675
|
+
* Generate buffer from TLObject.
|
|
676
|
+
*/
|
|
677
677
|
write(): Buffer;
|
|
678
678
|
}
|
|
679
679
|
export declare class SetBlocked extends TLObject {
|
|
@@ -687,26 +687,26 @@ export declare class SetBlocked extends TLObject {
|
|
|
687
687
|
limit: int;
|
|
688
688
|
});
|
|
689
689
|
/**
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
690
|
+
* Generate the TLObject from buffer.
|
|
691
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
692
|
+
*/
|
|
693
693
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SetBlocked>;
|
|
694
694
|
/**
|
|
695
|
-
|
|
696
|
-
|
|
695
|
+
* Generate buffer from TLObject.
|
|
696
|
+
*/
|
|
697
697
|
write(): Buffer;
|
|
698
698
|
}
|
|
699
699
|
export declare class GetBirthdays extends TLObject {
|
|
700
700
|
__response__: TypeContactBirthdays;
|
|
701
701
|
constructor();
|
|
702
702
|
/**
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
703
|
+
* Generate the TLObject from buffer.
|
|
704
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
705
|
+
*/
|
|
706
706
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetBirthdays>;
|
|
707
707
|
/**
|
|
708
|
-
|
|
709
|
-
|
|
708
|
+
* Generate buffer from TLObject.
|
|
709
|
+
*/
|
|
710
710
|
write(): Buffer;
|
|
711
711
|
}
|
|
712
712
|
export declare class GetSponsoredPeers extends TLObject {
|
|
@@ -716,13 +716,13 @@ export declare class GetSponsoredPeers extends TLObject {
|
|
|
716
716
|
q: string;
|
|
717
717
|
});
|
|
718
718
|
/**
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
719
|
+
* Generate the TLObject from buffer.
|
|
720
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
721
|
+
*/
|
|
722
722
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetSponsoredPeers>;
|
|
723
723
|
/**
|
|
724
|
-
|
|
725
|
-
|
|
724
|
+
* Generate buffer from TLObject.
|
|
725
|
+
*/
|
|
726
726
|
write(): Buffer;
|
|
727
727
|
}
|
|
728
728
|
export declare class UpdateContactNote extends TLObject {
|
|
@@ -734,13 +734,13 @@ export declare class UpdateContactNote extends TLObject {
|
|
|
734
734
|
note: raw.TypeTextWithEntities;
|
|
735
735
|
});
|
|
736
736
|
/**
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
737
|
+
* Generate the TLObject from buffer.
|
|
738
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
739
|
+
*/
|
|
740
740
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<UpdateContactNote>;
|
|
741
741
|
/**
|
|
742
|
-
|
|
743
|
-
|
|
742
|
+
* Generate buffer from TLObject.
|
|
743
|
+
*/
|
|
744
744
|
write(): Buffer;
|
|
745
745
|
}
|
|
746
746
|
export declare class ExportNoPaidMessagesToken extends TLObject {
|
|
@@ -752,13 +752,13 @@ export declare class ExportNoPaidMessagesToken extends TLObject {
|
|
|
752
752
|
temporary?: boolean;
|
|
753
753
|
});
|
|
754
754
|
/**
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
755
|
+
* Generate the TLObject from buffer.
|
|
756
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
757
|
+
*/
|
|
758
758
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ExportNoPaidMessagesToken>;
|
|
759
759
|
/**
|
|
760
|
-
|
|
761
|
-
|
|
760
|
+
* Generate buffer from TLObject.
|
|
761
|
+
*/
|
|
762
762
|
write(): Buffer;
|
|
763
763
|
}
|
|
764
764
|
export declare class ImportNoPaidMessagesToken extends TLObject {
|
|
@@ -770,12 +770,12 @@ export declare class ImportNoPaidMessagesToken extends TLObject {
|
|
|
770
770
|
token: string;
|
|
771
771
|
});
|
|
772
772
|
/**
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
773
|
+
* Generate the TLObject from buffer.
|
|
774
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
775
|
+
*/
|
|
776
776
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ImportNoPaidMessagesToken>;
|
|
777
777
|
/**
|
|
778
|
-
|
|
779
|
-
|
|
778
|
+
* Generate buffer from TLObject.
|
|
779
|
+
*/
|
|
780
780
|
write(): Buffer;
|
|
781
781
|
}
|