@mtcute/tl 216.0.0 → 218.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 +54 -34
- package/binary/writer.js +101 -72
- package/compat/index.d.ts +29 -5
- package/index.d.ts +12661 -8787
- package/index.js +38 -31
- package/package.json +1 -1
package/compat/index.d.ts
CHANGED
|
@@ -181,11 +181,13 @@ export declare namespace tlCompat {
|
|
|
181
181
|
* Added arguments:
|
|
182
182
|
* prepaid_upgrade: flags.13?true
|
|
183
183
|
* upgrade_separate: flags.16?true
|
|
184
|
+
* auction_acquired: flags.17?true
|
|
184
185
|
* from_id: flags.11?Peer
|
|
185
186
|
* peer: flags.12?Peer
|
|
186
187
|
* saved_id: flags.12?long
|
|
187
188
|
* prepaid_upgrade_hash: flags.14?string
|
|
188
189
|
* gift_msg_id: flags.15?int
|
|
190
|
+
* to_id: flags.18?Peer
|
|
189
191
|
*/
|
|
190
192
|
interface RawMessageActionStarGift_layer197 {
|
|
191
193
|
_: 'messageActionStarGift_layer197';
|
|
@@ -311,8 +313,10 @@ export declare namespace tlCompat {
|
|
|
311
313
|
* Compared to the current schema, changes from this entry:
|
|
312
314
|
*
|
|
313
315
|
* Added arguments:
|
|
314
|
-
* send_paid_messages_stars: flags2.15?long
|
|
315
316
|
* bot_forum_view: flags2.16?true
|
|
317
|
+
* send_paid_messages_stars: flags2.15?long
|
|
318
|
+
* Changed arguments:
|
|
319
|
+
* stories_max_id: flags2.5?int => flags2.5?RecentStory
|
|
316
320
|
*/
|
|
317
321
|
interface RawUser_layer199 {
|
|
318
322
|
_: 'user_layer199';
|
|
@@ -371,6 +375,8 @@ export declare namespace tlCompat {
|
|
|
371
375
|
* forum_tabs: flags2.19?true
|
|
372
376
|
* send_paid_messages_stars: flags2.14?long
|
|
373
377
|
* linked_monoforum_id: flags2.18?int53
|
|
378
|
+
* Changed arguments:
|
|
379
|
+
* stories_max_id: flags2.4?int => flags2.4?RecentStory
|
|
374
380
|
*/
|
|
375
381
|
interface RawChannel_layer199 {
|
|
376
382
|
_: 'channel_layer199';
|
|
@@ -426,6 +432,7 @@ export declare namespace tlCompat {
|
|
|
426
432
|
* paid_suggested_post_ton: flags2.9?true
|
|
427
433
|
* paid_message_stars: flags2.6?long
|
|
428
434
|
* suggested_post: flags2.7?SuggestedPost
|
|
435
|
+
* schedule_repeat_period: flags2.10?int
|
|
429
436
|
*/
|
|
430
437
|
interface RawMessage_layer199 {
|
|
431
438
|
_: 'message_layer199';
|
|
@@ -570,6 +577,8 @@ export declare namespace tlCompat {
|
|
|
570
577
|
* Added arguments:
|
|
571
578
|
* require_premium: flags.7?true
|
|
572
579
|
* limited_per_user: flags.8?true
|
|
580
|
+
* peer_color_available: flags.10?true
|
|
581
|
+
* auction: flags.11?true
|
|
573
582
|
* availability_resale: flags.4?long
|
|
574
583
|
* resell_min_stars: flags.4?long
|
|
575
584
|
* title: flags.5?string
|
|
@@ -577,7 +586,8 @@ export declare namespace tlCompat {
|
|
|
577
586
|
* per_user_total: flags.8?int
|
|
578
587
|
* per_user_remains: flags.8?int
|
|
579
588
|
* locked_until_date: flags.9?int
|
|
580
|
-
*
|
|
589
|
+
* auction_slug: flags.11?string
|
|
590
|
+
* gifts_per_round: flags.11?int
|
|
581
591
|
*/
|
|
582
592
|
interface RawStarGift_layer202 {
|
|
583
593
|
_: 'starGift_layer202';
|
|
@@ -633,6 +643,8 @@ export declare namespace tlCompat {
|
|
|
633
643
|
* monoforum: flags2.17?true
|
|
634
644
|
* forum_tabs: flags2.19?true
|
|
635
645
|
* linked_monoforum_id: flags2.18?int53
|
|
646
|
+
* Changed arguments:
|
|
647
|
+
* stories_max_id: flags2.4?int => flags2.4?RecentStory
|
|
636
648
|
*/
|
|
637
649
|
interface RawChannel_layer203 {
|
|
638
650
|
_: 'channel_layer203';
|
|
@@ -798,6 +810,7 @@ export declare namespace tlCompat {
|
|
|
798
810
|
* paid_suggested_post_stars: flags2.8?true
|
|
799
811
|
* paid_suggested_post_ton: flags2.9?true
|
|
800
812
|
* suggested_post: flags2.7?SuggestedPost
|
|
813
|
+
* schedule_repeat_period: flags2.10?int
|
|
801
814
|
*/
|
|
802
815
|
interface RawMessage_layer204 {
|
|
803
816
|
_: 'message_layer204';
|
|
@@ -881,11 +894,14 @@ export declare namespace tlCompat {
|
|
|
881
894
|
* Added arguments:
|
|
882
895
|
* require_premium: flags.7?true
|
|
883
896
|
* limited_per_user: flags.8?true
|
|
897
|
+
* peer_color_available: flags.10?true
|
|
898
|
+
* auction: flags.11?true
|
|
884
899
|
* released_by: flags.6?Peer
|
|
885
900
|
* per_user_total: flags.8?int
|
|
886
901
|
* per_user_remains: flags.8?int
|
|
887
902
|
* locked_until_date: flags.9?int
|
|
888
|
-
*
|
|
903
|
+
* auction_slug: flags.11?string
|
|
904
|
+
* gifts_per_round: flags.11?int
|
|
889
905
|
*/
|
|
890
906
|
interface RawStarGift_layer206 {
|
|
891
907
|
_: 'starGift_layer206';
|
|
@@ -995,10 +1011,13 @@ export declare namespace tlCompat {
|
|
|
995
1011
|
* Added arguments:
|
|
996
1012
|
* require_premium: flags.7?true
|
|
997
1013
|
* limited_per_user: flags.8?true
|
|
1014
|
+
* peer_color_available: flags.10?true
|
|
1015
|
+
* auction: flags.11?true
|
|
998
1016
|
* per_user_total: flags.8?int
|
|
999
1017
|
* per_user_remains: flags.8?int
|
|
1000
1018
|
* locked_until_date: flags.9?int
|
|
1001
|
-
*
|
|
1019
|
+
* auction_slug: flags.11?string
|
|
1020
|
+
* gifts_per_round: flags.11?int
|
|
1002
1021
|
*/
|
|
1003
1022
|
interface RawStarGift_layer209 {
|
|
1004
1023
|
_: 'starGift_layer209';
|
|
@@ -1343,8 +1362,11 @@ export declare namespace tlCompat {
|
|
|
1343
1362
|
* Compared to the current schema, changes from this entry:
|
|
1344
1363
|
*
|
|
1345
1364
|
* Added arguments:
|
|
1346
|
-
* locked_until_date: flags.9?int
|
|
1347
1365
|
* peer_color_available: flags.10?true
|
|
1366
|
+
* auction: flags.11?true
|
|
1367
|
+
* locked_until_date: flags.9?int
|
|
1368
|
+
* auction_slug: flags.11?string
|
|
1369
|
+
* gifts_per_round: flags.11?int
|
|
1348
1370
|
*/
|
|
1349
1371
|
interface RawStarGift_layer211 {
|
|
1350
1372
|
_: 'starGift_layer211';
|
|
@@ -1375,8 +1397,10 @@ export declare namespace tlCompat {
|
|
|
1375
1397
|
* Added arguments:
|
|
1376
1398
|
* prepaid_upgrade: flags.13?true
|
|
1377
1399
|
* upgrade_separate: flags.16?true
|
|
1400
|
+
* auction_acquired: flags.17?true
|
|
1378
1401
|
* prepaid_upgrade_hash: flags.14?string
|
|
1379
1402
|
* gift_msg_id: flags.15?int
|
|
1403
|
+
* to_id: flags.18?Peer
|
|
1380
1404
|
*/
|
|
1381
1405
|
interface RawMessageActionStarGift_layer211 {
|
|
1382
1406
|
_: 'messageActionStarGift_layer211';
|