@mtcute/tl 214.0.0 → 216.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
@@ -16,7 +16,6 @@ export declare namespace tlCompat {
16
16
  type Mutable<T> = {
17
17
  -readonly [P in keyof T]: T[P]
18
18
  }
19
- type AnyToNever<T> = any extends T ? never : T;
20
19
  /**
21
20
  * Compared to the current schema, changes from this entry:
22
21
  *
@@ -32,6 +31,8 @@ export declare namespace tlCompat {
32
31
  * value_amount: flags.8?long
33
32
  * value_currency: flags.8?string
34
33
  * theme_peer: flags.10?Peer
34
+ * peer_color: flags.11?PeerColor
35
+ * host_id: flags.12?Peer
35
36
  * Changed arguments:
36
37
  * owner_id: flags.0?int53 => flags.0?Peer
37
38
  */
@@ -155,12 +156,14 @@ export declare namespace tlCompat {
155
156
  *
156
157
  * Added arguments:
157
158
  * prepaid_upgrade: flags.11?true
159
+ * assigned: flags.13?true
158
160
  * from_id: flags.6?Peer
159
161
  * peer: flags.7?Peer
160
162
  * saved_id: flags.7?long
161
163
  * resale_amount: flags.8?StarsAmount
162
164
  * can_transfer_at: flags.9?int
163
165
  * can_resell_at: flags.10?int
166
+ * drop_original_details_stars: flags.12?long
164
167
  */
165
168
  interface RawMessageActionStarGiftUnique_layer197 {
166
169
  _: 'messageActionStarGiftUnique_layer197';
@@ -212,6 +215,8 @@ export declare namespace tlCompat {
212
215
  * value_amount: flags.8?long
213
216
  * value_currency: flags.8?string
214
217
  * theme_peer: flags.10?Peer
218
+ * peer_color: flags.11?PeerColor
219
+ * host_id: flags.12?Peer
215
220
  */
216
221
  interface RawStarGiftUnique_layer198 {
217
222
  _: 'starGiftUnique_layer198';
@@ -239,6 +244,7 @@ export declare namespace tlCompat {
239
244
  * stars_my_pending_rating_date: flags2.18?int
240
245
  * main_tab: flags2.20?ProfileTab
241
246
  * saved_music: flags2.21?Document
247
+ * note: flags2.22?TextWithEntities
242
248
  * Removed arguments: theme_emoticon, premium_gifts
243
249
  */
244
250
  interface RawUserFull_layer199 {
@@ -275,7 +281,7 @@ export declare namespace tlCompat {
275
281
  privateForwardName?: string;
276
282
  botGroupAdminRights?: tl.TypeChatAdminRights;
277
283
  botBroadcastAdminRights?: tl.TypeChatAdminRights;
278
- premiumGifts?: tl.TypePremiumGiftOption[];
284
+ premiumGifts?: tlCompat.TypePremiumGiftOption[];
279
285
  wallpaper?: tl.TypeWallPaper;
280
286
  stories?: tl.TypePeerStories;
281
287
  businessWorkHours?: tl.TypeBusinessWorkHours;
@@ -290,11 +296,23 @@ export declare namespace tlCompat {
290
296
  starrefProgram?: tl.TypeStarRefProgram;
291
297
  botVerification?: tl.TypeBotVerification;
292
298
  }
299
+ /**
300
+ * Entry was removed from the schema
301
+ */
302
+ interface RawPremiumGiftOption_layer199 {
303
+ _: 'premiumGiftOption_layer199';
304
+ months: number;
305
+ currency: string;
306
+ amount: Long;
307
+ botUrl: string;
308
+ storeProduct?: string;
309
+ }
293
310
  /**
294
311
  * Compared to the current schema, changes from this entry:
295
312
  *
296
313
  * Added arguments:
297
314
  * send_paid_messages_stars: flags2.15?long
315
+ * bot_forum_view: flags2.16?true
298
316
  */
299
317
  interface RawUser_layer199 {
300
318
  _: 'user_layer199';
@@ -464,6 +482,7 @@ export declare namespace tlCompat {
464
482
  * stars_my_pending_rating_date: flags2.18?int
465
483
  * main_tab: flags2.20?ProfileTab
466
484
  * saved_music: flags2.21?Document
485
+ * note: flags2.22?TextWithEntities
467
486
  * Removed arguments: theme_emoticon
468
487
  */
469
488
  interface RawUserFull_layer200 {
@@ -528,6 +547,8 @@ export declare namespace tlCompat {
528
547
  * value_amount: flags.8?long
529
548
  * value_currency: flags.8?string
530
549
  * theme_peer: flags.10?Peer
550
+ * peer_color: flags.11?PeerColor
551
+ * host_id: flags.12?Peer
531
552
  */
532
553
  interface RawStarGiftUnique_layer202 {
533
554
  _: 'starGiftUnique_layer202';
@@ -556,6 +577,7 @@ export declare namespace tlCompat {
556
577
  * per_user_total: flags.8?int
557
578
  * per_user_remains: flags.8?int
558
579
  * locked_until_date: flags.9?int
580
+ * peer_color_available: flags.10?true
559
581
  */
560
582
  interface RawStarGift_layer202 {
561
583
  _: 'starGift_layer202';
@@ -577,9 +599,11 @@ export declare namespace tlCompat {
577
599
  *
578
600
  * Added arguments:
579
601
  * prepaid_upgrade: flags.11?true
602
+ * assigned: flags.13?true
580
603
  * resale_amount: flags.8?StarsAmount
581
604
  * can_transfer_at: flags.9?int
582
605
  * can_resell_at: flags.10?int
606
+ * drop_original_details_stars: flags.12?long
583
607
  */
584
608
  interface RawMessageActionStarGiftUnique_layer202 {
585
609
  _: 'messageActionStarGiftUnique_layer202';
@@ -832,6 +856,8 @@ export declare namespace tlCompat {
832
856
  * value_amount: flags.8?long
833
857
  * value_currency: flags.8?string
834
858
  * theme_peer: flags.10?Peer
859
+ * peer_color: flags.11?PeerColor
860
+ * host_id: flags.12?Peer
835
861
  * Removed arguments: resell_stars
836
862
  */
837
863
  interface RawStarGiftUnique_layer206 {
@@ -859,6 +885,7 @@ export declare namespace tlCompat {
859
885
  * per_user_total: flags.8?int
860
886
  * per_user_remains: flags.8?int
861
887
  * locked_until_date: flags.9?int
888
+ * peer_color_available: flags.10?true
862
889
  */
863
890
  interface RawStarGift_layer206 {
864
891
  _: 'starGift_layer206';
@@ -908,6 +935,7 @@ export declare namespace tlCompat {
908
935
  * stars_my_pending_rating_date: flags2.18?int
909
936
  * main_tab: flags2.20?ProfileTab
910
937
  * saved_music: flags2.21?Document
938
+ * note: flags2.22?TextWithEntities
911
939
  * Removed arguments: theme_emoticon
912
940
  */
913
941
  interface RawUserFull_layer209 {
@@ -970,6 +998,7 @@ export declare namespace tlCompat {
970
998
  * per_user_total: flags.8?int
971
999
  * per_user_remains: flags.8?int
972
1000
  * locked_until_date: flags.9?int
1001
+ * peer_color_available: flags.10?true
973
1002
  */
974
1003
  interface RawStarGift_layer209 {
975
1004
  _: 'starGift_layer209';
@@ -999,6 +1028,7 @@ export declare namespace tlCompat {
999
1028
  * stars_my_pending_rating_date: flags2.18?int
1000
1029
  * main_tab: flags2.20?ProfileTab
1001
1030
  * saved_music: flags2.21?Document
1031
+ * note: flags2.22?TextWithEntities
1002
1032
  * Removed arguments: theme_emoticon
1003
1033
  */
1004
1034
  interface RawUserFull_layer210 {
@@ -1088,7 +1118,9 @@ export declare namespace tlCompat {
1088
1118
  *
1089
1119
  * Added arguments:
1090
1120
  * prepaid_upgrade: flags.11?true
1121
+ * assigned: flags.13?true
1091
1122
  * resale_amount: flags.8?StarsAmount
1123
+ * drop_original_details_stars: flags.12?long
1092
1124
  * Removed arguments: resale_stars
1093
1125
  */
1094
1126
  interface RawMessageActionStarGiftUnique_layer210 {
@@ -1118,6 +1150,8 @@ export declare namespace tlCompat {
1118
1150
  * value_amount: flags.8?long
1119
1151
  * value_currency: flags.8?string
1120
1152
  * theme_peer: flags.10?Peer
1153
+ * peer_color: flags.11?PeerColor
1154
+ * host_id: flags.12?Peer
1121
1155
  * Removed arguments: resell_stars
1122
1156
  */
1123
1157
  interface RawStarGiftUnique_layer210 {
@@ -1144,6 +1178,7 @@ export declare namespace tlCompat {
1144
1178
  * theme: flags.15?ChatTheme
1145
1179
  * main_tab: flags2.20?ProfileTab
1146
1180
  * saved_music: flags2.21?Document
1181
+ * note: flags2.22?TextWithEntities
1147
1182
  * Removed arguments: theme_emoticon
1148
1183
  */
1149
1184
  interface RawUserFull_layer211 {
@@ -1283,6 +1318,8 @@ export declare namespace tlCompat {
1283
1318
  * value_amount: flags.8?long
1284
1319
  * value_currency: flags.8?string
1285
1320
  * theme_peer: flags.10?Peer
1321
+ * peer_color: flags.11?PeerColor
1322
+ * host_id: flags.12?Peer
1286
1323
  */
1287
1324
  interface RawStarGiftUnique_layer211 {
1288
1325
  _: 'starGiftUnique_layer211';
@@ -1307,6 +1344,7 @@ export declare namespace tlCompat {
1307
1344
  *
1308
1345
  * Added arguments:
1309
1346
  * locked_until_date: flags.9?int
1347
+ * peer_color_available: flags.10?true
1310
1348
  */
1311
1349
  interface RawStarGift_layer211 {
1312
1350
  _: 'starGift_layer211';
@@ -1368,20 +1406,145 @@ export declare namespace tlCompat {
1368
1406
  _: 'messageActionSetChatTheme_layer211';
1369
1407
  emoticon: string;
1370
1408
  }
1409
+ /**
1410
+ * Compared to the current schema, changes from this entry:
1411
+ *
1412
+ * Added arguments:
1413
+ * note: flags2.22?TextWithEntities
1414
+ */
1415
+ interface RawUserFull_layer214 {
1416
+ _: 'userFull_layer214';
1417
+ blocked?: boolean;
1418
+ phoneCallsAvailable?: boolean;
1419
+ phoneCallsPrivate?: boolean;
1420
+ canPinMessage?: boolean;
1421
+ hasScheduled?: boolean;
1422
+ videoCallsAvailable?: boolean;
1423
+ voiceMessagesForbidden?: boolean;
1424
+ translationsDisabled?: boolean;
1425
+ storiesPinnedAvailable?: boolean;
1426
+ blockedMyStoriesFrom?: boolean;
1427
+ wallpaperOverridden?: boolean;
1428
+ contactRequirePremium?: boolean;
1429
+ readDatesPrivate?: boolean;
1430
+ sponsoredEnabled?: boolean;
1431
+ canViewRevenue?: boolean;
1432
+ botCanManageEmojiStatus?: boolean;
1433
+ displayGiftsButton?: boolean;
1434
+ id: number;
1435
+ about?: string;
1436
+ settings: tl.TypePeerSettings;
1437
+ personalPhoto?: tl.TypePhoto;
1438
+ profilePhoto?: tl.TypePhoto;
1439
+ fallbackPhoto?: tl.TypePhoto;
1440
+ notifySettings: tl.TypePeerNotifySettings;
1441
+ botInfo?: tl.TypeBotInfo;
1442
+ pinnedMsgId?: number;
1443
+ commonChatsCount: number;
1444
+ folderId?: number;
1445
+ ttlPeriod?: number;
1446
+ theme?: tl.TypeChatTheme;
1447
+ privateForwardName?: string;
1448
+ botGroupAdminRights?: tl.TypeChatAdminRights;
1449
+ botBroadcastAdminRights?: tl.TypeChatAdminRights;
1450
+ wallpaper?: tl.TypeWallPaper;
1451
+ stories?: tl.TypePeerStories;
1452
+ businessWorkHours?: tl.TypeBusinessWorkHours;
1453
+ businessLocation?: tl.TypeBusinessLocation;
1454
+ businessGreetingMessage?: tl.TypeBusinessGreetingMessage;
1455
+ businessAwayMessage?: tl.TypeBusinessAwayMessage;
1456
+ businessIntro?: tl.TypeBusinessIntro;
1457
+ birthday?: tl.TypeBirthday;
1458
+ personalChannelId?: number;
1459
+ personalChannelMessage?: number;
1460
+ stargiftsCount?: number;
1461
+ starrefProgram?: tl.TypeStarRefProgram;
1462
+ botVerification?: tl.TypeBotVerification;
1463
+ sendPaidMessagesStars?: Long;
1464
+ disallowedGifts?: tl.TypeDisallowedGiftsSettings;
1465
+ starsRating?: tl.TypeStarsRating;
1466
+ starsMyPendingRating?: tl.TypeStarsRating;
1467
+ starsMyPendingRatingDate?: number;
1468
+ mainTab?: tl.TypeProfileTab;
1469
+ savedMusic?: tl.TypeDocument;
1470
+ }
1471
+ /**
1472
+ * Entry was removed from the schema
1473
+ */
1474
+ interface RawEmojiStatusUntil_layer214 {
1475
+ _: 'emojiStatusUntil_layer214';
1476
+ documentId: Long;
1477
+ until: number;
1478
+ }
1479
+ /**
1480
+ * Compared to the current schema, changes from this entry:
1481
+ *
1482
+ * Added arguments:
1483
+ * peer_color: flags.11?PeerColor
1484
+ * host_id: flags.12?Peer
1485
+ */
1486
+ interface RawStarGiftUnique_layer214 {
1487
+ _: 'starGiftUnique_layer214';
1488
+ requirePremium?: boolean;
1489
+ resaleTonOnly?: boolean;
1490
+ themeAvailable?: boolean;
1491
+ id: Long;
1492
+ giftId: Long;
1493
+ title: string;
1494
+ slug: string;
1495
+ num: number;
1496
+ ownerId?: tl.TypePeer;
1497
+ ownerName?: string;
1498
+ ownerAddress?: string;
1499
+ attributes: tl.TypeStarGiftAttribute[];
1500
+ availabilityIssued: number;
1501
+ availabilityTotal: number;
1502
+ giftAddress?: string;
1503
+ resellAmount?: tl.TypeStarsAmount[];
1504
+ releasedBy?: tl.TypePeer;
1505
+ valueAmount?: Long;
1506
+ valueCurrency?: string;
1507
+ themePeer?: tl.TypePeer;
1508
+ }
1509
+ /**
1510
+ * Compared to the current schema, changes from this entry:
1511
+ *
1512
+ * Added arguments:
1513
+ * assigned: flags.13?true
1514
+ * drop_original_details_stars: flags.12?long
1515
+ */
1516
+ interface RawMessageActionStarGiftUnique_layer214 {
1517
+ _: 'messageActionStarGiftUnique_layer214';
1518
+ upgrade?: boolean;
1519
+ transferred?: boolean;
1520
+ saved?: boolean;
1521
+ refunded?: boolean;
1522
+ prepaidUpgrade?: boolean;
1523
+ gift: tlCompat.TypeStarGift;
1524
+ canExportAt?: number;
1525
+ transferStars?: Long;
1526
+ fromId?: tl.TypePeer;
1527
+ peer?: tl.TypePeer;
1528
+ savedId?: Long;
1529
+ resaleAmount?: tl.TypeStarsAmount;
1530
+ canTransferAt?: number;
1531
+ canResellAt?: number;
1532
+ }
1371
1533
  interface RpcCallReturn {
1372
1534
  }
1373
- 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 | AnyToNever<tl.TypeStarGift>
1374
- type TypeEmojiStatus = tlCompat.RawEmojiStatus_layer197 | AnyToNever<tl.TypeEmojiStatus>
1375
- type TypeMessageMedia = tlCompat.RawMessageMediaDocument_layer197 | AnyToNever<tl.TypeMessageMedia>
1376
- type TypeChatFull = tlCompat.RawChannelFull_layer197 | tlCompat.RawChannelFull_layer204 | tlCompat.RawChannelFull_layer211 | AnyToNever<tl.TypeChatFull>
1377
- type TypeMessageAction = tlCompat.RawMessageActionStarGiftUnique_layer197 | tlCompat.RawMessageActionStarGift_layer197 | tlCompat.RawMessageActionStarGiftUnique_layer202 | tlCompat.RawMessageActionPaidMessagesPrice_layer203 | tlCompat.RawMessageActionStarGiftUnique_layer210 | tlCompat.RawMessageActionStarGift_layer211 | tlCompat.RawMessageActionSetChatTheme_layer211 | AnyToNever<tl.TypeMessageAction>
1378
- type TypeUserFull = tlCompat.RawUserFull_layer199 | tlCompat.RawUserFull_layer200 | tlCompat.RawUserFull_layer209 | tlCompat.RawUserFull_layer210 | tlCompat.RawUserFull_layer211 | AnyToNever<tl.TypeUserFull>
1379
- type TypeUser = tlCompat.RawUser_layer199 | AnyToNever<tl.TypeUser>
1380
- type TypeChat = tlCompat.RawChannel_layer199 | tlCompat.RawChannel_layer203 | AnyToNever<tl.TypeChat>
1381
- type TypeMessage = tlCompat.RawMessage_layer199 | tlCompat.RawMessageService_layer204 | tlCompat.RawMessage_layer204 | AnyToNever<tl.TypeMessage>
1382
- type TypePhoneCallDiscardReason = tlCompat.RawPhoneCallDiscardReasonAllowGroupCall_layer202 | AnyToNever<tl.TypePhoneCallDiscardReason>
1383
- type TypeMessageReplyHeader = tlCompat.RawMessageReplyHeader_layer206 | AnyToNever<tl.TypeMessageReplyHeader>
1384
- type TypeStoryItem = tlCompat.RawStoryItem_layer210 | AnyToNever<tl.TypeStoryItem>
1535
+ 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 | tl.TypeStarGift
1536
+ type TypeEmojiStatus = tlCompat.RawEmojiStatus_layer197 | tlCompat.RawEmojiStatusUntil_layer214 | tl.TypeEmojiStatus
1537
+ type TypeMessageMedia = tlCompat.RawMessageMediaDocument_layer197 | tl.TypeMessageMedia
1538
+ type TypeChatFull = tlCompat.RawChannelFull_layer197 | tlCompat.RawChannelFull_layer204 | tlCompat.RawChannelFull_layer211 | tl.TypeChatFull
1539
+ 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 | tl.TypeMessageAction
1540
+ type TypeUserFull = tlCompat.RawUserFull_layer199 | tlCompat.RawUserFull_layer200 | tlCompat.RawUserFull_layer209 | tlCompat.RawUserFull_layer210 | tlCompat.RawUserFull_layer211 | tlCompat.RawUserFull_layer214 | tl.TypeUserFull
1541
+ type TypePremiumGiftOption = tlCompat.RawPremiumGiftOption_layer199
1542
+ type TypeUser = tlCompat.RawUser_layer199 | tl.TypeUser
1543
+ type TypeChat = tlCompat.RawChannel_layer199 | tlCompat.RawChannel_layer203 | tl.TypeChat
1544
+ type TypeMessage = tlCompat.RawMessage_layer199 | tlCompat.RawMessageService_layer204 | tlCompat.RawMessage_layer204 | tl.TypeMessage
1545
+ type TypePhoneCallDiscardReason = tlCompat.RawPhoneCallDiscardReasonAllowGroupCall_layer202 | tl.TypePhoneCallDiscardReason
1546
+ type TypeMessageReplyHeader = tlCompat.RawMessageReplyHeader_layer206 | tl.TypeMessageReplyHeader
1547
+ type TypeStoryItem = tlCompat.RawStoryItem_layer210 | tl.TypeStoryItem
1385
1548
 
1386
1549
  type TlObject =
1387
1550
  | tlCompat.RawStarGiftUnique_layer197
@@ -1392,6 +1555,7 @@ export declare namespace tlCompat {
1392
1555
  | tlCompat.RawMessageActionStarGift_layer197
1393
1556
  | tlCompat.RawStarGiftUnique_layer198
1394
1557
  | tlCompat.RawUserFull_layer199
1558
+ | tlCompat.RawPremiumGiftOption_layer199
1395
1559
  | tlCompat.RawUser_layer199
1396
1560
  | tlCompat.RawChannel_layer199
1397
1561
  | tlCompat.RawMessage_layer199
@@ -1420,5 +1584,9 @@ export declare namespace tlCompat {
1420
1584
  | tlCompat.RawStarGift_layer211
1421
1585
  | tlCompat.RawMessageActionStarGift_layer211
1422
1586
  | tlCompat.RawMessageActionSetChatTheme_layer211
1587
+ | tlCompat.RawUserFull_layer214
1588
+ | tlCompat.RawEmojiStatusUntil_layer214
1589
+ | tlCompat.RawStarGiftUnique_layer214
1590
+ | tlCompat.RawMessageActionStarGiftUnique_layer214
1423
1591
  | tl.TlObject
1424
1592
  }
package/compat/reader.js CHANGED
@@ -10,6 +10,7 @@ var m={
10
10
  3639931047:function(r){var flags=r.uint();return{_:'messageActionStarGift_layer197',nameHidden:!!(flags&1),saved:!!(flags&4),converted:!!(flags&8),upgraded:!!(flags&32),refunded:!!(flags&512),canUpgrade:!!(flags&1024),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,}},
11
11
  4076764746:function(r){var flags=r.uint();return{_:'starGiftUnique_layer198',id: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(),}},
12
12
  1301765052:function(r){var flags=r.uint(),flags2=r.uint();return{_:'userFull_layer199',blocked:!!(flags&1),phoneCallsAvailable:!!(flags&16),phoneCallsPrivate:!!(flags&32),canPinMessage:!!(flags&128),hasScheduled:!!(flags&4096),videoCallsAvailable:!!(flags&8192),voiceMessagesForbidden:!!(flags&1048576),translationsDisabled:!!(flags&8388608),storiesPinnedAvailable:!!(flags&67108864),blockedMyStoriesFrom:!!(flags&134217728),wallpaperOverridden:!!(flags&268435456),contactRequirePremium:!!(flags&536870912),readDatesPrivate:!!(flags&1073741824),sponsoredEnabled:!!(flags2&128),canViewRevenue:!!(flags2&512),botCanManageEmojiStatus:!!(flags2&1024),id:r.int53(),about:flags&2?r.string():void 0,settings:r.object(),personalPhoto:flags&2097152?r.object():void 0,profilePhoto:flags&4?r.object():void 0,fallbackPhoto:flags&4194304?r.object():void 0,notifySettings:r.object(),botInfo:flags&8?r.object():void 0,pinnedMsgId:flags&64?r.int():void 0,commonChatsCount:r.int(),folderId:flags&2048?r.int():void 0,ttlPeriod:flags&16384?r.int():void 0,themeEmoticon:flags&32768?r.string():void 0,privateForwardName:flags&65536?r.string():void 0,botGroupAdminRights:flags&131072?r.object():void 0,botBroadcastAdminRights:flags&262144?r.object():void 0,premiumGifts:flags&524288?r.vector(r.object):void 0,wallpaper:flags&16777216?r.object():void 0,stories:flags&33554432?r.object():void 0,businessWorkHours:flags2&1?r.object():void 0,businessLocation:flags2&2?r.object():void 0,businessGreetingMessage:flags2&4?r.object():void 0,businessAwayMessage:flags2&8?r.object():void 0,businessIntro:flags2&16?r.object():void 0,birthday:flags2&32?r.object():void 0,personalChannelId:flags2&64?r.int53():void 0,personalChannelMessage:flags2&64?r.int():void 0,stargiftsCount:flags2&256?r.int():void 0,starrefProgram:flags2&2048?r.object():void 0,botVerification:flags2&4096?r.object():void 0,}},
13
+ 1958953753:function(r){var flags=r.uint();return{_:'premiumGiftOption_layer199',months:r.int(),currency:r.string(),amount:r.long(),botUrl:r.string(),storeProduct:flags&1?r.string():void 0,}},
13
14
  1262928766:function(r){var flags=r.uint(),flags2=r.uint();return{_:'user_layer199',self:!!(flags&1024),contact:!!(flags&2048),mutualContact:!!(flags&4096),deleted:!!(flags&8192),bot:!!(flags&16384),botChatHistory:!!(flags&32768),botNochats:!!(flags&65536),verified:!!(flags&131072),restricted:!!(flags&262144),min:!!(flags&1048576),botInlineGeo:!!(flags&2097152),support:!!(flags&8388608),scam:!!(flags&16777216),applyMinPhoto:!!(flags&33554432),fake:!!(flags&67108864),botAttachMenu:!!(flags&134217728),premium:!!(flags&268435456),attachMenuEnabled:!!(flags&536870912),botCanEdit:!!(flags2&2),closeFriend:!!(flags2&4),storiesHidden:!!(flags2&8),storiesUnavailable:!!(flags2&16),contactRequirePremium:!!(flags2&1024),botBusiness:!!(flags2&2048),botHasMainApp:!!(flags2&8192),id:r.int53(),accessHash:flags&1?r.long():void 0,firstName:flags&2?r.string():void 0,lastName:flags&4?r.string():void 0,username:flags&8?r.string():void 0,phone:flags&16?r.string():void 0,photo:flags&32?r.object():void 0,status:flags&64?r.object():void 0,botInfoVersion:flags&16384?r.int():void 0,restrictionReason:flags&262144?r.vector(r.object):void 0,botInlinePlaceholder:flags&524288?r.string():void 0,langCode:flags&4194304?r.string():void 0,emojiStatus:flags&1073741824?r.object():void 0,usernames:flags2&1?r.vector(r.object):void 0,storiesMaxId:flags2&32?r.int():void 0,color:flags2&256?r.object():void 0,profileColor:flags2&512?r.object():void 0,botActiveUsers:flags2&4096?r.int():void 0,botVerificationIcon:flags2&16384?r.long():void 0,}},
14
15
  3758725303:function(r){var flags=r.uint(),flags2=r.uint();return{_:'channel_layer199',creator:!!(flags&1),left:!!(flags&4),broadcast:!!(flags&32),verified:!!(flags&128),megagroup:!!(flags&256),restricted:!!(flags&512),signatures:!!(flags&2048),min:!!(flags&4096),scam:!!(flags&524288),hasLink:!!(flags&1048576),hasGeo:!!(flags&2097152),slowmodeEnabled:!!(flags&4194304),callActive:!!(flags&8388608),callNotEmpty:!!(flags&16777216),fake:!!(flags&33554432),gigagroup:!!(flags&67108864),noforwards:!!(flags&134217728),joinToSend:!!(flags&268435456),joinRequest:!!(flags&536870912),forum:!!(flags&1073741824),storiesHidden:!!(flags2&2),storiesHiddenMin:!!(flags2&4),storiesUnavailable:!!(flags2&8),signatureProfiles:!!(flags2&4096),id:r.int53(),accessHash:flags&8192?r.long():void 0,title:r.string(),username:flags&64?r.string():void 0,photo:r.object(),date:r.int(),restrictionReason:flags&512?r.vector(r.object):void 0,adminRights:flags&16384?r.object():void 0,bannedRights:flags&32768?r.object():void 0,defaultBannedRights:flags&262144?r.object():void 0,participantsCount:flags&131072?r.int():void 0,usernames:flags2&1?r.vector(r.object):void 0,storiesMaxId:flags2&16?r.int():void 0,color:flags2&128?r.object():void 0,profileColor:flags2&256?r.object():void 0,emojiStatus:flags2&512?r.object():void 0,level:flags2&1024?r.int():void 0,subscriptionUntilDate:flags2&2048?r.int():void 0,botVerificationIcon:flags2&8192?r.long():void 0,}},
15
16
  2533211113:function(r){var flags=r.uint(),flags2=r.uint();return{_:'message_layer199',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),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,}},
@@ -38,5 +39,9 @@ var m={
38
39
  12386139:function(r){var flags=r.uint();return{_:'starGift_layer211',limited:!!(flags&1),soldOut:!!(flags&2),birthday:!!(flags&4),requirePremium:!!(flags&128),limitedPerUser:!!(flags&256),id:r.long(),sticker:r.object(),stars:r.long(),availabilityRemains:flags&1?r.int():void 0,availabilityTotal:flags&1?r.int():void 0,availabilityResale:flags&16?r.long():void 0,convertStars:r.long(),firstSaleDate:flags&2?r.int():void 0,lastSaleDate:flags&2?r.int():void 0,upgradeStars:flags&8?r.long():void 0,resellMinStars:flags&16?r.long():void 0,title:flags&32?r.string():void 0,releasedBy:flags&64?r.object():void 0,perUserTotal:flags&256?r.int():void 0,perUserRemains:flags&256?r.int():void 0,}},
39
40
  1192749220:function(r){var flags=r.uint();return{_:'messageActionStarGift_layer211',nameHidden:!!(flags&1),saved:!!(flags&4),converted:!!(flags&8),upgraded:!!(flags&32),refunded:!!(flags&512),canUpgrade:!!(flags&1024),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,}},
40
41
  2860016453:function(r){return{_:'messageActionSetChatTheme_layer211',emoticon:r.string(),}},
42
+ 3312956845:function(r){var flags=r.uint(),flags2=r.uint();return{_:'userFull_layer214',blocked:!!(flags&1),phoneCallsAvailable:!!(flags&16),phoneCallsPrivate:!!(flags&32),canPinMessage:!!(flags&128),hasScheduled:!!(flags&4096),videoCallsAvailable:!!(flags&8192),voiceMessagesForbidden:!!(flags&1048576),translationsDisabled:!!(flags&8388608),storiesPinnedAvailable:!!(flags&67108864),blockedMyStoriesFrom:!!(flags&134217728),wallpaperOverridden:!!(flags&268435456),contactRequirePremium:!!(flags&536870912),readDatesPrivate:!!(flags&1073741824),sponsoredEnabled:!!(flags2&128),canViewRevenue:!!(flags2&512),botCanManageEmojiStatus:!!(flags2&1024),displayGiftsButton:!!(flags2&65536),id:r.int53(),about:flags&2?r.string():void 0,settings:r.object(),personalPhoto:flags&2097152?r.object():void 0,profilePhoto:flags&4?r.object():void 0,fallbackPhoto:flags&4194304?r.object():void 0,notifySettings:r.object(),botInfo:flags&8?r.object():void 0,pinnedMsgId:flags&64?r.int():void 0,commonChatsCount:r.int(),folderId:flags&2048?r.int():void 0,ttlPeriod:flags&16384?r.int():void 0,theme:flags&32768?r.object():void 0,privateForwardName:flags&65536?r.string():void 0,botGroupAdminRights:flags&131072?r.object():void 0,botBroadcastAdminRights:flags&262144?r.object():void 0,wallpaper:flags&16777216?r.object():void 0,stories:flags&33554432?r.object():void 0,businessWorkHours:flags2&1?r.object():void 0,businessLocation:flags2&2?r.object():void 0,businessGreetingMessage:flags2&4?r.object():void 0,businessAwayMessage:flags2&8?r.object():void 0,businessIntro:flags2&16?r.object():void 0,birthday:flags2&32?r.object():void 0,personalChannelId:flags2&64?r.int53():void 0,personalChannelMessage:flags2&64?r.int():void 0,stargiftsCount:flags2&256?r.int():void 0,starrefProgram:flags2&2048?r.object():void 0,botVerification:flags2&4096?r.object():void 0,sendPaidMessagesStars:flags2&16384?r.long():void 0,disallowedGifts:flags2&32768?r.object():void 0,starsRating:flags2&131072?r.object():void 0,starsMyPendingRating:flags2&262144?r.object():void 0,starsMyPendingRatingDate:flags2&262144?r.int():void 0,mainTab:flags2&1048576?r.object():void 0,savedMusic:flags2&2097152?r.object():void 0,}},
43
+ 4197492935:function(r){return{_:'emojiStatusUntil_layer214',documentId:r.long(),until:r.int(),}},
44
+ 468707429:function(r){var flags=r.uint();return{_:'starGiftUnique_layer214',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,themePeer:flags&1024?r.object():void 0,}},
45
+ 888627955:function(r){var flags=r.uint();return{_:'messageActionStarGiftUnique_layer214',upgrade:!!(flags&1),transferred:!!(flags&2),saved:!!(flags&4),refunded:!!(flags&32),prepaidUpgrade:!!(flags&2048),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,}},
41
46
  }
42
47
  exports.__tlReaderMapCompat = m;