@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, bytes, int, long } from '../types.js';
|
|
@@ -29,13 +29,13 @@ export declare class AllStoriesNotModified extends TLObject {
|
|
|
29
29
|
stealthMode: raw.TypeStoriesStealthMode;
|
|
30
30
|
});
|
|
31
31
|
/**
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
* Generate the TLObject from buffer.
|
|
33
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
34
|
+
*/
|
|
35
35
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<AllStoriesNotModified>;
|
|
36
36
|
/**
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
* Generate buffer from TLObject.
|
|
38
|
+
*/
|
|
39
39
|
write(): Buffer;
|
|
40
40
|
}
|
|
41
41
|
export declare class AllStories extends TLObject {
|
|
@@ -56,13 +56,13 @@ export declare class AllStories extends TLObject {
|
|
|
56
56
|
stealthMode: raw.TypeStoriesStealthMode;
|
|
57
57
|
});
|
|
58
58
|
/**
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
59
|
+
* Generate the TLObject from buffer.
|
|
60
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
61
|
+
*/
|
|
62
62
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<AllStories>;
|
|
63
63
|
/**
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
* Generate buffer from TLObject.
|
|
65
|
+
*/
|
|
66
66
|
write(): Buffer;
|
|
67
67
|
}
|
|
68
68
|
export declare class Stories extends TLObject {
|
|
@@ -79,13 +79,13 @@ export declare class Stories extends TLObject {
|
|
|
79
79
|
users: Vector<raw.TypeUser>;
|
|
80
80
|
});
|
|
81
81
|
/**
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
82
|
+
* Generate the TLObject from buffer.
|
|
83
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
84
|
+
*/
|
|
85
85
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Stories>;
|
|
86
86
|
/**
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
* Generate buffer from TLObject.
|
|
88
|
+
*/
|
|
89
89
|
write(): Buffer;
|
|
90
90
|
}
|
|
91
91
|
export declare class StoryViewsList extends TLObject {
|
|
@@ -108,13 +108,13 @@ export declare class StoryViewsList extends TLObject {
|
|
|
108
108
|
nextOffset?: string;
|
|
109
109
|
});
|
|
110
110
|
/**
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
111
|
+
* Generate the TLObject from buffer.
|
|
112
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
113
|
+
*/
|
|
114
114
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<StoryViewsList>;
|
|
115
115
|
/**
|
|
116
|
-
|
|
117
|
-
|
|
116
|
+
* Generate buffer from TLObject.
|
|
117
|
+
*/
|
|
118
118
|
write(): Buffer;
|
|
119
119
|
}
|
|
120
120
|
export declare class StoryViews extends TLObject {
|
|
@@ -125,13 +125,13 @@ export declare class StoryViews extends TLObject {
|
|
|
125
125
|
users: Vector<raw.TypeUser>;
|
|
126
126
|
});
|
|
127
127
|
/**
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
128
|
+
* Generate the TLObject from buffer.
|
|
129
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
130
|
+
*/
|
|
131
131
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<StoryViews>;
|
|
132
132
|
/**
|
|
133
|
-
|
|
134
|
-
|
|
133
|
+
* Generate buffer from TLObject.
|
|
134
|
+
*/
|
|
135
135
|
write(): Buffer;
|
|
136
136
|
}
|
|
137
137
|
export declare class PeerStories extends TLObject {
|
|
@@ -144,13 +144,13 @@ export declare class PeerStories extends TLObject {
|
|
|
144
144
|
users: Vector<raw.TypeUser>;
|
|
145
145
|
});
|
|
146
146
|
/**
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
147
|
+
* Generate the TLObject from buffer.
|
|
148
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
149
|
+
*/
|
|
150
150
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<PeerStories>;
|
|
151
151
|
/**
|
|
152
|
-
|
|
153
|
-
|
|
152
|
+
* Generate buffer from TLObject.
|
|
153
|
+
*/
|
|
154
154
|
write(): Buffer;
|
|
155
155
|
}
|
|
156
156
|
export declare class StoryReactionsList extends TLObject {
|
|
@@ -167,13 +167,13 @@ export declare class StoryReactionsList extends TLObject {
|
|
|
167
167
|
nextOffset?: string;
|
|
168
168
|
});
|
|
169
169
|
/**
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
* Generate the TLObject from buffer.
|
|
171
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
172
|
+
*/
|
|
173
173
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<StoryReactionsList>;
|
|
174
174
|
/**
|
|
175
|
-
|
|
176
|
-
|
|
175
|
+
* Generate buffer from TLObject.
|
|
176
|
+
*/
|
|
177
177
|
write(): Buffer;
|
|
178
178
|
}
|
|
179
179
|
export declare class FoundStories extends TLObject {
|
|
@@ -190,13 +190,13 @@ export declare class FoundStories extends TLObject {
|
|
|
190
190
|
users: Vector<raw.TypeUser>;
|
|
191
191
|
});
|
|
192
192
|
/**
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
193
|
+
* Generate the TLObject from buffer.
|
|
194
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
195
|
+
*/
|
|
196
196
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<FoundStories>;
|
|
197
197
|
/**
|
|
198
|
-
|
|
199
|
-
|
|
198
|
+
* Generate buffer from TLObject.
|
|
199
|
+
*/
|
|
200
200
|
write(): Buffer;
|
|
201
201
|
}
|
|
202
202
|
export declare class CanSendStoryCount extends TLObject {
|
|
@@ -205,25 +205,25 @@ export declare class CanSendStoryCount extends TLObject {
|
|
|
205
205
|
countRemains: int;
|
|
206
206
|
});
|
|
207
207
|
/**
|
|
208
|
-
|
|
209
|
-
|
|
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<CanSendStoryCount>;
|
|
212
212
|
/**
|
|
213
|
-
|
|
214
|
-
|
|
213
|
+
* Generate buffer from TLObject.
|
|
214
|
+
*/
|
|
215
215
|
write(): Buffer;
|
|
216
216
|
}
|
|
217
217
|
export declare class AlbumsNotModified extends TLObject {
|
|
218
218
|
constructor();
|
|
219
219
|
/**
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
220
|
+
* Generate the TLObject from buffer.
|
|
221
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
222
|
+
*/
|
|
223
223
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<AlbumsNotModified>;
|
|
224
224
|
/**
|
|
225
|
-
|
|
226
|
-
|
|
225
|
+
* Generate buffer from TLObject.
|
|
226
|
+
*/
|
|
227
227
|
write(): Buffer;
|
|
228
228
|
}
|
|
229
229
|
export declare class Albums extends TLObject {
|
|
@@ -234,13 +234,13 @@ export declare class Albums extends TLObject {
|
|
|
234
234
|
albums: Vector<raw.TypeStoryAlbum>;
|
|
235
235
|
});
|
|
236
236
|
/**
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
237
|
+
* Generate the TLObject from buffer.
|
|
238
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
239
|
+
*/
|
|
240
240
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Albums>;
|
|
241
241
|
/**
|
|
242
|
-
|
|
243
|
-
|
|
242
|
+
* Generate buffer from TLObject.
|
|
243
|
+
*/
|
|
244
244
|
write(): Buffer;
|
|
245
245
|
}
|
|
246
246
|
export declare class CanSendStory extends TLObject {
|
|
@@ -250,13 +250,13 @@ export declare class CanSendStory extends TLObject {
|
|
|
250
250
|
peer: raw.TypeInputPeer;
|
|
251
251
|
});
|
|
252
252
|
/**
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
253
|
+
* Generate the TLObject from buffer.
|
|
254
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
255
|
+
*/
|
|
256
256
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<CanSendStory>;
|
|
257
257
|
/**
|
|
258
|
-
|
|
259
|
-
|
|
258
|
+
* Generate buffer from TLObject.
|
|
259
|
+
*/
|
|
260
260
|
write(): Buffer;
|
|
261
261
|
}
|
|
262
262
|
export declare class SendStory extends TLObject {
|
|
@@ -294,13 +294,13 @@ export declare class SendStory extends TLObject {
|
|
|
294
294
|
music?: raw.TypeInputDocument;
|
|
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<SendStory>;
|
|
301
301
|
/**
|
|
302
|
-
|
|
303
|
-
|
|
302
|
+
* Generate buffer from TLObject.
|
|
303
|
+
*/
|
|
304
304
|
write(): Buffer;
|
|
305
305
|
}
|
|
306
306
|
export declare class EditStory extends TLObject {
|
|
@@ -324,13 +324,13 @@ export declare class EditStory extends TLObject {
|
|
|
324
324
|
music?: raw.TypeInputDocument;
|
|
325
325
|
});
|
|
326
326
|
/**
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
327
|
+
* Generate the TLObject from buffer.
|
|
328
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
329
|
+
*/
|
|
330
330
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<EditStory>;
|
|
331
331
|
/**
|
|
332
|
-
|
|
333
|
-
|
|
332
|
+
* Generate buffer from TLObject.
|
|
333
|
+
*/
|
|
334
334
|
write(): Buffer;
|
|
335
335
|
}
|
|
336
336
|
export declare class DeleteStories extends TLObject {
|
|
@@ -342,13 +342,13 @@ export declare class DeleteStories extends TLObject {
|
|
|
342
342
|
id: Vector<int>;
|
|
343
343
|
});
|
|
344
344
|
/**
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
345
|
+
* Generate the TLObject from buffer.
|
|
346
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
347
|
+
*/
|
|
348
348
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<DeleteStories>;
|
|
349
349
|
/**
|
|
350
|
-
|
|
351
|
-
|
|
350
|
+
* Generate buffer from TLObject.
|
|
351
|
+
*/
|
|
352
352
|
write(): Buffer;
|
|
353
353
|
}
|
|
354
354
|
export declare class TogglePinned extends TLObject {
|
|
@@ -362,13 +362,13 @@ export declare class TogglePinned extends TLObject {
|
|
|
362
362
|
pinned: Bool;
|
|
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<TogglePinned>;
|
|
369
369
|
/**
|
|
370
|
-
|
|
371
|
-
|
|
370
|
+
* Generate buffer from TLObject.
|
|
371
|
+
*/
|
|
372
372
|
write(): Buffer;
|
|
373
373
|
}
|
|
374
374
|
export declare class GetAllStories extends TLObject {
|
|
@@ -382,13 +382,13 @@ export declare class GetAllStories extends TLObject {
|
|
|
382
382
|
state?: string;
|
|
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<GetAllStories>;
|
|
389
389
|
/**
|
|
390
|
-
|
|
391
|
-
|
|
390
|
+
* Generate buffer from TLObject.
|
|
391
|
+
*/
|
|
392
392
|
write(): Buffer;
|
|
393
393
|
}
|
|
394
394
|
export declare class GetPinnedStories extends TLObject {
|
|
@@ -402,13 +402,13 @@ export declare class GetPinnedStories extends TLObject {
|
|
|
402
402
|
limit: int;
|
|
403
403
|
});
|
|
404
404
|
/**
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
405
|
+
* Generate the TLObject from buffer.
|
|
406
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
407
|
+
*/
|
|
408
408
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetPinnedStories>;
|
|
409
409
|
/**
|
|
410
|
-
|
|
411
|
-
|
|
410
|
+
* Generate buffer from TLObject.
|
|
411
|
+
*/
|
|
412
412
|
write(): Buffer;
|
|
413
413
|
}
|
|
414
414
|
export declare class GetStoriesArchive extends TLObject {
|
|
@@ -422,13 +422,13 @@ export declare class GetStoriesArchive extends TLObject {
|
|
|
422
422
|
limit: int;
|
|
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<GetStoriesArchive>;
|
|
429
429
|
/**
|
|
430
|
-
|
|
431
|
-
|
|
430
|
+
* Generate buffer from TLObject.
|
|
431
|
+
*/
|
|
432
432
|
write(): Buffer;
|
|
433
433
|
}
|
|
434
434
|
export declare class GetStoriesByID extends TLObject {
|
|
@@ -440,13 +440,13 @@ export declare class GetStoriesByID extends TLObject {
|
|
|
440
440
|
id: Vector<int>;
|
|
441
441
|
});
|
|
442
442
|
/**
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
443
|
+
* Generate the TLObject from buffer.
|
|
444
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
445
|
+
*/
|
|
446
446
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetStoriesByID>;
|
|
447
447
|
/**
|
|
448
|
-
|
|
449
|
-
|
|
448
|
+
* Generate buffer from TLObject.
|
|
449
|
+
*/
|
|
450
450
|
write(): Buffer;
|
|
451
451
|
}
|
|
452
452
|
export declare class ToggleAllStoriesHidden extends TLObject {
|
|
@@ -456,13 +456,13 @@ export declare class ToggleAllStoriesHidden extends TLObject {
|
|
|
456
456
|
hidden: Bool;
|
|
457
457
|
});
|
|
458
458
|
/**
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
459
|
+
* Generate the TLObject from buffer.
|
|
460
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
461
|
+
*/
|
|
462
462
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ToggleAllStoriesHidden>;
|
|
463
463
|
/**
|
|
464
|
-
|
|
465
|
-
|
|
464
|
+
* Generate buffer from TLObject.
|
|
465
|
+
*/
|
|
466
466
|
write(): Buffer;
|
|
467
467
|
}
|
|
468
468
|
export declare class ReadStories extends TLObject {
|
|
@@ -474,13 +474,13 @@ export declare class ReadStories extends TLObject {
|
|
|
474
474
|
maxId: int;
|
|
475
475
|
});
|
|
476
476
|
/**
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
477
|
+
* Generate the TLObject from buffer.
|
|
478
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
479
|
+
*/
|
|
480
480
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ReadStories>;
|
|
481
481
|
/**
|
|
482
|
-
|
|
483
|
-
|
|
482
|
+
* Generate buffer from TLObject.
|
|
483
|
+
*/
|
|
484
484
|
write(): Buffer;
|
|
485
485
|
}
|
|
486
486
|
export declare class IncrementStoryViews extends TLObject {
|
|
@@ -492,13 +492,13 @@ export declare class IncrementStoryViews extends TLObject {
|
|
|
492
492
|
id: Vector<int>;
|
|
493
493
|
});
|
|
494
494
|
/**
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
495
|
+
* Generate the TLObject from buffer.
|
|
496
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
497
|
+
*/
|
|
498
498
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<IncrementStoryViews>;
|
|
499
499
|
/**
|
|
500
|
-
|
|
501
|
-
|
|
500
|
+
* Generate buffer from TLObject.
|
|
501
|
+
*/
|
|
502
502
|
write(): Buffer;
|
|
503
503
|
}
|
|
504
504
|
export declare class GetStoryViewsList extends TLObject {
|
|
@@ -522,13 +522,13 @@ export declare class GetStoryViewsList extends TLObject {
|
|
|
522
522
|
limit: int;
|
|
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<GetStoryViewsList>;
|
|
529
529
|
/**
|
|
530
|
-
|
|
531
|
-
|
|
530
|
+
* Generate buffer from TLObject.
|
|
531
|
+
*/
|
|
532
532
|
write(): Buffer;
|
|
533
533
|
}
|
|
534
534
|
export declare class GetStoriesViews extends TLObject {
|
|
@@ -540,13 +540,13 @@ export declare class GetStoriesViews extends TLObject {
|
|
|
540
540
|
id: Vector<int>;
|
|
541
541
|
});
|
|
542
542
|
/**
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
543
|
+
* Generate the TLObject from buffer.
|
|
544
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
545
|
+
*/
|
|
546
546
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetStoriesViews>;
|
|
547
547
|
/**
|
|
548
|
-
|
|
549
|
-
|
|
548
|
+
* Generate buffer from TLObject.
|
|
549
|
+
*/
|
|
550
550
|
write(): Buffer;
|
|
551
551
|
}
|
|
552
552
|
export declare class ExportStoryLink extends TLObject {
|
|
@@ -558,13 +558,13 @@ export declare class ExportStoryLink extends TLObject {
|
|
|
558
558
|
id: int;
|
|
559
559
|
});
|
|
560
560
|
/**
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
561
|
+
* Generate the TLObject from buffer.
|
|
562
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
563
|
+
*/
|
|
564
564
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ExportStoryLink>;
|
|
565
565
|
/**
|
|
566
|
-
|
|
567
|
-
|
|
566
|
+
* Generate buffer from TLObject.
|
|
567
|
+
*/
|
|
568
568
|
write(): Buffer;
|
|
569
569
|
}
|
|
570
570
|
export declare class Report extends TLObject {
|
|
@@ -580,13 +580,13 @@ export declare class Report extends TLObject {
|
|
|
580
580
|
message: string;
|
|
581
581
|
});
|
|
582
582
|
/**
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
583
|
+
* Generate the TLObject from buffer.
|
|
584
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
585
|
+
*/
|
|
586
586
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Report>;
|
|
587
587
|
/**
|
|
588
|
-
|
|
589
|
-
|
|
588
|
+
* Generate buffer from TLObject.
|
|
589
|
+
*/
|
|
590
590
|
write(): Buffer;
|
|
591
591
|
}
|
|
592
592
|
export declare class ActivateStealthMode extends TLObject {
|
|
@@ -598,13 +598,13 @@ export declare class ActivateStealthMode extends TLObject {
|
|
|
598
598
|
future?: boolean;
|
|
599
599
|
});
|
|
600
600
|
/**
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
601
|
+
* Generate the TLObject from buffer.
|
|
602
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
603
|
+
*/
|
|
604
604
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ActivateStealthMode>;
|
|
605
605
|
/**
|
|
606
|
-
|
|
607
|
-
|
|
606
|
+
* Generate buffer from TLObject.
|
|
607
|
+
*/
|
|
608
608
|
write(): Buffer;
|
|
609
609
|
}
|
|
610
610
|
export declare class SendReaction extends TLObject {
|
|
@@ -620,13 +620,13 @@ export declare class SendReaction extends TLObject {
|
|
|
620
620
|
reaction: raw.TypeReaction;
|
|
621
621
|
});
|
|
622
622
|
/**
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
623
|
+
* Generate the TLObject from buffer.
|
|
624
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
625
|
+
*/
|
|
626
626
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SendReaction>;
|
|
627
627
|
/**
|
|
628
|
-
|
|
629
|
-
|
|
628
|
+
* Generate buffer from TLObject.
|
|
629
|
+
*/
|
|
630
630
|
write(): Buffer;
|
|
631
631
|
}
|
|
632
632
|
export declare class GetPeerStories extends TLObject {
|
|
@@ -636,26 +636,26 @@ export declare class GetPeerStories extends TLObject {
|
|
|
636
636
|
peer: raw.TypeInputPeer;
|
|
637
637
|
});
|
|
638
638
|
/**
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
639
|
+
* Generate the TLObject from buffer.
|
|
640
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
641
|
+
*/
|
|
642
642
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetPeerStories>;
|
|
643
643
|
/**
|
|
644
|
-
|
|
645
|
-
|
|
644
|
+
* Generate buffer from TLObject.
|
|
645
|
+
*/
|
|
646
646
|
write(): Buffer;
|
|
647
647
|
}
|
|
648
648
|
export declare class GetAllReadPeerStories extends TLObject {
|
|
649
649
|
__response__: raw.TypeUpdates;
|
|
650
650
|
constructor();
|
|
651
651
|
/**
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
652
|
+
* Generate the TLObject from buffer.
|
|
653
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
654
|
+
*/
|
|
655
655
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetAllReadPeerStories>;
|
|
656
656
|
/**
|
|
657
|
-
|
|
658
|
-
|
|
657
|
+
* Generate buffer from TLObject.
|
|
658
|
+
*/
|
|
659
659
|
write(): Buffer;
|
|
660
660
|
}
|
|
661
661
|
export declare class GetPeerMaxIDs extends TLObject {
|
|
@@ -665,26 +665,26 @@ export declare class GetPeerMaxIDs extends TLObject {
|
|
|
665
665
|
id: Vector<raw.TypeInputPeer>;
|
|
666
666
|
});
|
|
667
667
|
/**
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
668
|
+
* Generate the TLObject from buffer.
|
|
669
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
670
|
+
*/
|
|
671
671
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetPeerMaxIDs>;
|
|
672
672
|
/**
|
|
673
|
-
|
|
674
|
-
|
|
673
|
+
* Generate buffer from TLObject.
|
|
674
|
+
*/
|
|
675
675
|
write(): Buffer;
|
|
676
676
|
}
|
|
677
677
|
export declare class GetChatsToSend extends TLObject {
|
|
678
678
|
__response__: messages.TypeChats;
|
|
679
679
|
constructor();
|
|
680
680
|
/**
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
681
|
+
* Generate the TLObject from buffer.
|
|
682
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
683
|
+
*/
|
|
684
684
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetChatsToSend>;
|
|
685
685
|
/**
|
|
686
|
-
|
|
687
|
-
|
|
686
|
+
* Generate buffer from TLObject.
|
|
687
|
+
*/
|
|
688
688
|
write(): Buffer;
|
|
689
689
|
}
|
|
690
690
|
export declare class TogglePeerStoriesHidden extends TLObject {
|
|
@@ -696,13 +696,13 @@ export declare class TogglePeerStoriesHidden extends TLObject {
|
|
|
696
696
|
hidden: Bool;
|
|
697
697
|
});
|
|
698
698
|
/**
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
699
|
+
* Generate the TLObject from buffer.
|
|
700
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
701
|
+
*/
|
|
702
702
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<TogglePeerStoriesHidden>;
|
|
703
703
|
/**
|
|
704
|
-
|
|
705
|
-
|
|
704
|
+
* Generate buffer from TLObject.
|
|
705
|
+
*/
|
|
706
706
|
write(): Buffer;
|
|
707
707
|
}
|
|
708
708
|
export declare class GetStoryReactionsList extends TLObject {
|
|
@@ -722,13 +722,13 @@ export declare class GetStoryReactionsList extends TLObject {
|
|
|
722
722
|
limit: int;
|
|
723
723
|
});
|
|
724
724
|
/**
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
725
|
+
* Generate the TLObject from buffer.
|
|
726
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
727
|
+
*/
|
|
728
728
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetStoryReactionsList>;
|
|
729
729
|
/**
|
|
730
|
-
|
|
731
|
-
|
|
730
|
+
* Generate buffer from TLObject.
|
|
731
|
+
*/
|
|
732
732
|
write(): Buffer;
|
|
733
733
|
}
|
|
734
734
|
export declare class TogglePinnedToTop extends TLObject {
|
|
@@ -740,13 +740,13 @@ export declare class TogglePinnedToTop extends TLObject {
|
|
|
740
740
|
id: Vector<int>;
|
|
741
741
|
});
|
|
742
742
|
/**
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
743
|
+
* Generate the TLObject from buffer.
|
|
744
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
745
|
+
*/
|
|
746
746
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<TogglePinnedToTop>;
|
|
747
747
|
/**
|
|
748
|
-
|
|
749
|
-
|
|
748
|
+
* Generate buffer from TLObject.
|
|
749
|
+
*/
|
|
750
750
|
write(): Buffer;
|
|
751
751
|
}
|
|
752
752
|
export declare class SearchPosts extends TLObject {
|
|
@@ -764,13 +764,13 @@ export declare class SearchPosts extends TLObject {
|
|
|
764
764
|
limit: int;
|
|
765
765
|
});
|
|
766
766
|
/**
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
767
|
+
* Generate the TLObject from buffer.
|
|
768
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
769
|
+
*/
|
|
770
770
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SearchPosts>;
|
|
771
771
|
/**
|
|
772
|
-
|
|
773
|
-
|
|
772
|
+
* Generate buffer from TLObject.
|
|
773
|
+
*/
|
|
774
774
|
write(): Buffer;
|
|
775
775
|
}
|
|
776
776
|
export declare class CreateAlbum extends TLObject {
|
|
@@ -784,13 +784,13 @@ export declare class CreateAlbum extends TLObject {
|
|
|
784
784
|
stories: Vector<int>;
|
|
785
785
|
});
|
|
786
786
|
/**
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
787
|
+
* Generate the TLObject from buffer.
|
|
788
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
789
|
+
*/
|
|
790
790
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<CreateAlbum>;
|
|
791
791
|
/**
|
|
792
|
-
|
|
793
|
-
|
|
792
|
+
* Generate buffer from TLObject.
|
|
793
|
+
*/
|
|
794
794
|
write(): Buffer;
|
|
795
795
|
}
|
|
796
796
|
export declare class UpdateAlbum extends TLObject {
|
|
@@ -810,13 +810,13 @@ export declare class UpdateAlbum extends TLObject {
|
|
|
810
810
|
order?: Vector<int>;
|
|
811
811
|
});
|
|
812
812
|
/**
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
813
|
+
* Generate the TLObject from buffer.
|
|
814
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
815
|
+
*/
|
|
816
816
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<UpdateAlbum>;
|
|
817
817
|
/**
|
|
818
|
-
|
|
819
|
-
|
|
818
|
+
* Generate buffer from TLObject.
|
|
819
|
+
*/
|
|
820
820
|
write(): Buffer;
|
|
821
821
|
}
|
|
822
822
|
export declare class ReorderAlbums extends TLObject {
|
|
@@ -828,13 +828,13 @@ export declare class ReorderAlbums extends TLObject {
|
|
|
828
828
|
order: Vector<int>;
|
|
829
829
|
});
|
|
830
830
|
/**
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
831
|
+
* Generate the TLObject from buffer.
|
|
832
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
833
|
+
*/
|
|
834
834
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ReorderAlbums>;
|
|
835
835
|
/**
|
|
836
|
-
|
|
837
|
-
|
|
836
|
+
* Generate buffer from TLObject.
|
|
837
|
+
*/
|
|
838
838
|
write(): Buffer;
|
|
839
839
|
}
|
|
840
840
|
export declare class DeleteAlbum extends TLObject {
|
|
@@ -846,13 +846,13 @@ export declare class DeleteAlbum extends TLObject {
|
|
|
846
846
|
albumId: int;
|
|
847
847
|
});
|
|
848
848
|
/**
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
849
|
+
* Generate the TLObject from buffer.
|
|
850
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
851
|
+
*/
|
|
852
852
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<DeleteAlbum>;
|
|
853
853
|
/**
|
|
854
|
-
|
|
855
|
-
|
|
854
|
+
* Generate buffer from TLObject.
|
|
855
|
+
*/
|
|
856
856
|
write(): Buffer;
|
|
857
857
|
}
|
|
858
858
|
export declare class GetAlbums extends TLObject {
|
|
@@ -864,13 +864,13 @@ export declare class GetAlbums extends TLObject {
|
|
|
864
864
|
hash: long;
|
|
865
865
|
});
|
|
866
866
|
/**
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
867
|
+
* Generate the TLObject from buffer.
|
|
868
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
869
|
+
*/
|
|
870
870
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetAlbums>;
|
|
871
871
|
/**
|
|
872
|
-
|
|
873
|
-
|
|
872
|
+
* Generate buffer from TLObject.
|
|
873
|
+
*/
|
|
874
874
|
write(): Buffer;
|
|
875
875
|
}
|
|
876
876
|
export declare class GetAlbumStories extends TLObject {
|
|
@@ -886,13 +886,13 @@ export declare class GetAlbumStories extends TLObject {
|
|
|
886
886
|
limit: int;
|
|
887
887
|
});
|
|
888
888
|
/**
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
889
|
+
* Generate the TLObject from buffer.
|
|
890
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
891
|
+
*/
|
|
892
892
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetAlbumStories>;
|
|
893
893
|
/**
|
|
894
|
-
|
|
895
|
-
|
|
894
|
+
* Generate buffer from TLObject.
|
|
895
|
+
*/
|
|
896
896
|
write(): Buffer;
|
|
897
897
|
}
|
|
898
898
|
export declare class StartLive extends TLObject {
|
|
@@ -920,12 +920,12 @@ export declare class StartLive extends TLObject {
|
|
|
920
920
|
sendPaidMessagesStars?: long;
|
|
921
921
|
});
|
|
922
922
|
/**
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
923
|
+
* Generate the TLObject from buffer.
|
|
924
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
925
|
+
*/
|
|
926
926
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<StartLive>;
|
|
927
927
|
/**
|
|
928
|
-
|
|
929
|
-
|
|
928
|
+
* Generate buffer from TLObject.
|
|
929
|
+
*/
|
|
930
930
|
write(): Buffer;
|
|
931
931
|
}
|