@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.
- package/dist/src/deps.d.ts +3 -4
- package/dist/src/deps.js +4 -4
- package/dist/src/raw/class/All.d.ts +1 -1
- package/dist/src/raw/class/All.js +2739 -2739
- package/dist/src/raw/class/Raw.d.ts +7516 -7516
- package/dist/src/raw/class/Raw.js +20426 -26448
- package/dist/src/raw/class/tl/account.d.ts +841 -841
- package/dist/src/raw/class/tl/account.js +1813 -1983
- package/dist/src/raw/class/tl/aicompose.d.ts +51 -51
- package/dist/src/raw/class/tl/aicompose.js +117 -128
- package/dist/src/raw/class/tl/auth.d.ts +296 -296
- package/dist/src/raw/class/tl/auth.js +714 -849
- package/dist/src/raw/class/tl/bots.d.ts +231 -231
- package/dist/src/raw/class/tl/bots.js +504 -524
- package/dist/src/raw/class/tl/channels.d.ts +331 -331
- package/dist/src/raw/class/tl/channels.js +732 -823
- package/dist/src/raw/class/tl/chatlists.d.ts +81 -81
- package/dist/src/raw/class/tl/chatlists.js +183 -196
- package/dist/src/raw/class/tl/communities.d.ts +56 -56
- package/dist/src/raw/class/tl/communities.js +138 -159
- package/dist/src/raw/class/tl/contacts.d.ts +216 -216
- package/dist/src/raw/class/tl/contacts.js +492 -537
- package/dist/src/raw/class/tl/ephemeral.d.ts +51 -51
- package/dist/src/raw/class/tl/ephemeral.js +152 -204
- 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 +25 -32
- package/dist/src/raw/class/tl/help.d.ts +286 -286
- package/dist/src/raw/class/tl/help.js +618 -686
- 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 +1851 -1851
- package/dist/src/raw/class/tl/messages.js +4854 -5924
- package/dist/src/raw/class/tl/payments.d.ts +641 -641
- package/dist/src/raw/class/tl/payments.js +1734 -2198
- package/dist/src/raw/class/tl/phone.d.ts +256 -256
- package/dist/src/raw/class/tl/phone.js +644 -779
- package/dist/src/raw/class/tl/photos.d.ts +41 -41
- package/dist/src/raw/class/tl/photos.js +116 -139
- package/dist/src/raw/class/tl/premium.d.ts +41 -41
- package/dist/src/raw/class/tl/premium.js +111 -133
- package/dist/src/raw/class/tl/smsjobs.d.ts +46 -46
- package/dist/src/raw/class/tl/smsjobs.js +97 -115
- package/dist/src/raw/class/tl/stats.d.ts +71 -71
- package/dist/src/raw/class/tl/stats.js +169 -268
- package/dist/src/raw/class/tl/stickers.d.ts +61 -61
- package/dist/src/raw/class/tl/stickers.js +144 -173
- 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 +622 -781
- package/dist/src/raw/class/tl/toncenter.d.ts +21 -21
- package/dist/src/raw/class/tl/toncenter.js +47 -52
- package/dist/src/raw/class/tl/updates.d.ts +56 -56
- package/dist/src/raw/class/tl/updates.js +175 -246
- package/dist/src/raw/class/tl/upload.d.ts +66 -66
- package/dist/src/raw/class/tl/upload.js +155 -178
- 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 +206 -206
- package/dist/src/raw/class/tl/wallet.js +525 -591
- package/dist/src/raw/class/types.d.ts +1 -1
- package/dist/src/raw/class/types.js +1 -1
- 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, int, long } from '../types.js';
|
|
@@ -28,13 +28,13 @@ export declare class BotInfo extends TLObject {
|
|
|
28
28
|
description: string;
|
|
29
29
|
});
|
|
30
30
|
/**
|
|
31
|
-
|
|
32
|
-
|
|
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<BotInfo>;
|
|
35
35
|
/**
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
* Generate buffer from TLObject.
|
|
37
|
+
*/
|
|
38
38
|
write(): Buffer;
|
|
39
39
|
}
|
|
40
40
|
export declare class PopularAppBots extends TLObject {
|
|
@@ -45,13 +45,13 @@ export declare class PopularAppBots extends TLObject {
|
|
|
45
45
|
users: Vector<raw.TypeUser>;
|
|
46
46
|
});
|
|
47
47
|
/**
|
|
48
|
-
|
|
49
|
-
|
|
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<PopularAppBots>;
|
|
52
52
|
/**
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
* Generate buffer from TLObject.
|
|
54
|
+
*/
|
|
55
55
|
write(): Buffer;
|
|
56
56
|
}
|
|
57
57
|
export declare class PreviewInfo extends TLObject {
|
|
@@ -62,13 +62,13 @@ export declare class PreviewInfo extends TLObject {
|
|
|
62
62
|
langCodes: Vector<string>;
|
|
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<PreviewInfo>;
|
|
69
69
|
/**
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
* Generate buffer from TLObject.
|
|
71
|
+
*/
|
|
72
72
|
write(): Buffer;
|
|
73
73
|
}
|
|
74
74
|
export declare class ExportedBotToken extends TLObject {
|
|
@@ -77,13 +77,13 @@ export declare class ExportedBotToken extends TLObject {
|
|
|
77
77
|
token: string;
|
|
78
78
|
});
|
|
79
79
|
/**
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
* Generate the TLObject from buffer.
|
|
81
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
82
|
+
*/
|
|
83
83
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ExportedBotToken>;
|
|
84
84
|
/**
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
* Generate buffer from TLObject.
|
|
86
|
+
*/
|
|
87
87
|
write(): Buffer;
|
|
88
88
|
}
|
|
89
89
|
export declare class RequestedButton extends TLObject {
|
|
@@ -92,13 +92,13 @@ export declare class RequestedButton extends TLObject {
|
|
|
92
92
|
webappReqId: string;
|
|
93
93
|
});
|
|
94
94
|
/**
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
95
|
+
* Generate the TLObject from buffer.
|
|
96
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
97
|
+
*/
|
|
98
98
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<RequestedButton>;
|
|
99
99
|
/**
|
|
100
|
-
|
|
101
|
-
|
|
100
|
+
* Generate buffer from TLObject.
|
|
101
|
+
*/
|
|
102
102
|
write(): Buffer;
|
|
103
103
|
}
|
|
104
104
|
export declare class AccessSettings extends TLObject {
|
|
@@ -109,13 +109,13 @@ export declare class AccessSettings extends TLObject {
|
|
|
109
109
|
addUsers?: Vector<raw.TypeUser>;
|
|
110
110
|
});
|
|
111
111
|
/**
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
112
|
+
* Generate the TLObject from buffer.
|
|
113
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
114
|
+
*/
|
|
115
115
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<AccessSettings>;
|
|
116
116
|
/**
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
* Generate buffer from TLObject.
|
|
118
|
+
*/
|
|
119
119
|
write(): Buffer;
|
|
120
120
|
}
|
|
121
121
|
export declare class SendCustomRequest extends TLObject {
|
|
@@ -127,13 +127,13 @@ export declare class SendCustomRequest extends TLObject {
|
|
|
127
127
|
params: raw.TypeDataJSON;
|
|
128
128
|
});
|
|
129
129
|
/**
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
130
|
+
* Generate the TLObject from buffer.
|
|
131
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
132
|
+
*/
|
|
133
133
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SendCustomRequest>;
|
|
134
134
|
/**
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
* Generate buffer from TLObject.
|
|
136
|
+
*/
|
|
137
137
|
write(): Buffer;
|
|
138
138
|
}
|
|
139
139
|
export declare class AnswerWebhookJSONQuery extends TLObject {
|
|
@@ -145,13 +145,13 @@ export declare class AnswerWebhookJSONQuery extends TLObject {
|
|
|
145
145
|
data: raw.TypeDataJSON;
|
|
146
146
|
});
|
|
147
147
|
/**
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
148
|
+
* Generate the TLObject from buffer.
|
|
149
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
150
|
+
*/
|
|
151
151
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<AnswerWebhookJSONQuery>;
|
|
152
152
|
/**
|
|
153
|
-
|
|
154
|
-
|
|
153
|
+
* Generate buffer from TLObject.
|
|
154
|
+
*/
|
|
155
155
|
write(): Buffer;
|
|
156
156
|
}
|
|
157
157
|
export declare class SetBotCommands extends TLObject {
|
|
@@ -165,13 +165,13 @@ export declare class SetBotCommands extends TLObject {
|
|
|
165
165
|
commands: Vector<raw.TypeBotCommand>;
|
|
166
166
|
});
|
|
167
167
|
/**
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
168
|
+
* Generate the TLObject from buffer.
|
|
169
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
170
|
+
*/
|
|
171
171
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SetBotCommands>;
|
|
172
172
|
/**
|
|
173
|
-
|
|
174
|
-
|
|
173
|
+
* Generate buffer from TLObject.
|
|
174
|
+
*/
|
|
175
175
|
write(): Buffer;
|
|
176
176
|
}
|
|
177
177
|
export declare class ResetBotCommands extends TLObject {
|
|
@@ -183,13 +183,13 @@ export declare class ResetBotCommands extends TLObject {
|
|
|
183
183
|
langCode: string;
|
|
184
184
|
});
|
|
185
185
|
/**
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
186
|
+
* Generate the TLObject from buffer.
|
|
187
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
188
|
+
*/
|
|
189
189
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ResetBotCommands>;
|
|
190
190
|
/**
|
|
191
|
-
|
|
192
|
-
|
|
191
|
+
* Generate buffer from TLObject.
|
|
192
|
+
*/
|
|
193
193
|
write(): Buffer;
|
|
194
194
|
}
|
|
195
195
|
export declare class GetBotCommands extends TLObject {
|
|
@@ -201,13 +201,13 @@ export declare class GetBotCommands extends TLObject {
|
|
|
201
201
|
langCode: string;
|
|
202
202
|
});
|
|
203
203
|
/**
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
204
|
+
* Generate the TLObject from buffer.
|
|
205
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
206
|
+
*/
|
|
207
207
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetBotCommands>;
|
|
208
208
|
/**
|
|
209
|
-
|
|
210
|
-
|
|
209
|
+
* Generate buffer from TLObject.
|
|
210
|
+
*/
|
|
211
211
|
write(): Buffer;
|
|
212
212
|
}
|
|
213
213
|
export declare class SetBotMenuButton extends TLObject {
|
|
@@ -219,13 +219,13 @@ export declare class SetBotMenuButton extends TLObject {
|
|
|
219
219
|
button: raw.TypeBotMenuButton;
|
|
220
220
|
});
|
|
221
221
|
/**
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
222
|
+
* Generate the TLObject from buffer.
|
|
223
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
224
|
+
*/
|
|
225
225
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SetBotMenuButton>;
|
|
226
226
|
/**
|
|
227
|
-
|
|
228
|
-
|
|
227
|
+
* Generate buffer from TLObject.
|
|
228
|
+
*/
|
|
229
229
|
write(): Buffer;
|
|
230
230
|
}
|
|
231
231
|
export declare class GetBotMenuButton extends TLObject {
|
|
@@ -235,13 +235,13 @@ export declare class GetBotMenuButton extends TLObject {
|
|
|
235
235
|
userId: raw.TypeInputUser;
|
|
236
236
|
});
|
|
237
237
|
/**
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
238
|
+
* Generate the TLObject from buffer.
|
|
239
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
240
|
+
*/
|
|
241
241
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetBotMenuButton>;
|
|
242
242
|
/**
|
|
243
|
-
|
|
244
|
-
|
|
243
|
+
* Generate buffer from TLObject.
|
|
244
|
+
*/
|
|
245
245
|
write(): Buffer;
|
|
246
246
|
}
|
|
247
247
|
export declare class SetBotBroadcastDefaultAdminRights extends TLObject {
|
|
@@ -251,13 +251,13 @@ export declare class SetBotBroadcastDefaultAdminRights extends TLObject {
|
|
|
251
251
|
adminRights: raw.TypeChatAdminRights;
|
|
252
252
|
});
|
|
253
253
|
/**
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
254
|
+
* Generate the TLObject from buffer.
|
|
255
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
256
|
+
*/
|
|
257
257
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SetBotBroadcastDefaultAdminRights>;
|
|
258
258
|
/**
|
|
259
|
-
|
|
260
|
-
|
|
259
|
+
* Generate buffer from TLObject.
|
|
260
|
+
*/
|
|
261
261
|
write(): Buffer;
|
|
262
262
|
}
|
|
263
263
|
export declare class SetBotGroupDefaultAdminRights extends TLObject {
|
|
@@ -267,13 +267,13 @@ export declare class SetBotGroupDefaultAdminRights extends TLObject {
|
|
|
267
267
|
adminRights: raw.TypeChatAdminRights;
|
|
268
268
|
});
|
|
269
269
|
/**
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
270
|
+
* Generate the TLObject from buffer.
|
|
271
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
272
|
+
*/
|
|
273
273
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SetBotGroupDefaultAdminRights>;
|
|
274
274
|
/**
|
|
275
|
-
|
|
276
|
-
|
|
275
|
+
* Generate buffer from TLObject.
|
|
276
|
+
*/
|
|
277
277
|
write(): Buffer;
|
|
278
278
|
}
|
|
279
279
|
export declare class SetBotInfo extends TLObject {
|
|
@@ -291,13 +291,13 @@ export declare class SetBotInfo extends TLObject {
|
|
|
291
291
|
description?: string;
|
|
292
292
|
});
|
|
293
293
|
/**
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
294
|
+
* Generate the TLObject from buffer.
|
|
295
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
296
|
+
*/
|
|
297
297
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SetBotInfo>;
|
|
298
298
|
/**
|
|
299
|
-
|
|
300
|
-
|
|
299
|
+
* Generate buffer from TLObject.
|
|
300
|
+
*/
|
|
301
301
|
write(): Buffer;
|
|
302
302
|
}
|
|
303
303
|
export declare class GetBotInfo extends TLObject {
|
|
@@ -309,13 +309,13 @@ export declare class GetBotInfo extends TLObject {
|
|
|
309
309
|
langCode: string;
|
|
310
310
|
});
|
|
311
311
|
/**
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
312
|
+
* Generate the TLObject from buffer.
|
|
313
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
314
|
+
*/
|
|
315
315
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetBotInfo>;
|
|
316
316
|
/**
|
|
317
|
-
|
|
318
|
-
|
|
317
|
+
* Generate buffer from TLObject.
|
|
318
|
+
*/
|
|
319
319
|
write(): Buffer;
|
|
320
320
|
}
|
|
321
321
|
export declare class ReorderUsernames extends TLObject {
|
|
@@ -327,13 +327,13 @@ export declare class ReorderUsernames extends TLObject {
|
|
|
327
327
|
order: Vector<string>;
|
|
328
328
|
});
|
|
329
329
|
/**
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
330
|
+
* Generate the TLObject from buffer.
|
|
331
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
332
|
+
*/
|
|
333
333
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ReorderUsernames>;
|
|
334
334
|
/**
|
|
335
|
-
|
|
336
|
-
|
|
335
|
+
* Generate buffer from TLObject.
|
|
336
|
+
*/
|
|
337
337
|
write(): Buffer;
|
|
338
338
|
}
|
|
339
339
|
export declare class ToggleUsername extends TLObject {
|
|
@@ -347,13 +347,13 @@ export declare class ToggleUsername extends TLObject {
|
|
|
347
347
|
active: Bool;
|
|
348
348
|
});
|
|
349
349
|
/**
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
350
|
+
* Generate the TLObject from buffer.
|
|
351
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
352
|
+
*/
|
|
353
353
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ToggleUsername>;
|
|
354
354
|
/**
|
|
355
|
-
|
|
356
|
-
|
|
355
|
+
* Generate buffer from TLObject.
|
|
356
|
+
*/
|
|
357
357
|
write(): Buffer;
|
|
358
358
|
}
|
|
359
359
|
export declare class CanSendMessage extends TLObject {
|
|
@@ -363,13 +363,13 @@ export declare class CanSendMessage extends TLObject {
|
|
|
363
363
|
bot: raw.TypeInputUser;
|
|
364
364
|
});
|
|
365
365
|
/**
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
366
|
+
* Generate the TLObject from buffer.
|
|
367
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
368
|
+
*/
|
|
369
369
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<CanSendMessage>;
|
|
370
370
|
/**
|
|
371
|
-
|
|
372
|
-
|
|
371
|
+
* Generate buffer from TLObject.
|
|
372
|
+
*/
|
|
373
373
|
write(): Buffer;
|
|
374
374
|
}
|
|
375
375
|
export declare class AllowSendMessage extends TLObject {
|
|
@@ -379,13 +379,13 @@ export declare class AllowSendMessage extends TLObject {
|
|
|
379
379
|
bot: raw.TypeInputUser;
|
|
380
380
|
});
|
|
381
381
|
/**
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
382
|
+
* Generate the TLObject from buffer.
|
|
383
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
384
|
+
*/
|
|
385
385
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<AllowSendMessage>;
|
|
386
386
|
/**
|
|
387
|
-
|
|
388
|
-
|
|
387
|
+
* Generate buffer from TLObject.
|
|
388
|
+
*/
|
|
389
389
|
write(): Buffer;
|
|
390
390
|
}
|
|
391
391
|
export declare class InvokeWebViewCustomMethod extends TLObject {
|
|
@@ -399,13 +399,13 @@ export declare class InvokeWebViewCustomMethod extends TLObject {
|
|
|
399
399
|
params: raw.TypeDataJSON;
|
|
400
400
|
});
|
|
401
401
|
/**
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
402
|
+
* Generate the TLObject from buffer.
|
|
403
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
404
|
+
*/
|
|
405
405
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<InvokeWebViewCustomMethod>;
|
|
406
406
|
/**
|
|
407
|
-
|
|
408
|
-
|
|
407
|
+
* Generate buffer from TLObject.
|
|
408
|
+
*/
|
|
409
409
|
write(): Buffer;
|
|
410
410
|
}
|
|
411
411
|
export declare class GetPopularAppBots extends TLObject {
|
|
@@ -417,13 +417,13 @@ export declare class GetPopularAppBots extends TLObject {
|
|
|
417
417
|
limit: int;
|
|
418
418
|
});
|
|
419
419
|
/**
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
420
|
+
* Generate the TLObject from buffer.
|
|
421
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
422
|
+
*/
|
|
423
423
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetPopularAppBots>;
|
|
424
424
|
/**
|
|
425
|
-
|
|
426
|
-
|
|
425
|
+
* Generate buffer from TLObject.
|
|
426
|
+
*/
|
|
427
427
|
write(): Buffer;
|
|
428
428
|
}
|
|
429
429
|
export declare class AddPreviewMedia extends TLObject {
|
|
@@ -437,13 +437,13 @@ export declare class AddPreviewMedia extends TLObject {
|
|
|
437
437
|
media: raw.TypeInputMedia;
|
|
438
438
|
});
|
|
439
439
|
/**
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
440
|
+
* Generate the TLObject from buffer.
|
|
441
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
442
|
+
*/
|
|
443
443
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<AddPreviewMedia>;
|
|
444
444
|
/**
|
|
445
|
-
|
|
446
|
-
|
|
445
|
+
* Generate buffer from TLObject.
|
|
446
|
+
*/
|
|
447
447
|
write(): Buffer;
|
|
448
448
|
}
|
|
449
449
|
export declare class EditPreviewMedia extends TLObject {
|
|
@@ -459,13 +459,13 @@ export declare class EditPreviewMedia extends TLObject {
|
|
|
459
459
|
newMedia: raw.TypeInputMedia;
|
|
460
460
|
});
|
|
461
461
|
/**
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
462
|
+
* Generate the TLObject from buffer.
|
|
463
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
464
|
+
*/
|
|
465
465
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<EditPreviewMedia>;
|
|
466
466
|
/**
|
|
467
|
-
|
|
468
|
-
|
|
467
|
+
* Generate buffer from TLObject.
|
|
468
|
+
*/
|
|
469
469
|
write(): Buffer;
|
|
470
470
|
}
|
|
471
471
|
export declare class DeletePreviewMedia extends TLObject {
|
|
@@ -479,13 +479,13 @@ export declare class DeletePreviewMedia extends TLObject {
|
|
|
479
479
|
media: Vector<raw.TypeInputMedia>;
|
|
480
480
|
});
|
|
481
481
|
/**
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
482
|
+
* Generate the TLObject from buffer.
|
|
483
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
484
|
+
*/
|
|
485
485
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<DeletePreviewMedia>;
|
|
486
486
|
/**
|
|
487
|
-
|
|
488
|
-
|
|
487
|
+
* Generate buffer from TLObject.
|
|
488
|
+
*/
|
|
489
489
|
write(): Buffer;
|
|
490
490
|
}
|
|
491
491
|
export declare class ReorderPreviewMedias extends TLObject {
|
|
@@ -499,13 +499,13 @@ export declare class ReorderPreviewMedias extends TLObject {
|
|
|
499
499
|
order: Vector<raw.TypeInputMedia>;
|
|
500
500
|
});
|
|
501
501
|
/**
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
502
|
+
* Generate the TLObject from buffer.
|
|
503
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
504
|
+
*/
|
|
505
505
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ReorderPreviewMedias>;
|
|
506
506
|
/**
|
|
507
|
-
|
|
508
|
-
|
|
507
|
+
* Generate buffer from TLObject.
|
|
508
|
+
*/
|
|
509
509
|
write(): Buffer;
|
|
510
510
|
}
|
|
511
511
|
export declare class GetPreviewInfo extends TLObject {
|
|
@@ -517,13 +517,13 @@ export declare class GetPreviewInfo extends TLObject {
|
|
|
517
517
|
langCode: string;
|
|
518
518
|
});
|
|
519
519
|
/**
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
520
|
+
* Generate the TLObject from buffer.
|
|
521
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
522
|
+
*/
|
|
523
523
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetPreviewInfo>;
|
|
524
524
|
/**
|
|
525
|
-
|
|
526
|
-
|
|
525
|
+
* Generate buffer from TLObject.
|
|
526
|
+
*/
|
|
527
527
|
write(): Buffer;
|
|
528
528
|
}
|
|
529
529
|
export declare class GetPreviewMedias extends TLObject {
|
|
@@ -533,13 +533,13 @@ export declare class GetPreviewMedias extends TLObject {
|
|
|
533
533
|
bot: raw.TypeInputUser;
|
|
534
534
|
});
|
|
535
535
|
/**
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
536
|
+
* Generate the TLObject from buffer.
|
|
537
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
538
|
+
*/
|
|
539
539
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetPreviewMedias>;
|
|
540
540
|
/**
|
|
541
|
-
|
|
542
|
-
|
|
541
|
+
* Generate buffer from TLObject.
|
|
542
|
+
*/
|
|
543
543
|
write(): Buffer;
|
|
544
544
|
}
|
|
545
545
|
export declare class UpdateUserEmojiStatus extends TLObject {
|
|
@@ -551,13 +551,13 @@ export declare class UpdateUserEmojiStatus extends TLObject {
|
|
|
551
551
|
emojiStatus: raw.TypeEmojiStatus;
|
|
552
552
|
});
|
|
553
553
|
/**
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
554
|
+
* Generate the TLObject from buffer.
|
|
555
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
556
|
+
*/
|
|
557
557
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<UpdateUserEmojiStatus>;
|
|
558
558
|
/**
|
|
559
|
-
|
|
560
|
-
|
|
559
|
+
* Generate buffer from TLObject.
|
|
560
|
+
*/
|
|
561
561
|
write(): Buffer;
|
|
562
562
|
}
|
|
563
563
|
export declare class ToggleUserEmojiStatusPermission extends TLObject {
|
|
@@ -569,13 +569,13 @@ export declare class ToggleUserEmojiStatusPermission extends TLObject {
|
|
|
569
569
|
enabled: Bool;
|
|
570
570
|
});
|
|
571
571
|
/**
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
572
|
+
* Generate the TLObject from buffer.
|
|
573
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
574
|
+
*/
|
|
575
575
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ToggleUserEmojiStatusPermission>;
|
|
576
576
|
/**
|
|
577
|
-
|
|
578
|
-
|
|
577
|
+
* Generate buffer from TLObject.
|
|
578
|
+
*/
|
|
579
579
|
write(): Buffer;
|
|
580
580
|
}
|
|
581
581
|
export declare class CheckDownloadFileParams extends TLObject {
|
|
@@ -589,26 +589,26 @@ export declare class CheckDownloadFileParams extends TLObject {
|
|
|
589
589
|
url: string;
|
|
590
590
|
});
|
|
591
591
|
/**
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
592
|
+
* Generate the TLObject from buffer.
|
|
593
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
594
|
+
*/
|
|
595
595
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<CheckDownloadFileParams>;
|
|
596
596
|
/**
|
|
597
|
-
|
|
598
|
-
|
|
597
|
+
* Generate buffer from TLObject.
|
|
598
|
+
*/
|
|
599
599
|
write(): Buffer;
|
|
600
600
|
}
|
|
601
601
|
export declare class GetAdminedBots extends TLObject {
|
|
602
602
|
__response__: Vector<raw.TypeUser>;
|
|
603
603
|
constructor();
|
|
604
604
|
/**
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
605
|
+
* Generate the TLObject from buffer.
|
|
606
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
607
|
+
*/
|
|
608
608
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetAdminedBots>;
|
|
609
609
|
/**
|
|
610
|
-
|
|
611
|
-
|
|
610
|
+
* Generate buffer from TLObject.
|
|
611
|
+
*/
|
|
612
612
|
write(): Buffer;
|
|
613
613
|
}
|
|
614
614
|
export declare class UpdateStarRefProgram extends TLObject {
|
|
@@ -622,13 +622,13 @@ export declare class UpdateStarRefProgram extends TLObject {
|
|
|
622
622
|
durationMonths?: int;
|
|
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<UpdateStarRefProgram>;
|
|
629
629
|
/**
|
|
630
|
-
|
|
631
|
-
|
|
630
|
+
* Generate buffer from TLObject.
|
|
631
|
+
*/
|
|
632
632
|
write(): Buffer;
|
|
633
633
|
}
|
|
634
634
|
export declare class SetCustomVerification extends TLObject {
|
|
@@ -644,13 +644,13 @@ export declare class SetCustomVerification extends TLObject {
|
|
|
644
644
|
customDescription?: raw.TypeTextWithEntities;
|
|
645
645
|
});
|
|
646
646
|
/**
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
647
|
+
* Generate the TLObject from buffer.
|
|
648
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
649
|
+
*/
|
|
650
650
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SetCustomVerification>;
|
|
651
651
|
/**
|
|
652
|
-
|
|
653
|
-
|
|
652
|
+
* Generate buffer from TLObject.
|
|
653
|
+
*/
|
|
654
654
|
write(): Buffer;
|
|
655
655
|
}
|
|
656
656
|
export declare class GetBotRecommendations extends TLObject {
|
|
@@ -660,13 +660,13 @@ export declare class GetBotRecommendations extends TLObject {
|
|
|
660
660
|
bot: raw.TypeInputUser;
|
|
661
661
|
});
|
|
662
662
|
/**
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
663
|
+
* Generate the TLObject from buffer.
|
|
664
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
665
|
+
*/
|
|
666
666
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetBotRecommendations>;
|
|
667
667
|
/**
|
|
668
|
-
|
|
669
|
-
|
|
668
|
+
* Generate buffer from TLObject.
|
|
669
|
+
*/
|
|
670
670
|
write(): Buffer;
|
|
671
671
|
}
|
|
672
672
|
export declare class CheckUsername extends TLObject {
|
|
@@ -678,13 +678,13 @@ export declare class CheckUsername extends TLObject {
|
|
|
678
678
|
username: string;
|
|
679
679
|
});
|
|
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<CheckUsername>;
|
|
685
685
|
/**
|
|
686
|
-
|
|
687
|
-
|
|
686
|
+
* Generate buffer from TLObject.
|
|
687
|
+
*/
|
|
688
688
|
write(): Buffer;
|
|
689
689
|
}
|
|
690
690
|
export declare class CreateBot extends TLObject {
|
|
@@ -700,13 +700,13 @@ export declare class CreateBot extends TLObject {
|
|
|
700
700
|
managerId: raw.TypeInputUser;
|
|
701
701
|
});
|
|
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<CreateBot>;
|
|
707
707
|
/**
|
|
708
|
-
|
|
709
|
-
|
|
708
|
+
* Generate buffer from TLObject.
|
|
709
|
+
*/
|
|
710
710
|
write(): Buffer;
|
|
711
711
|
}
|
|
712
712
|
export declare class ExportBotToken extends TLObject {
|
|
@@ -718,13 +718,13 @@ export declare class ExportBotToken extends TLObject {
|
|
|
718
718
|
revoke: Bool;
|
|
719
719
|
});
|
|
720
720
|
/**
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
721
|
+
* Generate the TLObject from buffer.
|
|
722
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
723
|
+
*/
|
|
724
724
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ExportBotToken>;
|
|
725
725
|
/**
|
|
726
|
-
|
|
727
|
-
|
|
726
|
+
* Generate buffer from TLObject.
|
|
727
|
+
*/
|
|
728
728
|
write(): Buffer;
|
|
729
729
|
}
|
|
730
730
|
export declare class RequestWebViewButton extends TLObject {
|
|
@@ -736,13 +736,13 @@ export declare class RequestWebViewButton extends TLObject {
|
|
|
736
736
|
button: raw.TypeKeyboardButton;
|
|
737
737
|
});
|
|
738
738
|
/**
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
739
|
+
* Generate the TLObject from buffer.
|
|
740
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
741
|
+
*/
|
|
742
742
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<RequestWebViewButton>;
|
|
743
743
|
/**
|
|
744
|
-
|
|
745
|
-
|
|
744
|
+
* Generate buffer from TLObject.
|
|
745
|
+
*/
|
|
746
746
|
write(): Buffer;
|
|
747
747
|
}
|
|
748
748
|
export declare class GetRequestedWebViewButton extends TLObject {
|
|
@@ -754,13 +754,13 @@ export declare class GetRequestedWebViewButton extends TLObject {
|
|
|
754
754
|
webappReqId: string;
|
|
755
755
|
});
|
|
756
756
|
/**
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
757
|
+
* Generate the TLObject from buffer.
|
|
758
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
759
|
+
*/
|
|
760
760
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetRequestedWebViewButton>;
|
|
761
761
|
/**
|
|
762
|
-
|
|
763
|
-
|
|
762
|
+
* Generate buffer from TLObject.
|
|
763
|
+
*/
|
|
764
764
|
write(): Buffer;
|
|
765
765
|
}
|
|
766
766
|
export declare class GetAccessSettings extends TLObject {
|
|
@@ -770,13 +770,13 @@ export declare class GetAccessSettings extends TLObject {
|
|
|
770
770
|
bot: raw.TypeInputUser;
|
|
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<GetAccessSettings>;
|
|
777
777
|
/**
|
|
778
|
-
|
|
779
|
-
|
|
778
|
+
* Generate buffer from TLObject.
|
|
779
|
+
*/
|
|
780
780
|
write(): Buffer;
|
|
781
781
|
}
|
|
782
782
|
export declare class EditAccessSettings extends TLObject {
|
|
@@ -790,13 +790,13 @@ export declare class EditAccessSettings extends TLObject {
|
|
|
790
790
|
addUsers?: Vector<raw.TypeInputUser>;
|
|
791
791
|
});
|
|
792
792
|
/**
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
793
|
+
* Generate the TLObject from buffer.
|
|
794
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
795
|
+
*/
|
|
796
796
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<EditAccessSettings>;
|
|
797
797
|
/**
|
|
798
|
-
|
|
799
|
-
|
|
798
|
+
* Generate buffer from TLObject.
|
|
799
|
+
*/
|
|
800
800
|
write(): Buffer;
|
|
801
801
|
}
|
|
802
802
|
export declare class SetJoinChatResults extends TLObject {
|
|
@@ -808,13 +808,13 @@ export declare class SetJoinChatResults extends TLObject {
|
|
|
808
808
|
result: raw.TypeJoinChatBotResult;
|
|
809
809
|
});
|
|
810
810
|
/**
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
811
|
+
* Generate the TLObject from buffer.
|
|
812
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
813
|
+
*/
|
|
814
814
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SetJoinChatResults>;
|
|
815
815
|
/**
|
|
816
|
-
|
|
817
|
-
|
|
816
|
+
* Generate buffer from TLObject.
|
|
817
|
+
*/
|
|
818
818
|
write(): Buffer;
|
|
819
819
|
}
|
|
820
820
|
export declare class AddUsername extends TLObject {
|
|
@@ -826,13 +826,13 @@ export declare class AddUsername extends TLObject {
|
|
|
826
826
|
username: string;
|
|
827
827
|
});
|
|
828
828
|
/**
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
829
|
+
* Generate the TLObject from buffer.
|
|
830
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
831
|
+
*/
|
|
832
832
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<AddUsername>;
|
|
833
833
|
/**
|
|
834
|
-
|
|
835
|
-
|
|
834
|
+
* Generate buffer from TLObject.
|
|
835
|
+
*/
|
|
836
836
|
write(): Buffer;
|
|
837
837
|
}
|
|
838
838
|
export declare class RemoveUsername extends TLObject {
|
|
@@ -844,12 +844,12 @@ export declare class RemoveUsername extends TLObject {
|
|
|
844
844
|
username: string;
|
|
845
845
|
});
|
|
846
846
|
/**
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
847
|
+
* Generate the TLObject from buffer.
|
|
848
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
849
|
+
*/
|
|
850
850
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<RemoveUsername>;
|
|
851
851
|
/**
|
|
852
|
-
|
|
853
|
-
|
|
852
|
+
* Generate buffer from TLObject.
|
|
853
|
+
*/
|
|
854
854
|
write(): Buffer;
|
|
855
855
|
}
|