@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,10 +6,11 @@
|
|
|
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
|
-
import type { Bool, Vector, int, long } from '../types.js';
|
|
12
|
+
import type { Bool, Vector, bytes, int, long } from '../types.js';
|
|
13
|
+
import type * as messages from './messages.js';
|
|
13
14
|
import type * as users from './users.js';
|
|
14
15
|
import type * as raw from '../Raw.js';
|
|
15
16
|
export type TypeBotInfo = BotInfo;
|
|
@@ -28,13 +29,13 @@ export declare class BotInfo extends TLObject {
|
|
|
28
29
|
description: string;
|
|
29
30
|
});
|
|
30
31
|
/**
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
* Generate the TLObject from buffer.
|
|
33
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
34
|
+
*/
|
|
34
35
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<BotInfo>;
|
|
35
36
|
/**
|
|
36
|
-
|
|
37
|
-
|
|
37
|
+
* Generate buffer from TLObject.
|
|
38
|
+
*/
|
|
38
39
|
write(): Buffer;
|
|
39
40
|
}
|
|
40
41
|
export declare class PopularAppBots extends TLObject {
|
|
@@ -45,13 +46,13 @@ export declare class PopularAppBots extends TLObject {
|
|
|
45
46
|
users: Vector<raw.TypeUser>;
|
|
46
47
|
});
|
|
47
48
|
/**
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
* Generate the TLObject from buffer.
|
|
50
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
51
|
+
*/
|
|
51
52
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<PopularAppBots>;
|
|
52
53
|
/**
|
|
53
|
-
|
|
54
|
-
|
|
54
|
+
* Generate buffer from TLObject.
|
|
55
|
+
*/
|
|
55
56
|
write(): Buffer;
|
|
56
57
|
}
|
|
57
58
|
export declare class PreviewInfo extends TLObject {
|
|
@@ -62,13 +63,13 @@ export declare class PreviewInfo extends TLObject {
|
|
|
62
63
|
langCodes: Vector<string>;
|
|
63
64
|
});
|
|
64
65
|
/**
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
* Generate the TLObject from buffer.
|
|
67
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
68
|
+
*/
|
|
68
69
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<PreviewInfo>;
|
|
69
70
|
/**
|
|
70
|
-
|
|
71
|
-
|
|
71
|
+
* Generate buffer from TLObject.
|
|
72
|
+
*/
|
|
72
73
|
write(): Buffer;
|
|
73
74
|
}
|
|
74
75
|
export declare class ExportedBotToken extends TLObject {
|
|
@@ -77,13 +78,13 @@ export declare class ExportedBotToken extends TLObject {
|
|
|
77
78
|
token: string;
|
|
78
79
|
});
|
|
79
80
|
/**
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
* Generate the TLObject from buffer.
|
|
82
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
83
|
+
*/
|
|
83
84
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ExportedBotToken>;
|
|
84
85
|
/**
|
|
85
|
-
|
|
86
|
-
|
|
86
|
+
* Generate buffer from TLObject.
|
|
87
|
+
*/
|
|
87
88
|
write(): Buffer;
|
|
88
89
|
}
|
|
89
90
|
export declare class RequestedButton extends TLObject {
|
|
@@ -92,13 +93,13 @@ export declare class RequestedButton extends TLObject {
|
|
|
92
93
|
webappReqId: string;
|
|
93
94
|
});
|
|
94
95
|
/**
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
* Generate the TLObject from buffer.
|
|
97
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
98
|
+
*/
|
|
98
99
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<RequestedButton>;
|
|
99
100
|
/**
|
|
100
|
-
|
|
101
|
-
|
|
101
|
+
* Generate buffer from TLObject.
|
|
102
|
+
*/
|
|
102
103
|
write(): Buffer;
|
|
103
104
|
}
|
|
104
105
|
export declare class AccessSettings extends TLObject {
|
|
@@ -109,13 +110,13 @@ export declare class AccessSettings extends TLObject {
|
|
|
109
110
|
addUsers?: Vector<raw.TypeUser>;
|
|
110
111
|
});
|
|
111
112
|
/**
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
113
|
+
* Generate the TLObject from buffer.
|
|
114
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
115
|
+
*/
|
|
115
116
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<AccessSettings>;
|
|
116
117
|
/**
|
|
117
|
-
|
|
118
|
-
|
|
118
|
+
* Generate buffer from TLObject.
|
|
119
|
+
*/
|
|
119
120
|
write(): Buffer;
|
|
120
121
|
}
|
|
121
122
|
export declare class SendCustomRequest extends TLObject {
|
|
@@ -127,13 +128,13 @@ export declare class SendCustomRequest extends TLObject {
|
|
|
127
128
|
params: raw.TypeDataJSON;
|
|
128
129
|
});
|
|
129
130
|
/**
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
* Generate the TLObject from buffer.
|
|
132
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
133
|
+
*/
|
|
133
134
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SendCustomRequest>;
|
|
134
135
|
/**
|
|
135
|
-
|
|
136
|
-
|
|
136
|
+
* Generate buffer from TLObject.
|
|
137
|
+
*/
|
|
137
138
|
write(): Buffer;
|
|
138
139
|
}
|
|
139
140
|
export declare class AnswerWebhookJSONQuery extends TLObject {
|
|
@@ -145,13 +146,13 @@ export declare class AnswerWebhookJSONQuery extends TLObject {
|
|
|
145
146
|
data: raw.TypeDataJSON;
|
|
146
147
|
});
|
|
147
148
|
/**
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
149
|
+
* Generate the TLObject from buffer.
|
|
150
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
151
|
+
*/
|
|
151
152
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<AnswerWebhookJSONQuery>;
|
|
152
153
|
/**
|
|
153
|
-
|
|
154
|
-
|
|
154
|
+
* Generate buffer from TLObject.
|
|
155
|
+
*/
|
|
155
156
|
write(): Buffer;
|
|
156
157
|
}
|
|
157
158
|
export declare class SetBotCommands extends TLObject {
|
|
@@ -165,13 +166,13 @@ export declare class SetBotCommands extends TLObject {
|
|
|
165
166
|
commands: Vector<raw.TypeBotCommand>;
|
|
166
167
|
});
|
|
167
168
|
/**
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
169
|
+
* Generate the TLObject from buffer.
|
|
170
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
171
|
+
*/
|
|
171
172
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SetBotCommands>;
|
|
172
173
|
/**
|
|
173
|
-
|
|
174
|
-
|
|
174
|
+
* Generate buffer from TLObject.
|
|
175
|
+
*/
|
|
175
176
|
write(): Buffer;
|
|
176
177
|
}
|
|
177
178
|
export declare class ResetBotCommands extends TLObject {
|
|
@@ -183,13 +184,13 @@ export declare class ResetBotCommands extends TLObject {
|
|
|
183
184
|
langCode: string;
|
|
184
185
|
});
|
|
185
186
|
/**
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
187
|
+
* Generate the TLObject from buffer.
|
|
188
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
189
|
+
*/
|
|
189
190
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ResetBotCommands>;
|
|
190
191
|
/**
|
|
191
|
-
|
|
192
|
-
|
|
192
|
+
* Generate buffer from TLObject.
|
|
193
|
+
*/
|
|
193
194
|
write(): Buffer;
|
|
194
195
|
}
|
|
195
196
|
export declare class GetBotCommands extends TLObject {
|
|
@@ -201,13 +202,13 @@ export declare class GetBotCommands extends TLObject {
|
|
|
201
202
|
langCode: string;
|
|
202
203
|
});
|
|
203
204
|
/**
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
205
|
+
* Generate the TLObject from buffer.
|
|
206
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
207
|
+
*/
|
|
207
208
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetBotCommands>;
|
|
208
209
|
/**
|
|
209
|
-
|
|
210
|
-
|
|
210
|
+
* Generate buffer from TLObject.
|
|
211
|
+
*/
|
|
211
212
|
write(): Buffer;
|
|
212
213
|
}
|
|
213
214
|
export declare class SetBotMenuButton extends TLObject {
|
|
@@ -219,13 +220,13 @@ export declare class SetBotMenuButton extends TLObject {
|
|
|
219
220
|
button: raw.TypeBotMenuButton;
|
|
220
221
|
});
|
|
221
222
|
/**
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
223
|
+
* Generate the TLObject from buffer.
|
|
224
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
225
|
+
*/
|
|
225
226
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SetBotMenuButton>;
|
|
226
227
|
/**
|
|
227
|
-
|
|
228
|
-
|
|
228
|
+
* Generate buffer from TLObject.
|
|
229
|
+
*/
|
|
229
230
|
write(): Buffer;
|
|
230
231
|
}
|
|
231
232
|
export declare class GetBotMenuButton extends TLObject {
|
|
@@ -235,13 +236,13 @@ export declare class GetBotMenuButton extends TLObject {
|
|
|
235
236
|
userId: raw.TypeInputUser;
|
|
236
237
|
});
|
|
237
238
|
/**
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
239
|
+
* Generate the TLObject from buffer.
|
|
240
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
241
|
+
*/
|
|
241
242
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetBotMenuButton>;
|
|
242
243
|
/**
|
|
243
|
-
|
|
244
|
-
|
|
244
|
+
* Generate buffer from TLObject.
|
|
245
|
+
*/
|
|
245
246
|
write(): Buffer;
|
|
246
247
|
}
|
|
247
248
|
export declare class SetBotBroadcastDefaultAdminRights extends TLObject {
|
|
@@ -251,13 +252,13 @@ export declare class SetBotBroadcastDefaultAdminRights extends TLObject {
|
|
|
251
252
|
adminRights: raw.TypeChatAdminRights;
|
|
252
253
|
});
|
|
253
254
|
/**
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
255
|
+
* Generate the TLObject from buffer.
|
|
256
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
257
|
+
*/
|
|
257
258
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SetBotBroadcastDefaultAdminRights>;
|
|
258
259
|
/**
|
|
259
|
-
|
|
260
|
-
|
|
260
|
+
* Generate buffer from TLObject.
|
|
261
|
+
*/
|
|
261
262
|
write(): Buffer;
|
|
262
263
|
}
|
|
263
264
|
export declare class SetBotGroupDefaultAdminRights extends TLObject {
|
|
@@ -267,13 +268,13 @@ export declare class SetBotGroupDefaultAdminRights extends TLObject {
|
|
|
267
268
|
adminRights: raw.TypeChatAdminRights;
|
|
268
269
|
});
|
|
269
270
|
/**
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
271
|
+
* Generate the TLObject from buffer.
|
|
272
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
273
|
+
*/
|
|
273
274
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SetBotGroupDefaultAdminRights>;
|
|
274
275
|
/**
|
|
275
|
-
|
|
276
|
-
|
|
276
|
+
* Generate buffer from TLObject.
|
|
277
|
+
*/
|
|
277
278
|
write(): Buffer;
|
|
278
279
|
}
|
|
279
280
|
export declare class SetBotInfo extends TLObject {
|
|
@@ -291,13 +292,13 @@ export declare class SetBotInfo extends TLObject {
|
|
|
291
292
|
description?: string;
|
|
292
293
|
});
|
|
293
294
|
/**
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
295
|
+
* Generate the TLObject from buffer.
|
|
296
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
297
|
+
*/
|
|
297
298
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SetBotInfo>;
|
|
298
299
|
/**
|
|
299
|
-
|
|
300
|
-
|
|
300
|
+
* Generate buffer from TLObject.
|
|
301
|
+
*/
|
|
301
302
|
write(): Buffer;
|
|
302
303
|
}
|
|
303
304
|
export declare class GetBotInfo extends TLObject {
|
|
@@ -309,13 +310,13 @@ export declare class GetBotInfo extends TLObject {
|
|
|
309
310
|
langCode: string;
|
|
310
311
|
});
|
|
311
312
|
/**
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
313
|
+
* Generate the TLObject from buffer.
|
|
314
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
315
|
+
*/
|
|
315
316
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetBotInfo>;
|
|
316
317
|
/**
|
|
317
|
-
|
|
318
|
-
|
|
318
|
+
* Generate buffer from TLObject.
|
|
319
|
+
*/
|
|
319
320
|
write(): Buffer;
|
|
320
321
|
}
|
|
321
322
|
export declare class ReorderUsernames extends TLObject {
|
|
@@ -327,13 +328,13 @@ export declare class ReorderUsernames extends TLObject {
|
|
|
327
328
|
order: Vector<string>;
|
|
328
329
|
});
|
|
329
330
|
/**
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
331
|
+
* Generate the TLObject from buffer.
|
|
332
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
333
|
+
*/
|
|
333
334
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ReorderUsernames>;
|
|
334
335
|
/**
|
|
335
|
-
|
|
336
|
-
|
|
336
|
+
* Generate buffer from TLObject.
|
|
337
|
+
*/
|
|
337
338
|
write(): Buffer;
|
|
338
339
|
}
|
|
339
340
|
export declare class ToggleUsername extends TLObject {
|
|
@@ -347,13 +348,13 @@ export declare class ToggleUsername extends TLObject {
|
|
|
347
348
|
active: Bool;
|
|
348
349
|
});
|
|
349
350
|
/**
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
351
|
+
* Generate the TLObject from buffer.
|
|
352
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
353
|
+
*/
|
|
353
354
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ToggleUsername>;
|
|
354
355
|
/**
|
|
355
|
-
|
|
356
|
-
|
|
356
|
+
* Generate buffer from TLObject.
|
|
357
|
+
*/
|
|
357
358
|
write(): Buffer;
|
|
358
359
|
}
|
|
359
360
|
export declare class CanSendMessage extends TLObject {
|
|
@@ -363,13 +364,13 @@ export declare class CanSendMessage extends TLObject {
|
|
|
363
364
|
bot: raw.TypeInputUser;
|
|
364
365
|
});
|
|
365
366
|
/**
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
367
|
+
* Generate the TLObject from buffer.
|
|
368
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
369
|
+
*/
|
|
369
370
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<CanSendMessage>;
|
|
370
371
|
/**
|
|
371
|
-
|
|
372
|
-
|
|
372
|
+
* Generate buffer from TLObject.
|
|
373
|
+
*/
|
|
373
374
|
write(): Buffer;
|
|
374
375
|
}
|
|
375
376
|
export declare class AllowSendMessage extends TLObject {
|
|
@@ -379,13 +380,13 @@ export declare class AllowSendMessage extends TLObject {
|
|
|
379
380
|
bot: raw.TypeInputUser;
|
|
380
381
|
});
|
|
381
382
|
/**
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
383
|
+
* Generate the TLObject from buffer.
|
|
384
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
385
|
+
*/
|
|
385
386
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<AllowSendMessage>;
|
|
386
387
|
/**
|
|
387
|
-
|
|
388
|
-
|
|
388
|
+
* Generate buffer from TLObject.
|
|
389
|
+
*/
|
|
389
390
|
write(): Buffer;
|
|
390
391
|
}
|
|
391
392
|
export declare class InvokeWebViewCustomMethod extends TLObject {
|
|
@@ -399,13 +400,13 @@ export declare class InvokeWebViewCustomMethod extends TLObject {
|
|
|
399
400
|
params: raw.TypeDataJSON;
|
|
400
401
|
});
|
|
401
402
|
/**
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
403
|
+
* Generate the TLObject from buffer.
|
|
404
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
405
|
+
*/
|
|
405
406
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<InvokeWebViewCustomMethod>;
|
|
406
407
|
/**
|
|
407
|
-
|
|
408
|
-
|
|
408
|
+
* Generate buffer from TLObject.
|
|
409
|
+
*/
|
|
409
410
|
write(): Buffer;
|
|
410
411
|
}
|
|
411
412
|
export declare class GetPopularAppBots extends TLObject {
|
|
@@ -417,13 +418,13 @@ export declare class GetPopularAppBots extends TLObject {
|
|
|
417
418
|
limit: int;
|
|
418
419
|
});
|
|
419
420
|
/**
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
421
|
+
* Generate the TLObject from buffer.
|
|
422
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
423
|
+
*/
|
|
423
424
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetPopularAppBots>;
|
|
424
425
|
/**
|
|
425
|
-
|
|
426
|
-
|
|
426
|
+
* Generate buffer from TLObject.
|
|
427
|
+
*/
|
|
427
428
|
write(): Buffer;
|
|
428
429
|
}
|
|
429
430
|
export declare class AddPreviewMedia extends TLObject {
|
|
@@ -437,13 +438,13 @@ export declare class AddPreviewMedia extends TLObject {
|
|
|
437
438
|
media: raw.TypeInputMedia;
|
|
438
439
|
});
|
|
439
440
|
/**
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
441
|
+
* Generate the TLObject from buffer.
|
|
442
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
443
|
+
*/
|
|
443
444
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<AddPreviewMedia>;
|
|
444
445
|
/**
|
|
445
|
-
|
|
446
|
-
|
|
446
|
+
* Generate buffer from TLObject.
|
|
447
|
+
*/
|
|
447
448
|
write(): Buffer;
|
|
448
449
|
}
|
|
449
450
|
export declare class EditPreviewMedia extends TLObject {
|
|
@@ -459,13 +460,13 @@ export declare class EditPreviewMedia extends TLObject {
|
|
|
459
460
|
newMedia: raw.TypeInputMedia;
|
|
460
461
|
});
|
|
461
462
|
/**
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
463
|
+
* Generate the TLObject from buffer.
|
|
464
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
465
|
+
*/
|
|
465
466
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<EditPreviewMedia>;
|
|
466
467
|
/**
|
|
467
|
-
|
|
468
|
-
|
|
468
|
+
* Generate buffer from TLObject.
|
|
469
|
+
*/
|
|
469
470
|
write(): Buffer;
|
|
470
471
|
}
|
|
471
472
|
export declare class DeletePreviewMedia extends TLObject {
|
|
@@ -479,13 +480,13 @@ export declare class DeletePreviewMedia extends TLObject {
|
|
|
479
480
|
media: Vector<raw.TypeInputMedia>;
|
|
480
481
|
});
|
|
481
482
|
/**
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
483
|
+
* Generate the TLObject from buffer.
|
|
484
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
485
|
+
*/
|
|
485
486
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<DeletePreviewMedia>;
|
|
486
487
|
/**
|
|
487
|
-
|
|
488
|
-
|
|
488
|
+
* Generate buffer from TLObject.
|
|
489
|
+
*/
|
|
489
490
|
write(): Buffer;
|
|
490
491
|
}
|
|
491
492
|
export declare class ReorderPreviewMedias extends TLObject {
|
|
@@ -499,13 +500,13 @@ export declare class ReorderPreviewMedias extends TLObject {
|
|
|
499
500
|
order: Vector<raw.TypeInputMedia>;
|
|
500
501
|
});
|
|
501
502
|
/**
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
503
|
+
* Generate the TLObject from buffer.
|
|
504
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
505
|
+
*/
|
|
505
506
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ReorderPreviewMedias>;
|
|
506
507
|
/**
|
|
507
|
-
|
|
508
|
-
|
|
508
|
+
* Generate buffer from TLObject.
|
|
509
|
+
*/
|
|
509
510
|
write(): Buffer;
|
|
510
511
|
}
|
|
511
512
|
export declare class GetPreviewInfo extends TLObject {
|
|
@@ -517,13 +518,13 @@ export declare class GetPreviewInfo extends TLObject {
|
|
|
517
518
|
langCode: string;
|
|
518
519
|
});
|
|
519
520
|
/**
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
521
|
+
* Generate the TLObject from buffer.
|
|
522
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
523
|
+
*/
|
|
523
524
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetPreviewInfo>;
|
|
524
525
|
/**
|
|
525
|
-
|
|
526
|
-
|
|
526
|
+
* Generate buffer from TLObject.
|
|
527
|
+
*/
|
|
527
528
|
write(): Buffer;
|
|
528
529
|
}
|
|
529
530
|
export declare class GetPreviewMedias extends TLObject {
|
|
@@ -533,13 +534,13 @@ export declare class GetPreviewMedias extends TLObject {
|
|
|
533
534
|
bot: raw.TypeInputUser;
|
|
534
535
|
});
|
|
535
536
|
/**
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
537
|
+
* Generate the TLObject from buffer.
|
|
538
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
539
|
+
*/
|
|
539
540
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetPreviewMedias>;
|
|
540
541
|
/**
|
|
541
|
-
|
|
542
|
-
|
|
542
|
+
* Generate buffer from TLObject.
|
|
543
|
+
*/
|
|
543
544
|
write(): Buffer;
|
|
544
545
|
}
|
|
545
546
|
export declare class UpdateUserEmojiStatus extends TLObject {
|
|
@@ -551,13 +552,13 @@ export declare class UpdateUserEmojiStatus extends TLObject {
|
|
|
551
552
|
emojiStatus: raw.TypeEmojiStatus;
|
|
552
553
|
});
|
|
553
554
|
/**
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
555
|
+
* Generate the TLObject from buffer.
|
|
556
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
557
|
+
*/
|
|
557
558
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<UpdateUserEmojiStatus>;
|
|
558
559
|
/**
|
|
559
|
-
|
|
560
|
-
|
|
560
|
+
* Generate buffer from TLObject.
|
|
561
|
+
*/
|
|
561
562
|
write(): Buffer;
|
|
562
563
|
}
|
|
563
564
|
export declare class ToggleUserEmojiStatusPermission extends TLObject {
|
|
@@ -569,13 +570,13 @@ export declare class ToggleUserEmojiStatusPermission extends TLObject {
|
|
|
569
570
|
enabled: Bool;
|
|
570
571
|
});
|
|
571
572
|
/**
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
573
|
+
* Generate the TLObject from buffer.
|
|
574
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
575
|
+
*/
|
|
575
576
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ToggleUserEmojiStatusPermission>;
|
|
576
577
|
/**
|
|
577
|
-
|
|
578
|
-
|
|
578
|
+
* Generate buffer from TLObject.
|
|
579
|
+
*/
|
|
579
580
|
write(): Buffer;
|
|
580
581
|
}
|
|
581
582
|
export declare class CheckDownloadFileParams extends TLObject {
|
|
@@ -589,26 +590,26 @@ export declare class CheckDownloadFileParams extends TLObject {
|
|
|
589
590
|
url: string;
|
|
590
591
|
});
|
|
591
592
|
/**
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
593
|
+
* Generate the TLObject from buffer.
|
|
594
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
595
|
+
*/
|
|
595
596
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<CheckDownloadFileParams>;
|
|
596
597
|
/**
|
|
597
|
-
|
|
598
|
-
|
|
598
|
+
* Generate buffer from TLObject.
|
|
599
|
+
*/
|
|
599
600
|
write(): Buffer;
|
|
600
601
|
}
|
|
601
602
|
export declare class GetAdminedBots extends TLObject {
|
|
602
603
|
__response__: Vector<raw.TypeUser>;
|
|
603
604
|
constructor();
|
|
604
605
|
/**
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
606
|
+
* Generate the TLObject from buffer.
|
|
607
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
608
|
+
*/
|
|
608
609
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetAdminedBots>;
|
|
609
610
|
/**
|
|
610
|
-
|
|
611
|
-
|
|
611
|
+
* Generate buffer from TLObject.
|
|
612
|
+
*/
|
|
612
613
|
write(): Buffer;
|
|
613
614
|
}
|
|
614
615
|
export declare class UpdateStarRefProgram extends TLObject {
|
|
@@ -622,13 +623,13 @@ export declare class UpdateStarRefProgram extends TLObject {
|
|
|
622
623
|
durationMonths?: int;
|
|
623
624
|
});
|
|
624
625
|
/**
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
626
|
+
* Generate the TLObject from buffer.
|
|
627
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
628
|
+
*/
|
|
628
629
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<UpdateStarRefProgram>;
|
|
629
630
|
/**
|
|
630
|
-
|
|
631
|
-
|
|
631
|
+
* Generate buffer from TLObject.
|
|
632
|
+
*/
|
|
632
633
|
write(): Buffer;
|
|
633
634
|
}
|
|
634
635
|
export declare class SetCustomVerification extends TLObject {
|
|
@@ -644,13 +645,13 @@ export declare class SetCustomVerification extends TLObject {
|
|
|
644
645
|
customDescription?: raw.TypeTextWithEntities;
|
|
645
646
|
});
|
|
646
647
|
/**
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
648
|
+
* Generate the TLObject from buffer.
|
|
649
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
650
|
+
*/
|
|
650
651
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SetCustomVerification>;
|
|
651
652
|
/**
|
|
652
|
-
|
|
653
|
-
|
|
653
|
+
* Generate buffer from TLObject.
|
|
654
|
+
*/
|
|
654
655
|
write(): Buffer;
|
|
655
656
|
}
|
|
656
657
|
export declare class GetBotRecommendations extends TLObject {
|
|
@@ -660,13 +661,13 @@ export declare class GetBotRecommendations extends TLObject {
|
|
|
660
661
|
bot: raw.TypeInputUser;
|
|
661
662
|
});
|
|
662
663
|
/**
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
664
|
+
* Generate the TLObject from buffer.
|
|
665
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
666
|
+
*/
|
|
666
667
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetBotRecommendations>;
|
|
667
668
|
/**
|
|
668
|
-
|
|
669
|
-
|
|
669
|
+
* Generate buffer from TLObject.
|
|
670
|
+
*/
|
|
670
671
|
write(): Buffer;
|
|
671
672
|
}
|
|
672
673
|
export declare class CheckUsername extends TLObject {
|
|
@@ -678,13 +679,13 @@ export declare class CheckUsername extends TLObject {
|
|
|
678
679
|
username: string;
|
|
679
680
|
});
|
|
680
681
|
/**
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
682
|
+
* Generate the TLObject from buffer.
|
|
683
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
684
|
+
*/
|
|
684
685
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<CheckUsername>;
|
|
685
686
|
/**
|
|
686
|
-
|
|
687
|
-
|
|
687
|
+
* Generate buffer from TLObject.
|
|
688
|
+
*/
|
|
688
689
|
write(): Buffer;
|
|
689
690
|
}
|
|
690
691
|
export declare class CreateBot extends TLObject {
|
|
@@ -700,13 +701,13 @@ export declare class CreateBot extends TLObject {
|
|
|
700
701
|
managerId: raw.TypeInputUser;
|
|
701
702
|
});
|
|
702
703
|
/**
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
704
|
+
* Generate the TLObject from buffer.
|
|
705
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
706
|
+
*/
|
|
706
707
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<CreateBot>;
|
|
707
708
|
/**
|
|
708
|
-
|
|
709
|
-
|
|
709
|
+
* Generate buffer from TLObject.
|
|
710
|
+
*/
|
|
710
711
|
write(): Buffer;
|
|
711
712
|
}
|
|
712
713
|
export declare class ExportBotToken extends TLObject {
|
|
@@ -718,13 +719,13 @@ export declare class ExportBotToken extends TLObject {
|
|
|
718
719
|
revoke: Bool;
|
|
719
720
|
});
|
|
720
721
|
/**
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
722
|
+
* Generate the TLObject from buffer.
|
|
723
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
724
|
+
*/
|
|
724
725
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ExportBotToken>;
|
|
725
726
|
/**
|
|
726
|
-
|
|
727
|
-
|
|
727
|
+
* Generate buffer from TLObject.
|
|
728
|
+
*/
|
|
728
729
|
write(): Buffer;
|
|
729
730
|
}
|
|
730
731
|
export declare class RequestWebViewButton extends TLObject {
|
|
@@ -736,13 +737,13 @@ export declare class RequestWebViewButton extends TLObject {
|
|
|
736
737
|
button: raw.TypeKeyboardButton;
|
|
737
738
|
});
|
|
738
739
|
/**
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
740
|
+
* Generate the TLObject from buffer.
|
|
741
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
742
|
+
*/
|
|
742
743
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<RequestWebViewButton>;
|
|
743
744
|
/**
|
|
744
|
-
|
|
745
|
-
|
|
745
|
+
* Generate buffer from TLObject.
|
|
746
|
+
*/
|
|
746
747
|
write(): Buffer;
|
|
747
748
|
}
|
|
748
749
|
export declare class GetRequestedWebViewButton extends TLObject {
|
|
@@ -754,13 +755,13 @@ export declare class GetRequestedWebViewButton extends TLObject {
|
|
|
754
755
|
webappReqId: string;
|
|
755
756
|
});
|
|
756
757
|
/**
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
758
|
+
* Generate the TLObject from buffer.
|
|
759
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
760
|
+
*/
|
|
760
761
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetRequestedWebViewButton>;
|
|
761
762
|
/**
|
|
762
|
-
|
|
763
|
-
|
|
763
|
+
* Generate buffer from TLObject.
|
|
764
|
+
*/
|
|
764
765
|
write(): Buffer;
|
|
765
766
|
}
|
|
766
767
|
export declare class GetAccessSettings extends TLObject {
|
|
@@ -770,13 +771,13 @@ export declare class GetAccessSettings extends TLObject {
|
|
|
770
771
|
bot: raw.TypeInputUser;
|
|
771
772
|
});
|
|
772
773
|
/**
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
774
|
+
* Generate the TLObject from buffer.
|
|
775
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
776
|
+
*/
|
|
776
777
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetAccessSettings>;
|
|
777
778
|
/**
|
|
778
|
-
|
|
779
|
-
|
|
779
|
+
* Generate buffer from TLObject.
|
|
780
|
+
*/
|
|
780
781
|
write(): Buffer;
|
|
781
782
|
}
|
|
782
783
|
export declare class EditAccessSettings extends TLObject {
|
|
@@ -790,13 +791,13 @@ export declare class EditAccessSettings extends TLObject {
|
|
|
790
791
|
addUsers?: Vector<raw.TypeInputUser>;
|
|
791
792
|
});
|
|
792
793
|
/**
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
794
|
+
* Generate the TLObject from buffer.
|
|
795
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
796
|
+
*/
|
|
796
797
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<EditAccessSettings>;
|
|
797
798
|
/**
|
|
798
|
-
|
|
799
|
-
|
|
799
|
+
* Generate buffer from TLObject.
|
|
800
|
+
*/
|
|
800
801
|
write(): Buffer;
|
|
801
802
|
}
|
|
802
803
|
export declare class SetJoinChatResults extends TLObject {
|
|
@@ -808,13 +809,13 @@ export declare class SetJoinChatResults extends TLObject {
|
|
|
808
809
|
result: raw.TypeJoinChatBotResult;
|
|
809
810
|
});
|
|
810
811
|
/**
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
812
|
+
* Generate the TLObject from buffer.
|
|
813
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
814
|
+
*/
|
|
814
815
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SetJoinChatResults>;
|
|
815
816
|
/**
|
|
816
|
-
|
|
817
|
-
|
|
817
|
+
* Generate buffer from TLObject.
|
|
818
|
+
*/
|
|
818
819
|
write(): Buffer;
|
|
819
820
|
}
|
|
820
821
|
export declare class AddUsername extends TLObject {
|
|
@@ -826,13 +827,13 @@ export declare class AddUsername extends TLObject {
|
|
|
826
827
|
username: string;
|
|
827
828
|
});
|
|
828
829
|
/**
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
830
|
+
* Generate the TLObject from buffer.
|
|
831
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
832
|
+
*/
|
|
832
833
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<AddUsername>;
|
|
833
834
|
/**
|
|
834
|
-
|
|
835
|
-
|
|
835
|
+
* Generate buffer from TLObject.
|
|
836
|
+
*/
|
|
836
837
|
write(): Buffer;
|
|
837
838
|
}
|
|
838
839
|
export declare class RemoveUsername extends TLObject {
|
|
@@ -844,12 +845,132 @@ export declare class RemoveUsername extends TLObject {
|
|
|
844
845
|
username: string;
|
|
845
846
|
});
|
|
846
847
|
/**
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
848
|
+
* Generate the TLObject from buffer.
|
|
849
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
850
|
+
*/
|
|
850
851
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<RemoveUsername>;
|
|
851
852
|
/**
|
|
852
|
-
|
|
853
|
-
|
|
853
|
+
* Generate buffer from TLObject.
|
|
854
|
+
*/
|
|
855
|
+
write(): Buffer;
|
|
856
|
+
}
|
|
857
|
+
export declare class SetBotSettings extends TLObject {
|
|
858
|
+
__response__: raw.TypeUser;
|
|
859
|
+
bot?: raw.TypeInputUser;
|
|
860
|
+
inlineMode?: Bool;
|
|
861
|
+
inlinePlaceholder?: string;
|
|
862
|
+
inlineGeo?: Bool;
|
|
863
|
+
inlineFeedback?: int;
|
|
864
|
+
nochats?: Bool;
|
|
865
|
+
chatHistory?: Bool;
|
|
866
|
+
business?: Bool;
|
|
867
|
+
canManageBots?: Bool;
|
|
868
|
+
guestchat?: Bool;
|
|
869
|
+
guard?: Bool;
|
|
870
|
+
forumView?: Bool;
|
|
871
|
+
forumCanManageTopics?: Bool;
|
|
872
|
+
forumSidebar?: Bool;
|
|
873
|
+
botToBotCommunicationMode?: Bool;
|
|
874
|
+
callbackMode?: string;
|
|
875
|
+
constructor(params: {
|
|
876
|
+
bot?: raw.TypeInputUser;
|
|
877
|
+
inlineMode?: Bool;
|
|
878
|
+
inlinePlaceholder?: string;
|
|
879
|
+
inlineGeo?: Bool;
|
|
880
|
+
inlineFeedback?: int;
|
|
881
|
+
nochats?: Bool;
|
|
882
|
+
chatHistory?: Bool;
|
|
883
|
+
business?: Bool;
|
|
884
|
+
canManageBots?: Bool;
|
|
885
|
+
guestchat?: Bool;
|
|
886
|
+
guard?: Bool;
|
|
887
|
+
forumView?: Bool;
|
|
888
|
+
forumCanManageTopics?: Bool;
|
|
889
|
+
forumSidebar?: Bool;
|
|
890
|
+
botToBotCommunicationMode?: Bool;
|
|
891
|
+
callbackMode?: string;
|
|
892
|
+
});
|
|
893
|
+
/**
|
|
894
|
+
* Generate the TLObject from buffer.
|
|
895
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
896
|
+
*/
|
|
897
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<SetBotSettings>;
|
|
898
|
+
/**
|
|
899
|
+
* Generate buffer from TLObject.
|
|
900
|
+
*/
|
|
901
|
+
write(): Buffer;
|
|
902
|
+
}
|
|
903
|
+
export declare class GetProfileWidgetQueryAnswer extends TLObject {
|
|
904
|
+
__response__: messages.TypeBotWidgetQueryAnswer;
|
|
905
|
+
bot: raw.TypeInputUser;
|
|
906
|
+
queryType: raw.TypeWidgetQueryType;
|
|
907
|
+
data: bytes;
|
|
908
|
+
constructor(params: {
|
|
909
|
+
bot: raw.TypeInputUser;
|
|
910
|
+
queryType: raw.TypeWidgetQueryType;
|
|
911
|
+
data: bytes;
|
|
912
|
+
});
|
|
913
|
+
/**
|
|
914
|
+
* Generate the TLObject from buffer.
|
|
915
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
916
|
+
*/
|
|
917
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetProfileWidgetQueryAnswer>;
|
|
918
|
+
/**
|
|
919
|
+
* Generate buffer from TLObject.
|
|
920
|
+
*/
|
|
921
|
+
write(): Buffer;
|
|
922
|
+
}
|
|
923
|
+
export declare class EditProfileWidgetData extends TLObject {
|
|
924
|
+
__response__: Bool;
|
|
925
|
+
cacheTime?: int;
|
|
926
|
+
publicData: string;
|
|
927
|
+
constructor(params: {
|
|
928
|
+
cacheTime?: int;
|
|
929
|
+
publicData: string;
|
|
930
|
+
});
|
|
931
|
+
/**
|
|
932
|
+
* Generate the TLObject from buffer.
|
|
933
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
934
|
+
*/
|
|
935
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<EditProfileWidgetData>;
|
|
936
|
+
/**
|
|
937
|
+
* Generate buffer from TLObject.
|
|
938
|
+
*/
|
|
939
|
+
write(): Buffer;
|
|
940
|
+
}
|
|
941
|
+
export declare class EditProfileWidgetChatData extends TLObject {
|
|
942
|
+
__response__: Bool;
|
|
943
|
+
userId: raw.TypeInputUser;
|
|
944
|
+
chatData: string;
|
|
945
|
+
constructor(params: {
|
|
946
|
+
userId: raw.TypeInputUser;
|
|
947
|
+
chatData: string;
|
|
948
|
+
});
|
|
949
|
+
/**
|
|
950
|
+
* Generate the TLObject from buffer.
|
|
951
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
952
|
+
*/
|
|
953
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<EditProfileWidgetChatData>;
|
|
954
|
+
/**
|
|
955
|
+
* Generate buffer from TLObject.
|
|
956
|
+
*/
|
|
957
|
+
write(): Buffer;
|
|
958
|
+
}
|
|
959
|
+
export declare class GetProfileWidgetPublicData extends TLObject {
|
|
960
|
+
__response__: messages.TypeWidgetPublicData;
|
|
961
|
+
bot: raw.TypeInputUser;
|
|
962
|
+
hash: long;
|
|
963
|
+
constructor(params: {
|
|
964
|
+
bot: raw.TypeInputUser;
|
|
965
|
+
hash: long;
|
|
966
|
+
});
|
|
967
|
+
/**
|
|
968
|
+
* Generate the TLObject from buffer.
|
|
969
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
970
|
+
*/
|
|
971
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetProfileWidgetPublicData>;
|
|
972
|
+
/**
|
|
973
|
+
* Generate buffer from TLObject.
|
|
974
|
+
*/
|
|
854
975
|
write(): Buffer;
|
|
855
976
|
}
|