@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';
|
|
@@ -29,25 +29,25 @@ export declare class ChannelParticipants extends TLObject {
|
|
|
29
29
|
users: Vector<raw.TypeUser>;
|
|
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<ChannelParticipants>;
|
|
36
36
|
/**
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
* Generate buffer from TLObject.
|
|
38
|
+
*/
|
|
39
39
|
write(): Buffer;
|
|
40
40
|
}
|
|
41
41
|
export declare class ChannelParticipantsNotModified extends TLObject {
|
|
42
42
|
constructor();
|
|
43
43
|
/**
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
* Generate the TLObject from buffer.
|
|
45
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
46
|
+
*/
|
|
47
47
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ChannelParticipantsNotModified>;
|
|
48
48
|
/**
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
* Generate buffer from TLObject.
|
|
50
|
+
*/
|
|
51
51
|
write(): Buffer;
|
|
52
52
|
}
|
|
53
53
|
export declare class ChannelParticipant extends TLObject {
|
|
@@ -60,13 +60,13 @@ export declare class ChannelParticipant extends TLObject {
|
|
|
60
60
|
users: Vector<raw.TypeUser>;
|
|
61
61
|
});
|
|
62
62
|
/**
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
* Generate the TLObject from buffer.
|
|
64
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
65
|
+
*/
|
|
66
66
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ChannelParticipant>;
|
|
67
67
|
/**
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
* Generate buffer from TLObject.
|
|
69
|
+
*/
|
|
70
70
|
write(): Buffer;
|
|
71
71
|
}
|
|
72
72
|
export declare class AdminLogResults extends TLObject {
|
|
@@ -79,13 +79,13 @@ export declare class AdminLogResults 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<AdminLogResults>;
|
|
86
86
|
/**
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
* Generate buffer from TLObject.
|
|
88
|
+
*/
|
|
89
89
|
write(): Buffer;
|
|
90
90
|
}
|
|
91
91
|
export declare class SendAsPeers extends TLObject {
|
|
@@ -98,13 +98,13 @@ export declare class SendAsPeers extends TLObject {
|
|
|
98
98
|
users: Vector<raw.TypeUser>;
|
|
99
99
|
});
|
|
100
100
|
/**
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
101
|
+
* Generate the TLObject from buffer.
|
|
102
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
103
|
+
*/
|
|
104
104
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SendAsPeers>;
|
|
105
105
|
/**
|
|
106
|
-
|
|
107
|
-
|
|
106
|
+
* Generate buffer from TLObject.
|
|
107
|
+
*/
|
|
108
108
|
write(): Buffer;
|
|
109
109
|
}
|
|
110
110
|
export declare class SponsoredMessageReportResultChooseOption extends TLObject {
|
|
@@ -115,37 +115,37 @@ export declare class SponsoredMessageReportResultChooseOption extends TLObject {
|
|
|
115
115
|
options: Vector<raw.TypeSponsoredMessageReportOption>;
|
|
116
116
|
});
|
|
117
117
|
/**
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
118
|
+
* Generate the TLObject from buffer.
|
|
119
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
120
|
+
*/
|
|
121
121
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SponsoredMessageReportResultChooseOption>;
|
|
122
122
|
/**
|
|
123
|
-
|
|
124
|
-
|
|
123
|
+
* Generate buffer from TLObject.
|
|
124
|
+
*/
|
|
125
125
|
write(): Buffer;
|
|
126
126
|
}
|
|
127
127
|
export declare class SponsoredMessageReportResultAdsHidden extends TLObject {
|
|
128
128
|
constructor();
|
|
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<SponsoredMessageReportResultAdsHidden>;
|
|
134
134
|
/**
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
* Generate buffer from TLObject.
|
|
136
|
+
*/
|
|
137
137
|
write(): Buffer;
|
|
138
138
|
}
|
|
139
139
|
export declare class SponsoredMessageReportResultReported extends TLObject {
|
|
140
140
|
constructor();
|
|
141
141
|
/**
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
142
|
+
* Generate the TLObject from buffer.
|
|
143
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
144
|
+
*/
|
|
145
145
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SponsoredMessageReportResultReported>;
|
|
146
146
|
/**
|
|
147
|
-
|
|
148
|
-
|
|
147
|
+
* Generate buffer from TLObject.
|
|
148
|
+
*/
|
|
149
149
|
write(): Buffer;
|
|
150
150
|
}
|
|
151
151
|
export declare class ReadHistory extends TLObject {
|
|
@@ -157,13 +157,13 @@ export declare class ReadHistory extends TLObject {
|
|
|
157
157
|
maxId: int;
|
|
158
158
|
});
|
|
159
159
|
/**
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
160
|
+
* Generate the TLObject from buffer.
|
|
161
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
162
|
+
*/
|
|
163
163
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ReadHistory>;
|
|
164
164
|
/**
|
|
165
|
-
|
|
166
|
-
|
|
165
|
+
* Generate buffer from TLObject.
|
|
166
|
+
*/
|
|
167
167
|
write(): Buffer;
|
|
168
168
|
}
|
|
169
169
|
export declare class DeleteMessages extends TLObject {
|
|
@@ -175,13 +175,13 @@ export declare class DeleteMessages extends TLObject {
|
|
|
175
175
|
id: Vector<int>;
|
|
176
176
|
});
|
|
177
177
|
/**
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
178
|
+
* Generate the TLObject from buffer.
|
|
179
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
180
|
+
*/
|
|
181
181
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<DeleteMessages>;
|
|
182
182
|
/**
|
|
183
|
-
|
|
184
|
-
|
|
183
|
+
* Generate buffer from TLObject.
|
|
184
|
+
*/
|
|
185
185
|
write(): Buffer;
|
|
186
186
|
}
|
|
187
187
|
export declare class ReportSpam extends TLObject {
|
|
@@ -195,13 +195,13 @@ export declare class ReportSpam extends TLObject {
|
|
|
195
195
|
id: Vector<int>;
|
|
196
196
|
});
|
|
197
197
|
/**
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
198
|
+
* Generate the TLObject from buffer.
|
|
199
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
200
|
+
*/
|
|
201
201
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ReportSpam>;
|
|
202
202
|
/**
|
|
203
|
-
|
|
204
|
-
|
|
203
|
+
* Generate buffer from TLObject.
|
|
204
|
+
*/
|
|
205
205
|
write(): Buffer;
|
|
206
206
|
}
|
|
207
207
|
export declare class GetMessages extends TLObject {
|
|
@@ -213,13 +213,13 @@ export declare class GetMessages extends TLObject {
|
|
|
213
213
|
id: Vector<raw.TypeInputMessage>;
|
|
214
214
|
});
|
|
215
215
|
/**
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
216
|
+
* Generate the TLObject from buffer.
|
|
217
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
218
|
+
*/
|
|
219
219
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetMessages>;
|
|
220
220
|
/**
|
|
221
|
-
|
|
222
|
-
|
|
221
|
+
* Generate buffer from TLObject.
|
|
222
|
+
*/
|
|
223
223
|
write(): Buffer;
|
|
224
224
|
}
|
|
225
225
|
export declare class GetParticipants extends TLObject {
|
|
@@ -237,13 +237,13 @@ export declare class GetParticipants extends TLObject {
|
|
|
237
237
|
hash: long;
|
|
238
238
|
});
|
|
239
239
|
/**
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
240
|
+
* Generate the TLObject from buffer.
|
|
241
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
242
|
+
*/
|
|
243
243
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetParticipants>;
|
|
244
244
|
/**
|
|
245
|
-
|
|
246
|
-
|
|
245
|
+
* Generate buffer from TLObject.
|
|
246
|
+
*/
|
|
247
247
|
write(): Buffer;
|
|
248
248
|
}
|
|
249
249
|
export declare class GetParticipant extends TLObject {
|
|
@@ -255,13 +255,13 @@ export declare class GetParticipant extends TLObject {
|
|
|
255
255
|
participant: raw.TypeInputPeer;
|
|
256
256
|
});
|
|
257
257
|
/**
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
258
|
+
* Generate the TLObject from buffer.
|
|
259
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
260
|
+
*/
|
|
261
261
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetParticipant>;
|
|
262
262
|
/**
|
|
263
|
-
|
|
264
|
-
|
|
263
|
+
* Generate buffer from TLObject.
|
|
264
|
+
*/
|
|
265
265
|
write(): Buffer;
|
|
266
266
|
}
|
|
267
267
|
export declare class GetChannels extends TLObject {
|
|
@@ -271,13 +271,13 @@ export declare class GetChannels extends TLObject {
|
|
|
271
271
|
id: Vector<raw.TypeInputChannel>;
|
|
272
272
|
});
|
|
273
273
|
/**
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
274
|
+
* Generate the TLObject from buffer.
|
|
275
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
276
|
+
*/
|
|
277
277
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetChannels>;
|
|
278
278
|
/**
|
|
279
|
-
|
|
280
|
-
|
|
279
|
+
* Generate buffer from TLObject.
|
|
280
|
+
*/
|
|
281
281
|
write(): Buffer;
|
|
282
282
|
}
|
|
283
283
|
export declare class GetFullChannel extends TLObject {
|
|
@@ -287,13 +287,13 @@ export declare class GetFullChannel extends TLObject {
|
|
|
287
287
|
channel: raw.TypeInputChannel;
|
|
288
288
|
});
|
|
289
289
|
/**
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
290
|
+
* Generate the TLObject from buffer.
|
|
291
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
292
|
+
*/
|
|
293
293
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetFullChannel>;
|
|
294
294
|
/**
|
|
295
|
-
|
|
296
|
-
|
|
295
|
+
* Generate buffer from TLObject.
|
|
296
|
+
*/
|
|
297
297
|
write(): Buffer;
|
|
298
298
|
}
|
|
299
299
|
export declare class CreateChannel extends TLObject {
|
|
@@ -319,13 +319,13 @@ export declare class CreateChannel extends TLObject {
|
|
|
319
319
|
ttlPeriod?: int;
|
|
320
320
|
});
|
|
321
321
|
/**
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
322
|
+
* Generate the TLObject from buffer.
|
|
323
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
324
|
+
*/
|
|
325
325
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<CreateChannel>;
|
|
326
326
|
/**
|
|
327
|
-
|
|
328
|
-
|
|
327
|
+
* Generate buffer from TLObject.
|
|
328
|
+
*/
|
|
329
329
|
write(): Buffer;
|
|
330
330
|
}
|
|
331
331
|
export declare class EditAdmin extends TLObject {
|
|
@@ -341,13 +341,13 @@ export declare class EditAdmin extends TLObject {
|
|
|
341
341
|
rank?: string;
|
|
342
342
|
});
|
|
343
343
|
/**
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
344
|
+
* Generate the TLObject from buffer.
|
|
345
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
346
|
+
*/
|
|
347
347
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<EditAdmin>;
|
|
348
348
|
/**
|
|
349
|
-
|
|
350
|
-
|
|
349
|
+
* Generate buffer from TLObject.
|
|
350
|
+
*/
|
|
351
351
|
write(): Buffer;
|
|
352
352
|
}
|
|
353
353
|
export declare class EditTitle extends TLObject {
|
|
@@ -359,13 +359,13 @@ export declare class EditTitle extends TLObject {
|
|
|
359
359
|
title: string;
|
|
360
360
|
});
|
|
361
361
|
/**
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
362
|
+
* Generate the TLObject from buffer.
|
|
363
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
364
|
+
*/
|
|
365
365
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<EditTitle>;
|
|
366
366
|
/**
|
|
367
|
-
|
|
368
|
-
|
|
367
|
+
* Generate buffer from TLObject.
|
|
368
|
+
*/
|
|
369
369
|
write(): Buffer;
|
|
370
370
|
}
|
|
371
371
|
export declare class EditPhoto extends TLObject {
|
|
@@ -377,13 +377,13 @@ export declare class EditPhoto extends TLObject {
|
|
|
377
377
|
photo: raw.TypeInputChatPhoto;
|
|
378
378
|
});
|
|
379
379
|
/**
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
380
|
+
* Generate the TLObject from buffer.
|
|
381
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
382
|
+
*/
|
|
383
383
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<EditPhoto>;
|
|
384
384
|
/**
|
|
385
|
-
|
|
386
|
-
|
|
385
|
+
* Generate buffer from TLObject.
|
|
386
|
+
*/
|
|
387
387
|
write(): Buffer;
|
|
388
388
|
}
|
|
389
389
|
export declare class CheckUsername extends TLObject {
|
|
@@ -395,13 +395,13 @@ export declare class CheckUsername extends TLObject {
|
|
|
395
395
|
username: string;
|
|
396
396
|
});
|
|
397
397
|
/**
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
398
|
+
* Generate the TLObject from buffer.
|
|
399
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
400
|
+
*/
|
|
401
401
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<CheckUsername>;
|
|
402
402
|
/**
|
|
403
|
-
|
|
404
|
-
|
|
403
|
+
* Generate buffer from TLObject.
|
|
404
|
+
*/
|
|
405
405
|
write(): Buffer;
|
|
406
406
|
}
|
|
407
407
|
export declare class UpdateUsername extends TLObject {
|
|
@@ -413,13 +413,13 @@ export declare class UpdateUsername extends TLObject {
|
|
|
413
413
|
username: string;
|
|
414
414
|
});
|
|
415
415
|
/**
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
416
|
+
* Generate the TLObject from buffer.
|
|
417
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
418
|
+
*/
|
|
419
419
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<UpdateUsername>;
|
|
420
420
|
/**
|
|
421
|
-
|
|
422
|
-
|
|
421
|
+
* Generate buffer from TLObject.
|
|
422
|
+
*/
|
|
423
423
|
write(): Buffer;
|
|
424
424
|
}
|
|
425
425
|
export declare class JoinChannel extends TLObject {
|
|
@@ -429,13 +429,13 @@ export declare class JoinChannel extends TLObject {
|
|
|
429
429
|
channel: raw.TypeInputChannel;
|
|
430
430
|
});
|
|
431
431
|
/**
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
432
|
+
* Generate the TLObject from buffer.
|
|
433
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
434
|
+
*/
|
|
435
435
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<JoinChannel>;
|
|
436
436
|
/**
|
|
437
|
-
|
|
438
|
-
|
|
437
|
+
* Generate buffer from TLObject.
|
|
438
|
+
*/
|
|
439
439
|
write(): Buffer;
|
|
440
440
|
}
|
|
441
441
|
export declare class LeaveChannel extends TLObject {
|
|
@@ -445,13 +445,13 @@ export declare class LeaveChannel extends TLObject {
|
|
|
445
445
|
channel: raw.TypeInputChannel;
|
|
446
446
|
});
|
|
447
447
|
/**
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
448
|
+
* Generate the TLObject from buffer.
|
|
449
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
450
|
+
*/
|
|
451
451
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<LeaveChannel>;
|
|
452
452
|
/**
|
|
453
|
-
|
|
454
|
-
|
|
453
|
+
* Generate buffer from TLObject.
|
|
454
|
+
*/
|
|
455
455
|
write(): Buffer;
|
|
456
456
|
}
|
|
457
457
|
export declare class InviteToChannel extends TLObject {
|
|
@@ -463,13 +463,13 @@ export declare class InviteToChannel extends TLObject {
|
|
|
463
463
|
users: Vector<raw.TypeInputUser>;
|
|
464
464
|
});
|
|
465
465
|
/**
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
466
|
+
* Generate the TLObject from buffer.
|
|
467
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
468
|
+
*/
|
|
469
469
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<InviteToChannel>;
|
|
470
470
|
/**
|
|
471
|
-
|
|
472
|
-
|
|
471
|
+
* Generate buffer from TLObject.
|
|
472
|
+
*/
|
|
473
473
|
write(): Buffer;
|
|
474
474
|
}
|
|
475
475
|
export declare class DeleteChannel extends TLObject {
|
|
@@ -479,13 +479,13 @@ export declare class DeleteChannel extends TLObject {
|
|
|
479
479
|
channel: raw.TypeInputChannel;
|
|
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<DeleteChannel>;
|
|
486
486
|
/**
|
|
487
|
-
|
|
488
|
-
|
|
487
|
+
* Generate buffer from TLObject.
|
|
488
|
+
*/
|
|
489
489
|
write(): Buffer;
|
|
490
490
|
}
|
|
491
491
|
export declare class ExportMessageLink extends TLObject {
|
|
@@ -501,13 +501,13 @@ export declare class ExportMessageLink extends TLObject {
|
|
|
501
501
|
id: int;
|
|
502
502
|
});
|
|
503
503
|
/**
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
504
|
+
* Generate the TLObject from buffer.
|
|
505
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
506
|
+
*/
|
|
507
507
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ExportMessageLink>;
|
|
508
508
|
/**
|
|
509
|
-
|
|
510
|
-
|
|
509
|
+
* Generate buffer from TLObject.
|
|
510
|
+
*/
|
|
511
511
|
write(): Buffer;
|
|
512
512
|
}
|
|
513
513
|
export declare class ToggleSignatures extends TLObject {
|
|
@@ -521,13 +521,13 @@ export declare class ToggleSignatures extends TLObject {
|
|
|
521
521
|
channel: raw.TypeInputChannel;
|
|
522
522
|
});
|
|
523
523
|
/**
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
524
|
+
* Generate the TLObject from buffer.
|
|
525
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
526
|
+
*/
|
|
527
527
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ToggleSignatures>;
|
|
528
528
|
/**
|
|
529
|
-
|
|
530
|
-
|
|
529
|
+
* Generate buffer from TLObject.
|
|
530
|
+
*/
|
|
531
531
|
write(): Buffer;
|
|
532
532
|
}
|
|
533
533
|
export declare class GetAdminedPublicChannels extends TLObject {
|
|
@@ -543,13 +543,13 @@ export declare class GetAdminedPublicChannels extends TLObject {
|
|
|
543
543
|
forCommunityPeer?: boolean;
|
|
544
544
|
});
|
|
545
545
|
/**
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
546
|
+
* Generate the TLObject from buffer.
|
|
547
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
548
|
+
*/
|
|
549
549
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetAdminedPublicChannels>;
|
|
550
550
|
/**
|
|
551
|
-
|
|
552
|
-
|
|
551
|
+
* Generate buffer from TLObject.
|
|
552
|
+
*/
|
|
553
553
|
write(): Buffer;
|
|
554
554
|
}
|
|
555
555
|
export declare class EditBanned extends TLObject {
|
|
@@ -563,13 +563,13 @@ export declare class EditBanned extends TLObject {
|
|
|
563
563
|
bannedRights: raw.TypeChatBannedRights;
|
|
564
564
|
});
|
|
565
565
|
/**
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
566
|
+
* Generate the TLObject from buffer.
|
|
567
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
568
|
+
*/
|
|
569
569
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<EditBanned>;
|
|
570
570
|
/**
|
|
571
|
-
|
|
572
|
-
|
|
571
|
+
* Generate buffer from TLObject.
|
|
572
|
+
*/
|
|
573
573
|
write(): Buffer;
|
|
574
574
|
}
|
|
575
575
|
export declare class GetAdminLog extends TLObject {
|
|
@@ -591,13 +591,13 @@ export declare class GetAdminLog extends TLObject {
|
|
|
591
591
|
limit: int;
|
|
592
592
|
});
|
|
593
593
|
/**
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
594
|
+
* Generate the TLObject from buffer.
|
|
595
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
596
|
+
*/
|
|
597
597
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetAdminLog>;
|
|
598
598
|
/**
|
|
599
|
-
|
|
600
|
-
|
|
599
|
+
* Generate buffer from TLObject.
|
|
600
|
+
*/
|
|
601
601
|
write(): Buffer;
|
|
602
602
|
}
|
|
603
603
|
export declare class SetStickers extends TLObject {
|
|
@@ -609,13 +609,13 @@ export declare class SetStickers extends TLObject {
|
|
|
609
609
|
stickerset: raw.TypeInputStickerSet;
|
|
610
610
|
});
|
|
611
611
|
/**
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
612
|
+
* Generate the TLObject from buffer.
|
|
613
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
614
|
+
*/
|
|
615
615
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SetStickers>;
|
|
616
616
|
/**
|
|
617
|
-
|
|
618
|
-
|
|
617
|
+
* Generate buffer from TLObject.
|
|
618
|
+
*/
|
|
619
619
|
write(): Buffer;
|
|
620
620
|
}
|
|
621
621
|
export declare class ReadMessageContents extends TLObject {
|
|
@@ -627,13 +627,13 @@ export declare class ReadMessageContents extends TLObject {
|
|
|
627
627
|
id: Vector<int>;
|
|
628
628
|
});
|
|
629
629
|
/**
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
630
|
+
* Generate the TLObject from buffer.
|
|
631
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
632
|
+
*/
|
|
633
633
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ReadMessageContents>;
|
|
634
634
|
/**
|
|
635
|
-
|
|
636
|
-
|
|
635
|
+
* Generate buffer from TLObject.
|
|
636
|
+
*/
|
|
637
637
|
write(): Buffer;
|
|
638
638
|
}
|
|
639
639
|
export declare class DeleteHistory extends TLObject {
|
|
@@ -647,13 +647,13 @@ export declare class DeleteHistory extends TLObject {
|
|
|
647
647
|
maxId: int;
|
|
648
648
|
});
|
|
649
649
|
/**
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
650
|
+
* Generate the TLObject from buffer.
|
|
651
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
652
|
+
*/
|
|
653
653
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<DeleteHistory>;
|
|
654
654
|
/**
|
|
655
|
-
|
|
656
|
-
|
|
655
|
+
* Generate buffer from TLObject.
|
|
656
|
+
*/
|
|
657
657
|
write(): Buffer;
|
|
658
658
|
}
|
|
659
659
|
export declare class TogglePreHistoryHidden extends TLObject {
|
|
@@ -665,13 +665,13 @@ export declare class TogglePreHistoryHidden extends TLObject {
|
|
|
665
665
|
enabled: Bool;
|
|
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<TogglePreHistoryHidden>;
|
|
672
672
|
/**
|
|
673
|
-
|
|
674
|
-
|
|
673
|
+
* Generate buffer from TLObject.
|
|
674
|
+
*/
|
|
675
675
|
write(): Buffer;
|
|
676
676
|
}
|
|
677
677
|
export declare class GetLeftChannels extends TLObject {
|
|
@@ -681,26 +681,26 @@ export declare class GetLeftChannels extends TLObject {
|
|
|
681
681
|
offset: int;
|
|
682
682
|
});
|
|
683
683
|
/**
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
684
|
+
* Generate the TLObject from buffer.
|
|
685
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
686
|
+
*/
|
|
687
687
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetLeftChannels>;
|
|
688
688
|
/**
|
|
689
|
-
|
|
690
|
-
|
|
689
|
+
* Generate buffer from TLObject.
|
|
690
|
+
*/
|
|
691
691
|
write(): Buffer;
|
|
692
692
|
}
|
|
693
693
|
export declare class GetGroupsForDiscussion extends TLObject {
|
|
694
694
|
__response__: messages.TypeChats;
|
|
695
695
|
constructor();
|
|
696
696
|
/**
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
697
|
+
* Generate the TLObject from buffer.
|
|
698
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
699
|
+
*/
|
|
700
700
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetGroupsForDiscussion>;
|
|
701
701
|
/**
|
|
702
|
-
|
|
703
|
-
|
|
702
|
+
* Generate buffer from TLObject.
|
|
703
|
+
*/
|
|
704
704
|
write(): Buffer;
|
|
705
705
|
}
|
|
706
706
|
export declare class SetDiscussionGroup extends TLObject {
|
|
@@ -712,13 +712,13 @@ export declare class SetDiscussionGroup extends TLObject {
|
|
|
712
712
|
group: raw.TypeInputChannel;
|
|
713
713
|
});
|
|
714
714
|
/**
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
715
|
+
* Generate the TLObject from buffer.
|
|
716
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
717
|
+
*/
|
|
718
718
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SetDiscussionGroup>;
|
|
719
719
|
/**
|
|
720
|
-
|
|
721
|
-
|
|
720
|
+
* Generate buffer from TLObject.
|
|
721
|
+
*/
|
|
722
722
|
write(): Buffer;
|
|
723
723
|
}
|
|
724
724
|
export declare class EditLocation extends TLObject {
|
|
@@ -732,13 +732,13 @@ export declare class EditLocation extends TLObject {
|
|
|
732
732
|
address: string;
|
|
733
733
|
});
|
|
734
734
|
/**
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
735
|
+
* Generate the TLObject from buffer.
|
|
736
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
737
|
+
*/
|
|
738
738
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<EditLocation>;
|
|
739
739
|
/**
|
|
740
|
-
|
|
741
|
-
|
|
740
|
+
* Generate buffer from TLObject.
|
|
741
|
+
*/
|
|
742
742
|
write(): Buffer;
|
|
743
743
|
}
|
|
744
744
|
export declare class ToggleSlowMode extends TLObject {
|
|
@@ -750,26 +750,26 @@ export declare class ToggleSlowMode extends TLObject {
|
|
|
750
750
|
seconds: int;
|
|
751
751
|
});
|
|
752
752
|
/**
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
753
|
+
* Generate the TLObject from buffer.
|
|
754
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
755
|
+
*/
|
|
756
756
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ToggleSlowMode>;
|
|
757
757
|
/**
|
|
758
|
-
|
|
759
|
-
|
|
758
|
+
* Generate buffer from TLObject.
|
|
759
|
+
*/
|
|
760
760
|
write(): Buffer;
|
|
761
761
|
}
|
|
762
762
|
export declare class GetInactiveChannels extends TLObject {
|
|
763
763
|
__response__: messages.TypeInactiveChats;
|
|
764
764
|
constructor();
|
|
765
765
|
/**
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
766
|
+
* Generate the TLObject from buffer.
|
|
767
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
768
|
+
*/
|
|
769
769
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetInactiveChannels>;
|
|
770
770
|
/**
|
|
771
|
-
|
|
772
|
-
|
|
771
|
+
* Generate buffer from TLObject.
|
|
772
|
+
*/
|
|
773
773
|
write(): Buffer;
|
|
774
774
|
}
|
|
775
775
|
export declare class ConvertToGigagroup extends TLObject {
|
|
@@ -779,13 +779,13 @@ export declare class ConvertToGigagroup extends TLObject {
|
|
|
779
779
|
channel: raw.TypeInputChannel;
|
|
780
780
|
});
|
|
781
781
|
/**
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
782
|
+
* Generate the TLObject from buffer.
|
|
783
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
784
|
+
*/
|
|
785
785
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ConvertToGigagroup>;
|
|
786
786
|
/**
|
|
787
|
-
|
|
788
|
-
|
|
787
|
+
* Generate buffer from TLObject.
|
|
788
|
+
*/
|
|
789
789
|
write(): Buffer;
|
|
790
790
|
}
|
|
791
791
|
export declare class GetSendAs extends TLObject {
|
|
@@ -799,13 +799,13 @@ export declare class GetSendAs extends TLObject {
|
|
|
799
799
|
peer: raw.TypeInputPeer;
|
|
800
800
|
});
|
|
801
801
|
/**
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
802
|
+
* Generate the TLObject from buffer.
|
|
803
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
804
|
+
*/
|
|
805
805
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetSendAs>;
|
|
806
806
|
/**
|
|
807
|
-
|
|
808
|
-
|
|
807
|
+
* Generate buffer from TLObject.
|
|
808
|
+
*/
|
|
809
809
|
write(): Buffer;
|
|
810
810
|
}
|
|
811
811
|
export declare class DeleteParticipantHistory extends TLObject {
|
|
@@ -817,13 +817,13 @@ export declare class DeleteParticipantHistory extends TLObject {
|
|
|
817
817
|
participant: raw.TypeInputPeer;
|
|
818
818
|
});
|
|
819
819
|
/**
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
820
|
+
* Generate the TLObject from buffer.
|
|
821
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
822
|
+
*/
|
|
823
823
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<DeleteParticipantHistory>;
|
|
824
824
|
/**
|
|
825
|
-
|
|
826
|
-
|
|
825
|
+
* Generate buffer from TLObject.
|
|
826
|
+
*/
|
|
827
827
|
write(): Buffer;
|
|
828
828
|
}
|
|
829
829
|
export declare class ToggleJoinToSend extends TLObject {
|
|
@@ -835,13 +835,13 @@ export declare class ToggleJoinToSend extends TLObject {
|
|
|
835
835
|
enabled: Bool;
|
|
836
836
|
});
|
|
837
837
|
/**
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
838
|
+
* Generate the TLObject from buffer.
|
|
839
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
840
|
+
*/
|
|
841
841
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ToggleJoinToSend>;
|
|
842
842
|
/**
|
|
843
|
-
|
|
844
|
-
|
|
843
|
+
* Generate buffer from TLObject.
|
|
844
|
+
*/
|
|
845
845
|
write(): Buffer;
|
|
846
846
|
}
|
|
847
847
|
export declare class ToggleJoinRequest extends TLObject {
|
|
@@ -857,13 +857,13 @@ export declare class ToggleJoinRequest extends TLObject {
|
|
|
857
857
|
guardBot?: raw.TypeInputUser;
|
|
858
858
|
});
|
|
859
859
|
/**
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
860
|
+
* Generate the TLObject from buffer.
|
|
861
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
862
|
+
*/
|
|
863
863
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ToggleJoinRequest>;
|
|
864
864
|
/**
|
|
865
|
-
|
|
866
|
-
|
|
865
|
+
* Generate buffer from TLObject.
|
|
866
|
+
*/
|
|
867
867
|
write(): Buffer;
|
|
868
868
|
}
|
|
869
869
|
export declare class ReorderUsernames extends TLObject {
|
|
@@ -875,13 +875,13 @@ export declare class ReorderUsernames extends TLObject {
|
|
|
875
875
|
order: Vector<string>;
|
|
876
876
|
});
|
|
877
877
|
/**
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
878
|
+
* Generate the TLObject from buffer.
|
|
879
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
880
|
+
*/
|
|
881
881
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ReorderUsernames>;
|
|
882
882
|
/**
|
|
883
|
-
|
|
884
|
-
|
|
883
|
+
* Generate buffer from TLObject.
|
|
884
|
+
*/
|
|
885
885
|
write(): Buffer;
|
|
886
886
|
}
|
|
887
887
|
export declare class ToggleUsername extends TLObject {
|
|
@@ -895,13 +895,13 @@ export declare class ToggleUsername extends TLObject {
|
|
|
895
895
|
active: Bool;
|
|
896
896
|
});
|
|
897
897
|
/**
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
898
|
+
* Generate the TLObject from buffer.
|
|
899
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
900
|
+
*/
|
|
901
901
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ToggleUsername>;
|
|
902
902
|
/**
|
|
903
|
-
|
|
904
|
-
|
|
903
|
+
* Generate buffer from TLObject.
|
|
904
|
+
*/
|
|
905
905
|
write(): Buffer;
|
|
906
906
|
}
|
|
907
907
|
export declare class DeactivateAllUsernames extends TLObject {
|
|
@@ -911,13 +911,13 @@ export declare class DeactivateAllUsernames extends TLObject {
|
|
|
911
911
|
channel: raw.TypeInputChannel;
|
|
912
912
|
});
|
|
913
913
|
/**
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
914
|
+
* Generate the TLObject from buffer.
|
|
915
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
916
|
+
*/
|
|
917
917
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<DeactivateAllUsernames>;
|
|
918
918
|
/**
|
|
919
|
-
|
|
920
|
-
|
|
919
|
+
* Generate buffer from TLObject.
|
|
920
|
+
*/
|
|
921
921
|
write(): Buffer;
|
|
922
922
|
}
|
|
923
923
|
export declare class ToggleForum extends TLObject {
|
|
@@ -933,13 +933,13 @@ export declare class ToggleForum extends TLObject {
|
|
|
933
933
|
sidebar: Bool;
|
|
934
934
|
});
|
|
935
935
|
/**
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
936
|
+
* Generate the TLObject from buffer.
|
|
937
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
938
|
+
*/
|
|
939
939
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ToggleForum>;
|
|
940
940
|
/**
|
|
941
|
-
|
|
942
|
-
|
|
941
|
+
* Generate buffer from TLObject.
|
|
942
|
+
*/
|
|
943
943
|
write(): Buffer;
|
|
944
944
|
}
|
|
945
945
|
export declare class ToggleAntiSpam extends TLObject {
|
|
@@ -951,13 +951,13 @@ export declare class ToggleAntiSpam extends TLObject {
|
|
|
951
951
|
enabled: Bool;
|
|
952
952
|
});
|
|
953
953
|
/**
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
954
|
+
* Generate the TLObject from buffer.
|
|
955
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
956
|
+
*/
|
|
957
957
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ToggleAntiSpam>;
|
|
958
958
|
/**
|
|
959
|
-
|
|
960
|
-
|
|
959
|
+
* Generate buffer from TLObject.
|
|
960
|
+
*/
|
|
961
961
|
write(): Buffer;
|
|
962
962
|
}
|
|
963
963
|
export declare class ReportAntiSpamFalsePositive extends TLObject {
|
|
@@ -969,13 +969,13 @@ export declare class ReportAntiSpamFalsePositive extends TLObject {
|
|
|
969
969
|
msgId: int;
|
|
970
970
|
});
|
|
971
971
|
/**
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
972
|
+
* Generate the TLObject from buffer.
|
|
973
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
974
|
+
*/
|
|
975
975
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ReportAntiSpamFalsePositive>;
|
|
976
976
|
/**
|
|
977
|
-
|
|
978
|
-
|
|
977
|
+
* Generate buffer from TLObject.
|
|
978
|
+
*/
|
|
979
979
|
write(): Buffer;
|
|
980
980
|
}
|
|
981
981
|
export declare class ToggleParticipantsHidden extends TLObject {
|
|
@@ -987,13 +987,13 @@ export declare class ToggleParticipantsHidden extends TLObject {
|
|
|
987
987
|
enabled: Bool;
|
|
988
988
|
});
|
|
989
989
|
/**
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
990
|
+
* Generate the TLObject from buffer.
|
|
991
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
992
|
+
*/
|
|
993
993
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ToggleParticipantsHidden>;
|
|
994
994
|
/**
|
|
995
|
-
|
|
996
|
-
|
|
995
|
+
* Generate buffer from TLObject.
|
|
996
|
+
*/
|
|
997
997
|
write(): Buffer;
|
|
998
998
|
}
|
|
999
999
|
export declare class UpdateColor extends TLObject {
|
|
@@ -1009,13 +1009,13 @@ export declare class UpdateColor extends TLObject {
|
|
|
1009
1009
|
backgroundEmojiId?: long;
|
|
1010
1010
|
});
|
|
1011
1011
|
/**
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1012
|
+
* Generate the TLObject from buffer.
|
|
1013
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
1014
|
+
*/
|
|
1015
1015
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<UpdateColor>;
|
|
1016
1016
|
/**
|
|
1017
|
-
|
|
1018
|
-
|
|
1017
|
+
* Generate buffer from TLObject.
|
|
1018
|
+
*/
|
|
1019
1019
|
write(): Buffer;
|
|
1020
1020
|
}
|
|
1021
1021
|
export declare class ToggleViewForumAsMessages extends TLObject {
|
|
@@ -1027,13 +1027,13 @@ export declare class ToggleViewForumAsMessages extends TLObject {
|
|
|
1027
1027
|
enabled: Bool;
|
|
1028
1028
|
});
|
|
1029
1029
|
/**
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1030
|
+
* Generate the TLObject from buffer.
|
|
1031
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
1032
|
+
*/
|
|
1033
1033
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ToggleViewForumAsMessages>;
|
|
1034
1034
|
/**
|
|
1035
|
-
|
|
1036
|
-
|
|
1035
|
+
* Generate buffer from TLObject.
|
|
1036
|
+
*/
|
|
1037
1037
|
write(): Buffer;
|
|
1038
1038
|
}
|
|
1039
1039
|
export declare class GetChannelRecommendations extends TLObject {
|
|
@@ -1043,13 +1043,13 @@ export declare class GetChannelRecommendations extends TLObject {
|
|
|
1043
1043
|
channel?: raw.TypeInputChannel;
|
|
1044
1044
|
});
|
|
1045
1045
|
/**
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1046
|
+
* Generate the TLObject from buffer.
|
|
1047
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
1048
|
+
*/
|
|
1049
1049
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetChannelRecommendations>;
|
|
1050
1050
|
/**
|
|
1051
|
-
|
|
1052
|
-
|
|
1051
|
+
* Generate buffer from TLObject.
|
|
1052
|
+
*/
|
|
1053
1053
|
write(): Buffer;
|
|
1054
1054
|
}
|
|
1055
1055
|
export declare class UpdateEmojiStatus extends TLObject {
|
|
@@ -1061,13 +1061,13 @@ export declare class UpdateEmojiStatus extends TLObject {
|
|
|
1061
1061
|
emojiStatus: raw.TypeEmojiStatus;
|
|
1062
1062
|
});
|
|
1063
1063
|
/**
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1064
|
+
* Generate the TLObject from buffer.
|
|
1065
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
1066
|
+
*/
|
|
1067
1067
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<UpdateEmojiStatus>;
|
|
1068
1068
|
/**
|
|
1069
|
-
|
|
1070
|
-
|
|
1069
|
+
* Generate buffer from TLObject.
|
|
1070
|
+
*/
|
|
1071
1071
|
write(): Buffer;
|
|
1072
1072
|
}
|
|
1073
1073
|
export declare class SetBoostsToUnblockRestrictions extends TLObject {
|
|
@@ -1079,13 +1079,13 @@ export declare class SetBoostsToUnblockRestrictions extends TLObject {
|
|
|
1079
1079
|
boosts: int;
|
|
1080
1080
|
});
|
|
1081
1081
|
/**
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1082
|
+
* Generate the TLObject from buffer.
|
|
1083
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
1084
|
+
*/
|
|
1085
1085
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SetBoostsToUnblockRestrictions>;
|
|
1086
1086
|
/**
|
|
1087
|
-
|
|
1088
|
-
|
|
1087
|
+
* Generate buffer from TLObject.
|
|
1088
|
+
*/
|
|
1089
1089
|
write(): Buffer;
|
|
1090
1090
|
}
|
|
1091
1091
|
export declare class SetEmojiStickers extends TLObject {
|
|
@@ -1097,13 +1097,13 @@ export declare class SetEmojiStickers extends TLObject {
|
|
|
1097
1097
|
stickerset: raw.TypeInputStickerSet;
|
|
1098
1098
|
});
|
|
1099
1099
|
/**
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1100
|
+
* Generate the TLObject from buffer.
|
|
1101
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
1102
|
+
*/
|
|
1103
1103
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SetEmojiStickers>;
|
|
1104
1104
|
/**
|
|
1105
|
-
|
|
1106
|
-
|
|
1105
|
+
* Generate buffer from TLObject.
|
|
1106
|
+
*/
|
|
1107
1107
|
write(): Buffer;
|
|
1108
1108
|
}
|
|
1109
1109
|
export declare class RestrictSponsoredMessages extends TLObject {
|
|
@@ -1115,13 +1115,13 @@ export declare class RestrictSponsoredMessages extends TLObject {
|
|
|
1115
1115
|
restricted: Bool;
|
|
1116
1116
|
});
|
|
1117
1117
|
/**
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1118
|
+
* Generate the TLObject from buffer.
|
|
1119
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
1120
|
+
*/
|
|
1121
1121
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<RestrictSponsoredMessages>;
|
|
1122
1122
|
/**
|
|
1123
|
-
|
|
1124
|
-
|
|
1123
|
+
* Generate buffer from TLObject.
|
|
1124
|
+
*/
|
|
1125
1125
|
write(): Buffer;
|
|
1126
1126
|
}
|
|
1127
1127
|
export declare class SearchPosts extends TLObject {
|
|
@@ -1143,13 +1143,13 @@ export declare class SearchPosts extends TLObject {
|
|
|
1143
1143
|
allowPaidStars?: long;
|
|
1144
1144
|
});
|
|
1145
1145
|
/**
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1146
|
+
* Generate the TLObject from buffer.
|
|
1147
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
1148
|
+
*/
|
|
1149
1149
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SearchPosts>;
|
|
1150
1150
|
/**
|
|
1151
|
-
|
|
1152
|
-
|
|
1151
|
+
* Generate buffer from TLObject.
|
|
1152
|
+
*/
|
|
1153
1153
|
write(): Buffer;
|
|
1154
1154
|
}
|
|
1155
1155
|
export declare class UpdatePaidMessagesPrice extends TLObject {
|
|
@@ -1163,13 +1163,13 @@ export declare class UpdatePaidMessagesPrice extends TLObject {
|
|
|
1163
1163
|
sendPaidMessagesStars: long;
|
|
1164
1164
|
});
|
|
1165
1165
|
/**
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1166
|
+
* Generate the TLObject from buffer.
|
|
1167
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
1168
|
+
*/
|
|
1169
1169
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<UpdatePaidMessagesPrice>;
|
|
1170
1170
|
/**
|
|
1171
|
-
|
|
1172
|
-
|
|
1171
|
+
* Generate buffer from TLObject.
|
|
1172
|
+
*/
|
|
1173
1173
|
write(): Buffer;
|
|
1174
1174
|
}
|
|
1175
1175
|
export declare class ToggleAutotranslation extends TLObject {
|
|
@@ -1181,13 +1181,13 @@ export declare class ToggleAutotranslation extends TLObject {
|
|
|
1181
1181
|
enabled: Bool;
|
|
1182
1182
|
});
|
|
1183
1183
|
/**
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1184
|
+
* Generate the TLObject from buffer.
|
|
1185
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
1186
|
+
*/
|
|
1187
1187
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ToggleAutotranslation>;
|
|
1188
1188
|
/**
|
|
1189
|
-
|
|
1190
|
-
|
|
1189
|
+
* Generate buffer from TLObject.
|
|
1190
|
+
*/
|
|
1191
1191
|
write(): Buffer;
|
|
1192
1192
|
}
|
|
1193
1193
|
export declare class GetMessageAuthor extends TLObject {
|
|
@@ -1199,13 +1199,13 @@ export declare class GetMessageAuthor extends TLObject {
|
|
|
1199
1199
|
id: int;
|
|
1200
1200
|
});
|
|
1201
1201
|
/**
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1202
|
+
* Generate the TLObject from buffer.
|
|
1203
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
1204
|
+
*/
|
|
1205
1205
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetMessageAuthor>;
|
|
1206
1206
|
/**
|
|
1207
|
-
|
|
1208
|
-
|
|
1207
|
+
* Generate buffer from TLObject.
|
|
1208
|
+
*/
|
|
1209
1209
|
write(): Buffer;
|
|
1210
1210
|
}
|
|
1211
1211
|
export declare class CheckSearchPostsFlood extends TLObject {
|
|
@@ -1215,13 +1215,13 @@ export declare class CheckSearchPostsFlood extends TLObject {
|
|
|
1215
1215
|
query?: string;
|
|
1216
1216
|
});
|
|
1217
1217
|
/**
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1218
|
+
* Generate the TLObject from buffer.
|
|
1219
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
1220
|
+
*/
|
|
1221
1221
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<CheckSearchPostsFlood>;
|
|
1222
1222
|
/**
|
|
1223
|
-
|
|
1224
|
-
|
|
1223
|
+
* Generate buffer from TLObject.
|
|
1224
|
+
*/
|
|
1225
1225
|
write(): Buffer;
|
|
1226
1226
|
}
|
|
1227
1227
|
export declare class SetMainProfileTab extends TLObject {
|
|
@@ -1233,12 +1233,12 @@ export declare class SetMainProfileTab extends TLObject {
|
|
|
1233
1233
|
tab: raw.TypeProfileTab;
|
|
1234
1234
|
});
|
|
1235
1235
|
/**
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1236
|
+
* Generate the TLObject from buffer.
|
|
1237
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
1238
|
+
*/
|
|
1239
1239
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SetMainProfileTab>;
|
|
1240
1240
|
/**
|
|
1241
|
-
|
|
1242
|
-
|
|
1241
|
+
* Generate buffer from TLObject.
|
|
1242
|
+
*/
|
|
1243
1243
|
write(): Buffer;
|
|
1244
1244
|
}
|