@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 { int } from '../types.js';
|
|
@@ -19,13 +19,13 @@ export declare class ApiResponse extends TLObject {
|
|
|
19
19
|
response: raw.TypeDataJSON;
|
|
20
20
|
});
|
|
21
21
|
/**
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
* Generate the TLObject from buffer.
|
|
23
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
24
|
+
*/
|
|
25
25
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ApiResponse>;
|
|
26
26
|
/**
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
* Generate buffer from TLObject.
|
|
28
|
+
*/
|
|
29
29
|
write(): Buffer;
|
|
30
30
|
}
|
|
31
31
|
export declare class StreamingUrl extends TLObject {
|
|
@@ -36,13 +36,13 @@ export declare class StreamingUrl extends TLObject {
|
|
|
36
36
|
expires: int;
|
|
37
37
|
});
|
|
38
38
|
/**
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
* Generate the TLObject from buffer.
|
|
40
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
41
|
+
*/
|
|
42
42
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<StreamingUrl>;
|
|
43
43
|
/**
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
* Generate buffer from TLObject.
|
|
45
|
+
*/
|
|
46
46
|
write(): Buffer;
|
|
47
47
|
}
|
|
48
48
|
export declare class PerformApiRequest extends TLObject {
|
|
@@ -58,25 +58,25 @@ export declare class PerformApiRequest extends TLObject {
|
|
|
58
58
|
payload?: string;
|
|
59
59
|
});
|
|
60
60
|
/**
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
* Generate the TLObject from buffer.
|
|
62
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
63
|
+
*/
|
|
64
64
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<PerformApiRequest>;
|
|
65
65
|
/**
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
* Generate buffer from TLObject.
|
|
67
|
+
*/
|
|
68
68
|
write(): Buffer;
|
|
69
69
|
}
|
|
70
70
|
export declare class GetStreamingUrl extends TLObject {
|
|
71
71
|
__response__: TypeStreamingUrl;
|
|
72
72
|
constructor();
|
|
73
73
|
/**
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
74
|
+
* Generate the TLObject from buffer.
|
|
75
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
76
|
+
*/
|
|
77
77
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetStreamingUrl>;
|
|
78
78
|
/**
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
* Generate buffer from TLObject.
|
|
80
|
+
*/
|
|
81
81
|
write(): Buffer;
|
|
82
82
|
}
|
|
@@ -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
|
// This file is auto generate. All change made in this file will be lost!
|
|
11
11
|
import { TLObject, Primitive } from '../../core/index.js';
|
|
12
12
|
import { BytesIO } from '../../../deps.js';
|
|
@@ -14,25 +14,25 @@ export class ApiResponse extends TLObject {
|
|
|
14
14
|
response;
|
|
15
15
|
constructor(params) {
|
|
16
16
|
super();
|
|
17
|
-
this.classType =
|
|
18
|
-
this.className =
|
|
17
|
+
this.classType = "types";
|
|
18
|
+
this.className = "toncenter.ApiResponse";
|
|
19
19
|
this.constructorId = 0xac8dfe19;
|
|
20
20
|
this.subclassOfId = 0x58093fd1;
|
|
21
|
-
this._slots = [
|
|
21
|
+
this._slots = ["response"];
|
|
22
22
|
this.response = params.response;
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
* Generate the TLObject from buffer.
|
|
26
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
27
|
+
*/
|
|
28
28
|
static async read(_data, ..._args) {
|
|
29
29
|
// no flags
|
|
30
30
|
let response = await TLObject.read(_data);
|
|
31
|
-
return new ApiResponse({ response: response });
|
|
31
|
+
return new ApiResponse({ "response": response });
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
* Generate buffer from TLObject.
|
|
35
|
+
*/
|
|
36
36
|
write() {
|
|
37
37
|
const b = new BytesIO();
|
|
38
38
|
b.write(Primitive.Int.write(this.constructorId, false));
|
|
@@ -48,36 +48,36 @@ export class StreamingUrl extends TLObject {
|
|
|
48
48
|
expires;
|
|
49
49
|
constructor(params) {
|
|
50
50
|
super();
|
|
51
|
-
this.classType =
|
|
52
|
-
this.className =
|
|
51
|
+
this.classType = "types";
|
|
52
|
+
this.className = "toncenter.StreamingUrl";
|
|
53
53
|
this.constructorId = 0x19887601;
|
|
54
54
|
this.subclassOfId = 0x4c379ca2;
|
|
55
|
-
this._slots = [
|
|
55
|
+
this._slots = ["url", "expires"];
|
|
56
56
|
this.url = params.url;
|
|
57
57
|
this.expires = params.expires;
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
* Generate the TLObject from buffer.
|
|
61
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
62
|
+
*/
|
|
63
63
|
static async read(_data, ..._args) {
|
|
64
64
|
// no flags
|
|
65
65
|
let url = await Primitive.String.read(_data);
|
|
66
66
|
let expires = await Primitive.Int.read(_data);
|
|
67
|
-
return new StreamingUrl({ url: url, expires: expires });
|
|
67
|
+
return new StreamingUrl({ "url": url, "expires": expires });
|
|
68
68
|
}
|
|
69
69
|
/**
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
* Generate buffer from TLObject.
|
|
71
|
+
*/
|
|
72
72
|
write() {
|
|
73
73
|
const b = new BytesIO();
|
|
74
74
|
b.write(Primitive.Int.write(this.constructorId, false));
|
|
75
75
|
// no flags
|
|
76
76
|
if (this.url !== undefined) {
|
|
77
|
-
b.write(Primitive.String.write(this.url));
|
|
77
|
+
b.write((Primitive.String.write(this.url)));
|
|
78
78
|
}
|
|
79
79
|
if (this.expires !== undefined) {
|
|
80
|
-
b.write(Primitive.Int.write(this.expires));
|
|
80
|
+
b.write((Primitive.Int.write(this.expires)));
|
|
81
81
|
}
|
|
82
82
|
return b.buffer;
|
|
83
83
|
}
|
|
@@ -90,54 +90,49 @@ export class PerformApiRequest extends TLObject {
|
|
|
90
90
|
payload;
|
|
91
91
|
constructor(params) {
|
|
92
92
|
super();
|
|
93
|
-
this.classType =
|
|
94
|
-
this.className =
|
|
93
|
+
this.classType = "functions";
|
|
94
|
+
this.className = "toncenter.PerformApiRequest";
|
|
95
95
|
this.constructorId = 0x8d7bdd61;
|
|
96
96
|
this.subclassOfId = 0x58093fd1;
|
|
97
|
-
this._slots = [
|
|
97
|
+
this._slots = ["post", "endpoint", "query", "payload"];
|
|
98
98
|
this.post = params.post;
|
|
99
99
|
this.endpoint = params.endpoint;
|
|
100
100
|
this.query = params.query;
|
|
101
101
|
this.payload = params.payload;
|
|
102
102
|
}
|
|
103
103
|
/**
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
104
|
+
* Generate the TLObject from buffer.
|
|
105
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
106
|
+
*/
|
|
107
107
|
static async read(_data, ..._args) {
|
|
108
108
|
// @ts-ignore
|
|
109
109
|
let flags = await Primitive.Int.read(_data);
|
|
110
|
-
let post = flags & (1 << 0) ? true : false;
|
|
110
|
+
let post = (flags & (1 << 0)) ? true : false;
|
|
111
111
|
let endpoint = await Primitive.String.read(_data);
|
|
112
|
-
let query = flags & (1 << 1) ? await Primitive.String.read(_data) : undefined;
|
|
113
|
-
let payload = flags & (1 << 2) ? await Primitive.String.read(_data) : undefined;
|
|
114
|
-
return new PerformApiRequest({
|
|
115
|
-
post: post,
|
|
116
|
-
endpoint: endpoint,
|
|
117
|
-
query: query,
|
|
118
|
-
payload: payload,
|
|
119
|
-
});
|
|
112
|
+
let query = (flags & (1 << 1)) ? await Primitive.String.read(_data) : undefined;
|
|
113
|
+
let payload = (flags & (1 << 2)) ? await Primitive.String.read(_data) : undefined;
|
|
114
|
+
return new PerformApiRequest({ "post": post, "endpoint": endpoint, "query": query, "payload": payload });
|
|
120
115
|
}
|
|
121
116
|
/**
|
|
122
|
-
|
|
123
|
-
|
|
117
|
+
* Generate buffer from TLObject.
|
|
118
|
+
*/
|
|
124
119
|
write() {
|
|
125
120
|
const b = new BytesIO();
|
|
126
121
|
b.write(Primitive.Int.write(this.constructorId, false));
|
|
127
122
|
// @ts-ignore
|
|
128
123
|
let flags = 0;
|
|
129
|
-
flags |= this.post ? 1 << 0 : 0;
|
|
130
|
-
flags |= this.query !== undefined ? 1 << 1 : 0;
|
|
131
|
-
flags |= this.payload !== undefined ? 1 << 2 : 0;
|
|
132
|
-
b.write(Primitive.Int.write(flags));
|
|
124
|
+
flags |= this.post ? (1 << 0) : 0;
|
|
125
|
+
flags |= this.query !== undefined ? (1 << 1) : 0;
|
|
126
|
+
flags |= this.payload !== undefined ? (1 << 2) : 0;
|
|
127
|
+
b.write((Primitive.Int.write(flags)));
|
|
133
128
|
if (this.endpoint !== undefined) {
|
|
134
|
-
b.write(Primitive.String.write(this.endpoint));
|
|
129
|
+
b.write((Primitive.String.write(this.endpoint)));
|
|
135
130
|
}
|
|
136
131
|
if (this.query !== undefined) {
|
|
137
|
-
b.write(Primitive.String.write(this.query));
|
|
132
|
+
b.write((Primitive.String.write(this.query)));
|
|
138
133
|
}
|
|
139
134
|
if (this.payload !== undefined) {
|
|
140
|
-
b.write(Primitive.String.write(this.payload));
|
|
135
|
+
b.write((Primitive.String.write(this.payload)));
|
|
141
136
|
}
|
|
142
137
|
return b.buffer;
|
|
143
138
|
}
|
|
@@ -146,23 +141,23 @@ export class GetStreamingUrl extends TLObject {
|
|
|
146
141
|
__response__;
|
|
147
142
|
constructor() {
|
|
148
143
|
super();
|
|
149
|
-
this.classType =
|
|
150
|
-
this.className =
|
|
144
|
+
this.classType = "functions";
|
|
145
|
+
this.className = "toncenter.GetStreamingUrl";
|
|
151
146
|
this.constructorId = 0xcdaf63c7;
|
|
152
147
|
this.subclassOfId = 0x4c379ca2;
|
|
153
148
|
this._slots = [];
|
|
154
149
|
}
|
|
155
150
|
/**
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
151
|
+
* Generate the TLObject from buffer.
|
|
152
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
153
|
+
*/
|
|
159
154
|
static async read(_data, ..._args) {
|
|
160
155
|
// no flags
|
|
161
156
|
return new GetStreamingUrl();
|
|
162
157
|
}
|
|
163
158
|
/**
|
|
164
|
-
|
|
165
|
-
|
|
159
|
+
* Generate buffer from TLObject.
|
|
160
|
+
*/
|
|
166
161
|
write() {
|
|
167
162
|
const b = new BytesIO();
|
|
168
163
|
b.write(Primitive.Int.write(this.constructorId, false));
|
|
@@ -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 { Vector, int } from '../types.js';
|
|
@@ -28,13 +28,13 @@ export declare class State extends TLObject {
|
|
|
28
28
|
unreadCount: int;
|
|
29
29
|
});
|
|
30
30
|
/**
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
* Generate the TLObject from buffer.
|
|
32
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
33
|
+
*/
|
|
34
34
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<State>;
|
|
35
35
|
/**
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
* Generate buffer from TLObject.
|
|
37
|
+
*/
|
|
38
38
|
write(): Buffer;
|
|
39
39
|
}
|
|
40
40
|
export declare class DifferenceEmpty extends TLObject {
|
|
@@ -45,13 +45,13 @@ export declare class DifferenceEmpty extends TLObject {
|
|
|
45
45
|
seq: int;
|
|
46
46
|
});
|
|
47
47
|
/**
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
* Generate the TLObject from buffer.
|
|
49
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
50
|
+
*/
|
|
51
51
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<DifferenceEmpty>;
|
|
52
52
|
/**
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
* Generate buffer from TLObject.
|
|
54
|
+
*/
|
|
55
55
|
write(): Buffer;
|
|
56
56
|
}
|
|
57
57
|
export declare class Difference extends TLObject {
|
|
@@ -72,13 +72,13 @@ export declare class Difference extends TLObject {
|
|
|
72
72
|
state: TypeState;
|
|
73
73
|
});
|
|
74
74
|
/**
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
* Generate the TLObject from buffer.
|
|
76
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
77
|
+
*/
|
|
78
78
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Difference>;
|
|
79
79
|
/**
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
* Generate buffer from TLObject.
|
|
81
|
+
*/
|
|
82
82
|
write(): Buffer;
|
|
83
83
|
}
|
|
84
84
|
export declare class DifferenceSlice extends TLObject {
|
|
@@ -99,13 +99,13 @@ export declare class DifferenceSlice extends TLObject {
|
|
|
99
99
|
intermediateState: TypeState;
|
|
100
100
|
});
|
|
101
101
|
/**
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
102
|
+
* Generate the TLObject from buffer.
|
|
103
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
104
|
+
*/
|
|
105
105
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<DifferenceSlice>;
|
|
106
106
|
/**
|
|
107
|
-
|
|
108
|
-
|
|
107
|
+
* Generate buffer from TLObject.
|
|
108
|
+
*/
|
|
109
109
|
write(): Buffer;
|
|
110
110
|
}
|
|
111
111
|
export declare class DifferenceTooLong extends TLObject {
|
|
@@ -114,13 +114,13 @@ export declare class DifferenceTooLong extends TLObject {
|
|
|
114
114
|
pts: int;
|
|
115
115
|
});
|
|
116
116
|
/**
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
117
|
+
* Generate the TLObject from buffer.
|
|
118
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
119
|
+
*/
|
|
120
120
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<DifferenceTooLong>;
|
|
121
121
|
/**
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
* Generate buffer from TLObject.
|
|
123
|
+
*/
|
|
124
124
|
write(): Buffer;
|
|
125
125
|
}
|
|
126
126
|
export declare class ChannelDifferenceEmpty extends TLObject {
|
|
@@ -133,13 +133,13 @@ export declare class ChannelDifferenceEmpty extends TLObject {
|
|
|
133
133
|
timeout?: int;
|
|
134
134
|
});
|
|
135
135
|
/**
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
136
|
+
* Generate the TLObject from buffer.
|
|
137
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
138
|
+
*/
|
|
139
139
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ChannelDifferenceEmpty>;
|
|
140
140
|
/**
|
|
141
|
-
|
|
142
|
-
|
|
141
|
+
* Generate buffer from TLObject.
|
|
142
|
+
*/
|
|
143
143
|
write(): Buffer;
|
|
144
144
|
}
|
|
145
145
|
export declare class ChannelDifferenceTooLong extends TLObject {
|
|
@@ -160,13 +160,13 @@ export declare class ChannelDifferenceTooLong extends TLObject {
|
|
|
160
160
|
users: Vector<raw.TypeUser>;
|
|
161
161
|
});
|
|
162
162
|
/**
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
163
|
+
* Generate the TLObject from buffer.
|
|
164
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
165
|
+
*/
|
|
166
166
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ChannelDifferenceTooLong>;
|
|
167
167
|
/**
|
|
168
|
-
|
|
169
|
-
|
|
168
|
+
* Generate buffer from TLObject.
|
|
169
|
+
*/
|
|
170
170
|
write(): Buffer;
|
|
171
171
|
}
|
|
172
172
|
export declare class ChannelDifference extends TLObject {
|
|
@@ -189,26 +189,26 @@ export declare class ChannelDifference extends TLObject {
|
|
|
189
189
|
users: Vector<raw.TypeUser>;
|
|
190
190
|
});
|
|
191
191
|
/**
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
192
|
+
* Generate the TLObject from buffer.
|
|
193
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
194
|
+
*/
|
|
195
195
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<ChannelDifference>;
|
|
196
196
|
/**
|
|
197
|
-
|
|
198
|
-
|
|
197
|
+
* Generate buffer from TLObject.
|
|
198
|
+
*/
|
|
199
199
|
write(): Buffer;
|
|
200
200
|
}
|
|
201
201
|
export declare class GetState extends TLObject {
|
|
202
202
|
__response__: TypeState;
|
|
203
203
|
constructor();
|
|
204
204
|
/**
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
205
|
+
* Generate the TLObject from buffer.
|
|
206
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
207
|
+
*/
|
|
208
208
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetState>;
|
|
209
209
|
/**
|
|
210
|
-
|
|
211
|
-
|
|
210
|
+
* Generate buffer from TLObject.
|
|
211
|
+
*/
|
|
212
212
|
write(): Buffer;
|
|
213
213
|
}
|
|
214
214
|
export declare class GetDifference extends TLObject {
|
|
@@ -228,13 +228,13 @@ export declare class GetDifference extends TLObject {
|
|
|
228
228
|
qtsLimit?: int;
|
|
229
229
|
});
|
|
230
230
|
/**
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
231
|
+
* Generate the TLObject from buffer.
|
|
232
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
233
|
+
*/
|
|
234
234
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetDifference>;
|
|
235
235
|
/**
|
|
236
|
-
|
|
237
|
-
|
|
236
|
+
* Generate buffer from TLObject.
|
|
237
|
+
*/
|
|
238
238
|
write(): Buffer;
|
|
239
239
|
}
|
|
240
240
|
export declare class GetChannelDifference extends TLObject {
|
|
@@ -252,12 +252,12 @@ export declare class GetChannelDifference extends TLObject {
|
|
|
252
252
|
limit: int;
|
|
253
253
|
});
|
|
254
254
|
/**
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
255
|
+
* Generate the TLObject from buffer.
|
|
256
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
257
|
+
*/
|
|
258
258
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<GetChannelDifference>;
|
|
259
259
|
/**
|
|
260
|
-
|
|
261
|
-
|
|
260
|
+
* Generate buffer from TLObject.
|
|
261
|
+
*/
|
|
262
262
|
write(): Buffer;
|
|
263
263
|
}
|