@mtcute/tl 218.0.0 → 218.0.1
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 +289 -5
- package/compat/reader.js +8 -0
- package/package.json +1 -1
package/compat/index.d.ts
CHANGED
|
@@ -1554,21 +1554,297 @@ export declare namespace tlCompat {
|
|
|
1554
1554
|
canTransferAt?: number;
|
|
1555
1555
|
canResellAt?: number;
|
|
1556
1556
|
}
|
|
1557
|
+
/**
|
|
1558
|
+
* Compared to the current schema, changes from this entry:
|
|
1559
|
+
*
|
|
1560
|
+
* Changed arguments:
|
|
1561
|
+
* completed_by: int53 => Peer
|
|
1562
|
+
*/
|
|
1563
|
+
interface RawTodoCompletion_layer216 {
|
|
1564
|
+
_: 'todoCompletion_layer216';
|
|
1565
|
+
id: number;
|
|
1566
|
+
completedBy: number;
|
|
1567
|
+
date: number;
|
|
1568
|
+
}
|
|
1569
|
+
/**
|
|
1570
|
+
* Compared to the current schema, changes from this entry:
|
|
1571
|
+
*
|
|
1572
|
+
* Added arguments:
|
|
1573
|
+
* auction: flags.11?true
|
|
1574
|
+
* auction_slug: flags.11?string
|
|
1575
|
+
* gifts_per_round: flags.11?int
|
|
1576
|
+
*/
|
|
1577
|
+
interface RawStarGift_layer216 {
|
|
1578
|
+
_: 'starGift_layer216';
|
|
1579
|
+
limited?: boolean;
|
|
1580
|
+
soldOut?: boolean;
|
|
1581
|
+
birthday?: boolean;
|
|
1582
|
+
requirePremium?: boolean;
|
|
1583
|
+
limitedPerUser?: boolean;
|
|
1584
|
+
id: Long;
|
|
1585
|
+
sticker: tl.TypeDocument;
|
|
1586
|
+
stars: Long;
|
|
1587
|
+
availabilityRemains?: number;
|
|
1588
|
+
availabilityTotal?: number;
|
|
1589
|
+
availabilityResale?: Long;
|
|
1590
|
+
convertStars: Long;
|
|
1591
|
+
firstSaleDate?: number;
|
|
1592
|
+
lastSaleDate?: number;
|
|
1593
|
+
upgradeStars?: Long;
|
|
1594
|
+
resellMinStars?: Long;
|
|
1595
|
+
title?: string;
|
|
1596
|
+
releasedBy?: tl.TypePeer;
|
|
1597
|
+
perUserTotal?: number;
|
|
1598
|
+
perUserRemains?: number;
|
|
1599
|
+
lockedUntilDate?: number;
|
|
1600
|
+
peerColorAvailable?: boolean;
|
|
1601
|
+
}
|
|
1602
|
+
/**
|
|
1603
|
+
* Compared to the current schema, changes from this entry:
|
|
1604
|
+
*
|
|
1605
|
+
* Changed arguments:
|
|
1606
|
+
* stories_max_id: flags2.4?int => flags2.4?RecentStory
|
|
1607
|
+
*/
|
|
1608
|
+
interface RawChannel_layer216 {
|
|
1609
|
+
_: 'channel_layer216';
|
|
1610
|
+
creator?: boolean;
|
|
1611
|
+
left?: boolean;
|
|
1612
|
+
broadcast?: boolean;
|
|
1613
|
+
verified?: boolean;
|
|
1614
|
+
megagroup?: boolean;
|
|
1615
|
+
restricted?: boolean;
|
|
1616
|
+
signatures?: boolean;
|
|
1617
|
+
min?: boolean;
|
|
1618
|
+
scam?: boolean;
|
|
1619
|
+
hasLink?: boolean;
|
|
1620
|
+
hasGeo?: boolean;
|
|
1621
|
+
slowmodeEnabled?: boolean;
|
|
1622
|
+
callActive?: boolean;
|
|
1623
|
+
callNotEmpty?: boolean;
|
|
1624
|
+
fake?: boolean;
|
|
1625
|
+
gigagroup?: boolean;
|
|
1626
|
+
noforwards?: boolean;
|
|
1627
|
+
joinToSend?: boolean;
|
|
1628
|
+
joinRequest?: boolean;
|
|
1629
|
+
forum?: boolean;
|
|
1630
|
+
storiesHidden?: boolean;
|
|
1631
|
+
storiesHiddenMin?: boolean;
|
|
1632
|
+
storiesUnavailable?: boolean;
|
|
1633
|
+
signatureProfiles?: boolean;
|
|
1634
|
+
autotranslation?: boolean;
|
|
1635
|
+
broadcastMessagesAllowed?: boolean;
|
|
1636
|
+
monoforum?: boolean;
|
|
1637
|
+
forumTabs?: boolean;
|
|
1638
|
+
id: number;
|
|
1639
|
+
accessHash?: Long;
|
|
1640
|
+
title: string;
|
|
1641
|
+
username?: string;
|
|
1642
|
+
photo: tl.TypeChatPhoto;
|
|
1643
|
+
date: number;
|
|
1644
|
+
restrictionReason?: tl.TypeRestrictionReason[];
|
|
1645
|
+
adminRights?: tl.TypeChatAdminRights;
|
|
1646
|
+
bannedRights?: tl.TypeChatBannedRights;
|
|
1647
|
+
defaultBannedRights?: tl.TypeChatBannedRights;
|
|
1648
|
+
participantsCount?: number;
|
|
1649
|
+
usernames?: tl.TypeUsername[];
|
|
1650
|
+
storiesMaxId?: number;
|
|
1651
|
+
color?: tl.TypePeerColor;
|
|
1652
|
+
profileColor?: tl.TypePeerColor;
|
|
1653
|
+
emojiStatus?: tlCompat.TypeEmojiStatus;
|
|
1654
|
+
level?: number;
|
|
1655
|
+
subscriptionUntilDate?: number;
|
|
1656
|
+
botVerificationIcon?: Long;
|
|
1657
|
+
sendPaidMessagesStars?: Long;
|
|
1658
|
+
linkedMonoforumId?: number;
|
|
1659
|
+
}
|
|
1660
|
+
/**
|
|
1661
|
+
* Compared to the current schema, changes from this entry:
|
|
1662
|
+
*
|
|
1663
|
+
* Changed arguments:
|
|
1664
|
+
* stories_max_id: flags2.5?int => flags2.5?RecentStory
|
|
1665
|
+
*/
|
|
1666
|
+
interface RawUser_layer216 {
|
|
1667
|
+
_: 'user_layer216';
|
|
1668
|
+
self?: boolean;
|
|
1669
|
+
contact?: boolean;
|
|
1670
|
+
mutualContact?: boolean;
|
|
1671
|
+
deleted?: boolean;
|
|
1672
|
+
bot?: boolean;
|
|
1673
|
+
botChatHistory?: boolean;
|
|
1674
|
+
botNochats?: boolean;
|
|
1675
|
+
verified?: boolean;
|
|
1676
|
+
restricted?: boolean;
|
|
1677
|
+
min?: boolean;
|
|
1678
|
+
botInlineGeo?: boolean;
|
|
1679
|
+
support?: boolean;
|
|
1680
|
+
scam?: boolean;
|
|
1681
|
+
applyMinPhoto?: boolean;
|
|
1682
|
+
fake?: boolean;
|
|
1683
|
+
botAttachMenu?: boolean;
|
|
1684
|
+
premium?: boolean;
|
|
1685
|
+
attachMenuEnabled?: boolean;
|
|
1686
|
+
botCanEdit?: boolean;
|
|
1687
|
+
closeFriend?: boolean;
|
|
1688
|
+
storiesHidden?: boolean;
|
|
1689
|
+
storiesUnavailable?: boolean;
|
|
1690
|
+
contactRequirePremium?: boolean;
|
|
1691
|
+
botBusiness?: boolean;
|
|
1692
|
+
botHasMainApp?: boolean;
|
|
1693
|
+
id: number;
|
|
1694
|
+
accessHash?: Long;
|
|
1695
|
+
firstName?: string;
|
|
1696
|
+
lastName?: string;
|
|
1697
|
+
username?: string;
|
|
1698
|
+
phone?: string;
|
|
1699
|
+
photo?: tl.TypeUserProfilePhoto;
|
|
1700
|
+
status?: tl.TypeUserStatus;
|
|
1701
|
+
botInfoVersion?: number;
|
|
1702
|
+
restrictionReason?: tl.TypeRestrictionReason[];
|
|
1703
|
+
botInlinePlaceholder?: string;
|
|
1704
|
+
langCode?: string;
|
|
1705
|
+
emojiStatus?: tlCompat.TypeEmojiStatus;
|
|
1706
|
+
usernames?: tl.TypeUsername[];
|
|
1707
|
+
storiesMaxId?: number;
|
|
1708
|
+
color?: tl.TypePeerColor;
|
|
1709
|
+
profileColor?: tl.TypePeerColor;
|
|
1710
|
+
botActiveUsers?: number;
|
|
1711
|
+
botVerificationIcon?: Long;
|
|
1712
|
+
sendPaidMessagesStars?: Long;
|
|
1713
|
+
botForumView?: boolean;
|
|
1714
|
+
}
|
|
1715
|
+
/**
|
|
1716
|
+
* Compared to the current schema, changes from this entry:
|
|
1717
|
+
*
|
|
1718
|
+
* Added arguments:
|
|
1719
|
+
* auction_acquired: flags.17?true
|
|
1720
|
+
* to_id: flags.18?Peer
|
|
1721
|
+
*/
|
|
1722
|
+
interface RawMessageActionStarGift_layer216 {
|
|
1723
|
+
_: 'messageActionStarGift_layer216';
|
|
1724
|
+
nameHidden?: boolean;
|
|
1725
|
+
saved?: boolean;
|
|
1726
|
+
converted?: boolean;
|
|
1727
|
+
upgraded?: boolean;
|
|
1728
|
+
refunded?: boolean;
|
|
1729
|
+
canUpgrade?: boolean;
|
|
1730
|
+
prepaidUpgrade?: boolean;
|
|
1731
|
+
upgradeSeparate?: boolean;
|
|
1732
|
+
gift: tlCompat.TypeStarGift;
|
|
1733
|
+
message?: tl.TypeTextWithEntities;
|
|
1734
|
+
convertStars?: Long;
|
|
1735
|
+
upgradeMsgId?: number;
|
|
1736
|
+
upgradeStars?: Long;
|
|
1737
|
+
fromId?: tl.TypePeer;
|
|
1738
|
+
peer?: tl.TypePeer;
|
|
1739
|
+
savedId?: Long;
|
|
1740
|
+
prepaidUpgradeHash?: string;
|
|
1741
|
+
giftMsgId?: number;
|
|
1742
|
+
}
|
|
1743
|
+
/**
|
|
1744
|
+
* Compared to the current schema, changes from this entry:
|
|
1745
|
+
*
|
|
1746
|
+
* Added arguments:
|
|
1747
|
+
* days: int
|
|
1748
|
+
* Removed arguments: months
|
|
1749
|
+
*/
|
|
1750
|
+
interface RawMessageActionGiftCode_layer216 {
|
|
1751
|
+
_: 'messageActionGiftCode_layer216';
|
|
1752
|
+
viaGiveaway?: boolean;
|
|
1753
|
+
unclaimed?: boolean;
|
|
1754
|
+
boostPeer?: tl.TypePeer;
|
|
1755
|
+
months: number;
|
|
1756
|
+
slug: string;
|
|
1757
|
+
currency?: string;
|
|
1758
|
+
amount?: Long;
|
|
1759
|
+
cryptoCurrency?: string;
|
|
1760
|
+
cryptoAmount?: Long;
|
|
1761
|
+
message?: tl.TypeTextWithEntities;
|
|
1762
|
+
}
|
|
1763
|
+
/**
|
|
1764
|
+
* Compared to the current schema, changes from this entry:
|
|
1765
|
+
*
|
|
1766
|
+
* Added arguments:
|
|
1767
|
+
* days: int
|
|
1768
|
+
* Removed arguments: months
|
|
1769
|
+
*/
|
|
1770
|
+
interface RawMessageActionGiftPremium_layer216 {
|
|
1771
|
+
_: 'messageActionGiftPremium_layer216';
|
|
1772
|
+
currency: string;
|
|
1773
|
+
amount: Long;
|
|
1774
|
+
months: number;
|
|
1775
|
+
cryptoCurrency?: string;
|
|
1776
|
+
cryptoAmount?: Long;
|
|
1777
|
+
message?: tl.TypeTextWithEntities;
|
|
1778
|
+
}
|
|
1779
|
+
/**
|
|
1780
|
+
* Compared to the current schema, changes from this entry:
|
|
1781
|
+
*
|
|
1782
|
+
* Added arguments:
|
|
1783
|
+
* schedule_repeat_period: flags2.10?int
|
|
1784
|
+
*/
|
|
1785
|
+
interface RawMessage_layer216 {
|
|
1786
|
+
_: 'message_layer216';
|
|
1787
|
+
out?: boolean;
|
|
1788
|
+
mentioned?: boolean;
|
|
1789
|
+
mediaUnread?: boolean;
|
|
1790
|
+
silent?: boolean;
|
|
1791
|
+
post?: boolean;
|
|
1792
|
+
fromScheduled?: boolean;
|
|
1793
|
+
legacy?: boolean;
|
|
1794
|
+
editHide?: boolean;
|
|
1795
|
+
pinned?: boolean;
|
|
1796
|
+
noforwards?: boolean;
|
|
1797
|
+
invertMedia?: boolean;
|
|
1798
|
+
offline?: boolean;
|
|
1799
|
+
videoProcessingPending?: boolean;
|
|
1800
|
+
paidSuggestedPostStars?: boolean;
|
|
1801
|
+
paidSuggestedPostTon?: boolean;
|
|
1802
|
+
id: number;
|
|
1803
|
+
fromId?: tl.TypePeer;
|
|
1804
|
+
fromBoostsApplied?: number;
|
|
1805
|
+
peerId: tl.TypePeer;
|
|
1806
|
+
savedPeerId?: tl.TypePeer;
|
|
1807
|
+
fwdFrom?: tl.TypeMessageFwdHeader;
|
|
1808
|
+
viaBotId?: number;
|
|
1809
|
+
viaBusinessBotId?: number;
|
|
1810
|
+
replyTo?: tlCompat.TypeMessageReplyHeader;
|
|
1811
|
+
date: number;
|
|
1812
|
+
message: string;
|
|
1813
|
+
media?: tlCompat.TypeMessageMedia;
|
|
1814
|
+
replyMarkup?: tl.TypeReplyMarkup;
|
|
1815
|
+
entities?: tl.TypeMessageEntity[];
|
|
1816
|
+
views?: number;
|
|
1817
|
+
forwards?: number;
|
|
1818
|
+
replies?: tl.TypeMessageReplies;
|
|
1819
|
+
editDate?: number;
|
|
1820
|
+
postAuthor?: string;
|
|
1821
|
+
groupedId?: Long;
|
|
1822
|
+
reactions?: tl.TypeMessageReactions;
|
|
1823
|
+
restrictionReason?: tl.TypeRestrictionReason[];
|
|
1824
|
+
ttlPeriod?: number;
|
|
1825
|
+
quickReplyShortcutId?: number;
|
|
1826
|
+
effect?: Long;
|
|
1827
|
+
factcheck?: tl.TypeFactCheck;
|
|
1828
|
+
reportDeliveryUntilDate?: number;
|
|
1829
|
+
paidMessageStars?: Long;
|
|
1830
|
+
suggestedPost?: tl.TypeSuggestedPost;
|
|
1831
|
+
}
|
|
1557
1832
|
interface RpcCallReturn {
|
|
1558
1833
|
}
|
|
1559
|
-
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
|
|
1834
|
+
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 | tl.TypeStarGift
|
|
1560
1835
|
type TypeEmojiStatus = tlCompat.RawEmojiStatus_layer197 | tlCompat.RawEmojiStatusUntil_layer214 | tl.TypeEmojiStatus
|
|
1561
1836
|
type TypeMessageMedia = tlCompat.RawMessageMediaDocument_layer197 | tl.TypeMessageMedia
|
|
1562
1837
|
type TypeChatFull = tlCompat.RawChannelFull_layer197 | tlCompat.RawChannelFull_layer204 | tlCompat.RawChannelFull_layer211 | tl.TypeChatFull
|
|
1563
|
-
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
|
|
1838
|
+
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 | tl.TypeMessageAction
|
|
1564
1839
|
type TypeUserFull = tlCompat.RawUserFull_layer199 | tlCompat.RawUserFull_layer200 | tlCompat.RawUserFull_layer209 | tlCompat.RawUserFull_layer210 | tlCompat.RawUserFull_layer211 | tlCompat.RawUserFull_layer214 | tl.TypeUserFull
|
|
1565
1840
|
type TypePremiumGiftOption = tlCompat.RawPremiumGiftOption_layer199
|
|
1566
|
-
type TypeUser = tlCompat.RawUser_layer199 | tl.TypeUser
|
|
1567
|
-
type TypeChat = tlCompat.RawChannel_layer199 | tlCompat.RawChannel_layer203 | tl.TypeChat
|
|
1568
|
-
type TypeMessage = tlCompat.RawMessage_layer199 | tlCompat.RawMessageService_layer204 | tlCompat.RawMessage_layer204 | tl.TypeMessage
|
|
1841
|
+
type TypeUser = tlCompat.RawUser_layer199 | tlCompat.RawUser_layer216 | tl.TypeUser
|
|
1842
|
+
type TypeChat = tlCompat.RawChannel_layer199 | tlCompat.RawChannel_layer203 | tlCompat.RawChannel_layer216 | tl.TypeChat
|
|
1843
|
+
type TypeMessage = tlCompat.RawMessage_layer199 | tlCompat.RawMessageService_layer204 | tlCompat.RawMessage_layer204 | tlCompat.RawMessage_layer216 | tl.TypeMessage
|
|
1569
1844
|
type TypePhoneCallDiscardReason = tlCompat.RawPhoneCallDiscardReasonAllowGroupCall_layer202 | tl.TypePhoneCallDiscardReason
|
|
1570
1845
|
type TypeMessageReplyHeader = tlCompat.RawMessageReplyHeader_layer206 | tl.TypeMessageReplyHeader
|
|
1571
1846
|
type TypeStoryItem = tlCompat.RawStoryItem_layer210 | tl.TypeStoryItem
|
|
1847
|
+
type TypeTodoCompletion = tlCompat.RawTodoCompletion_layer216 | tl.TypeTodoCompletion
|
|
1572
1848
|
|
|
1573
1849
|
type TlObject =
|
|
1574
1850
|
| tlCompat.RawStarGiftUnique_layer197
|
|
@@ -1612,5 +1888,13 @@ export declare namespace tlCompat {
|
|
|
1612
1888
|
| tlCompat.RawEmojiStatusUntil_layer214
|
|
1613
1889
|
| tlCompat.RawStarGiftUnique_layer214
|
|
1614
1890
|
| tlCompat.RawMessageActionStarGiftUnique_layer214
|
|
1891
|
+
| tlCompat.RawTodoCompletion_layer216
|
|
1892
|
+
| tlCompat.RawStarGift_layer216
|
|
1893
|
+
| tlCompat.RawChannel_layer216
|
|
1894
|
+
| tlCompat.RawUser_layer216
|
|
1895
|
+
| tlCompat.RawMessageActionStarGift_layer216
|
|
1896
|
+
| tlCompat.RawMessageActionGiftCode_layer216
|
|
1897
|
+
| tlCompat.RawMessageActionGiftPremium_layer216
|
|
1898
|
+
| tlCompat.RawMessage_layer216
|
|
1615
1899
|
| tl.TlObject
|
|
1616
1900
|
}
|
package/compat/reader.js
CHANGED
|
@@ -43,5 +43,13 @@ var m={
|
|
|
43
43
|
4197492935:function(r){return{_:'emojiStatusUntil_layer214',documentId:r.long(),until:r.int(),}},
|
|
44
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
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,}},
|
|
46
|
+
1287725239:function(r){return{_:'todoCompletion_layer216',id:r.int(),completedBy:r.int53(),date:r.int(),}},
|
|
47
|
+
2158777283:function(r){var flags=r.uint();return{_:'starGift_layer216',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,lockedUntilDate:flags&512?r.int():void 0,peerColorAvailable:!!(flags&1024),}},
|
|
48
|
+
4268249941:function(r){var flags=r.uint(),flags2=r.uint();return{_:'channel_layer216',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),autotranslation:!!(flags2&32768),broadcastMessagesAllowed:!!(flags2&65536),monoforum:!!(flags2&131072),forumTabs:!!(flags2&524288),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,sendPaidMessagesStars:flags2&16384?r.long():void 0,linkedMonoforumId:flags2&262144?r.int53():void 0,}},
|
|
49
|
+
34280482:function(r){var flags=r.uint(),flags2=r.uint();return{_:'user_layer216',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,sendPaidMessagesStars:flags2&32768?r.long():void 0,botForumView:!!(flags2&65536),}},
|
|
50
|
+
4065191930:function(r){var flags=r.uint();return{_:'messageActionStarGift_layer216',nameHidden:!!(flags&1),saved:!!(flags&4),converted:!!(flags&8),upgraded:!!(flags&32),refunded:!!(flags&512),canUpgrade:!!(flags&1024),prepaidUpgrade:!!(flags&8192),upgradeSeparate:!!(flags&65536),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,}},
|
|
51
|
+
1456486804:function(r){var flags=r.uint();return{_:'messageActionGiftCode_layer216',viaGiveaway:!!(flags&1),unclaimed:!!(flags&32),boostPeer:flags&2?r.object():void 0,months:r.int(),slug:r.string(),currency:flags&4?r.string():void 0,amount:flags&4?r.long():void 0,cryptoCurrency:flags&8?r.string():void 0,cryptoAmount:flags&8?r.long():void 0,message:flags&16?r.object():void 0,}},
|
|
52
|
+
1818391802:function(r){var flags=r.uint();return{_:'messageActionGiftPremium_layer216',currency:r.string(),amount:r.long(),months:r.int(),cryptoCurrency:flags&1?r.string():void 0,cryptoAmount:flags&1?r.long():void 0,message:flags&2?r.object():void 0,}},
|
|
53
|
+
2551566024:function(r){var flags=r.uint(),flags2=r.uint();return{_:'message_layer216',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,}},
|
|
46
54
|
}
|
|
47
55
|
exports.__tlReaderMapCompat = m;
|