@mtcute/tl 220.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/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: tl.TypeStarGiftAttribute[];
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: tl.TypeStarGiftAttribute[];
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
@@ -439,6 +448,7 @@ export declare namespace tlCompat {
439
448
  * paid_message_stars: flags2.6?long
440
449
  * suggested_post: flags2.7?SuggestedPost
441
450
  * schedule_repeat_period: flags2.10?int
451
+ * summary_from_language: flags2.11?string
442
452
  */
443
453
  interface RawMessage_layer199 {
444
454
  _: 'message_layer199';
@@ -554,6 +564,8 @@ export declare namespace tlCompat {
554
564
  * require_premium: flags.6?true
555
565
  * resale_ton_only: flags.7?true
556
566
  * theme_available: flags.9?true
567
+ * burned: flags.14?true
568
+ * crafted: flags.15?true
557
569
  * gift_id: long
558
570
  * resell_amount: flags.4?Vector<StarsAmount>
559
571
  * released_by: flags.5?Peer
@@ -564,6 +576,7 @@ export declare namespace tlCompat {
564
576
  * peer_color: flags.11?PeerColor
565
577
  * host_id: flags.12?Peer
566
578
  * offer_min_stars: flags.13?int
579
+ * craft_chance_permille: flags.16?int
567
580
  */
568
581
  interface RawStarGiftUnique_layer202 {
569
582
  _: 'starGiftUnique_layer202';
@@ -574,7 +587,7 @@ export declare namespace tlCompat {
574
587
  ownerId?: tl.TypePeer;
575
588
  ownerName?: string;
576
589
  ownerAddress?: string;
577
- attributes: tl.TypeStarGiftAttribute[];
590
+ attributes: tlCompat.TypeStarGiftAttribute[];
578
591
  availabilityIssued: number;
579
592
  availabilityTotal: number;
580
593
  giftAddress?: string;
@@ -622,10 +635,12 @@ export declare namespace tlCompat {
622
635
  * prepaid_upgrade: flags.11?true
623
636
  * assigned: flags.13?true
624
637
  * from_offer: flags.14?true
638
+ * craft: flags.16?true
625
639
  * resale_amount: flags.8?StarsAmount
626
640
  * can_transfer_at: flags.9?int
627
641
  * can_resell_at: flags.10?int
628
642
  * drop_original_details_stars: flags.12?long
643
+ * can_craft_at: flags.15?int
629
644
  */
630
645
  interface RawMessageActionStarGiftUnique_layer202 {
631
646
  _: 'messageActionStarGiftUnique_layer202';
@@ -823,6 +838,7 @@ export declare namespace tlCompat {
823
838
  * paid_suggested_post_ton: flags2.9?true
824
839
  * suggested_post: flags2.7?SuggestedPost
825
840
  * schedule_repeat_period: flags2.10?int
841
+ * summary_from_language: flags2.11?string
826
842
  */
827
843
  interface RawMessage_layer204 {
828
844
  _: 'message_layer204';
@@ -875,6 +891,8 @@ export declare namespace tlCompat {
875
891
  * require_premium: flags.6?true
876
892
  * resale_ton_only: flags.7?true
877
893
  * theme_available: flags.9?true
894
+ * burned: flags.14?true
895
+ * crafted: flags.15?true
878
896
  * gift_id: long
879
897
  * resell_amount: flags.4?Vector<StarsAmount>
880
898
  * released_by: flags.5?Peer
@@ -885,6 +903,7 @@ export declare namespace tlCompat {
885
903
  * peer_color: flags.11?PeerColor
886
904
  * host_id: flags.12?Peer
887
905
  * offer_min_stars: flags.13?int
906
+ * craft_chance_permille: flags.16?int
888
907
  * Removed arguments: resell_stars
889
908
  */
890
909
  interface RawStarGiftUnique_layer206 {
@@ -896,7 +915,7 @@ export declare namespace tlCompat {
896
915
  ownerId?: tl.TypePeer;
897
916
  ownerName?: string;
898
917
  ownerAddress?: string;
899
- attributes: tl.TypeStarGiftAttribute[];
918
+ attributes: tlCompat.TypeStarGiftAttribute[];
900
919
  availabilityIssued: number;
901
920
  availabilityTotal: number;
902
921
  giftAddress?: string;
@@ -1159,8 +1178,10 @@ export declare namespace tlCompat {
1159
1178
  * prepaid_upgrade: flags.11?true
1160
1179
  * assigned: flags.13?true
1161
1180
  * from_offer: flags.14?true
1181
+ * craft: flags.16?true
1162
1182
  * resale_amount: flags.8?StarsAmount
1163
1183
  * drop_original_details_stars: flags.12?long
1184
+ * can_craft_at: flags.15?int
1164
1185
  * Removed arguments: resale_stars
1165
1186
  */
1166
1187
  interface RawMessageActionStarGiftUnique_layer210 {
@@ -1185,6 +1206,8 @@ export declare namespace tlCompat {
1185
1206
  * Added arguments:
1186
1207
  * resale_ton_only: flags.7?true
1187
1208
  * theme_available: flags.9?true
1209
+ * burned: flags.14?true
1210
+ * crafted: flags.15?true
1188
1211
  * gift_id: long
1189
1212
  * resell_amount: flags.4?Vector<StarsAmount>
1190
1213
  * value_amount: flags.8?long
@@ -1194,6 +1217,7 @@ export declare namespace tlCompat {
1194
1217
  * peer_color: flags.11?PeerColor
1195
1218
  * host_id: flags.12?Peer
1196
1219
  * offer_min_stars: flags.13?int
1220
+ * craft_chance_permille: flags.16?int
1197
1221
  * Removed arguments: resell_stars
1198
1222
  */
1199
1223
  interface RawStarGiftUnique_layer210 {
@@ -1206,7 +1230,7 @@ export declare namespace tlCompat {
1206
1230
  ownerId?: tl.TypePeer;
1207
1231
  ownerName?: string;
1208
1232
  ownerAddress?: string;
1209
- attributes: tl.TypeStarGiftAttribute[];
1233
+ attributes: tlCompat.TypeStarGiftAttribute[];
1210
1234
  availabilityIssued: number;
1211
1235
  availabilityTotal: number;
1212
1236
  giftAddress?: string;
@@ -1356,6 +1380,8 @@ export declare namespace tlCompat {
1356
1380
  *
1357
1381
  * Added arguments:
1358
1382
  * theme_available: flags.9?true
1383
+ * burned: flags.14?true
1384
+ * crafted: flags.15?true
1359
1385
  * gift_id: long
1360
1386
  * value_amount: flags.8?long
1361
1387
  * value_currency: flags.8?string
@@ -1364,6 +1390,7 @@ export declare namespace tlCompat {
1364
1390
  * peer_color: flags.11?PeerColor
1365
1391
  * host_id: flags.12?Peer
1366
1392
  * offer_min_stars: flags.13?int
1393
+ * craft_chance_permille: flags.16?int
1367
1394
  */
1368
1395
  interface RawStarGiftUnique_layer211 {
1369
1396
  _: 'starGiftUnique_layer211';
@@ -1376,7 +1403,7 @@ export declare namespace tlCompat {
1376
1403
  ownerId?: tl.TypePeer;
1377
1404
  ownerName?: string;
1378
1405
  ownerAddress?: string;
1379
- attributes: tl.TypeStarGiftAttribute[];
1406
+ attributes: tlCompat.TypeStarGiftAttribute[];
1380
1407
  availabilityIssued: number;
1381
1408
  availabilityTotal: number;
1382
1409
  giftAddress?: string;
@@ -1533,10 +1560,13 @@ export declare namespace tlCompat {
1533
1560
  * Compared to the current schema, changes from this entry:
1534
1561
  *
1535
1562
  * Added arguments:
1563
+ * burned: flags.14?true
1564
+ * crafted: flags.15?true
1536
1565
  * value_usd_amount: flags.8?long
1537
1566
  * peer_color: flags.11?PeerColor
1538
1567
  * host_id: flags.12?Peer
1539
1568
  * offer_min_stars: flags.13?int
1569
+ * craft_chance_permille: flags.16?int
1540
1570
  */
1541
1571
  interface RawStarGiftUnique_layer214 {
1542
1572
  _: 'starGiftUnique_layer214';
@@ -1551,7 +1581,7 @@ export declare namespace tlCompat {
1551
1581
  ownerId?: tl.TypePeer;
1552
1582
  ownerName?: string;
1553
1583
  ownerAddress?: string;
1554
- attributes: tl.TypeStarGiftAttribute[];
1584
+ attributes: tlCompat.TypeStarGiftAttribute[];
1555
1585
  availabilityIssued: number;
1556
1586
  availabilityTotal: number;
1557
1587
  giftAddress?: string;
@@ -1567,7 +1597,9 @@ export declare namespace tlCompat {
1567
1597
  * Added arguments:
1568
1598
  * assigned: flags.13?true
1569
1599
  * from_offer: flags.14?true
1600
+ * craft: flags.16?true
1570
1601
  * drop_original_details_stars: flags.12?long
1602
+ * can_craft_at: flags.15?int
1571
1603
  */
1572
1604
  interface RawMessageActionStarGiftUnique_layer214 {
1573
1605
  _: 'messageActionStarGiftUnique_layer214';
@@ -1695,6 +1727,8 @@ export declare namespace tlCompat {
1695
1727
  /**
1696
1728
  * Compared to the current schema, changes from this entry:
1697
1729
  *
1730
+ * Added arguments:
1731
+ * bot_forum_can_manage_topics: flags2.17?true
1698
1732
  * Changed arguments:
1699
1733
  * stories_max_id: flags2.5?int => flags2.5?RecentStory
1700
1734
  */
@@ -1817,6 +1851,7 @@ export declare namespace tlCompat {
1817
1851
  *
1818
1852
  * Added arguments:
1819
1853
  * schedule_repeat_period: flags2.10?int
1854
+ * summary_from_language: flags2.11?string
1820
1855
  */
1821
1856
  interface RawMessage_layer216 {
1822
1857
  _: 'message_layer216';
@@ -1882,8 +1917,11 @@ export declare namespace tlCompat {
1882
1917
  * Compared to the current schema, changes from this entry:
1883
1918
  *
1884
1919
  * Added arguments:
1920
+ * burned: flags.14?true
1921
+ * crafted: flags.15?true
1885
1922
  * value_usd_amount: flags.8?long
1886
1923
  * offer_min_stars: flags.13?int
1924
+ * craft_chance_permille: flags.16?int
1887
1925
  */
1888
1926
  interface RawStarGiftUnique_layer218 {
1889
1927
  _: 'starGiftUnique_layer218';
@@ -1898,7 +1936,7 @@ export declare namespace tlCompat {
1898
1936
  ownerId?: tl.TypePeer;
1899
1937
  ownerName?: string;
1900
1938
  ownerAddress?: string;
1901
- attributes: tl.TypeStarGiftAttribute[];
1939
+ attributes: tlCompat.TypeStarGiftAttribute[];
1902
1940
  availabilityIssued: number;
1903
1941
  availabilityTotal: number;
1904
1942
  giftAddress?: string;
@@ -1975,23 +2013,418 @@ export declare namespace tlCompat {
1975
2013
  giftMsgId?: number;
1976
2014
  toId?: tl.TypePeer;
1977
2015
  }
2016
+ /**
2017
+ * Compared to the current schema, changes from this entry:
2018
+ *
2019
+ * Added arguments:
2020
+ * flags: #
2021
+ * game_outcome: flags.0?messages.EmojiGameOutcome
2022
+ */
2023
+ interface RawMessageMediaDice_layer220 {
2024
+ _: 'messageMediaDice_layer220';
2025
+ value: number;
2026
+ emoticon: string;
2027
+ }
2028
+ /**
2029
+ * Compared to the current schema, changes from this entry:
2030
+ *
2031
+ * Added arguments:
2032
+ * summary_from_language: flags2.11?string
2033
+ */
2034
+ interface RawMessage_layer220 {
2035
+ _: 'message_layer220';
2036
+ out?: boolean;
2037
+ mentioned?: boolean;
2038
+ mediaUnread?: boolean;
2039
+ silent?: boolean;
2040
+ post?: boolean;
2041
+ fromScheduled?: boolean;
2042
+ legacy?: boolean;
2043
+ editHide?: boolean;
2044
+ pinned?: boolean;
2045
+ noforwards?: boolean;
2046
+ invertMedia?: boolean;
2047
+ offline?: boolean;
2048
+ videoProcessingPending?: boolean;
2049
+ paidSuggestedPostStars?: boolean;
2050
+ paidSuggestedPostTon?: boolean;
2051
+ id: number;
2052
+ fromId?: tl.TypePeer;
2053
+ fromBoostsApplied?: number;
2054
+ peerId: tl.TypePeer;
2055
+ savedPeerId?: tl.TypePeer;
2056
+ fwdFrom?: tl.TypeMessageFwdHeader;
2057
+ viaBotId?: number;
2058
+ viaBusinessBotId?: number;
2059
+ replyTo?: tlCompat.TypeMessageReplyHeader;
2060
+ date: number;
2061
+ message: string;
2062
+ media?: tlCompat.TypeMessageMedia;
2063
+ replyMarkup?: tl.TypeReplyMarkup;
2064
+ entities?: tl.TypeMessageEntity[];
2065
+ views?: number;
2066
+ forwards?: number;
2067
+ replies?: tl.TypeMessageReplies;
2068
+ editDate?: number;
2069
+ postAuthor?: string;
2070
+ groupedId?: Long;
2071
+ reactions?: tl.TypeMessageReactions;
2072
+ restrictionReason?: tl.TypeRestrictionReason[];
2073
+ ttlPeriod?: number;
2074
+ quickReplyShortcutId?: number;
2075
+ effect?: Long;
2076
+ factcheck?: tl.TypeFactCheck;
2077
+ reportDeliveryUntilDate?: number;
2078
+ paidMessageStars?: Long;
2079
+ suggestedPost?: tl.TypeSuggestedPost;
2080
+ scheduleRepeatPeriod?: number;
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
+ }
1978
2409
  interface RpcCallReturn {
1979
2410
  }
1980
- 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
1981
2412
  type TypeEmojiStatus = tlCompat.RawEmojiStatus_layer197 | tlCompat.RawEmojiStatusUntil_layer214 | tl.TypeEmojiStatus
1982
- type TypeMessageMedia = tlCompat.RawMessageMediaDocument_layer197 | tl.TypeMessageMedia
2413
+ type TypeMessageMedia = tlCompat.RawMessageMediaDocument_layer197 | tlCompat.RawMessageMediaDice_layer220 | tl.TypeMessageMedia
1983
2414
  type TypeChatFull = tlCompat.RawChannelFull_layer197 | tlCompat.RawChannelFull_layer204 | tlCompat.RawChannelFull_layer211 | tl.TypeChatFull
1984
- 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
1985
2416
  type TypeUserFull = tlCompat.RawUserFull_layer199 | tlCompat.RawUserFull_layer200 | tlCompat.RawUserFull_layer209 | tlCompat.RawUserFull_layer210 | tlCompat.RawUserFull_layer211 | tlCompat.RawUserFull_layer214 | tl.TypeUserFull
1986
2417
  type TypePremiumGiftOption = tlCompat.RawPremiumGiftOption_layer199
1987
2418
  type TypeUser = tlCompat.RawUser_layer199 | tlCompat.RawUser_layer216 | tl.TypeUser
1988
2419
  type TypeChat = tlCompat.RawChannel_layer199 | tlCompat.RawChannel_layer203 | tlCompat.RawChannel_layer216 | tl.TypeChat
1989
- type TypeMessage = tlCompat.RawMessage_layer199 | tlCompat.RawMessageService_layer204 | tlCompat.RawMessage_layer204 | tlCompat.RawMessage_layer216 | tl.TypeMessage
2420
+ type TypeMessage = tlCompat.RawMessage_layer199 | tlCompat.RawMessageService_layer204 | tlCompat.RawMessage_layer204 | tlCompat.RawMessage_layer216 | tlCompat.RawMessage_layer220 | tl.TypeMessage
1990
2421
  type TypePhoneCallDiscardReason = tlCompat.RawPhoneCallDiscardReasonAllowGroupCall_layer202 | tl.TypePhoneCallDiscardReason
1991
2422
  type TypeMessageReplyHeader = tlCompat.RawMessageReplyHeader_layer206 | tl.TypeMessageReplyHeader
1992
2423
  type TypeStoryItem = tlCompat.RawStoryItem_layer210 | tl.TypeStoryItem
1993
2424
  type TypeTodoCompletion = tlCompat.RawTodoCompletion_layer216 | tl.TypeTodoCompletion
1994
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
1995
2428
 
1996
2429
  type TlObject =
1997
2430
  | tlCompat.RawStarGiftUnique_layer197
@@ -2047,5 +2480,30 @@ export declare namespace tlCompat {
2047
2480
  | tlCompat.RawStarGiftUnique_layer218
2048
2481
  | tlCompat.RawStarGift_layer218
2049
2482
  | tlCompat.RawMessageActionStarGift_layer218
2483
+ | tlCompat.RawMessageMediaDice_layer220
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
2050
2508
  | tl.TlObject
2051
2509
  }