@tgsnake/skema 3.1.0 → 3.2.1-browser.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/src/deps.d.ts +4 -3
- package/dist/src/deps.js +4 -4
- package/dist/src/errors/RpcError.js +3 -1
- package/dist/src/helpers.js +19 -34
- package/dist/src/raw/class/All.d.ts +49 -5
- package/dist/src/raw/class/All.js +2783 -2739
- package/dist/src/raw/class/Raw.d.ts +7856 -7518
- package/dist/src/raw/class/Raw.js +27367 -20433
- package/dist/src/raw/class/tl/account.d.ts +841 -841
- package/dist/src/raw/class/tl/account.js +1983 -1813
- package/dist/src/raw/class/tl/aicompose.d.ts +51 -51
- package/dist/src/raw/class/tl/aicompose.js +128 -117
- package/dist/src/raw/class/tl/auth.d.ts +296 -296
- package/dist/src/raw/class/tl/auth.js +849 -714
- package/dist/src/raw/class/tl/bots.d.ts +353 -232
- package/dist/src/raw/class/tl/bots.js +871 -504
- package/dist/src/raw/class/tl/channels.d.ts +351 -331
- package/dist/src/raw/class/tl/channels.js +873 -735
- package/dist/src/raw/class/tl/chatlists.d.ts +81 -81
- package/dist/src/raw/class/tl/chatlists.js +196 -183
- package/dist/src/raw/class/tl/communities.d.ts +56 -56
- package/dist/src/raw/class/tl/communities.js +159 -138
- package/dist/src/raw/class/tl/contacts.d.ts +216 -216
- package/dist/src/raw/class/tl/contacts.js +537 -492
- package/dist/src/raw/class/tl/ephemeral.d.ts +51 -51
- package/dist/src/raw/class/tl/ephemeral.js +204 -152
- package/dist/src/raw/class/tl/feed.d.ts +278 -0
- package/dist/src/raw/class/tl/feed.js +671 -0
- package/dist/src/raw/class/tl/folders.d.ts +6 -6
- package/dist/src/raw/class/tl/folders.js +11 -11
- package/dist/src/raw/class/tl/fragment.d.ts +11 -11
- package/dist/src/raw/class/tl/fragment.js +32 -25
- package/dist/src/raw/class/tl/help.d.ts +286 -286
- package/dist/src/raw/class/tl/help.js +686 -618
- package/dist/src/raw/class/tl/langpack.d.ts +26 -26
- package/dist/src/raw/class/tl/langpack.js +57 -57
- package/dist/src/raw/class/tl/messages.d.ts +1901 -1851
- package/dist/src/raw/class/tl/messages.js +6043 -4855
- package/dist/src/raw/class/tl/payments.d.ts +677 -641
- package/dist/src/raw/class/tl/payments.js +2312 -1734
- package/dist/src/raw/class/tl/phone.d.ts +256 -256
- package/dist/src/raw/class/tl/phone.js +779 -644
- package/dist/src/raw/class/tl/photos.d.ts +41 -41
- package/dist/src/raw/class/tl/photos.js +139 -116
- package/dist/src/raw/class/tl/premium.d.ts +41 -41
- package/dist/src/raw/class/tl/premium.js +133 -111
- package/dist/src/raw/class/tl/smsjobs.d.ts +46 -46
- package/dist/src/raw/class/tl/smsjobs.js +115 -97
- package/dist/src/raw/class/tl/stats.d.ts +71 -71
- package/dist/src/raw/class/tl/stats.js +268 -169
- package/dist/src/raw/class/tl/stickers.d.ts +61 -61
- package/dist/src/raw/class/tl/stickers.js +173 -144
- package/dist/src/raw/class/tl/storage.d.ts +51 -51
- package/dist/src/raw/class/tl/storage.js +71 -71
- package/dist/src/raw/class/tl/stories.d.ts +221 -221
- package/dist/src/raw/class/tl/stories.js +781 -622
- package/dist/src/raw/class/tl/toncenter.d.ts +21 -21
- package/dist/src/raw/class/tl/toncenter.js +52 -47
- package/dist/src/raw/class/tl/updates.d.ts +56 -56
- package/dist/src/raw/class/tl/updates.js +246 -175
- package/dist/src/raw/class/tl/upload.d.ts +66 -66
- package/dist/src/raw/class/tl/upload.js +178 -155
- package/dist/src/raw/class/tl/users.d.ts +61 -61
- package/dist/src/raw/class/tl/users.js +124 -124
- package/dist/src/raw/class/tl/wallet.d.ts +257 -206
- package/dist/src/raw/class/tl/wallet.js +701 -525
- package/dist/src/raw/class/types.d.ts +3 -2
- package/dist/src/raw/class/types.js +1 -1
- package/dist/src/raw/core/GzipPacked.d.ts +4 -0
- package/dist/src/raw/core/GzipPacked.js +9 -1
- package/dist/src/raw/core/primitive/Bytes.js +26 -4
- package/dist/src/raw/core/primitive/Vector.js +11 -3
- package/package.json +7 -5
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* tgsnake is a free software: you can redistribute it and/or modify
|
|
8
8
|
* it under the terms of the MIT License as published.
|
|
9
|
-
*/
|
|
9
|
+
*/
|
|
10
10
|
import { TLObject } from '../../core/index.js';
|
|
11
11
|
import { Buffer, BytesIO } from '../../../deps.js';
|
|
12
12
|
import type { Bool, Vector, bytes, int, long } from '../types.js';
|
|
@@ -26,6 +26,8 @@ export type TypeExistingBalance = ExistingBalance;
|
|
|
26
26
|
export type TypeNftAttribute = NftAttribute;
|
|
27
27
|
export type TypeNftItems = NftItems;
|
|
28
28
|
export type TypeCardSticker = CardSticker;
|
|
29
|
+
export type TypeStakingInfo = raw.WalletStakingInfo;
|
|
30
|
+
export type TypeStakingPrepared = raw.WalletStakingPrepared;
|
|
29
31
|
export declare class UserAddresses extends TLObject {
|
|
30
32
|
addresses: Vector<raw.TypeWalletUserAddress>;
|
|
31
33
|
users: Vector<raw.TypeUser>;
|
|
@@ -34,13 +36,13 @@ export declare class UserAddresses extends TLObject {
|
|
|
34
36
|
users: Vector<raw.TypeUser>;
|
|
35
37
|
});
|
|
36
38
|
/**
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
39
|
+
* Generate the TLObject from buffer.
|
|
40
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
41
|
+
*/
|
|
40
42
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<UserAddresses>;
|
|
41
43
|
/**
|
|
42
|
-
|
|
43
|
-
|
|
44
|
+
* Generate buffer from TLObject.
|
|
45
|
+
*/
|
|
44
46
|
write(): Buffer;
|
|
45
47
|
}
|
|
46
48
|
export declare class Transactions extends TLObject {
|
|
@@ -57,13 +59,13 @@ export declare class Transactions extends TLObject {
|
|
|
57
59
|
users: Vector<raw.TypeUser>;
|
|
58
60
|
});
|
|
59
61
|
/**
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
62
|
+
* Generate the TLObject from buffer.
|
|
63
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
64
|
+
*/
|
|
63
65
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Transactions>;
|
|
64
66
|
/**
|
|
65
|
-
|
|
66
|
-
|
|
67
|
+
* Generate buffer from TLObject.
|
|
68
|
+
*/
|
|
67
69
|
write(): Buffer;
|
|
68
70
|
}
|
|
69
71
|
export declare class SecretPhraseParts extends TLObject {
|
|
@@ -74,13 +76,13 @@ export declare class SecretPhraseParts extends TLObject {
|
|
|
74
76
|
dcs: Vector<int>;
|
|
75
77
|
});
|
|
76
78
|
/**
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
79
|
+
* Generate the TLObject from buffer.
|
|
80
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
81
|
+
*/
|
|
80
82
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SecretPhraseParts>;
|
|
81
83
|
/**
|
|
82
|
-
|
|
83
|
-
|
|
84
|
+
* Generate buffer from TLObject.
|
|
85
|
+
*/
|
|
84
86
|
write(): Buffer;
|
|
85
87
|
}
|
|
86
88
|
export declare class EncryptedSecretPhrasePart extends TLObject {
|
|
@@ -89,13 +91,13 @@ export declare class EncryptedSecretPhrasePart extends TLObject {
|
|
|
89
91
|
data: bytes;
|
|
90
92
|
});
|
|
91
93
|
/**
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
94
|
+
* Generate the TLObject from buffer.
|
|
95
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
96
|
+
*/
|
|
95
97
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<EncryptedSecretPhrasePart>;
|
|
96
98
|
/**
|
|
97
|
-
|
|
98
|
-
|
|
99
|
+
* Generate buffer from TLObject.
|
|
100
|
+
*/
|
|
99
101
|
write(): Buffer;
|
|
100
102
|
}
|
|
101
103
|
export declare class HolderDc extends TLObject {
|
|
@@ -106,13 +108,13 @@ export declare class HolderDc extends TLObject {
|
|
|
106
108
|
publicKey: bytes;
|
|
107
109
|
});
|
|
108
110
|
/**
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
111
|
+
* Generate the TLObject from buffer.
|
|
112
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
113
|
+
*/
|
|
112
114
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<HolderDc>;
|
|
113
115
|
/**
|
|
114
|
-
|
|
115
|
-
|
|
116
|
+
* Generate buffer from TLObject.
|
|
117
|
+
*/
|
|
116
118
|
write(): Buffer;
|
|
117
119
|
}
|
|
118
120
|
export declare class ProofChallenge extends TLObject {
|
|
@@ -125,13 +127,13 @@ export declare class ProofChallenge extends TLObject {
|
|
|
125
127
|
domain: string;
|
|
126
128
|
});
|
|
127
129
|
/**
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
130
|
+
* Generate the TLObject from buffer.
|
|
131
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
132
|
+
*/
|
|
131
133
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ProofChallenge>;
|
|
132
134
|
/**
|
|
133
|
-
|
|
134
|
-
|
|
135
|
+
* Generate buffer from TLObject.
|
|
136
|
+
*/
|
|
135
137
|
write(): Buffer;
|
|
136
138
|
}
|
|
137
139
|
export declare class TonConnectChallenge extends TLObject {
|
|
@@ -142,13 +144,13 @@ export declare class TonConnectChallenge extends TLObject {
|
|
|
142
144
|
eventId: long;
|
|
143
145
|
});
|
|
144
146
|
/**
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
147
|
+
* Generate the TLObject from buffer.
|
|
148
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
149
|
+
*/
|
|
148
150
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<TonConnectChallenge>;
|
|
149
151
|
/**
|
|
150
|
-
|
|
151
|
-
|
|
152
|
+
* Generate buffer from TLObject.
|
|
153
|
+
*/
|
|
152
154
|
write(): Buffer;
|
|
153
155
|
}
|
|
154
156
|
export declare class TonConnectPending extends TLObject {
|
|
@@ -159,13 +161,13 @@ export declare class TonConnectPending extends TLObject {
|
|
|
159
161
|
requests: Vector<raw.TypeTonConnectRequest>;
|
|
160
162
|
});
|
|
161
163
|
/**
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
164
|
+
* Generate the TLObject from buffer.
|
|
165
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
166
|
+
*/
|
|
165
167
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<TonConnectPending>;
|
|
166
168
|
/**
|
|
167
|
-
|
|
168
|
-
|
|
169
|
+
* Generate buffer from TLObject.
|
|
170
|
+
*/
|
|
169
171
|
write(): Buffer;
|
|
170
172
|
}
|
|
171
173
|
export declare class TonConnectSessions extends TLObject {
|
|
@@ -174,13 +176,13 @@ export declare class TonConnectSessions extends TLObject {
|
|
|
174
176
|
sessions: Vector<raw.TypeTonConnectSession>;
|
|
175
177
|
});
|
|
176
178
|
/**
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
179
|
+
* Generate the TLObject from buffer.
|
|
180
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
181
|
+
*/
|
|
180
182
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<TonConnectSessions>;
|
|
181
183
|
/**
|
|
182
|
-
|
|
183
|
-
|
|
184
|
+
* Generate buffer from TLObject.
|
|
185
|
+
*/
|
|
184
186
|
write(): Buffer;
|
|
185
187
|
}
|
|
186
188
|
export declare class ExistingBalance extends TLObject {
|
|
@@ -191,13 +193,13 @@ export declare class ExistingBalance extends TLObject {
|
|
|
191
193
|
url: string;
|
|
192
194
|
});
|
|
193
195
|
/**
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
196
|
+
* Generate the TLObject from buffer.
|
|
197
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
198
|
+
*/
|
|
197
199
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ExistingBalance>;
|
|
198
200
|
/**
|
|
199
|
-
|
|
200
|
-
|
|
201
|
+
* Generate buffer from TLObject.
|
|
202
|
+
*/
|
|
201
203
|
write(): Buffer;
|
|
202
204
|
}
|
|
203
205
|
export declare class NftAttribute extends TLObject {
|
|
@@ -208,13 +210,13 @@ export declare class NftAttribute extends TLObject {
|
|
|
208
210
|
value: string;
|
|
209
211
|
});
|
|
210
212
|
/**
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
213
|
+
* Generate the TLObject from buffer.
|
|
214
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
215
|
+
*/
|
|
214
216
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<NftAttribute>;
|
|
215
217
|
/**
|
|
216
|
-
|
|
217
|
-
|
|
218
|
+
* Generate buffer from TLObject.
|
|
219
|
+
*/
|
|
218
220
|
write(): Buffer;
|
|
219
221
|
}
|
|
220
222
|
export declare class NftItem extends TLObject {
|
|
@@ -247,13 +249,13 @@ export declare class NftItem extends TLObject {
|
|
|
247
249
|
gift?: raw.TypeStarGift;
|
|
248
250
|
});
|
|
249
251
|
/**
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
252
|
+
* Generate the TLObject from buffer.
|
|
253
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
254
|
+
*/
|
|
253
255
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<NftItem>;
|
|
254
256
|
/**
|
|
255
|
-
|
|
256
|
-
|
|
257
|
+
* Generate buffer from TLObject.
|
|
258
|
+
*/
|
|
257
259
|
write(): Buffer;
|
|
258
260
|
}
|
|
259
261
|
export declare class NftItems extends TLObject {
|
|
@@ -264,13 +266,13 @@ export declare class NftItems extends TLObject {
|
|
|
264
266
|
nextOffset?: string;
|
|
265
267
|
});
|
|
266
268
|
/**
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
269
|
+
* Generate the TLObject from buffer.
|
|
270
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
271
|
+
*/
|
|
270
272
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<NftItems>;
|
|
271
273
|
/**
|
|
272
|
-
|
|
273
|
-
|
|
274
|
+
* Generate buffer from TLObject.
|
|
275
|
+
*/
|
|
274
276
|
write(): Buffer;
|
|
275
277
|
}
|
|
276
278
|
export declare class CardSticker extends TLObject {
|
|
@@ -281,13 +283,13 @@ export declare class CardSticker extends TLObject {
|
|
|
281
283
|
nft: TypeNftItem;
|
|
282
284
|
});
|
|
283
285
|
/**
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
286
|
+
* Generate the TLObject from buffer.
|
|
287
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
288
|
+
*/
|
|
287
289
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<CardSticker>;
|
|
288
290
|
/**
|
|
289
|
-
|
|
290
|
-
|
|
291
|
+
* Generate buffer from TLObject.
|
|
292
|
+
*/
|
|
291
293
|
write(): Buffer;
|
|
292
294
|
}
|
|
293
295
|
export declare class Card extends TLObject {
|
|
@@ -302,26 +304,26 @@ export declare class Card extends TLObject {
|
|
|
302
304
|
balance: long;
|
|
303
305
|
});
|
|
304
306
|
/**
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
307
|
+
* Generate the TLObject from buffer.
|
|
308
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
309
|
+
*/
|
|
308
310
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Card>;
|
|
309
311
|
/**
|
|
310
|
-
|
|
311
|
-
|
|
312
|
+
* Generate buffer from TLObject.
|
|
313
|
+
*/
|
|
312
314
|
write(): Buffer;
|
|
313
315
|
}
|
|
314
316
|
export declare class GetState extends TLObject {
|
|
315
317
|
__response__: raw.TypeWalletState;
|
|
316
318
|
constructor();
|
|
317
319
|
/**
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
320
|
+
* Generate the TLObject from buffer.
|
|
321
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
322
|
+
*/
|
|
321
323
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetState>;
|
|
322
324
|
/**
|
|
323
|
-
|
|
324
|
-
|
|
325
|
+
* Generate buffer from TLObject.
|
|
326
|
+
*/
|
|
325
327
|
write(): Buffer;
|
|
326
328
|
}
|
|
327
329
|
export declare class GetUserAddresses extends TLObject {
|
|
@@ -335,13 +337,13 @@ export declare class GetUserAddresses extends TLObject {
|
|
|
335
337
|
addresses: Vector<string>;
|
|
336
338
|
});
|
|
337
339
|
/**
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
340
|
+
* Generate the TLObject from buffer.
|
|
341
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
342
|
+
*/
|
|
341
343
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetUserAddresses>;
|
|
342
344
|
/**
|
|
343
|
-
|
|
344
|
-
|
|
345
|
+
* Generate buffer from TLObject.
|
|
346
|
+
*/
|
|
345
347
|
write(): Buffer;
|
|
346
348
|
}
|
|
347
349
|
export declare class GetTransactions extends TLObject {
|
|
@@ -357,13 +359,13 @@ export declare class GetTransactions extends TLObject {
|
|
|
357
359
|
limit: int;
|
|
358
360
|
});
|
|
359
361
|
/**
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
362
|
+
* Generate the TLObject from buffer.
|
|
363
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
364
|
+
*/
|
|
363
365
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetTransactions>;
|
|
364
366
|
/**
|
|
365
|
-
|
|
366
|
-
|
|
367
|
+
* Generate buffer from TLObject.
|
|
368
|
+
*/
|
|
367
369
|
write(): Buffer;
|
|
368
370
|
}
|
|
369
371
|
export declare class GetTransactionsByIDs extends TLObject {
|
|
@@ -373,13 +375,13 @@ export declare class GetTransactionsByIDs extends TLObject {
|
|
|
373
375
|
id: Vector<string>;
|
|
374
376
|
});
|
|
375
377
|
/**
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
378
|
+
* Generate the TLObject from buffer.
|
|
379
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
380
|
+
*/
|
|
379
381
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetTransactionsByIDs>;
|
|
380
382
|
/**
|
|
381
|
-
|
|
382
|
-
|
|
383
|
+
* Generate buffer from TLObject.
|
|
384
|
+
*/
|
|
383
385
|
write(): Buffer;
|
|
384
386
|
}
|
|
385
387
|
export declare class GetTransactionsByMsgHash extends TLObject {
|
|
@@ -389,13 +391,13 @@ export declare class GetTransactionsByMsgHash extends TLObject {
|
|
|
389
391
|
msgHash: Vector<string>;
|
|
390
392
|
});
|
|
391
393
|
/**
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
394
|
+
* Generate the TLObject from buffer.
|
|
395
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
396
|
+
*/
|
|
395
397
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetTransactionsByMsgHash>;
|
|
396
398
|
/**
|
|
397
|
-
|
|
398
|
-
|
|
399
|
+
* Generate buffer from TLObject.
|
|
400
|
+
*/
|
|
399
401
|
write(): Buffer;
|
|
400
402
|
}
|
|
401
403
|
export declare class ExportSecretPhrase extends TLObject {
|
|
@@ -405,13 +407,13 @@ export declare class ExportSecretPhrase extends TLObject {
|
|
|
405
407
|
password?: raw.TypeInputCheckPasswordSRP;
|
|
406
408
|
});
|
|
407
409
|
/**
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
410
|
+
* Generate the TLObject from buffer.
|
|
411
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
412
|
+
*/
|
|
411
413
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ExportSecretPhrase>;
|
|
412
414
|
/**
|
|
413
|
-
|
|
414
|
-
|
|
415
|
+
* Generate buffer from TLObject.
|
|
416
|
+
*/
|
|
415
417
|
write(): Buffer;
|
|
416
418
|
}
|
|
417
419
|
export declare class FetchEncryptedSecretPhrasePart extends TLObject {
|
|
@@ -423,13 +425,13 @@ export declare class FetchEncryptedSecretPhrasePart extends TLObject {
|
|
|
423
425
|
publicKey: bytes;
|
|
424
426
|
});
|
|
425
427
|
/**
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
428
|
+
* Generate the TLObject from buffer.
|
|
429
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
430
|
+
*/
|
|
429
431
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<FetchEncryptedSecretPhrasePart>;
|
|
430
432
|
/**
|
|
431
|
-
|
|
432
|
-
|
|
433
|
+
* Generate buffer from TLObject.
|
|
434
|
+
*/
|
|
433
435
|
write(): Buffer;
|
|
434
436
|
}
|
|
435
437
|
export declare class ReplaceWallet extends TLObject {
|
|
@@ -441,13 +443,13 @@ export declare class ReplaceWallet extends TLObject {
|
|
|
441
443
|
password?: raw.TypeInputCheckPasswordSRP;
|
|
442
444
|
});
|
|
443
445
|
/**
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
446
|
+
* Generate the TLObject from buffer.
|
|
447
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
448
|
+
*/
|
|
447
449
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ReplaceWallet>;
|
|
448
450
|
/**
|
|
449
|
-
|
|
450
|
-
|
|
451
|
+
* Generate buffer from TLObject.
|
|
452
|
+
*/
|
|
451
453
|
write(): Buffer;
|
|
452
454
|
}
|
|
453
455
|
export declare class DisableBackup extends TLObject {
|
|
@@ -461,26 +463,26 @@ export declare class DisableBackup extends TLObject {
|
|
|
461
463
|
proof?: raw.TypeWalletOwnershipProof;
|
|
462
464
|
});
|
|
463
465
|
/**
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
466
|
+
* Generate the TLObject from buffer.
|
|
467
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
468
|
+
*/
|
|
467
469
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<DisableBackup>;
|
|
468
470
|
/**
|
|
469
|
-
|
|
470
|
-
|
|
471
|
+
* Generate buffer from TLObject.
|
|
472
|
+
*/
|
|
471
473
|
write(): Buffer;
|
|
472
474
|
}
|
|
473
475
|
export declare class GetBackupHolderDcs extends TLObject {
|
|
474
476
|
__response__: Vector<TypeHolderDc>;
|
|
475
477
|
constructor();
|
|
476
478
|
/**
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
479
|
+
* Generate the TLObject from buffer.
|
|
480
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
481
|
+
*/
|
|
480
482
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetBackupHolderDcs>;
|
|
481
483
|
/**
|
|
482
|
-
|
|
483
|
-
|
|
484
|
+
* Generate buffer from TLObject.
|
|
485
|
+
*/
|
|
484
486
|
write(): Buffer;
|
|
485
487
|
}
|
|
486
488
|
export declare class EnableBackup extends TLObject {
|
|
@@ -494,26 +496,26 @@ export declare class EnableBackup extends TLObject {
|
|
|
494
496
|
proof?: raw.TypeWalletOwnershipProof;
|
|
495
497
|
});
|
|
496
498
|
/**
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
499
|
+
* Generate the TLObject from buffer.
|
|
500
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
501
|
+
*/
|
|
500
502
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<EnableBackup>;
|
|
501
503
|
/**
|
|
502
|
-
|
|
503
|
-
|
|
504
|
+
* Generate buffer from TLObject.
|
|
505
|
+
*/
|
|
504
506
|
write(): Buffer;
|
|
505
507
|
}
|
|
506
508
|
export declare class GetProofChallenge extends TLObject {
|
|
507
509
|
__response__: TypeProofChallenge;
|
|
508
510
|
constructor();
|
|
509
511
|
/**
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
512
|
+
* Generate the TLObject from buffer.
|
|
513
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
514
|
+
*/
|
|
513
515
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetProofChallenge>;
|
|
514
516
|
/**
|
|
515
|
-
|
|
516
|
-
|
|
517
|
+
* Generate buffer from TLObject.
|
|
518
|
+
*/
|
|
517
519
|
write(): Buffer;
|
|
518
520
|
}
|
|
519
521
|
export declare class SendTransfer extends TLObject {
|
|
@@ -529,39 +531,39 @@ export declare class SendTransfer extends TLObject {
|
|
|
529
531
|
randomId: long;
|
|
530
532
|
});
|
|
531
533
|
/**
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
534
|
+
* Generate the TLObject from buffer.
|
|
535
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
536
|
+
*/
|
|
535
537
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SendTransfer>;
|
|
536
538
|
/**
|
|
537
|
-
|
|
538
|
-
|
|
539
|
+
* Generate buffer from TLObject.
|
|
540
|
+
*/
|
|
539
541
|
write(): Buffer;
|
|
540
542
|
}
|
|
541
543
|
export declare class GetGaslessInfo extends TLObject {
|
|
542
544
|
__response__: raw.TypeUpdates;
|
|
543
545
|
constructor();
|
|
544
546
|
/**
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
547
|
+
* Generate the TLObject from buffer.
|
|
548
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
549
|
+
*/
|
|
548
550
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetGaslessInfo>;
|
|
549
551
|
/**
|
|
550
|
-
|
|
551
|
-
|
|
552
|
+
* Generate buffer from TLObject.
|
|
553
|
+
*/
|
|
552
554
|
write(): Buffer;
|
|
553
555
|
}
|
|
554
556
|
export declare class GetExistingWaltBalance extends TLObject {
|
|
555
557
|
__response__: TypeExistingBalance;
|
|
556
558
|
constructor();
|
|
557
559
|
/**
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
560
|
+
* Generate the TLObject from buffer.
|
|
561
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
562
|
+
*/
|
|
561
563
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetExistingWaltBalance>;
|
|
562
564
|
/**
|
|
563
|
-
|
|
564
|
-
|
|
565
|
+
* Generate buffer from TLObject.
|
|
566
|
+
*/
|
|
565
567
|
write(): Buffer;
|
|
566
568
|
}
|
|
567
569
|
export declare class GetNfts extends TLObject {
|
|
@@ -573,13 +575,13 @@ export declare class GetNfts extends TLObject {
|
|
|
573
575
|
limit: int;
|
|
574
576
|
});
|
|
575
577
|
/**
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
578
|
+
* Generate the TLObject from buffer.
|
|
579
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
580
|
+
*/
|
|
579
581
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetNfts>;
|
|
580
582
|
/**
|
|
581
|
-
|
|
582
|
-
|
|
583
|
+
* Generate buffer from TLObject.
|
|
584
|
+
*/
|
|
583
585
|
write(): Buffer;
|
|
584
586
|
}
|
|
585
587
|
export declare class TonConnectCreateSession extends TLObject {
|
|
@@ -591,13 +593,13 @@ export declare class TonConnectCreateSession extends TLObject {
|
|
|
591
593
|
manifestUrl: string;
|
|
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<TonConnectCreateSession>;
|
|
598
600
|
/**
|
|
599
|
-
|
|
600
|
-
|
|
601
|
+
* Generate buffer from TLObject.
|
|
602
|
+
*/
|
|
601
603
|
write(): Buffer;
|
|
602
604
|
}
|
|
603
605
|
export declare class TonConnectRegisterKey extends TLObject {
|
|
@@ -609,13 +611,13 @@ export declare class TonConnectRegisterKey extends TLObject {
|
|
|
609
611
|
clientId: string;
|
|
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<TonConnectRegisterKey>;
|
|
616
618
|
/**
|
|
617
|
-
|
|
618
|
-
|
|
619
|
+
* Generate buffer from TLObject.
|
|
620
|
+
*/
|
|
619
621
|
write(): Buffer;
|
|
620
622
|
}
|
|
621
623
|
export declare class TonConnectSubmitConnectResult extends TLObject {
|
|
@@ -633,13 +635,13 @@ export declare class TonConnectSubmitConnectResult extends TLObject {
|
|
|
633
635
|
traceId?: string;
|
|
634
636
|
});
|
|
635
637
|
/**
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
638
|
+
* Generate the TLObject from buffer.
|
|
639
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
640
|
+
*/
|
|
639
641
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<TonConnectSubmitConnectResult>;
|
|
640
642
|
/**
|
|
641
|
-
|
|
642
|
-
|
|
643
|
+
* Generate buffer from TLObject.
|
|
644
|
+
*/
|
|
643
645
|
write(): Buffer;
|
|
644
646
|
}
|
|
645
647
|
export declare class TonConnectGetPending extends TLObject {
|
|
@@ -651,13 +653,13 @@ export declare class TonConnectGetPending extends TLObject {
|
|
|
651
653
|
sessionId?: long;
|
|
652
654
|
});
|
|
653
655
|
/**
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
656
|
+
* Generate the TLObject from buffer.
|
|
657
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
658
|
+
*/
|
|
657
659
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<TonConnectGetPending>;
|
|
658
660
|
/**
|
|
659
|
-
|
|
660
|
-
|
|
661
|
+
* Generate buffer from TLObject.
|
|
662
|
+
*/
|
|
661
663
|
write(): Buffer;
|
|
662
664
|
}
|
|
663
665
|
export declare class TonConnectClaimRequest extends TLObject {
|
|
@@ -675,13 +677,13 @@ export declare class TonConnectClaimRequest extends TLObject {
|
|
|
675
677
|
challengeAnswer?: bytes;
|
|
676
678
|
});
|
|
677
679
|
/**
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
680
|
+
* Generate the TLObject from buffer.
|
|
681
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
682
|
+
*/
|
|
681
683
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<TonConnectClaimRequest>;
|
|
682
684
|
/**
|
|
683
|
-
|
|
684
|
-
|
|
685
|
+
* Generate buffer from TLObject.
|
|
686
|
+
*/
|
|
685
687
|
write(): Buffer;
|
|
686
688
|
}
|
|
687
689
|
export declare class TonConnectSubmitResponse extends TLObject {
|
|
@@ -697,13 +699,13 @@ export declare class TonConnectSubmitResponse extends TLObject {
|
|
|
697
699
|
traceId?: string;
|
|
698
700
|
});
|
|
699
701
|
/**
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
702
|
+
* Generate the TLObject from buffer.
|
|
703
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
704
|
+
*/
|
|
703
705
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<TonConnectSubmitResponse>;
|
|
704
706
|
/**
|
|
705
|
-
|
|
706
|
-
|
|
707
|
+
* Generate buffer from TLObject.
|
|
708
|
+
*/
|
|
707
709
|
write(): Buffer;
|
|
708
710
|
}
|
|
709
711
|
export declare class TonConnectNextEventId extends TLObject {
|
|
@@ -713,13 +715,13 @@ export declare class TonConnectNextEventId extends TLObject {
|
|
|
713
715
|
sessionId: long;
|
|
714
716
|
});
|
|
715
717
|
/**
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
718
|
+
* Generate the TLObject from buffer.
|
|
719
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
720
|
+
*/
|
|
719
721
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<TonConnectNextEventId>;
|
|
720
722
|
/**
|
|
721
|
-
|
|
722
|
-
|
|
723
|
+
* Generate buffer from TLObject.
|
|
724
|
+
*/
|
|
723
725
|
write(): Buffer;
|
|
724
726
|
}
|
|
725
727
|
export declare class TonConnectCloseSession extends TLObject {
|
|
@@ -731,26 +733,26 @@ export declare class TonConnectCloseSession extends TLObject {
|
|
|
731
733
|
body?: bytes;
|
|
732
734
|
});
|
|
733
735
|
/**
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
736
|
+
* Generate the TLObject from buffer.
|
|
737
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
738
|
+
*/
|
|
737
739
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<TonConnectCloseSession>;
|
|
738
740
|
/**
|
|
739
|
-
|
|
740
|
-
|
|
741
|
+
* Generate buffer from TLObject.
|
|
742
|
+
*/
|
|
741
743
|
write(): Buffer;
|
|
742
744
|
}
|
|
743
745
|
export declare class TonConnectGetSessions extends TLObject {
|
|
744
746
|
__response__: TypeTonConnectSessions;
|
|
745
747
|
constructor();
|
|
746
748
|
/**
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
749
|
+
* Generate the TLObject from buffer.
|
|
750
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
751
|
+
*/
|
|
750
752
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<TonConnectGetSessions>;
|
|
751
753
|
/**
|
|
752
|
-
|
|
753
|
-
|
|
754
|
+
* Generate buffer from TLObject.
|
|
755
|
+
*/
|
|
754
756
|
write(): Buffer;
|
|
755
757
|
}
|
|
756
758
|
export declare class SetCardStickers extends TLObject {
|
|
@@ -762,12 +764,61 @@ export declare class SetCardStickers extends TLObject {
|
|
|
762
764
|
bgNftAddress?: string;
|
|
763
765
|
});
|
|
764
766
|
/**
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
767
|
+
* Generate the TLObject from buffer.
|
|
768
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
769
|
+
*/
|
|
768
770
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<SetCardStickers>;
|
|
769
771
|
/**
|
|
770
|
-
|
|
771
|
-
|
|
772
|
+
* Generate buffer from TLObject.
|
|
773
|
+
*/
|
|
774
|
+
write(): Buffer;
|
|
775
|
+
}
|
|
776
|
+
export declare class GetStakingInfo extends TLObject {
|
|
777
|
+
__response__: TypeStakingInfo;
|
|
778
|
+
constructor();
|
|
779
|
+
/**
|
|
780
|
+
* Generate the TLObject from buffer.
|
|
781
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
782
|
+
*/
|
|
783
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetStakingInfo>;
|
|
784
|
+
/**
|
|
785
|
+
* Generate buffer from TLObject.
|
|
786
|
+
*/
|
|
787
|
+
write(): Buffer;
|
|
788
|
+
}
|
|
789
|
+
export declare class Stake extends TLObject {
|
|
790
|
+
__response__: TypeStakingPrepared;
|
|
791
|
+
stakeAll?: boolean;
|
|
792
|
+
amount: long;
|
|
793
|
+
constructor(params: {
|
|
794
|
+
stakeAll?: boolean;
|
|
795
|
+
amount: long;
|
|
796
|
+
});
|
|
797
|
+
/**
|
|
798
|
+
* Generate the TLObject from buffer.
|
|
799
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
800
|
+
*/
|
|
801
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Stake>;
|
|
802
|
+
/**
|
|
803
|
+
* Generate buffer from TLObject.
|
|
804
|
+
*/
|
|
805
|
+
write(): Buffer;
|
|
806
|
+
}
|
|
807
|
+
export declare class Unstake extends TLObject {
|
|
808
|
+
__response__: TypeStakingPrepared;
|
|
809
|
+
withdrawAll?: boolean;
|
|
810
|
+
amount: long;
|
|
811
|
+
constructor(params: {
|
|
812
|
+
withdrawAll?: boolean;
|
|
813
|
+
amount: long;
|
|
814
|
+
});
|
|
815
|
+
/**
|
|
816
|
+
* Generate the TLObject from buffer.
|
|
817
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
818
|
+
*/
|
|
819
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Unstake>;
|
|
820
|
+
/**
|
|
821
|
+
* Generate buffer from TLObject.
|
|
822
|
+
*/
|
|
772
823
|
write(): Buffer;
|
|
773
824
|
}
|