@mtcute/tl 221.0.0 → 222.0.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/api-schema.json +1 -1
- package/binary/reader.js +41 -32
- package/binary/writer.js +57 -37
- package/compat/index.d.ts +397 -11
- package/compat/reader.js +23 -0
- package/index.d.ts +139 -39
- package/index.js +4 -2
- package/package.json +1 -1
package/compat/index.d.ts
CHANGED
|
@@ -23,6 +23,8 @@ export declare namespace tlCompat {
|
|
|
23
23
|
* require_premium: flags.6?true
|
|
24
24
|
* resale_ton_only: flags.7?true
|
|
25
25
|
* theme_available: flags.9?true
|
|
26
|
+
* burned: flags.14?true
|
|
27
|
+
* crafted: flags.15?true
|
|
26
28
|
* gift_id: long
|
|
27
29
|
* owner_address: flags.2?string
|
|
28
30
|
* gift_address: flags.3?string
|
|
@@ -35,6 +37,7 @@ export declare namespace tlCompat {
|
|
|
35
37
|
* peer_color: flags.11?PeerColor
|
|
36
38
|
* host_id: flags.12?Peer
|
|
37
39
|
* offer_min_stars: flags.13?int
|
|
40
|
+
* craft_chance_permille: flags.16?int
|
|
38
41
|
* Changed arguments:
|
|
39
42
|
* owner_id: flags.0?int53 => flags.0?Peer
|
|
40
43
|
*/
|
|
@@ -46,7 +49,7 @@ export declare namespace tlCompat {
|
|
|
46
49
|
num: number;
|
|
47
50
|
ownerId?: number;
|
|
48
51
|
ownerName?: string;
|
|
49
|
-
attributes:
|
|
52
|
+
attributes: tlCompat.TypeStarGiftAttribute[];
|
|
50
53
|
availabilityIssued: number;
|
|
51
54
|
availabilityTotal: number;
|
|
52
55
|
}
|
|
@@ -160,6 +163,7 @@ export declare namespace tlCompat {
|
|
|
160
163
|
* prepaid_upgrade: flags.11?true
|
|
161
164
|
* assigned: flags.13?true
|
|
162
165
|
* from_offer: flags.14?true
|
|
166
|
+
* craft: flags.16?true
|
|
163
167
|
* from_id: flags.6?Peer
|
|
164
168
|
* peer: flags.7?Peer
|
|
165
169
|
* saved_id: flags.7?long
|
|
@@ -167,6 +171,7 @@ export declare namespace tlCompat {
|
|
|
167
171
|
* can_transfer_at: flags.9?int
|
|
168
172
|
* can_resell_at: flags.10?int
|
|
169
173
|
* drop_original_details_stars: flags.12?long
|
|
174
|
+
* can_craft_at: flags.15?int
|
|
170
175
|
*/
|
|
171
176
|
interface RawMessageActionStarGiftUnique_layer197 {
|
|
172
177
|
_: 'messageActionStarGiftUnique_layer197';
|
|
@@ -214,6 +219,8 @@ export declare namespace tlCompat {
|
|
|
214
219
|
* require_premium: flags.6?true
|
|
215
220
|
* resale_ton_only: flags.7?true
|
|
216
221
|
* theme_available: flags.9?true
|
|
222
|
+
* burned: flags.14?true
|
|
223
|
+
* crafted: flags.15?true
|
|
217
224
|
* gift_id: long
|
|
218
225
|
* gift_address: flags.3?string
|
|
219
226
|
* resell_amount: flags.4?Vector<StarsAmount>
|
|
@@ -225,6 +232,7 @@ export declare namespace tlCompat {
|
|
|
225
232
|
* peer_color: flags.11?PeerColor
|
|
226
233
|
* host_id: flags.12?Peer
|
|
227
234
|
* offer_min_stars: flags.13?int
|
|
235
|
+
* craft_chance_permille: flags.16?int
|
|
228
236
|
*/
|
|
229
237
|
interface RawStarGiftUnique_layer198 {
|
|
230
238
|
_: 'starGiftUnique_layer198';
|
|
@@ -235,7 +243,7 @@ export declare namespace tlCompat {
|
|
|
235
243
|
ownerId?: tl.TypePeer;
|
|
236
244
|
ownerName?: string;
|
|
237
245
|
ownerAddress?: string;
|
|
238
|
-
attributes:
|
|
246
|
+
attributes: tlCompat.TypeStarGiftAttribute[];
|
|
239
247
|
availabilityIssued: number;
|
|
240
248
|
availabilityTotal: number;
|
|
241
249
|
}
|
|
@@ -320,6 +328,7 @@ export declare namespace tlCompat {
|
|
|
320
328
|
*
|
|
321
329
|
* Added arguments:
|
|
322
330
|
* bot_forum_view: flags2.16?true
|
|
331
|
+
* bot_forum_can_manage_topics: flags2.17?true
|
|
323
332
|
* send_paid_messages_stars: flags2.15?long
|
|
324
333
|
* Changed arguments:
|
|
325
334
|
* stories_max_id: flags2.5?int => flags2.5?RecentStory
|
|
@@ -555,6 +564,8 @@ export declare namespace tlCompat {
|
|
|
555
564
|
* require_premium: flags.6?true
|
|
556
565
|
* resale_ton_only: flags.7?true
|
|
557
566
|
* theme_available: flags.9?true
|
|
567
|
+
* burned: flags.14?true
|
|
568
|
+
* crafted: flags.15?true
|
|
558
569
|
* gift_id: long
|
|
559
570
|
* resell_amount: flags.4?Vector<StarsAmount>
|
|
560
571
|
* released_by: flags.5?Peer
|
|
@@ -565,6 +576,7 @@ export declare namespace tlCompat {
|
|
|
565
576
|
* peer_color: flags.11?PeerColor
|
|
566
577
|
* host_id: flags.12?Peer
|
|
567
578
|
* offer_min_stars: flags.13?int
|
|
579
|
+
* craft_chance_permille: flags.16?int
|
|
568
580
|
*/
|
|
569
581
|
interface RawStarGiftUnique_layer202 {
|
|
570
582
|
_: 'starGiftUnique_layer202';
|
|
@@ -575,7 +587,7 @@ export declare namespace tlCompat {
|
|
|
575
587
|
ownerId?: tl.TypePeer;
|
|
576
588
|
ownerName?: string;
|
|
577
589
|
ownerAddress?: string;
|
|
578
|
-
attributes:
|
|
590
|
+
attributes: tlCompat.TypeStarGiftAttribute[];
|
|
579
591
|
availabilityIssued: number;
|
|
580
592
|
availabilityTotal: number;
|
|
581
593
|
giftAddress?: string;
|
|
@@ -623,10 +635,12 @@ export declare namespace tlCompat {
|
|
|
623
635
|
* prepaid_upgrade: flags.11?true
|
|
624
636
|
* assigned: flags.13?true
|
|
625
637
|
* from_offer: flags.14?true
|
|
638
|
+
* craft: flags.16?true
|
|
626
639
|
* resale_amount: flags.8?StarsAmount
|
|
627
640
|
* can_transfer_at: flags.9?int
|
|
628
641
|
* can_resell_at: flags.10?int
|
|
629
642
|
* drop_original_details_stars: flags.12?long
|
|
643
|
+
* can_craft_at: flags.15?int
|
|
630
644
|
*/
|
|
631
645
|
interface RawMessageActionStarGiftUnique_layer202 {
|
|
632
646
|
_: 'messageActionStarGiftUnique_layer202';
|
|
@@ -797,7 +811,6 @@ export declare namespace tlCompat {
|
|
|
797
811
|
*
|
|
798
812
|
* Added arguments:
|
|
799
813
|
* saved_peer_id: flags.28?Peer
|
|
800
|
-
* legacy_ios: flags.17?true
|
|
801
814
|
*/
|
|
802
815
|
interface RawMessageService_layer204 {
|
|
803
816
|
_: 'messageService_layer204';
|
|
@@ -878,6 +891,8 @@ export declare namespace tlCompat {
|
|
|
878
891
|
* require_premium: flags.6?true
|
|
879
892
|
* resale_ton_only: flags.7?true
|
|
880
893
|
* theme_available: flags.9?true
|
|
894
|
+
* burned: flags.14?true
|
|
895
|
+
* crafted: flags.15?true
|
|
881
896
|
* gift_id: long
|
|
882
897
|
* resell_amount: flags.4?Vector<StarsAmount>
|
|
883
898
|
* released_by: flags.5?Peer
|
|
@@ -888,6 +903,7 @@ export declare namespace tlCompat {
|
|
|
888
903
|
* peer_color: flags.11?PeerColor
|
|
889
904
|
* host_id: flags.12?Peer
|
|
890
905
|
* offer_min_stars: flags.13?int
|
|
906
|
+
* craft_chance_permille: flags.16?int
|
|
891
907
|
* Removed arguments: resell_stars
|
|
892
908
|
*/
|
|
893
909
|
interface RawStarGiftUnique_layer206 {
|
|
@@ -899,7 +915,7 @@ export declare namespace tlCompat {
|
|
|
899
915
|
ownerId?: tl.TypePeer;
|
|
900
916
|
ownerName?: string;
|
|
901
917
|
ownerAddress?: string;
|
|
902
|
-
attributes:
|
|
918
|
+
attributes: tlCompat.TypeStarGiftAttribute[];
|
|
903
919
|
availabilityIssued: number;
|
|
904
920
|
availabilityTotal: number;
|
|
905
921
|
giftAddress?: string;
|
|
@@ -1162,8 +1178,10 @@ export declare namespace tlCompat {
|
|
|
1162
1178
|
* prepaid_upgrade: flags.11?true
|
|
1163
1179
|
* assigned: flags.13?true
|
|
1164
1180
|
* from_offer: flags.14?true
|
|
1181
|
+
* craft: flags.16?true
|
|
1165
1182
|
* resale_amount: flags.8?StarsAmount
|
|
1166
1183
|
* drop_original_details_stars: flags.12?long
|
|
1184
|
+
* can_craft_at: flags.15?int
|
|
1167
1185
|
* Removed arguments: resale_stars
|
|
1168
1186
|
*/
|
|
1169
1187
|
interface RawMessageActionStarGiftUnique_layer210 {
|
|
@@ -1188,6 +1206,8 @@ export declare namespace tlCompat {
|
|
|
1188
1206
|
* Added arguments:
|
|
1189
1207
|
* resale_ton_only: flags.7?true
|
|
1190
1208
|
* theme_available: flags.9?true
|
|
1209
|
+
* burned: flags.14?true
|
|
1210
|
+
* crafted: flags.15?true
|
|
1191
1211
|
* gift_id: long
|
|
1192
1212
|
* resell_amount: flags.4?Vector<StarsAmount>
|
|
1193
1213
|
* value_amount: flags.8?long
|
|
@@ -1197,6 +1217,7 @@ export declare namespace tlCompat {
|
|
|
1197
1217
|
* peer_color: flags.11?PeerColor
|
|
1198
1218
|
* host_id: flags.12?Peer
|
|
1199
1219
|
* offer_min_stars: flags.13?int
|
|
1220
|
+
* craft_chance_permille: flags.16?int
|
|
1200
1221
|
* Removed arguments: resell_stars
|
|
1201
1222
|
*/
|
|
1202
1223
|
interface RawStarGiftUnique_layer210 {
|
|
@@ -1209,7 +1230,7 @@ export declare namespace tlCompat {
|
|
|
1209
1230
|
ownerId?: tl.TypePeer;
|
|
1210
1231
|
ownerName?: string;
|
|
1211
1232
|
ownerAddress?: string;
|
|
1212
|
-
attributes:
|
|
1233
|
+
attributes: tlCompat.TypeStarGiftAttribute[];
|
|
1213
1234
|
availabilityIssued: number;
|
|
1214
1235
|
availabilityTotal: number;
|
|
1215
1236
|
giftAddress?: string;
|
|
@@ -1359,6 +1380,8 @@ export declare namespace tlCompat {
|
|
|
1359
1380
|
*
|
|
1360
1381
|
* Added arguments:
|
|
1361
1382
|
* theme_available: flags.9?true
|
|
1383
|
+
* burned: flags.14?true
|
|
1384
|
+
* crafted: flags.15?true
|
|
1362
1385
|
* gift_id: long
|
|
1363
1386
|
* value_amount: flags.8?long
|
|
1364
1387
|
* value_currency: flags.8?string
|
|
@@ -1367,6 +1390,7 @@ export declare namespace tlCompat {
|
|
|
1367
1390
|
* peer_color: flags.11?PeerColor
|
|
1368
1391
|
* host_id: flags.12?Peer
|
|
1369
1392
|
* offer_min_stars: flags.13?int
|
|
1393
|
+
* craft_chance_permille: flags.16?int
|
|
1370
1394
|
*/
|
|
1371
1395
|
interface RawStarGiftUnique_layer211 {
|
|
1372
1396
|
_: 'starGiftUnique_layer211';
|
|
@@ -1379,7 +1403,7 @@ export declare namespace tlCompat {
|
|
|
1379
1403
|
ownerId?: tl.TypePeer;
|
|
1380
1404
|
ownerName?: string;
|
|
1381
1405
|
ownerAddress?: string;
|
|
1382
|
-
attributes:
|
|
1406
|
+
attributes: tlCompat.TypeStarGiftAttribute[];
|
|
1383
1407
|
availabilityIssued: number;
|
|
1384
1408
|
availabilityTotal: number;
|
|
1385
1409
|
giftAddress?: string;
|
|
@@ -1536,10 +1560,13 @@ export declare namespace tlCompat {
|
|
|
1536
1560
|
* Compared to the current schema, changes from this entry:
|
|
1537
1561
|
*
|
|
1538
1562
|
* Added arguments:
|
|
1563
|
+
* burned: flags.14?true
|
|
1564
|
+
* crafted: flags.15?true
|
|
1539
1565
|
* value_usd_amount: flags.8?long
|
|
1540
1566
|
* peer_color: flags.11?PeerColor
|
|
1541
1567
|
* host_id: flags.12?Peer
|
|
1542
1568
|
* offer_min_stars: flags.13?int
|
|
1569
|
+
* craft_chance_permille: flags.16?int
|
|
1543
1570
|
*/
|
|
1544
1571
|
interface RawStarGiftUnique_layer214 {
|
|
1545
1572
|
_: 'starGiftUnique_layer214';
|
|
@@ -1554,7 +1581,7 @@ export declare namespace tlCompat {
|
|
|
1554
1581
|
ownerId?: tl.TypePeer;
|
|
1555
1582
|
ownerName?: string;
|
|
1556
1583
|
ownerAddress?: string;
|
|
1557
|
-
attributes:
|
|
1584
|
+
attributes: tlCompat.TypeStarGiftAttribute[];
|
|
1558
1585
|
availabilityIssued: number;
|
|
1559
1586
|
availabilityTotal: number;
|
|
1560
1587
|
giftAddress?: string;
|
|
@@ -1570,7 +1597,9 @@ export declare namespace tlCompat {
|
|
|
1570
1597
|
* Added arguments:
|
|
1571
1598
|
* assigned: flags.13?true
|
|
1572
1599
|
* from_offer: flags.14?true
|
|
1600
|
+
* craft: flags.16?true
|
|
1573
1601
|
* drop_original_details_stars: flags.12?long
|
|
1602
|
+
* can_craft_at: flags.15?int
|
|
1574
1603
|
*/
|
|
1575
1604
|
interface RawMessageActionStarGiftUnique_layer214 {
|
|
1576
1605
|
_: 'messageActionStarGiftUnique_layer214';
|
|
@@ -1698,6 +1727,8 @@ export declare namespace tlCompat {
|
|
|
1698
1727
|
/**
|
|
1699
1728
|
* Compared to the current schema, changes from this entry:
|
|
1700
1729
|
*
|
|
1730
|
+
* Added arguments:
|
|
1731
|
+
* bot_forum_can_manage_topics: flags2.17?true
|
|
1701
1732
|
* Changed arguments:
|
|
1702
1733
|
* stories_max_id: flags2.5?int => flags2.5?RecentStory
|
|
1703
1734
|
*/
|
|
@@ -1886,8 +1917,11 @@ export declare namespace tlCompat {
|
|
|
1886
1917
|
* Compared to the current schema, changes from this entry:
|
|
1887
1918
|
*
|
|
1888
1919
|
* Added arguments:
|
|
1920
|
+
* burned: flags.14?true
|
|
1921
|
+
* crafted: flags.15?true
|
|
1889
1922
|
* value_usd_amount: flags.8?long
|
|
1890
1923
|
* offer_min_stars: flags.13?int
|
|
1924
|
+
* craft_chance_permille: flags.16?int
|
|
1891
1925
|
*/
|
|
1892
1926
|
interface RawStarGiftUnique_layer218 {
|
|
1893
1927
|
_: 'starGiftUnique_layer218';
|
|
@@ -1902,7 +1936,7 @@ export declare namespace tlCompat {
|
|
|
1902
1936
|
ownerId?: tl.TypePeer;
|
|
1903
1937
|
ownerName?: string;
|
|
1904
1938
|
ownerAddress?: string;
|
|
1905
|
-
attributes:
|
|
1939
|
+
attributes: tlCompat.TypeStarGiftAttribute[];
|
|
1906
1940
|
availabilityIssued: number;
|
|
1907
1941
|
availabilityTotal: number;
|
|
1908
1942
|
giftAddress?: string;
|
|
@@ -2045,13 +2079,340 @@ export declare namespace tlCompat {
|
|
|
2045
2079
|
suggestedPost?: tl.TypeSuggestedPost;
|
|
2046
2080
|
scheduleRepeatPeriod?: number;
|
|
2047
2081
|
}
|
|
2082
|
+
/**
|
|
2083
|
+
* Compared to the current schema, changes from this entry:
|
|
2084
|
+
*
|
|
2085
|
+
* Added arguments:
|
|
2086
|
+
* burned: flags.14?true
|
|
2087
|
+
* crafted: flags.15?true
|
|
2088
|
+
* craft_chance_permille: flags.16?int
|
|
2089
|
+
*/
|
|
2090
|
+
interface RawStarGiftUnique_layer221 {
|
|
2091
|
+
_: 'starGiftUnique_layer221';
|
|
2092
|
+
requirePremium?: boolean;
|
|
2093
|
+
resaleTonOnly?: boolean;
|
|
2094
|
+
themeAvailable?: boolean;
|
|
2095
|
+
id: Long;
|
|
2096
|
+
giftId: Long;
|
|
2097
|
+
title: string;
|
|
2098
|
+
slug: string;
|
|
2099
|
+
num: number;
|
|
2100
|
+
ownerId?: tl.TypePeer;
|
|
2101
|
+
ownerName?: string;
|
|
2102
|
+
ownerAddress?: string;
|
|
2103
|
+
attributes: tlCompat.TypeStarGiftAttribute[];
|
|
2104
|
+
availabilityIssued: number;
|
|
2105
|
+
availabilityTotal: number;
|
|
2106
|
+
giftAddress?: string;
|
|
2107
|
+
resellAmount?: tl.TypeStarsAmount[];
|
|
2108
|
+
releasedBy?: tl.TypePeer;
|
|
2109
|
+
valueAmount?: Long;
|
|
2110
|
+
valueCurrency?: string;
|
|
2111
|
+
valueUsdAmount?: Long;
|
|
2112
|
+
themePeer?: tl.TypePeer;
|
|
2113
|
+
peerColor?: tl.TypePeerColor;
|
|
2114
|
+
hostId?: tl.TypePeer;
|
|
2115
|
+
offerMinStars?: number;
|
|
2116
|
+
}
|
|
2117
|
+
/**
|
|
2118
|
+
* Compared to the current schema, changes from this entry:
|
|
2119
|
+
*
|
|
2120
|
+
* Added arguments:
|
|
2121
|
+
* rarity: StarGiftAttributeRarity
|
|
2122
|
+
* Removed arguments: rarity_permille
|
|
2123
|
+
*/
|
|
2124
|
+
interface RawStarGiftAttributeBackdrop_layer221 {
|
|
2125
|
+
_: 'starGiftAttributeBackdrop_layer221';
|
|
2126
|
+
name: string;
|
|
2127
|
+
backdropId: number;
|
|
2128
|
+
centerColor: number;
|
|
2129
|
+
edgeColor: number;
|
|
2130
|
+
patternColor: number;
|
|
2131
|
+
textColor: number;
|
|
2132
|
+
rarityPermille: number;
|
|
2133
|
+
}
|
|
2134
|
+
/**
|
|
2135
|
+
* Compared to the current schema, changes from this entry:
|
|
2136
|
+
*
|
|
2137
|
+
* Added arguments:
|
|
2138
|
+
* rarity: StarGiftAttributeRarity
|
|
2139
|
+
* Removed arguments: rarity_permille
|
|
2140
|
+
*/
|
|
2141
|
+
interface RawStarGiftAttributePattern_layer221 {
|
|
2142
|
+
_: 'starGiftAttributePattern_layer221';
|
|
2143
|
+
name: string;
|
|
2144
|
+
document: tl.TypeDocument;
|
|
2145
|
+
rarityPermille: number;
|
|
2146
|
+
}
|
|
2147
|
+
/**
|
|
2148
|
+
* Compared to the current schema, changes from this entry:
|
|
2149
|
+
*
|
|
2150
|
+
* Added arguments:
|
|
2151
|
+
* flags: #
|
|
2152
|
+
* crafted: flags.0?true
|
|
2153
|
+
* rarity: StarGiftAttributeRarity
|
|
2154
|
+
* Removed arguments: rarity_permille
|
|
2155
|
+
*/
|
|
2156
|
+
interface RawStarGiftAttributeModel_layer221 {
|
|
2157
|
+
_: 'starGiftAttributeModel_layer221';
|
|
2158
|
+
name: string;
|
|
2159
|
+
document: tl.TypeDocument;
|
|
2160
|
+
rarityPermille: number;
|
|
2161
|
+
}
|
|
2162
|
+
/**
|
|
2163
|
+
* Compared to the current schema, changes from this entry:
|
|
2164
|
+
*
|
|
2165
|
+
* Added arguments:
|
|
2166
|
+
* craft: flags.16?true
|
|
2167
|
+
* can_craft_at: flags.15?int
|
|
2168
|
+
*/
|
|
2169
|
+
interface RawMessageActionStarGiftUnique_layer221 {
|
|
2170
|
+
_: 'messageActionStarGiftUnique_layer221';
|
|
2171
|
+
upgrade?: boolean;
|
|
2172
|
+
transferred?: boolean;
|
|
2173
|
+
saved?: boolean;
|
|
2174
|
+
refunded?: boolean;
|
|
2175
|
+
prepaidUpgrade?: boolean;
|
|
2176
|
+
assigned?: boolean;
|
|
2177
|
+
fromOffer?: boolean;
|
|
2178
|
+
gift: tlCompat.TypeStarGift;
|
|
2179
|
+
canExportAt?: number;
|
|
2180
|
+
transferStars?: Long;
|
|
2181
|
+
fromId?: tl.TypePeer;
|
|
2182
|
+
peer?: tl.TypePeer;
|
|
2183
|
+
savedId?: Long;
|
|
2184
|
+
resaleAmount?: tl.TypeStarsAmount;
|
|
2185
|
+
canTransferAt?: number;
|
|
2186
|
+
canResellAt?: number;
|
|
2187
|
+
dropOriginalDetailsStars?: Long;
|
|
2188
|
+
}
|
|
2189
|
+
/**
|
|
2190
|
+
* Compared to the current schema, changes from this entry:
|
|
2191
|
+
*
|
|
2192
|
+
* Added arguments:
|
|
2193
|
+
* flags: #
|
|
2194
|
+
* style: flags.10?KeyboardButtonStyle
|
|
2195
|
+
*/
|
|
2196
|
+
interface RawKeyboardButtonCopy_layer221 {
|
|
2197
|
+
_: 'keyboardButtonCopy_layer221';
|
|
2198
|
+
text: string;
|
|
2199
|
+
copyText: string;
|
|
2200
|
+
}
|
|
2201
|
+
/**
|
|
2202
|
+
* Compared to the current schema, changes from this entry:
|
|
2203
|
+
*
|
|
2204
|
+
* Added arguments:
|
|
2205
|
+
* style: flags.10?KeyboardButtonStyle
|
|
2206
|
+
*/
|
|
2207
|
+
interface RawInputKeyboardButtonRequestPeer_layer221 {
|
|
2208
|
+
_: 'inputKeyboardButtonRequestPeer_layer221';
|
|
2209
|
+
nameRequested?: boolean;
|
|
2210
|
+
usernameRequested?: boolean;
|
|
2211
|
+
photoRequested?: boolean;
|
|
2212
|
+
text: string;
|
|
2213
|
+
buttonId: number;
|
|
2214
|
+
peerType: tl.TypeRequestPeerType;
|
|
2215
|
+
maxQuantity: number;
|
|
2216
|
+
}
|
|
2217
|
+
/**
|
|
2218
|
+
* Compared to the current schema, changes from this entry:
|
|
2219
|
+
*
|
|
2220
|
+
* Added arguments:
|
|
2221
|
+
* flags: #
|
|
2222
|
+
* style: flags.10?KeyboardButtonStyle
|
|
2223
|
+
*/
|
|
2224
|
+
interface RawKeyboardButtonRequestPeer_layer221 {
|
|
2225
|
+
_: 'keyboardButtonRequestPeer_layer221';
|
|
2226
|
+
text: string;
|
|
2227
|
+
buttonId: number;
|
|
2228
|
+
peerType: tl.TypeRequestPeerType;
|
|
2229
|
+
maxQuantity: number;
|
|
2230
|
+
}
|
|
2231
|
+
/**
|
|
2232
|
+
* Compared to the current schema, changes from this entry:
|
|
2233
|
+
*
|
|
2234
|
+
* Added arguments:
|
|
2235
|
+
* flags: #
|
|
2236
|
+
* style: flags.10?KeyboardButtonStyle
|
|
2237
|
+
*/
|
|
2238
|
+
interface RawKeyboardButtonSimpleWebView_layer221 {
|
|
2239
|
+
_: 'keyboardButtonSimpleWebView_layer221';
|
|
2240
|
+
text: string;
|
|
2241
|
+
url: string;
|
|
2242
|
+
}
|
|
2243
|
+
/**
|
|
2244
|
+
* Compared to the current schema, changes from this entry:
|
|
2245
|
+
*
|
|
2246
|
+
* Added arguments:
|
|
2247
|
+
* flags: #
|
|
2248
|
+
* style: flags.10?KeyboardButtonStyle
|
|
2249
|
+
*/
|
|
2250
|
+
interface RawKeyboardButtonWebView_layer221 {
|
|
2251
|
+
_: 'keyboardButtonWebView_layer221';
|
|
2252
|
+
text: string;
|
|
2253
|
+
url: string;
|
|
2254
|
+
}
|
|
2255
|
+
/**
|
|
2256
|
+
* Compared to the current schema, changes from this entry:
|
|
2257
|
+
*
|
|
2258
|
+
* Added arguments:
|
|
2259
|
+
* flags: #
|
|
2260
|
+
* style: flags.10?KeyboardButtonStyle
|
|
2261
|
+
*/
|
|
2262
|
+
interface RawKeyboardButtonUserProfile_layer221 {
|
|
2263
|
+
_: 'keyboardButtonUserProfile_layer221';
|
|
2264
|
+
text: string;
|
|
2265
|
+
userId: number;
|
|
2266
|
+
}
|
|
2267
|
+
/**
|
|
2268
|
+
* Compared to the current schema, changes from this entry:
|
|
2269
|
+
*
|
|
2270
|
+
* Added arguments:
|
|
2271
|
+
* flags: #
|
|
2272
|
+
* style: flags.10?KeyboardButtonStyle
|
|
2273
|
+
*/
|
|
2274
|
+
interface RawInputKeyboardButtonUserProfile_layer221 {
|
|
2275
|
+
_: 'inputKeyboardButtonUserProfile_layer221';
|
|
2276
|
+
text: string;
|
|
2277
|
+
userId: tl.TypeInputUser;
|
|
2278
|
+
}
|
|
2279
|
+
/**
|
|
2280
|
+
* Compared to the current schema, changes from this entry:
|
|
2281
|
+
*
|
|
2282
|
+
* Added arguments:
|
|
2283
|
+
* style: flags.10?KeyboardButtonStyle
|
|
2284
|
+
*/
|
|
2285
|
+
interface RawKeyboardButtonRequestPoll_layer221 {
|
|
2286
|
+
_: 'keyboardButtonRequestPoll_layer221';
|
|
2287
|
+
quiz?: boolean;
|
|
2288
|
+
text: string;
|
|
2289
|
+
}
|
|
2290
|
+
/**
|
|
2291
|
+
* Compared to the current schema, changes from this entry:
|
|
2292
|
+
*
|
|
2293
|
+
* Added arguments:
|
|
2294
|
+
* style: flags.10?KeyboardButtonStyle
|
|
2295
|
+
*/
|
|
2296
|
+
interface RawInputKeyboardButtonUrlAuth_layer221 {
|
|
2297
|
+
_: 'inputKeyboardButtonUrlAuth_layer221';
|
|
2298
|
+
requestWriteAccess?: boolean;
|
|
2299
|
+
text: string;
|
|
2300
|
+
fwdText?: string;
|
|
2301
|
+
url: string;
|
|
2302
|
+
bot: tl.TypeInputUser;
|
|
2303
|
+
}
|
|
2304
|
+
/**
|
|
2305
|
+
* Compared to the current schema, changes from this entry:
|
|
2306
|
+
*
|
|
2307
|
+
* Added arguments:
|
|
2308
|
+
* style: flags.10?KeyboardButtonStyle
|
|
2309
|
+
*/
|
|
2310
|
+
interface RawKeyboardButtonUrlAuth_layer221 {
|
|
2311
|
+
_: 'keyboardButtonUrlAuth_layer221';
|
|
2312
|
+
text: string;
|
|
2313
|
+
fwdText?: string;
|
|
2314
|
+
url: string;
|
|
2315
|
+
buttonId: number;
|
|
2316
|
+
}
|
|
2317
|
+
/**
|
|
2318
|
+
* Compared to the current schema, changes from this entry:
|
|
2319
|
+
*
|
|
2320
|
+
* Added arguments:
|
|
2321
|
+
* flags: #
|
|
2322
|
+
* style: flags.10?KeyboardButtonStyle
|
|
2323
|
+
*/
|
|
2324
|
+
interface RawKeyboardButtonBuy_layer221 {
|
|
2325
|
+
_: 'keyboardButtonBuy_layer221';
|
|
2326
|
+
text: string;
|
|
2327
|
+
}
|
|
2328
|
+
/**
|
|
2329
|
+
* Compared to the current schema, changes from this entry:
|
|
2330
|
+
*
|
|
2331
|
+
* Added arguments:
|
|
2332
|
+
* flags: #
|
|
2333
|
+
* style: flags.10?KeyboardButtonStyle
|
|
2334
|
+
*/
|
|
2335
|
+
interface RawKeyboardButtonGame_layer221 {
|
|
2336
|
+
_: 'keyboardButtonGame_layer221';
|
|
2337
|
+
text: string;
|
|
2338
|
+
}
|
|
2339
|
+
/**
|
|
2340
|
+
* Compared to the current schema, changes from this entry:
|
|
2341
|
+
*
|
|
2342
|
+
* Added arguments:
|
|
2343
|
+
* style: flags.10?KeyboardButtonStyle
|
|
2344
|
+
*/
|
|
2345
|
+
interface RawKeyboardButtonSwitchInline_layer221 {
|
|
2346
|
+
_: 'keyboardButtonSwitchInline_layer221';
|
|
2347
|
+
samePeer?: boolean;
|
|
2348
|
+
text: string;
|
|
2349
|
+
query: string;
|
|
2350
|
+
peerTypes?: tl.TypeInlineQueryPeerType[];
|
|
2351
|
+
}
|
|
2352
|
+
/**
|
|
2353
|
+
* Compared to the current schema, changes from this entry:
|
|
2354
|
+
*
|
|
2355
|
+
* Added arguments:
|
|
2356
|
+
* flags: #
|
|
2357
|
+
* style: flags.10?KeyboardButtonStyle
|
|
2358
|
+
*/
|
|
2359
|
+
interface RawKeyboardButtonRequestGeoLocation_layer221 {
|
|
2360
|
+
_: 'keyboardButtonRequestGeoLocation_layer221';
|
|
2361
|
+
text: string;
|
|
2362
|
+
}
|
|
2363
|
+
/**
|
|
2364
|
+
* Compared to the current schema, changes from this entry:
|
|
2365
|
+
*
|
|
2366
|
+
* Added arguments:
|
|
2367
|
+
* flags: #
|
|
2368
|
+
* style: flags.10?KeyboardButtonStyle
|
|
2369
|
+
*/
|
|
2370
|
+
interface RawKeyboardButtonRequestPhone_layer221 {
|
|
2371
|
+
_: 'keyboardButtonRequestPhone_layer221';
|
|
2372
|
+
text: string;
|
|
2373
|
+
}
|
|
2374
|
+
/**
|
|
2375
|
+
* Compared to the current schema, changes from this entry:
|
|
2376
|
+
*
|
|
2377
|
+
* Added arguments:
|
|
2378
|
+
* style: flags.10?KeyboardButtonStyle
|
|
2379
|
+
*/
|
|
2380
|
+
interface RawKeyboardButtonCallback_layer221 {
|
|
2381
|
+
_: 'keyboardButtonCallback_layer221';
|
|
2382
|
+
requiresPassword?: boolean;
|
|
2383
|
+
text: string;
|
|
2384
|
+
data: Uint8Array;
|
|
2385
|
+
}
|
|
2386
|
+
/**
|
|
2387
|
+
* Compared to the current schema, changes from this entry:
|
|
2388
|
+
*
|
|
2389
|
+
* Added arguments:
|
|
2390
|
+
* flags: #
|
|
2391
|
+
* style: flags.10?KeyboardButtonStyle
|
|
2392
|
+
*/
|
|
2393
|
+
interface RawKeyboardButtonUrl_layer221 {
|
|
2394
|
+
_: 'keyboardButtonUrl_layer221';
|
|
2395
|
+
text: string;
|
|
2396
|
+
url: string;
|
|
2397
|
+
}
|
|
2398
|
+
/**
|
|
2399
|
+
* Compared to the current schema, changes from this entry:
|
|
2400
|
+
*
|
|
2401
|
+
* Added arguments:
|
|
2402
|
+
* flags: #
|
|
2403
|
+
* style: flags.10?KeyboardButtonStyle
|
|
2404
|
+
*/
|
|
2405
|
+
interface RawKeyboardButton_layer221 {
|
|
2406
|
+
_: 'keyboardButton_layer221';
|
|
2407
|
+
text: string;
|
|
2408
|
+
}
|
|
2048
2409
|
interface RpcCallReturn {
|
|
2049
2410
|
}
|
|
2050
|
-
type TypeStarGift = tlCompat.RawStarGiftUnique_layer197 | tlCompat.RawStarGiftUnique_layer198 | tlCompat.RawStarGiftUnique_layer202 | tlCompat.RawStarGift_layer202 | tlCompat.RawStarGiftUnique_layer206 | tlCompat.RawStarGift_layer206 | tlCompat.RawStarGift_layer209 | tlCompat.RawStarGiftUnique_layer210 | tlCompat.RawStarGiftUnique_layer211 | tlCompat.RawStarGift_layer211 | tlCompat.RawStarGiftUnique_layer214 | tlCompat.RawStarGift_layer216 | tlCompat.RawStarGiftUnique_layer218 | tlCompat.RawStarGift_layer218 | tl.TypeStarGift
|
|
2411
|
+
type TypeStarGift = tlCompat.RawStarGiftUnique_layer197 | tlCompat.RawStarGiftUnique_layer198 | tlCompat.RawStarGiftUnique_layer202 | tlCompat.RawStarGift_layer202 | tlCompat.RawStarGiftUnique_layer206 | tlCompat.RawStarGift_layer206 | tlCompat.RawStarGift_layer209 | tlCompat.RawStarGiftUnique_layer210 | tlCompat.RawStarGiftUnique_layer211 | tlCompat.RawStarGift_layer211 | tlCompat.RawStarGiftUnique_layer214 | tlCompat.RawStarGift_layer216 | tlCompat.RawStarGiftUnique_layer218 | tlCompat.RawStarGift_layer218 | tlCompat.RawStarGiftUnique_layer221 | tl.TypeStarGift
|
|
2051
2412
|
type TypeEmojiStatus = tlCompat.RawEmojiStatus_layer197 | tlCompat.RawEmojiStatusUntil_layer214 | tl.TypeEmojiStatus
|
|
2052
2413
|
type TypeMessageMedia = tlCompat.RawMessageMediaDocument_layer197 | tlCompat.RawMessageMediaDice_layer220 | tl.TypeMessageMedia
|
|
2053
2414
|
type TypeChatFull = tlCompat.RawChannelFull_layer197 | tlCompat.RawChannelFull_layer204 | tlCompat.RawChannelFull_layer211 | tl.TypeChatFull
|
|
2054
|
-
type TypeMessageAction = tlCompat.RawMessageActionStarGiftUnique_layer197 | tlCompat.RawMessageActionStarGift_layer197 | tlCompat.RawMessageActionStarGiftUnique_layer202 | tlCompat.RawMessageActionPaidMessagesPrice_layer203 | tlCompat.RawMessageActionStarGiftUnique_layer210 | tlCompat.RawMessageActionStarGift_layer211 | tlCompat.RawMessageActionSetChatTheme_layer211 | tlCompat.RawMessageActionStarGiftUnique_layer214 | tlCompat.RawMessageActionStarGift_layer216 | tlCompat.RawMessageActionGiftCode_layer216 | tlCompat.RawMessageActionGiftPremium_layer216 | tlCompat.RawMessageActionStarGift_layer218 | tl.TypeMessageAction
|
|
2415
|
+
type TypeMessageAction = tlCompat.RawMessageActionStarGiftUnique_layer197 | tlCompat.RawMessageActionStarGift_layer197 | tlCompat.RawMessageActionStarGiftUnique_layer202 | tlCompat.RawMessageActionPaidMessagesPrice_layer203 | tlCompat.RawMessageActionStarGiftUnique_layer210 | tlCompat.RawMessageActionStarGift_layer211 | tlCompat.RawMessageActionSetChatTheme_layer211 | tlCompat.RawMessageActionStarGiftUnique_layer214 | tlCompat.RawMessageActionStarGift_layer216 | tlCompat.RawMessageActionGiftCode_layer216 | tlCompat.RawMessageActionGiftPremium_layer216 | tlCompat.RawMessageActionStarGift_layer218 | tlCompat.RawMessageActionStarGiftUnique_layer221 | tl.TypeMessageAction
|
|
2055
2416
|
type TypeUserFull = tlCompat.RawUserFull_layer199 | tlCompat.RawUserFull_layer200 | tlCompat.RawUserFull_layer209 | tlCompat.RawUserFull_layer210 | tlCompat.RawUserFull_layer211 | tlCompat.RawUserFull_layer214 | tl.TypeUserFull
|
|
2056
2417
|
type TypePremiumGiftOption = tlCompat.RawPremiumGiftOption_layer199
|
|
2057
2418
|
type TypeUser = tlCompat.RawUser_layer199 | tlCompat.RawUser_layer216 | tl.TypeUser
|
|
@@ -2062,6 +2423,8 @@ export declare namespace tlCompat {
|
|
|
2062
2423
|
type TypeStoryItem = tlCompat.RawStoryItem_layer210 | tl.TypeStoryItem
|
|
2063
2424
|
type TypeTodoCompletion = tlCompat.RawTodoCompletion_layer216 | tl.TypeTodoCompletion
|
|
2064
2425
|
type TypeWebPageAttribute = tlCompat.RawWebPageAttributeStarGiftAuction_layer218 | tl.TypeWebPageAttribute
|
|
2426
|
+
type TypeStarGiftAttribute = tlCompat.RawStarGiftAttributeBackdrop_layer221 | tlCompat.RawStarGiftAttributePattern_layer221 | tlCompat.RawStarGiftAttributeModel_layer221 | tl.TypeStarGiftAttribute
|
|
2427
|
+
type TypeKeyboardButton = tlCompat.RawKeyboardButtonCopy_layer221 | tlCompat.RawInputKeyboardButtonRequestPeer_layer221 | tlCompat.RawKeyboardButtonRequestPeer_layer221 | tlCompat.RawKeyboardButtonSimpleWebView_layer221 | tlCompat.RawKeyboardButtonWebView_layer221 | tlCompat.RawKeyboardButtonUserProfile_layer221 | tlCompat.RawInputKeyboardButtonUserProfile_layer221 | tlCompat.RawKeyboardButtonRequestPoll_layer221 | tlCompat.RawInputKeyboardButtonUrlAuth_layer221 | tlCompat.RawKeyboardButtonUrlAuth_layer221 | tlCompat.RawKeyboardButtonBuy_layer221 | tlCompat.RawKeyboardButtonGame_layer221 | tlCompat.RawKeyboardButtonSwitchInline_layer221 | tlCompat.RawKeyboardButtonRequestGeoLocation_layer221 | tlCompat.RawKeyboardButtonRequestPhone_layer221 | tlCompat.RawKeyboardButtonCallback_layer221 | tlCompat.RawKeyboardButtonUrl_layer221 | tlCompat.RawKeyboardButton_layer221 | tl.TypeKeyboardButton
|
|
2065
2428
|
|
|
2066
2429
|
type TlObject =
|
|
2067
2430
|
| tlCompat.RawStarGiftUnique_layer197
|
|
@@ -2119,5 +2482,28 @@ export declare namespace tlCompat {
|
|
|
2119
2482
|
| tlCompat.RawMessageActionStarGift_layer218
|
|
2120
2483
|
| tlCompat.RawMessageMediaDice_layer220
|
|
2121
2484
|
| tlCompat.RawMessage_layer220
|
|
2485
|
+
| tlCompat.RawStarGiftUnique_layer221
|
|
2486
|
+
| tlCompat.RawStarGiftAttributeBackdrop_layer221
|
|
2487
|
+
| tlCompat.RawStarGiftAttributePattern_layer221
|
|
2488
|
+
| tlCompat.RawStarGiftAttributeModel_layer221
|
|
2489
|
+
| tlCompat.RawMessageActionStarGiftUnique_layer221
|
|
2490
|
+
| tlCompat.RawKeyboardButtonCopy_layer221
|
|
2491
|
+
| tlCompat.RawInputKeyboardButtonRequestPeer_layer221
|
|
2492
|
+
| tlCompat.RawKeyboardButtonRequestPeer_layer221
|
|
2493
|
+
| tlCompat.RawKeyboardButtonSimpleWebView_layer221
|
|
2494
|
+
| tlCompat.RawKeyboardButtonWebView_layer221
|
|
2495
|
+
| tlCompat.RawKeyboardButtonUserProfile_layer221
|
|
2496
|
+
| tlCompat.RawInputKeyboardButtonUserProfile_layer221
|
|
2497
|
+
| tlCompat.RawKeyboardButtonRequestPoll_layer221
|
|
2498
|
+
| tlCompat.RawInputKeyboardButtonUrlAuth_layer221
|
|
2499
|
+
| tlCompat.RawKeyboardButtonUrlAuth_layer221
|
|
2500
|
+
| tlCompat.RawKeyboardButtonBuy_layer221
|
|
2501
|
+
| tlCompat.RawKeyboardButtonGame_layer221
|
|
2502
|
+
| tlCompat.RawKeyboardButtonSwitchInline_layer221
|
|
2503
|
+
| tlCompat.RawKeyboardButtonRequestGeoLocation_layer221
|
|
2504
|
+
| tlCompat.RawKeyboardButtonRequestPhone_layer221
|
|
2505
|
+
| tlCompat.RawKeyboardButtonCallback_layer221
|
|
2506
|
+
| tlCompat.RawKeyboardButtonUrl_layer221
|
|
2507
|
+
| tlCompat.RawKeyboardButton_layer221
|
|
2122
2508
|
| tl.TlObject
|
|
2123
2509
|
}
|
package/compat/reader.js
CHANGED
|
@@ -57,5 +57,28 @@ var m={
|
|
|
57
57
|
3680068944:function(r){var flags=r.uint();return{_:'messageActionStarGift_layer218',nameHidden:!!(flags&1),saved:!!(flags&4),converted:!!(flags&8),upgraded:!!(flags&32),refunded:!!(flags&512),canUpgrade:!!(flags&1024),prepaidUpgrade:!!(flags&8192),upgradeSeparate:!!(flags&65536),auctionAcquired:!!(flags&131072),gift:r.object(),message:flags&2?r.object():void 0,convertStars:flags&16?r.long():void 0,upgradeMsgId:flags&32?r.int():void 0,upgradeStars:flags&256?r.long():void 0,fromId:flags&2048?r.object():void 0,peer:flags&4096?r.object():void 0,savedId:flags&4096?r.long():void 0,prepaidUpgradeHash:flags&16384?r.string():void 0,giftMsgId:flags&32768?r.int():void 0,toId:flags&262144?r.object():void 0,}},
|
|
58
58
|
1065280907:function(r){return{_:'messageMediaDice_layer220',value:r.int(),emoticon:r.string(),}},
|
|
59
59
|
3106895567:function(r){var flags=r.uint(),flags2=r.uint();return{_:'message_layer220',out:!!(flags&2),mentioned:!!(flags&16),mediaUnread:!!(flags&32),silent:!!(flags&8192),post:!!(flags&16384),fromScheduled:!!(flags&262144),legacy:!!(flags&524288),editHide:!!(flags&2097152),pinned:!!(flags&16777216),noforwards:!!(flags&67108864),invertMedia:!!(flags&134217728),offline:!!(flags2&2),videoProcessingPending:!!(flags2&16),paidSuggestedPostStars:!!(flags2&256),paidSuggestedPostTon:!!(flags2&512),id:r.int(),fromId:flags&256?r.object():void 0,fromBoostsApplied:flags&536870912?r.int():void 0,peerId:r.object(),savedPeerId:flags&268435456?r.object():void 0,fwdFrom:flags&4?r.object():void 0,viaBotId:flags&2048?r.int53():void 0,viaBusinessBotId:flags2&1?r.int53():void 0,replyTo:flags&8?r.object():void 0,date:r.int(),message:r.string(),media:flags&512?r.object():void 0,replyMarkup:flags&64?r.object():void 0,entities:flags&128?r.vector(r.object):void 0,views:flags&1024?r.int():void 0,forwards:flags&1024?r.int():void 0,replies:flags&8388608?r.object():void 0,editDate:flags&32768?r.int():void 0,postAuthor:flags&65536?r.string():void 0,groupedId:flags&131072?r.long():void 0,reactions:flags&1048576?r.object():void 0,restrictionReason:flags&4194304?r.vector(r.object):void 0,ttlPeriod:flags&33554432?r.int():void 0,quickReplyShortcutId:flags&1073741824?r.int():void 0,effect:flags2&4?r.long():void 0,factcheck:flags2&8?r.object():void 0,reportDeliveryUntilDate:flags2&32?r.int():void 0,paidMessageStars:flags2&64?r.long():void 0,suggestedPost:flags2&128?r.object():void 0,scheduleRepeatPeriod:flags2&1024?r.int():void 0,}},
|
|
60
|
+
1453155529:function(r){var flags=r.uint();return{_:'starGiftUnique_layer221',requirePremium:!!(flags&64),resaleTonOnly:!!(flags&128),themeAvailable:!!(flags&512),id:r.long(),giftId:r.long(),title:r.string(),slug:r.string(),num:r.int(),ownerId:flags&1?r.object():void 0,ownerName:flags&2?r.string():void 0,ownerAddress:flags&4?r.string():void 0,attributes:r.vector(r.object),availabilityIssued:r.int(),availabilityTotal:r.int(),giftAddress:flags&8?r.string():void 0,resellAmount:flags&16?r.vector(r.object):void 0,releasedBy:flags&32?r.object():void 0,valueAmount:flags&256?r.long():void 0,valueCurrency:flags&256?r.string():void 0,valueUsdAmount:flags&256?r.long():void 0,themePeer:flags&1024?r.object():void 0,peerColor:flags&2048?r.object():void 0,hostId:flags&4096?r.object():void 0,offerMinStars:flags&8192?r.int():void 0,}},
|
|
61
|
+
3644687772:function(r){return{_:'starGiftAttributeBackdrop_layer221',name:r.string(),backdropId:r.int(),centerColor:r.int(),edgeColor:r.int(),patternColor:r.int(),textColor:r.int(),rarityPermille:r.int(),}},
|
|
62
|
+
330104601:function(r){return{_:'starGiftAttributePattern_layer221',name:r.string(),document:r.object(),rarityPermille:r.int(),}},
|
|
63
|
+
970559507:function(r){return{_:'starGiftAttributeModel_layer221',name:r.string(),document:r.object(),rarityPermille:r.int(),}},
|
|
64
|
+
2507310403:function(r){var flags=r.uint();return{_:'messageActionStarGiftUnique_layer221',upgrade:!!(flags&1),transferred:!!(flags&2),saved:!!(flags&4),refunded:!!(flags&32),prepaidUpgrade:!!(flags&2048),assigned:!!(flags&8192),fromOffer:!!(flags&16384),gift:r.object(),canExportAt:flags&8?r.int():void 0,transferStars:flags&16?r.long():void 0,fromId:flags&64?r.object():void 0,peer:flags&128?r.object():void 0,savedId:flags&128?r.long():void 0,resaleAmount:flags&256?r.object():void 0,canTransferAt:flags&512?r.int():void 0,canResellAt:flags&1024?r.int():void 0,dropOriginalDetailsStars:flags&4096?r.long():void 0,}},
|
|
65
|
+
1976723854:function(r){return{_:'keyboardButtonCopy_layer221',text:r.string(),copyText:r.string(),}},
|
|
66
|
+
3378916613:function(r){var flags=r.uint();return{_:'inputKeyboardButtonRequestPeer_layer221',nameRequested:!!(flags&1),usernameRequested:!!(flags&2),photoRequested:!!(flags&4),text:r.string(),buttonId:r.int(),peerType:r.object(),maxQuantity:r.int(),}},
|
|
67
|
+
1406648280:function(r){return{_:'keyboardButtonRequestPeer_layer221',text:r.string(),buttonId:r.int(),peerType:r.object(),maxQuantity:r.int(),}},
|
|
68
|
+
2696958044:function(r){return{_:'keyboardButtonSimpleWebView_layer221',text:r.string(),url:r.string(),}},
|
|
69
|
+
326529584:function(r){return{_:'keyboardButtonWebView_layer221',text:r.string(),url:r.string(),}},
|
|
70
|
+
814112961:function(r){return{_:'keyboardButtonUserProfile_layer221',text:r.string(),userId:r.int53(),}},
|
|
71
|
+
3918005115:function(r){return{_:'inputKeyboardButtonUserProfile_layer221',text:r.string(),userId:r.object(),}},
|
|
72
|
+
3150401885:function(r){var flags=r.uint();return{_:'keyboardButtonRequestPoll_layer221',quiz:flags&1?r.boolean():void 0,text:r.string(),}},
|
|
73
|
+
3492708308:function(r){var flags=r.uint();return{_:'inputKeyboardButtonUrlAuth_layer221',requestWriteAccess:!!(flags&1),text:r.string(),fwdText:flags&2?r.string():void 0,url:r.string(),bot:r.object(),}},
|
|
74
|
+
280464681:function(r){var flags=r.uint();return{_:'keyboardButtonUrlAuth_layer221',text:r.string(),fwdText:flags&1?r.string():void 0,url:r.string(),buttonId:r.int(),}},
|
|
75
|
+
2950250427:function(r){return{_:'keyboardButtonBuy_layer221',text:r.string(),}},
|
|
76
|
+
1358175439:function(r){return{_:'keyboardButtonGame_layer221',text:r.string(),}},
|
|
77
|
+
2478439349:function(r){var flags=r.uint();return{_:'keyboardButtonSwitchInline_layer221',samePeer:!!(flags&1),text:r.string(),query:r.string(),peerTypes:flags&2?r.vector(r.object):void 0,}},
|
|
78
|
+
4235815743:function(r){return{_:'keyboardButtonRequestGeoLocation_layer221',text:r.string(),}},
|
|
79
|
+
2976541737:function(r){return{_:'keyboardButtonRequestPhone_layer221',text:r.string(),}},
|
|
80
|
+
901503851:function(r){var flags=r.uint();return{_:'keyboardButtonCallback_layer221',requiresPassword:!!(flags&1),text:r.string(),data:r.bytes(),}},
|
|
81
|
+
629866245:function(r){return{_:'keyboardButtonUrl_layer221',text:r.string(),url:r.string(),}},
|
|
82
|
+
2734311552:function(r){return{_:'keyboardButton_layer221',text:r.string(),}},
|
|
60
83
|
}
|
|
61
84
|
exports.__tlReaderMapCompat = m;
|