@tgsnake/skema 3.1.0 → 3.2.1-browser.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/src/deps.d.ts +4 -3
- package/dist/src/deps.js +4 -4
- package/dist/src/errors/RpcError.js +3 -1
- package/dist/src/helpers.js +19 -34
- package/dist/src/raw/class/All.d.ts +49 -5
- package/dist/src/raw/class/All.js +2783 -2739
- package/dist/src/raw/class/Raw.d.ts +7856 -7518
- package/dist/src/raw/class/Raw.js +27367 -20433
- package/dist/src/raw/class/tl/account.d.ts +841 -841
- package/dist/src/raw/class/tl/account.js +1983 -1813
- package/dist/src/raw/class/tl/aicompose.d.ts +51 -51
- package/dist/src/raw/class/tl/aicompose.js +128 -117
- package/dist/src/raw/class/tl/auth.d.ts +296 -296
- package/dist/src/raw/class/tl/auth.js +849 -714
- package/dist/src/raw/class/tl/bots.d.ts +353 -232
- package/dist/src/raw/class/tl/bots.js +871 -504
- package/dist/src/raw/class/tl/channels.d.ts +351 -331
- package/dist/src/raw/class/tl/channels.js +873 -735
- package/dist/src/raw/class/tl/chatlists.d.ts +81 -81
- package/dist/src/raw/class/tl/chatlists.js +196 -183
- package/dist/src/raw/class/tl/communities.d.ts +56 -56
- package/dist/src/raw/class/tl/communities.js +159 -138
- package/dist/src/raw/class/tl/contacts.d.ts +216 -216
- package/dist/src/raw/class/tl/contacts.js +537 -492
- package/dist/src/raw/class/tl/ephemeral.d.ts +51 -51
- package/dist/src/raw/class/tl/ephemeral.js +204 -152
- package/dist/src/raw/class/tl/feed.d.ts +278 -0
- package/dist/src/raw/class/tl/feed.js +671 -0
- package/dist/src/raw/class/tl/folders.d.ts +6 -6
- package/dist/src/raw/class/tl/folders.js +11 -11
- package/dist/src/raw/class/tl/fragment.d.ts +11 -11
- package/dist/src/raw/class/tl/fragment.js +32 -25
- package/dist/src/raw/class/tl/help.d.ts +286 -286
- package/dist/src/raw/class/tl/help.js +686 -618
- package/dist/src/raw/class/tl/langpack.d.ts +26 -26
- package/dist/src/raw/class/tl/langpack.js +57 -57
- package/dist/src/raw/class/tl/messages.d.ts +1901 -1851
- package/dist/src/raw/class/tl/messages.js +6043 -4855
- package/dist/src/raw/class/tl/payments.d.ts +677 -641
- package/dist/src/raw/class/tl/payments.js +2312 -1734
- package/dist/src/raw/class/tl/phone.d.ts +256 -256
- package/dist/src/raw/class/tl/phone.js +779 -644
- package/dist/src/raw/class/tl/photos.d.ts +41 -41
- package/dist/src/raw/class/tl/photos.js +139 -116
- package/dist/src/raw/class/tl/premium.d.ts +41 -41
- package/dist/src/raw/class/tl/premium.js +133 -111
- package/dist/src/raw/class/tl/smsjobs.d.ts +46 -46
- package/dist/src/raw/class/tl/smsjobs.js +115 -97
- package/dist/src/raw/class/tl/stats.d.ts +71 -71
- package/dist/src/raw/class/tl/stats.js +268 -169
- package/dist/src/raw/class/tl/stickers.d.ts +61 -61
- package/dist/src/raw/class/tl/stickers.js +173 -144
- package/dist/src/raw/class/tl/storage.d.ts +51 -51
- package/dist/src/raw/class/tl/storage.js +71 -71
- package/dist/src/raw/class/tl/stories.d.ts +221 -221
- package/dist/src/raw/class/tl/stories.js +781 -622
- package/dist/src/raw/class/tl/toncenter.d.ts +21 -21
- package/dist/src/raw/class/tl/toncenter.js +52 -47
- package/dist/src/raw/class/tl/updates.d.ts +56 -56
- package/dist/src/raw/class/tl/updates.js +246 -175
- package/dist/src/raw/class/tl/upload.d.ts +66 -66
- package/dist/src/raw/class/tl/upload.js +178 -155
- package/dist/src/raw/class/tl/users.d.ts +61 -61
- package/dist/src/raw/class/tl/users.js +124 -124
- package/dist/src/raw/class/tl/wallet.d.ts +257 -206
- package/dist/src/raw/class/tl/wallet.js +701 -525
- package/dist/src/raw/class/types.d.ts +3 -2
- package/dist/src/raw/class/types.js +1 -1
- package/dist/src/raw/core/GzipPacked.d.ts +4 -0
- package/dist/src/raw/core/GzipPacked.js +9 -1
- package/dist/src/raw/core/primitive/Bytes.js +26 -4
- package/dist/src/raw/core/primitive/Vector.js +11 -3
- package/package.json +7 -5
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* tgsnake is a free software: you can redistribute it and/or modify
|
|
8
8
|
* it under the terms of the MIT License as published.
|
|
9
|
-
*/
|
|
9
|
+
*/
|
|
10
10
|
import { TLObject } from '../../core/index.js';
|
|
11
11
|
import { Buffer, BytesIO } from '../../../deps.js';
|
|
12
12
|
import type { Bool, Vector, int, long } from '../types.js';
|
|
@@ -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,29 +413,31 @@ 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 {
|
|
426
426
|
__response__: messages.TypeChatInviteJoinResult;
|
|
427
|
+
forNews?: boolean;
|
|
427
428
|
channel: raw.TypeInputChannel;
|
|
428
429
|
constructor(params: {
|
|
430
|
+
forNews?: boolean;
|
|
429
431
|
channel: raw.TypeInputChannel;
|
|
430
432
|
});
|
|
431
433
|
/**
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
434
|
+
* Generate the TLObject from buffer.
|
|
435
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
436
|
+
*/
|
|
435
437
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<JoinChannel>;
|
|
436
438
|
/**
|
|
437
|
-
|
|
438
|
-
|
|
439
|
+
* Generate buffer from TLObject.
|
|
440
|
+
*/
|
|
439
441
|
write(): Buffer;
|
|
440
442
|
}
|
|
441
443
|
export declare class LeaveChannel extends TLObject {
|
|
@@ -445,13 +447,13 @@ export declare class LeaveChannel extends TLObject {
|
|
|
445
447
|
channel: raw.TypeInputChannel;
|
|
446
448
|
});
|
|
447
449
|
/**
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
450
|
+
* Generate the TLObject from buffer.
|
|
451
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
452
|
+
*/
|
|
451
453
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<LeaveChannel>;
|
|
452
454
|
/**
|
|
453
|
-
|
|
454
|
-
|
|
455
|
+
* Generate buffer from TLObject.
|
|
456
|
+
*/
|
|
455
457
|
write(): Buffer;
|
|
456
458
|
}
|
|
457
459
|
export declare class InviteToChannel extends TLObject {
|
|
@@ -463,13 +465,13 @@ export declare class InviteToChannel extends TLObject {
|
|
|
463
465
|
users: Vector<raw.TypeInputUser>;
|
|
464
466
|
});
|
|
465
467
|
/**
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
468
|
+
* Generate the TLObject from buffer.
|
|
469
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
470
|
+
*/
|
|
469
471
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<InviteToChannel>;
|
|
470
472
|
/**
|
|
471
|
-
|
|
472
|
-
|
|
473
|
+
* Generate buffer from TLObject.
|
|
474
|
+
*/
|
|
473
475
|
write(): Buffer;
|
|
474
476
|
}
|
|
475
477
|
export declare class DeleteChannel extends TLObject {
|
|
@@ -479,13 +481,13 @@ export declare class DeleteChannel extends TLObject {
|
|
|
479
481
|
channel: raw.TypeInputChannel;
|
|
480
482
|
});
|
|
481
483
|
/**
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
484
|
+
* Generate the TLObject from buffer.
|
|
485
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
486
|
+
*/
|
|
485
487
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<DeleteChannel>;
|
|
486
488
|
/**
|
|
487
|
-
|
|
488
|
-
|
|
489
|
+
* Generate buffer from TLObject.
|
|
490
|
+
*/
|
|
489
491
|
write(): Buffer;
|
|
490
492
|
}
|
|
491
493
|
export declare class ExportMessageLink extends TLObject {
|
|
@@ -501,13 +503,13 @@ export declare class ExportMessageLink extends TLObject {
|
|
|
501
503
|
id: int;
|
|
502
504
|
});
|
|
503
505
|
/**
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
506
|
+
* Generate the TLObject from buffer.
|
|
507
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
508
|
+
*/
|
|
507
509
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ExportMessageLink>;
|
|
508
510
|
/**
|
|
509
|
-
|
|
510
|
-
|
|
511
|
+
* Generate buffer from TLObject.
|
|
512
|
+
*/
|
|
511
513
|
write(): Buffer;
|
|
512
514
|
}
|
|
513
515
|
export declare class ToggleSignatures extends TLObject {
|
|
@@ -521,13 +523,13 @@ export declare class ToggleSignatures extends TLObject {
|
|
|
521
523
|
channel: raw.TypeInputChannel;
|
|
522
524
|
});
|
|
523
525
|
/**
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
526
|
+
* Generate the TLObject from buffer.
|
|
527
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
528
|
+
*/
|
|
527
529
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ToggleSignatures>;
|
|
528
530
|
/**
|
|
529
|
-
|
|
530
|
-
|
|
531
|
+
* Generate buffer from TLObject.
|
|
532
|
+
*/
|
|
531
533
|
write(): Buffer;
|
|
532
534
|
}
|
|
533
535
|
export declare class GetAdminedPublicChannels extends TLObject {
|
|
@@ -543,13 +545,13 @@ export declare class GetAdminedPublicChannels extends TLObject {
|
|
|
543
545
|
forCommunityPeer?: boolean;
|
|
544
546
|
});
|
|
545
547
|
/**
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
548
|
+
* Generate the TLObject from buffer.
|
|
549
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
550
|
+
*/
|
|
549
551
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetAdminedPublicChannels>;
|
|
550
552
|
/**
|
|
551
|
-
|
|
552
|
-
|
|
553
|
+
* Generate buffer from TLObject.
|
|
554
|
+
*/
|
|
553
555
|
write(): Buffer;
|
|
554
556
|
}
|
|
555
557
|
export declare class EditBanned extends TLObject {
|
|
@@ -563,13 +565,13 @@ export declare class EditBanned extends TLObject {
|
|
|
563
565
|
bannedRights: raw.TypeChatBannedRights;
|
|
564
566
|
});
|
|
565
567
|
/**
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
568
|
+
* Generate the TLObject from buffer.
|
|
569
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
570
|
+
*/
|
|
569
571
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<EditBanned>;
|
|
570
572
|
/**
|
|
571
|
-
|
|
572
|
-
|
|
573
|
+
* Generate buffer from TLObject.
|
|
574
|
+
*/
|
|
573
575
|
write(): Buffer;
|
|
574
576
|
}
|
|
575
577
|
export declare class GetAdminLog extends TLObject {
|
|
@@ -591,13 +593,13 @@ export declare class GetAdminLog extends TLObject {
|
|
|
591
593
|
limit: int;
|
|
592
594
|
});
|
|
593
595
|
/**
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
596
|
+
* Generate the TLObject from buffer.
|
|
597
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
598
|
+
*/
|
|
597
599
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetAdminLog>;
|
|
598
600
|
/**
|
|
599
|
-
|
|
600
|
-
|
|
601
|
+
* Generate buffer from TLObject.
|
|
602
|
+
*/
|
|
601
603
|
write(): Buffer;
|
|
602
604
|
}
|
|
603
605
|
export declare class SetStickers extends TLObject {
|
|
@@ -609,13 +611,13 @@ export declare class SetStickers extends TLObject {
|
|
|
609
611
|
stickerset: raw.TypeInputStickerSet;
|
|
610
612
|
});
|
|
611
613
|
/**
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
614
|
+
* Generate the TLObject from buffer.
|
|
615
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
616
|
+
*/
|
|
615
617
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SetStickers>;
|
|
616
618
|
/**
|
|
617
|
-
|
|
618
|
-
|
|
619
|
+
* Generate buffer from TLObject.
|
|
620
|
+
*/
|
|
619
621
|
write(): Buffer;
|
|
620
622
|
}
|
|
621
623
|
export declare class ReadMessageContents extends TLObject {
|
|
@@ -627,13 +629,13 @@ export declare class ReadMessageContents extends TLObject {
|
|
|
627
629
|
id: Vector<int>;
|
|
628
630
|
});
|
|
629
631
|
/**
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
632
|
+
* Generate the TLObject from buffer.
|
|
633
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
634
|
+
*/
|
|
633
635
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ReadMessageContents>;
|
|
634
636
|
/**
|
|
635
|
-
|
|
636
|
-
|
|
637
|
+
* Generate buffer from TLObject.
|
|
638
|
+
*/
|
|
637
639
|
write(): Buffer;
|
|
638
640
|
}
|
|
639
641
|
export declare class DeleteHistory extends TLObject {
|
|
@@ -647,13 +649,13 @@ export declare class DeleteHistory extends TLObject {
|
|
|
647
649
|
maxId: int;
|
|
648
650
|
});
|
|
649
651
|
/**
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
652
|
+
* Generate the TLObject from buffer.
|
|
653
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
654
|
+
*/
|
|
653
655
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<DeleteHistory>;
|
|
654
656
|
/**
|
|
655
|
-
|
|
656
|
-
|
|
657
|
+
* Generate buffer from TLObject.
|
|
658
|
+
*/
|
|
657
659
|
write(): Buffer;
|
|
658
660
|
}
|
|
659
661
|
export declare class TogglePreHistoryHidden extends TLObject {
|
|
@@ -665,13 +667,13 @@ export declare class TogglePreHistoryHidden extends TLObject {
|
|
|
665
667
|
enabled: Bool;
|
|
666
668
|
});
|
|
667
669
|
/**
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
670
|
+
* Generate the TLObject from buffer.
|
|
671
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
672
|
+
*/
|
|
671
673
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<TogglePreHistoryHidden>;
|
|
672
674
|
/**
|
|
673
|
-
|
|
674
|
-
|
|
675
|
+
* Generate buffer from TLObject.
|
|
676
|
+
*/
|
|
675
677
|
write(): Buffer;
|
|
676
678
|
}
|
|
677
679
|
export declare class GetLeftChannels extends TLObject {
|
|
@@ -681,26 +683,26 @@ export declare class GetLeftChannels extends TLObject {
|
|
|
681
683
|
offset: int;
|
|
682
684
|
});
|
|
683
685
|
/**
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
686
|
+
* Generate the TLObject from buffer.
|
|
687
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
688
|
+
*/
|
|
687
689
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetLeftChannels>;
|
|
688
690
|
/**
|
|
689
|
-
|
|
690
|
-
|
|
691
|
+
* Generate buffer from TLObject.
|
|
692
|
+
*/
|
|
691
693
|
write(): Buffer;
|
|
692
694
|
}
|
|
693
695
|
export declare class GetGroupsForDiscussion extends TLObject {
|
|
694
696
|
__response__: messages.TypeChats;
|
|
695
697
|
constructor();
|
|
696
698
|
/**
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
699
|
+
* Generate the TLObject from buffer.
|
|
700
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
701
|
+
*/
|
|
700
702
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetGroupsForDiscussion>;
|
|
701
703
|
/**
|
|
702
|
-
|
|
703
|
-
|
|
704
|
+
* Generate buffer from TLObject.
|
|
705
|
+
*/
|
|
704
706
|
write(): Buffer;
|
|
705
707
|
}
|
|
706
708
|
export declare class SetDiscussionGroup extends TLObject {
|
|
@@ -712,13 +714,13 @@ export declare class SetDiscussionGroup extends TLObject {
|
|
|
712
714
|
group: raw.TypeInputChannel;
|
|
713
715
|
});
|
|
714
716
|
/**
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
717
|
+
* Generate the TLObject from buffer.
|
|
718
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
719
|
+
*/
|
|
718
720
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SetDiscussionGroup>;
|
|
719
721
|
/**
|
|
720
|
-
|
|
721
|
-
|
|
722
|
+
* Generate buffer from TLObject.
|
|
723
|
+
*/
|
|
722
724
|
write(): Buffer;
|
|
723
725
|
}
|
|
724
726
|
export declare class EditLocation extends TLObject {
|
|
@@ -732,13 +734,13 @@ export declare class EditLocation extends TLObject {
|
|
|
732
734
|
address: string;
|
|
733
735
|
});
|
|
734
736
|
/**
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
737
|
+
* Generate the TLObject from buffer.
|
|
738
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
739
|
+
*/
|
|
738
740
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<EditLocation>;
|
|
739
741
|
/**
|
|
740
|
-
|
|
741
|
-
|
|
742
|
+
* Generate buffer from TLObject.
|
|
743
|
+
*/
|
|
742
744
|
write(): Buffer;
|
|
743
745
|
}
|
|
744
746
|
export declare class ToggleSlowMode extends TLObject {
|
|
@@ -750,26 +752,26 @@ export declare class ToggleSlowMode extends TLObject {
|
|
|
750
752
|
seconds: int;
|
|
751
753
|
});
|
|
752
754
|
/**
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
755
|
+
* Generate the TLObject from buffer.
|
|
756
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
757
|
+
*/
|
|
756
758
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ToggleSlowMode>;
|
|
757
759
|
/**
|
|
758
|
-
|
|
759
|
-
|
|
760
|
+
* Generate buffer from TLObject.
|
|
761
|
+
*/
|
|
760
762
|
write(): Buffer;
|
|
761
763
|
}
|
|
762
764
|
export declare class GetInactiveChannels extends TLObject {
|
|
763
765
|
__response__: messages.TypeInactiveChats;
|
|
764
766
|
constructor();
|
|
765
767
|
/**
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
768
|
+
* Generate the TLObject from buffer.
|
|
769
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
770
|
+
*/
|
|
769
771
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetInactiveChannels>;
|
|
770
772
|
/**
|
|
771
|
-
|
|
772
|
-
|
|
773
|
+
* Generate buffer from TLObject.
|
|
774
|
+
*/
|
|
773
775
|
write(): Buffer;
|
|
774
776
|
}
|
|
775
777
|
export declare class ConvertToGigagroup extends TLObject {
|
|
@@ -779,13 +781,13 @@ export declare class ConvertToGigagroup extends TLObject {
|
|
|
779
781
|
channel: raw.TypeInputChannel;
|
|
780
782
|
});
|
|
781
783
|
/**
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
784
|
+
* Generate the TLObject from buffer.
|
|
785
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
786
|
+
*/
|
|
785
787
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ConvertToGigagroup>;
|
|
786
788
|
/**
|
|
787
|
-
|
|
788
|
-
|
|
789
|
+
* Generate buffer from TLObject.
|
|
790
|
+
*/
|
|
789
791
|
write(): Buffer;
|
|
790
792
|
}
|
|
791
793
|
export declare class GetSendAs extends TLObject {
|
|
@@ -799,13 +801,13 @@ export declare class GetSendAs extends TLObject {
|
|
|
799
801
|
peer: raw.TypeInputPeer;
|
|
800
802
|
});
|
|
801
803
|
/**
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
804
|
+
* Generate the TLObject from buffer.
|
|
805
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
806
|
+
*/
|
|
805
807
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetSendAs>;
|
|
806
808
|
/**
|
|
807
|
-
|
|
808
|
-
|
|
809
|
+
* Generate buffer from TLObject.
|
|
810
|
+
*/
|
|
809
811
|
write(): Buffer;
|
|
810
812
|
}
|
|
811
813
|
export declare class DeleteParticipantHistory extends TLObject {
|
|
@@ -817,13 +819,13 @@ export declare class DeleteParticipantHistory extends TLObject {
|
|
|
817
819
|
participant: raw.TypeInputPeer;
|
|
818
820
|
});
|
|
819
821
|
/**
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
822
|
+
* Generate the TLObject from buffer.
|
|
823
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
824
|
+
*/
|
|
823
825
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<DeleteParticipantHistory>;
|
|
824
826
|
/**
|
|
825
|
-
|
|
826
|
-
|
|
827
|
+
* Generate buffer from TLObject.
|
|
828
|
+
*/
|
|
827
829
|
write(): Buffer;
|
|
828
830
|
}
|
|
829
831
|
export declare class ToggleJoinToSend extends TLObject {
|
|
@@ -835,13 +837,13 @@ export declare class ToggleJoinToSend extends TLObject {
|
|
|
835
837
|
enabled: Bool;
|
|
836
838
|
});
|
|
837
839
|
/**
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
840
|
+
* Generate the TLObject from buffer.
|
|
841
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
842
|
+
*/
|
|
841
843
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ToggleJoinToSend>;
|
|
842
844
|
/**
|
|
843
|
-
|
|
844
|
-
|
|
845
|
+
* Generate buffer from TLObject.
|
|
846
|
+
*/
|
|
845
847
|
write(): Buffer;
|
|
846
848
|
}
|
|
847
849
|
export declare class ToggleJoinRequest extends TLObject {
|
|
@@ -857,13 +859,13 @@ export declare class ToggleJoinRequest extends TLObject {
|
|
|
857
859
|
guardBot?: raw.TypeInputUser;
|
|
858
860
|
});
|
|
859
861
|
/**
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
862
|
+
* Generate the TLObject from buffer.
|
|
863
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
864
|
+
*/
|
|
863
865
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ToggleJoinRequest>;
|
|
864
866
|
/**
|
|
865
|
-
|
|
866
|
-
|
|
867
|
+
* Generate buffer from TLObject.
|
|
868
|
+
*/
|
|
867
869
|
write(): Buffer;
|
|
868
870
|
}
|
|
869
871
|
export declare class ReorderUsernames extends TLObject {
|
|
@@ -875,13 +877,13 @@ export declare class ReorderUsernames extends TLObject {
|
|
|
875
877
|
order: Vector<string>;
|
|
876
878
|
});
|
|
877
879
|
/**
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
880
|
+
* Generate the TLObject from buffer.
|
|
881
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
882
|
+
*/
|
|
881
883
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ReorderUsernames>;
|
|
882
884
|
/**
|
|
883
|
-
|
|
884
|
-
|
|
885
|
+
* Generate buffer from TLObject.
|
|
886
|
+
*/
|
|
885
887
|
write(): Buffer;
|
|
886
888
|
}
|
|
887
889
|
export declare class ToggleUsername extends TLObject {
|
|
@@ -895,13 +897,13 @@ export declare class ToggleUsername extends TLObject {
|
|
|
895
897
|
active: Bool;
|
|
896
898
|
});
|
|
897
899
|
/**
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
900
|
+
* Generate the TLObject from buffer.
|
|
901
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
902
|
+
*/
|
|
901
903
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ToggleUsername>;
|
|
902
904
|
/**
|
|
903
|
-
|
|
904
|
-
|
|
905
|
+
* Generate buffer from TLObject.
|
|
906
|
+
*/
|
|
905
907
|
write(): Buffer;
|
|
906
908
|
}
|
|
907
909
|
export declare class DeactivateAllUsernames extends TLObject {
|
|
@@ -911,13 +913,13 @@ export declare class DeactivateAllUsernames extends TLObject {
|
|
|
911
913
|
channel: raw.TypeInputChannel;
|
|
912
914
|
});
|
|
913
915
|
/**
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
916
|
+
* Generate the TLObject from buffer.
|
|
917
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
918
|
+
*/
|
|
917
919
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<DeactivateAllUsernames>;
|
|
918
920
|
/**
|
|
919
|
-
|
|
920
|
-
|
|
921
|
+
* Generate buffer from TLObject.
|
|
922
|
+
*/
|
|
921
923
|
write(): Buffer;
|
|
922
924
|
}
|
|
923
925
|
export declare class ToggleForum extends TLObject {
|
|
@@ -933,13 +935,13 @@ export declare class ToggleForum extends TLObject {
|
|
|
933
935
|
sidebar: Bool;
|
|
934
936
|
});
|
|
935
937
|
/**
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
938
|
+
* Generate the TLObject from buffer.
|
|
939
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
940
|
+
*/
|
|
939
941
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ToggleForum>;
|
|
940
942
|
/**
|
|
941
|
-
|
|
942
|
-
|
|
943
|
+
* Generate buffer from TLObject.
|
|
944
|
+
*/
|
|
943
945
|
write(): Buffer;
|
|
944
946
|
}
|
|
945
947
|
export declare class ToggleAntiSpam extends TLObject {
|
|
@@ -951,13 +953,13 @@ export declare class ToggleAntiSpam extends TLObject {
|
|
|
951
953
|
enabled: Bool;
|
|
952
954
|
});
|
|
953
955
|
/**
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
956
|
+
* Generate the TLObject from buffer.
|
|
957
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
958
|
+
*/
|
|
957
959
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ToggleAntiSpam>;
|
|
958
960
|
/**
|
|
959
|
-
|
|
960
|
-
|
|
961
|
+
* Generate buffer from TLObject.
|
|
962
|
+
*/
|
|
961
963
|
write(): Buffer;
|
|
962
964
|
}
|
|
963
965
|
export declare class ReportAntiSpamFalsePositive extends TLObject {
|
|
@@ -969,13 +971,13 @@ export declare class ReportAntiSpamFalsePositive extends TLObject {
|
|
|
969
971
|
msgId: int;
|
|
970
972
|
});
|
|
971
973
|
/**
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
974
|
+
* Generate the TLObject from buffer.
|
|
975
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
976
|
+
*/
|
|
975
977
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ReportAntiSpamFalsePositive>;
|
|
976
978
|
/**
|
|
977
|
-
|
|
978
|
-
|
|
979
|
+
* Generate buffer from TLObject.
|
|
980
|
+
*/
|
|
979
981
|
write(): Buffer;
|
|
980
982
|
}
|
|
981
983
|
export declare class ToggleParticipantsHidden extends TLObject {
|
|
@@ -987,13 +989,13 @@ export declare class ToggleParticipantsHidden extends TLObject {
|
|
|
987
989
|
enabled: Bool;
|
|
988
990
|
});
|
|
989
991
|
/**
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
992
|
+
* Generate the TLObject from buffer.
|
|
993
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
994
|
+
*/
|
|
993
995
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ToggleParticipantsHidden>;
|
|
994
996
|
/**
|
|
995
|
-
|
|
996
|
-
|
|
997
|
+
* Generate buffer from TLObject.
|
|
998
|
+
*/
|
|
997
999
|
write(): Buffer;
|
|
998
1000
|
}
|
|
999
1001
|
export declare class UpdateColor extends TLObject {
|
|
@@ -1009,13 +1011,13 @@ export declare class UpdateColor extends TLObject {
|
|
|
1009
1011
|
backgroundEmojiId?: long;
|
|
1010
1012
|
});
|
|
1011
1013
|
/**
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1014
|
+
* Generate the TLObject from buffer.
|
|
1015
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
1016
|
+
*/
|
|
1015
1017
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<UpdateColor>;
|
|
1016
1018
|
/**
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
+
* Generate buffer from TLObject.
|
|
1020
|
+
*/
|
|
1019
1021
|
write(): Buffer;
|
|
1020
1022
|
}
|
|
1021
1023
|
export declare class ToggleViewForumAsMessages extends TLObject {
|
|
@@ -1027,13 +1029,13 @@ export declare class ToggleViewForumAsMessages extends TLObject {
|
|
|
1027
1029
|
enabled: Bool;
|
|
1028
1030
|
});
|
|
1029
1031
|
/**
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1032
|
+
* Generate the TLObject from buffer.
|
|
1033
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
1034
|
+
*/
|
|
1033
1035
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ToggleViewForumAsMessages>;
|
|
1034
1036
|
/**
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
+
* Generate buffer from TLObject.
|
|
1038
|
+
*/
|
|
1037
1039
|
write(): Buffer;
|
|
1038
1040
|
}
|
|
1039
1041
|
export declare class GetChannelRecommendations extends TLObject {
|
|
@@ -1043,13 +1045,13 @@ export declare class GetChannelRecommendations extends TLObject {
|
|
|
1043
1045
|
channel?: raw.TypeInputChannel;
|
|
1044
1046
|
});
|
|
1045
1047
|
/**
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1048
|
+
* Generate the TLObject from buffer.
|
|
1049
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
1050
|
+
*/
|
|
1049
1051
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetChannelRecommendations>;
|
|
1050
1052
|
/**
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
+
* Generate buffer from TLObject.
|
|
1054
|
+
*/
|
|
1053
1055
|
write(): Buffer;
|
|
1054
1056
|
}
|
|
1055
1057
|
export declare class UpdateEmojiStatus extends TLObject {
|
|
@@ -1061,13 +1063,13 @@ export declare class UpdateEmojiStatus extends TLObject {
|
|
|
1061
1063
|
emojiStatus: raw.TypeEmojiStatus;
|
|
1062
1064
|
});
|
|
1063
1065
|
/**
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1066
|
+
* Generate the TLObject from buffer.
|
|
1067
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
1068
|
+
*/
|
|
1067
1069
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<UpdateEmojiStatus>;
|
|
1068
1070
|
/**
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
+
* Generate buffer from TLObject.
|
|
1072
|
+
*/
|
|
1071
1073
|
write(): Buffer;
|
|
1072
1074
|
}
|
|
1073
1075
|
export declare class SetBoostsToUnblockRestrictions extends TLObject {
|
|
@@ -1079,13 +1081,13 @@ export declare class SetBoostsToUnblockRestrictions extends TLObject {
|
|
|
1079
1081
|
boosts: int;
|
|
1080
1082
|
});
|
|
1081
1083
|
/**
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1084
|
+
* Generate the TLObject from buffer.
|
|
1085
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
1086
|
+
*/
|
|
1085
1087
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SetBoostsToUnblockRestrictions>;
|
|
1086
1088
|
/**
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
+
* Generate buffer from TLObject.
|
|
1090
|
+
*/
|
|
1089
1091
|
write(): Buffer;
|
|
1090
1092
|
}
|
|
1091
1093
|
export declare class SetEmojiStickers extends TLObject {
|
|
@@ -1097,13 +1099,13 @@ export declare class SetEmojiStickers extends TLObject {
|
|
|
1097
1099
|
stickerset: raw.TypeInputStickerSet;
|
|
1098
1100
|
});
|
|
1099
1101
|
/**
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1102
|
+
* Generate the TLObject from buffer.
|
|
1103
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
1104
|
+
*/
|
|
1103
1105
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SetEmojiStickers>;
|
|
1104
1106
|
/**
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
+
* Generate buffer from TLObject.
|
|
1108
|
+
*/
|
|
1107
1109
|
write(): Buffer;
|
|
1108
1110
|
}
|
|
1109
1111
|
export declare class RestrictSponsoredMessages extends TLObject {
|
|
@@ -1115,13 +1117,13 @@ export declare class RestrictSponsoredMessages extends TLObject {
|
|
|
1115
1117
|
restricted: Bool;
|
|
1116
1118
|
});
|
|
1117
1119
|
/**
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1120
|
+
* Generate the TLObject from buffer.
|
|
1121
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
1122
|
+
*/
|
|
1121
1123
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<RestrictSponsoredMessages>;
|
|
1122
1124
|
/**
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
+
* Generate buffer from TLObject.
|
|
1126
|
+
*/
|
|
1125
1127
|
write(): Buffer;
|
|
1126
1128
|
}
|
|
1127
1129
|
export declare class SearchPosts extends TLObject {
|
|
@@ -1143,13 +1145,13 @@ export declare class SearchPosts extends TLObject {
|
|
|
1143
1145
|
allowPaidStars?: long;
|
|
1144
1146
|
});
|
|
1145
1147
|
/**
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1148
|
+
* Generate the TLObject from buffer.
|
|
1149
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
1150
|
+
*/
|
|
1149
1151
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SearchPosts>;
|
|
1150
1152
|
/**
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
+
* Generate buffer from TLObject.
|
|
1154
|
+
*/
|
|
1153
1155
|
write(): Buffer;
|
|
1154
1156
|
}
|
|
1155
1157
|
export declare class UpdatePaidMessagesPrice extends TLObject {
|
|
@@ -1163,13 +1165,13 @@ export declare class UpdatePaidMessagesPrice extends TLObject {
|
|
|
1163
1165
|
sendPaidMessagesStars: long;
|
|
1164
1166
|
});
|
|
1165
1167
|
/**
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1168
|
+
* Generate the TLObject from buffer.
|
|
1169
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
1170
|
+
*/
|
|
1169
1171
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<UpdatePaidMessagesPrice>;
|
|
1170
1172
|
/**
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
+
* Generate buffer from TLObject.
|
|
1174
|
+
*/
|
|
1173
1175
|
write(): Buffer;
|
|
1174
1176
|
}
|
|
1175
1177
|
export declare class ToggleAutotranslation extends TLObject {
|
|
@@ -1181,13 +1183,13 @@ export declare class ToggleAutotranslation extends TLObject {
|
|
|
1181
1183
|
enabled: Bool;
|
|
1182
1184
|
});
|
|
1183
1185
|
/**
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1186
|
+
* Generate the TLObject from buffer.
|
|
1187
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
1188
|
+
*/
|
|
1187
1189
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ToggleAutotranslation>;
|
|
1188
1190
|
/**
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
+
* Generate buffer from TLObject.
|
|
1192
|
+
*/
|
|
1191
1193
|
write(): Buffer;
|
|
1192
1194
|
}
|
|
1193
1195
|
export declare class GetMessageAuthor extends TLObject {
|
|
@@ -1199,13 +1201,13 @@ export declare class GetMessageAuthor extends TLObject {
|
|
|
1199
1201
|
id: int;
|
|
1200
1202
|
});
|
|
1201
1203
|
/**
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1204
|
+
* Generate the TLObject from buffer.
|
|
1205
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
1206
|
+
*/
|
|
1205
1207
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetMessageAuthor>;
|
|
1206
1208
|
/**
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
+
* Generate buffer from TLObject.
|
|
1210
|
+
*/
|
|
1209
1211
|
write(): Buffer;
|
|
1210
1212
|
}
|
|
1211
1213
|
export declare class CheckSearchPostsFlood extends TLObject {
|
|
@@ -1215,13 +1217,13 @@ export declare class CheckSearchPostsFlood extends TLObject {
|
|
|
1215
1217
|
query?: string;
|
|
1216
1218
|
});
|
|
1217
1219
|
/**
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1220
|
+
* Generate the TLObject from buffer.
|
|
1221
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
1222
|
+
*/
|
|
1221
1223
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<CheckSearchPostsFlood>;
|
|
1222
1224
|
/**
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
+
* Generate buffer from TLObject.
|
|
1226
|
+
*/
|
|
1225
1227
|
write(): Buffer;
|
|
1226
1228
|
}
|
|
1227
1229
|
export declare class SetMainProfileTab extends TLObject {
|
|
@@ -1233,12 +1235,30 @@ export declare class SetMainProfileTab extends TLObject {
|
|
|
1233
1235
|
tab: raw.TypeProfileTab;
|
|
1234
1236
|
});
|
|
1235
1237
|
/**
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1238
|
+
* Generate the TLObject from buffer.
|
|
1239
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
1240
|
+
*/
|
|
1239
1241
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SetMainProfileTab>;
|
|
1240
1242
|
/**
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
+
* Generate buffer from TLObject.
|
|
1244
|
+
*/
|
|
1245
|
+
write(): Buffer;
|
|
1246
|
+
}
|
|
1247
|
+
export declare class EditChannelNews extends TLObject {
|
|
1248
|
+
__response__: raw.TypeUpdates;
|
|
1249
|
+
channel: raw.TypeInputChannel;
|
|
1250
|
+
news: Bool;
|
|
1251
|
+
constructor(params: {
|
|
1252
|
+
channel: raw.TypeInputChannel;
|
|
1253
|
+
news: Bool;
|
|
1254
|
+
});
|
|
1255
|
+
/**
|
|
1256
|
+
* Generate the TLObject from buffer.
|
|
1257
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
1258
|
+
*/
|
|
1259
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<EditChannelNews>;
|
|
1260
|
+
/**
|
|
1261
|
+
* Generate buffer from TLObject.
|
|
1262
|
+
*/
|
|
1243
1263
|
write(): Buffer;
|
|
1244
1264
|
}
|