@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/binary/reader.js
CHANGED
|
@@ -39,6 +39,7 @@ var m={
|
|
|
39
39
|
3256584265:function(r){var flags=r.uint();return{_:'inputMediaWebPage',forceLargeMedia:!!(flags&1),forceSmallMedia:!!(flags&2),optional:!!(flags&4),url:r.string(),}},
|
|
40
40
|
3289396102:function(r){var flags=r.uint();return{_:'inputMediaPaidMedia',starsAmount:r.long(),extendedMedia:r.vector(r.object),payload:flags&1?r.string():void 0,}},
|
|
41
41
|
2680512478:function(r){return{_:'inputMediaTodo',todo:r.object(),}},
|
|
42
|
+
4087948362:function(r){return{_:'inputMediaStakeDice',gameHash:r.string(),tonAmount:r.long(),clientSeed:r.bytes(),}},
|
|
42
43
|
480546647:function(r){return{_:'inputChatPhotoEmpty'}},
|
|
43
44
|
3184373440:function(r){var flags=r.uint();return{_:'inputChatUploadedPhoto',file:flags&1?r.object():void 0,video:flags&2?r.object():void 0,videoStartTs:flags&4?r.double():void 0,videoEmojiMarkup:flags&8?r.object():void 0,}},
|
|
44
45
|
2303962423:function(r){return{_:'inputChatPhoto',id:r.object(),}},
|
|
@@ -70,7 +71,7 @@ var m={
|
|
|
70
71
|
3016663268:function(r){return{_:'storage.fileMp4'}},
|
|
71
72
|
276907596:function(r){return{_:'storage.fileWebp'}},
|
|
72
73
|
3552332666:function(r){return{_:'userEmpty',id:r.int53(),}},
|
|
73
|
-
829899656:function(r){var flags=r.uint(),flags2=r.uint();return{_:'user',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),botForumView:!!(flags2&65536),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.object():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,}},
|
|
74
|
+
829899656:function(r){var flags=r.uint(),flags2=r.uint();return{_:'user',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),botForumView:!!(flags2&65536),botForumCanManageTopics:!!(flags2&131072),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.object():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,}},
|
|
74
75
|
1326562017:function(r){return{_:'userProfilePhotoEmpty'}},
|
|
75
76
|
2194798342:function(r){var flags=r.uint();return{_:'userProfilePhoto',hasVideo:!!(flags&1),personal:!!(flags&4),photoId:r.long(),strippedThumb:flags&2?r.bytes():void 0,dcId:r.int(),}},
|
|
76
77
|
164646985:function(r){return{_:'userStatusEmpty'}},
|
|
@@ -83,7 +84,7 @@ var m={
|
|
|
83
84
|
1103884886:function(r){var flags=r.uint();return{_:'chat',creator:!!(flags&1),left:!!(flags&4),deactivated:!!(flags&32),callActive:!!(flags&8388608),callNotEmpty:!!(flags&16777216),noforwards:!!(flags&33554432),id:r.int53(),title:r.string(),photo:r.object(),participantsCount:r.int(),date:r.int(),version:r.int(),migratedTo:flags&64?r.object():void 0,adminRights:flags&16384?r.object():void 0,defaultBannedRights:flags&262144?r.object():void 0,}},
|
|
84
85
|
1704108455:function(r){return{_:'chatForbidden',id:r.int53(),title:r.string(),}},
|
|
85
86
|
473084188:function(r){var flags=r.uint(),flags2=r.uint();return{_:'channel',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.object():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,}},
|
|
86
|
-
399807445:function(r){var flags=r.uint();return{_:'channelForbidden',broadcast:!!(flags&32),megagroup:!!(flags&256),id:r.int53(),accessHash:r.long(),title:r.string(),untilDate:flags&65536?r.int():void 0,}},
|
|
87
|
+
399807445:function(r){var flags=r.uint();return{_:'channelForbidden',broadcast:!!(flags&32),megagroup:!!(flags&256),monoforum:!!(flags&1024),id:r.int53(),accessHash:r.long(),title:r.string(),untilDate:flags&65536?r.int():void 0,}},
|
|
87
88
|
640893467:function(r){var flags=r.uint();return{_:'chatFull',canSetUsername:!!(flags&128),hasScheduled:!!(flags&256),translationsDisabled:!!(flags&524288),id:r.int53(),about:r.string(),participants:r.object(),chatPhoto:flags&4?r.object():void 0,notifySettings:r.object(),exportedInvite:flags&8192?r.object():void 0,botInfo:flags&8?r.vector(r.object):void 0,pinnedMsgId:flags&64?r.int():void 0,folderId:flags&2048?r.int():void 0,call:flags&4096?r.object():void 0,ttlPeriod:flags&16384?r.int():void 0,groupcallDefaultJoinAs:flags&32768?r.object():void 0,themeEmoticon:flags&65536?r.string():void 0,requestsPending:flags&131072?r.int():void 0,recentRequesters:flags&131072?r.vector(r.long):void 0,availableReactions:flags&262144?r.object():void 0,reactionsLimit:flags&1048576?r.int():void 0,}},
|
|
88
89
|
3839931037:function(r){var flags=r.uint(),flags2=r.uint();return{_:'channelFull',canViewParticipants:!!(flags&8),canSetUsername:!!(flags&64),canSetStickers:!!(flags&128),hiddenPrehistory:!!(flags&1024),canSetLocation:!!(flags&65536),hasScheduled:!!(flags&524288),canViewStats:!!(flags&1048576),blocked:!!(flags&4194304),canDeleteChannel:!!(flags2&1),antispam:!!(flags2&2),participantsHidden:!!(flags2&4),translationsDisabled:!!(flags2&8),storiesPinnedAvailable:!!(flags2&32),viewForumAsMessages:!!(flags2&64),restrictedSponsored:!!(flags2&2048),canViewRevenue:!!(flags2&4096),paidMediaAllowed:!!(flags2&16384),canViewStarsRevenue:!!(flags2&32768),paidReactionsAvailable:!!(flags2&65536),stargiftsAvailable:!!(flags2&524288),paidMessagesAvailable:!!(flags2&1048576),id:r.int53(),about:r.string(),participantsCount:flags&1?r.int():void 0,adminsCount:flags&2?r.int():void 0,kickedCount:flags&4?r.int():void 0,bannedCount:flags&4?r.int():void 0,onlineCount:flags&8192?r.int():void 0,readInboxMaxId:r.int(),readOutboxMaxId:r.int(),unreadCount:r.int(),chatPhoto:r.object(),notifySettings:r.object(),exportedInvite:flags&8388608?r.object():void 0,botInfo:r.vector(r.object),migratedFromChatId:flags&16?r.long():void 0,migratedFromMaxId:flags&16?r.int():void 0,pinnedMsgId:flags&32?r.int():void 0,stickerset:flags&256?r.object():void 0,availableMinId:flags&512?r.int():void 0,folderId:flags&2048?r.int():void 0,linkedChatId:flags&16384?r.int53():void 0,location:flags&32768?r.object():void 0,slowmodeSeconds:flags&131072?r.int():void 0,slowmodeNextSendDate:flags&262144?r.int():void 0,statsDc:flags&4096?r.int():void 0,pts:r.int(),call:flags&2097152?r.object():void 0,ttlPeriod:flags&16777216?r.int():void 0,pendingSuggestions:flags&33554432?r.vector(r.string):void 0,groupcallDefaultJoinAs:flags&67108864?r.object():void 0,themeEmoticon:flags&134217728?r.string():void 0,requestsPending:flags&268435456?r.int():void 0,recentRequesters:flags&268435456?r.vector(r.int53):void 0,defaultSendAs:flags&536870912?r.object():void 0,availableReactions:flags&1073741824?r.object():void 0,reactionsLimit:flags2&8192?r.int():void 0,stories:flags2&16?r.object():void 0,wallpaper:flags2&128?r.object():void 0,boostsApplied:flags2&256?r.int():void 0,boostsUnrestrict:flags2&512?r.int():void 0,emojiset:flags2&1024?r.object():void 0,botVerification:flags2&131072?r.object():void 0,stargiftsCount:flags2&262144?r.int():void 0,sendPaidMessagesStars:flags2&2097152?r.long():void 0,mainTab:flags2&4194304?r.object():void 0,}},
|
|
89
90
|
3224190983:function(r){return{_:'chatParticipant',userId:r.int53(),inviterId:r.int53(),date:r.int(),}},
|
|
@@ -95,7 +96,7 @@ var m={
|
|
|
95
96
|
476978193:function(r){var flags=r.uint();return{_:'chatPhoto',hasVideo:!!(flags&1),photoId:r.long(),strippedThumb:flags&2?r.bytes():void 0,dcId:r.int(),}},
|
|
96
97
|
2426849924:function(r){var flags=r.uint();return{_:'messageEmpty',id:r.int(),peerId:flags&1?r.object():void 0,}},
|
|
97
98
|
2629079273:function(r){var flags=r.uint(),flags2=r.uint();return{_:'message',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,summaryFromLanguage:flags2&2048?r.string():void 0,}},
|
|
98
|
-
2055212554:function(r){var flags=r.uint();return{_:'messageService',out:!!(flags&2),mentioned:!!(flags&16),mediaUnread:!!(flags&32),reactionsArePossible:!!(flags&512),silent:!!(flags&8192),post:!!(flags&16384),legacy:!!(flags&524288),id:r.int(),fromId:flags&256?r.object():void 0,peerId:r.object(),savedPeerId:flags&268435456?r.object():void 0,replyTo:flags&8?r.object():void 0,date:r.int(),action:r.object(),reactions:flags&1048576?r.object():void 0,ttlPeriod:flags&33554432?r.int():void 0,
|
|
99
|
+
2055212554:function(r){var flags=r.uint();return{_:'messageService',out:!!(flags&2),mentioned:!!(flags&16),mediaUnread:!!(flags&32),reactionsArePossible:!!(flags&512),silent:!!(flags&8192),post:!!(flags&16384),legacy:!!(flags&524288),id:r.int(),fromId:flags&256?r.object():void 0,peerId:r.object(),savedPeerId:flags&268435456?r.object():void 0,replyTo:flags&8?r.object():void 0,date:r.int(),action:r.object(),reactions:flags&1048576?r.object():void 0,ttlPeriod:flags&33554432?r.int():void 0,}},
|
|
99
100
|
1038967584:function(r){return{_:'messageMediaEmpty'}},
|
|
100
101
|
1766936791:function(r){var flags=r.uint();return{_:'messageMediaPhoto',spoiler:!!(flags&8),photo:flags&1?r.object():void 0,ttlSeconds:flags&4?r.int():void 0,}},
|
|
101
102
|
1457575028:function(r){return{_:'messageMediaGeo',geo:r.object(),}},
|
|
@@ -162,7 +163,7 @@ var m={
|
|
|
162
163
|
1171632161:function(r){var flags=r.uint();return{_:'messageActionGiftStars',currency:r.string(),amount:r.long(),stars:r.long(),cryptoCurrency:flags&1?r.string():void 0,cryptoAmount:flags&1?r.long():void 0,transactionId:flags&2?r.string():void 0,}},
|
|
163
164
|
2953594786:function(r){var flags=r.uint();return{_:'messageActionPrizeStars',unclaimed:!!(flags&1),stars:r.long(),transactionId:r.string(),boostPeer:r.object(),giveawayMsgId:r.int(),}},
|
|
164
165
|
3928764883:function(r){var flags=r.uint();return{_:'messageActionStarGift',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,giftNum:flags&524288?r.int():void 0,}},
|
|
165
|
-
|
|
166
|
+
3871544610:function(r){var flags=r.uint();return{_:'messageActionStarGiftUnique',upgrade:!!(flags&1),transferred:!!(flags&2),saved:!!(flags&4),refunded:!!(flags&32),prepaidUpgrade:!!(flags&2048),assigned:!!(flags&8192),fromOffer:!!(flags&16384),craft:!!(flags&65536),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,canCraftAt:flags&32768?r.int():void 0,}},
|
|
166
167
|
2887720909:function(r){return{_:'messageActionPaidMessagesRefunded',count:r.int(),stars:r.long(),}},
|
|
167
168
|
2226685304:function(r){var flags=r.uint();return{_:'messageActionPaidMessagesPrice',broadcastMessagesAllowed:!!(flags&1),stars:r.long(),}},
|
|
168
169
|
805187450:function(r){var flags=r.uint();return{_:'messageActionConferenceCall',missed:!!(flags&1),active:!!(flags&2),video:!!(flags&16),callId:r.long(),duration:flags&4?r.int():void 0,otherParticipants:flags&8?r.vector(r.object):void 0,}},
|
|
@@ -175,6 +176,8 @@ var m={
|
|
|
175
176
|
747579941:function(r){return{_:'messageActionSuggestBirthday',birthday:r.object(),}},
|
|
176
177
|
2000845012:function(r){var flags=r.uint();return{_:'messageActionStarGiftPurchaseOffer',accepted:!!(flags&1),declined:!!(flags&2),gift:r.object(),price:r.object(),expiresAt:r.int(),}},
|
|
177
178
|
1940760427:function(r){var flags=r.uint();return{_:'messageActionStarGiftPurchaseOfferDeclined',expired:!!(flags&1),gift:r.object(),price:r.object(),}},
|
|
179
|
+
2961100933:function(r){return{_:'messageActionNewCreatorPending',newCreatorId:r.int53(),}},
|
|
180
|
+
3783807035:function(r){return{_:'messageActionChangeCreator',newCreatorId:r.int53(),}},
|
|
178
181
|
3582593222:function(r){var flags=r.uint();return{_:'dialog',pinned:!!(flags&4),unreadMark:!!(flags&8),viewForumAsMessages:!!(flags&64),peer:r.object(),topMessage:r.int(),readInboxMaxId:r.int(),readOutboxMaxId:r.int(),unreadCount:r.int(),unreadMentionsCount:r.int(),unreadReactionsCount:r.int(),notifySettings:r.object(),pts:flags&1?r.int():void 0,draft:flags&2?r.object():void 0,folderId:flags&16?r.int():void 0,ttlPeriod:flags&32?r.int():void 0,}},
|
|
179
182
|
1908216652:function(r){var flags=r.uint();return{_:'dialogFolder',pinned:!!(flags&4),folder:r.object(),peer:r.object(),topMessage:r.int(),unreadMutedPeersCount:r.int(),unreadUnmutedPeersCount:r.int(),unreadMutedMessagesCount:r.int(),unreadUnmutedMessagesCount:r.int(),}},
|
|
180
183
|
590459437:function(r){return{_:'photoEmpty',id:r.long(),}},
|
|
@@ -400,6 +403,8 @@ var m={
|
|
|
400
403
|
1048963372:function(r){return{_:'updateDeleteGroupCallMessages',call:r.object(),messages:r.vector(r.int),}},
|
|
401
404
|
1222788802:function(r){return{_:'updateStarGiftAuctionState',giftId:r.long(),state:r.object(),}},
|
|
402
405
|
3696816926:function(r){return{_:'updateStarGiftAuctionUserState',giftId:r.long(),userState:r.object(),}},
|
|
406
|
+
4221326458:function(r){return{_:'updateEmojiGameInfo',info:r.object(),}},
|
|
407
|
+
2886149188:function(r){return{_:'updateStarGiftCraftFail'}},
|
|
403
408
|
2775329342:function(r){return{_:'updates.state',pts:r.int(),qts:r.int(),date:r.int(),seq:r.int(),unreadCount:r.int(),}},
|
|
404
409
|
1567990072:function(r){return{_:'updates.differenceEmpty',date:r.int(),seq:r.int(),}},
|
|
405
410
|
16030880:function(r){return{_:'updates.difference',newMessages:r.vector(r.object),newEncryptedMessages:r.vector(r.object),otherUpdates:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),state:r.object(),}},
|
|
@@ -572,24 +577,24 @@ var m={
|
|
|
572
577
|
3556320491:function(r){return{_:'messages.stickerSetNotModified'}},
|
|
573
578
|
3262826695:function(r){return{_:'botCommand',command:r.string(),description:r.string(),}},
|
|
574
579
|
1300890265:function(r){var flags=r.uint();return{_:'botInfo',hasPreviewMedias:!!(flags&64),userId:flags&1?r.int53():void 0,description:flags&2?r.string():void 0,descriptionPhoto:flags&16?r.object():void 0,descriptionDocument:flags&32?r.object():void 0,commands:flags&4?r.vector(r.object):void 0,menuButton:flags&8?r.object():void 0,privacyPolicyUrl:flags&128?r.string():void 0,appSettings:flags&256?r.object():void 0,verifierSettings:flags&512?r.object():void 0,}},
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
580
|
+
2098662655:function(r){var flags=r.uint();return{_:'keyboardButton',style:flags&1024?r.object():void 0,text:r.string(),}},
|
|
581
|
+
3624674796:function(r){var flags=r.uint();return{_:'keyboardButtonUrl',style:flags&1024?r.object():void 0,text:r.string(),url:r.string(),}},
|
|
582
|
+
3861629280:function(r){var flags=r.uint();return{_:'keyboardButtonCallback',requiresPassword:!!(flags&1),style:flags&1024?r.object():void 0,text:r.string(),data:r.bytes(),}},
|
|
583
|
+
1098841487:function(r){var flags=r.uint();return{_:'keyboardButtonRequestPhone',style:flags&1024?r.object():void 0,text:r.string(),}},
|
|
584
|
+
2856384845:function(r){var flags=r.uint();return{_:'keyboardButtonRequestGeoLocation',style:flags&1024?r.object():void 0,text:r.string(),}},
|
|
585
|
+
2568198652:function(r){var flags=r.uint();return{_:'keyboardButtonSwitchInline',samePeer:!!(flags&1),style:flags&1024?r.object():void 0,text:r.string(),query:r.string(),peerTypes:flags&2?r.vector(r.object):void 0,}},
|
|
586
|
+
2311426297:function(r){var flags=r.uint();return{_:'keyboardButtonGame',style:flags&1024?r.object():void 0,text:r.string(),}},
|
|
587
|
+
1067792645:function(r){var flags=r.uint();return{_:'keyboardButtonBuy',style:flags&1024?r.object():void 0,text:r.string(),}},
|
|
588
|
+
4111468281:function(r){var flags=r.uint();return{_:'keyboardButtonUrlAuth',style:flags&1024?r.object():void 0,text:r.string(),fwdText:flags&1?r.string():void 0,url:r.string(),buttonId:r.int(),}},
|
|
589
|
+
1744911986:function(r){var flags=r.uint();return{_:'inputKeyboardButtonUrlAuth',requestWriteAccess:!!(flags&1),style:flags&1024?r.object():void 0,text:r.string(),fwdText:flags&2?r.string():void 0,url:r.string(),bot:r.object(),}},
|
|
590
|
+
2047989634:function(r){var flags=r.uint();return{_:'keyboardButtonRequestPoll',style:flags&1024?r.object():void 0,quiz:flags&1?r.boolean():void 0,text:r.string(),}},
|
|
591
|
+
2103314375:function(r){var flags=r.uint();return{_:'inputKeyboardButtonUserProfile',style:flags&1024?r.object():void 0,text:r.string(),userId:r.object(),}},
|
|
592
|
+
3237829897:function(r){var flags=r.uint();return{_:'keyboardButtonUserProfile',style:flags&1024?r.object():void 0,text:r.string(),userId:r.int53(),}},
|
|
593
|
+
3896947104:function(r){var flags=r.uint();return{_:'keyboardButtonWebView',style:flags&1024?r.object():void 0,text:r.string(),url:r.string(),}},
|
|
594
|
+
3780920176:function(r){var flags=r.uint();return{_:'keyboardButtonSimpleWebView',style:flags&1024?r.object():void 0,text:r.string(),url:r.string(),}},
|
|
595
|
+
1527715317:function(r){var flags=r.uint();return{_:'keyboardButtonRequestPeer',style:flags&1024?r.object():void 0,text:r.string(),buttonId:r.int(),peerType:r.object(),maxQuantity:r.int(),}},
|
|
596
|
+
45580630:function(r){var flags=r.uint();return{_:'inputKeyboardButtonRequestPeer',nameRequested:!!(flags&1),usernameRequested:!!(flags&2),photoRequested:!!(flags&4),style:flags&1024?r.object():void 0,text:r.string(),buttonId:r.int(),peerType:r.object(),maxQuantity:r.int(),}},
|
|
597
|
+
3167006480:function(r){var flags=r.uint();return{_:'keyboardButtonCopy',style:flags&1024?r.object():void 0,text:r.string(),copyText:r.string(),}},
|
|
593
598
|
2002815875:function(r){return{_:'keyboardButtonRow',buttons:r.vector(r.object),}},
|
|
594
599
|
2688441221:function(r){var flags=r.uint();return{_:'replyKeyboardHide',selective:!!(flags&4),}},
|
|
595
600
|
2259946248:function(r){var flags=r.uint();return{_:'replyKeyboardForceReply',singleUse:!!(flags&2),selective:!!(flags&4),placeholder:flags&8?r.string():void 0,}},
|
|
@@ -1004,8 +1009,8 @@ var m={
|
|
|
1004
1009
|
4224893590:function(r){return{_:'inputFolderPeer',peer:r.object(),folderId:r.int(),}},
|
|
1005
1010
|
3921323624:function(r){return{_:'folderPeer',peer:r.object(),folderId:r.int(),}},
|
|
1006
1011
|
3896830975:function(r){var flags=r.uint();return{_:'messages.searchCounter',inexact:!!(flags&2),filter:r.object(),count:r.int(),}},
|
|
1007
|
-
|
|
1008
|
-
|
|
1012
|
+
855293722:function(r){var flags=r.uint();return{_:'urlAuthResultRequest',requestWriteAccess:!!(flags&1),requestPhoneNumber:!!(flags&2),bot:r.object(),domain:r.string(),browser:flags&4?r.string():void 0,platform:flags&4?r.string():void 0,ip:flags&4?r.string():void 0,region:flags&4?r.string():void 0,}},
|
|
1013
|
+
1648005024:function(r){var flags=r.uint();return{_:'urlAuthResultAccepted',url:flags&1?r.string():void 0,}},
|
|
1009
1014
|
2849430303:function(r){return{_:'urlAuthResultDefault'}},
|
|
1010
1015
|
3216354699:function(r){return{_:'channelLocationEmpty'}},
|
|
1011
1016
|
547062491:function(r){return{_:'channelLocation',geoPoint:r.object(),address:r.string(),}},
|
|
@@ -1412,7 +1417,7 @@ var m={
|
|
|
1412
1417
|
2496562474:function(r){var flags=r.uint();return{_:'starsGiveawayOption',extended:!!(flags&1),default:!!(flags&2),stars:r.long(),yearlyBoosts:r.int(),storeProduct:flags&4?r.string():void 0,currency:r.string(),amount:r.long(),winners:r.vector(r.object),}},
|
|
1413
1418
|
1411605001:function(r){var flags=r.uint();return{_:'starsGiveawayWinnersOption',default:!!(flags&1),users:r.int(),perUserStars:r.long(),}},
|
|
1414
1419
|
825922887:function(r){var flags=r.uint();return{_:'starGift',limited:!!(flags&1),soldOut:!!(flags&2),birthday:!!(flags&4),requirePremium:!!(flags&128),limitedPerUser:!!(flags&256),peerColorAvailable:!!(flags&1024),auction:!!(flags&2048),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,auctionSlug:flags&2048?r.string():void 0,giftsPerRound:flags&2048?r.int():void 0,auctionStartDate:flags&2048?r.int():void 0,upgradeVariants:flags&4096?r.int():void 0,background:flags&8192?r.object():void 0,}},
|
|
1415
|
-
|
|
1420
|
+
2247141837:function(r){var flags=r.uint();return{_:'starGiftUnique',requirePremium:!!(flags&64),resaleTonOnly:!!(flags&128),themeAvailable:!!(flags&512),burned:!!(flags&16384),crafted:!!(flags&32768),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,craftChancePermille:flags&65536?r.int():void 0,}},
|
|
1416
1421
|
2743640936:function(r){return{_:'payments.starGiftsNotModified'}},
|
|
1417
1422
|
785918357:function(r){return{_:'payments.starGifts',hash:r.int(),gifts:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1418
1423
|
2030298073:function(r){return{_:'messageReportOption',text:r.string(),option:r.bytes(),}},
|
|
@@ -1432,16 +1437,16 @@ var m={
|
|
|
1432
1437
|
2194268816:function(r){var flags=r.uint();return{_:'messages.foundStickers',nextOffset:flags&1?r.int():void 0,hash:r.long(),stickers:r.vector(r.object),}},
|
|
1433
1438
|
2966251031:function(r){var flags=r.uint();return{_:'botVerifierSettings',canModifyCustomDescription:!!(flags&2),icon:r.long(),company:r.string(),customDescription:flags&1?r.string():void 0,}},
|
|
1434
1439
|
4181513308:function(r){return{_:'botVerification',botId:r.int53(),icon:r.long(),description:r.string(),}},
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1440
|
+
1448235490:function(r){var flags=r.uint();return{_:'starGiftAttributeModel',crafted:!!(flags&1),name:r.string(),document:r.object(),rarity:r.object(),}},
|
|
1441
|
+
1315997162:function(r){return{_:'starGiftAttributePattern',name:r.string(),document:r.object(),rarity:r.object(),}},
|
|
1442
|
+
2670003428:function(r){return{_:'starGiftAttributeBackdrop',name:r.string(),backdropId:r.int(),centerColor:r.int(),edgeColor:r.int(),patternColor:r.int(),textColor:r.int(),rarity:r.object(),}},
|
|
1438
1443
|
3770675820:function(r){var flags=r.uint();return{_:'starGiftAttributeOriginalDetails',senderId:flags&1?r.object():void 0,recipientId:r.object(),date:r.int(),message:flags&2?r.object():void 0,}},
|
|
1439
1444
|
1038213101:function(r){return{_:'payments.starGiftUpgradePreview',sampleAttributes:r.vector(r.object),prices:r.vector(r.object),nextPrices:r.vector(r.object),}},
|
|
1440
1445
|
1658259128:function(r){return{_:'users.users',users:r.vector(r.object),}},
|
|
1441
1446
|
828000628:function(r){return{_:'users.usersSlice',count:r.int(),users:r.vector(r.object),}},
|
|
1442
1447
|
1097619176:function(r){return{_:'payments.uniqueStarGift',gift:r.object(),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1443
1448
|
2358937772:function(r){return{_:'messages.webPagePreview',media:r.object(),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1444
|
-
|
|
1449
|
+
1105150972:function(r){var flags=r.uint();return{_:'savedStarGift',nameHidden:!!(flags&1),unsaved:!!(flags&32),refunded:!!(flags&512),canUpgrade:!!(flags&1024),pinnedToTop:!!(flags&4096),upgradeSeparate:!!(flags&131072),fromId:flags&2?r.object():void 0,date:r.int(),gift:r.object(),message:flags&4?r.object():void 0,msgId:flags&8?r.int():void 0,savedId:flags&2048?r.long():void 0,convertStars:flags&16?r.long():void 0,upgradeStars:flags&64?r.long():void 0,canExportAt:flags&128?r.int():void 0,transferStars:flags&256?r.long():void 0,canTransferAt:flags&8192?r.int():void 0,canResellAt:flags&16384?r.int():void 0,collectionId:flags&32768?r.vector(r.int):void 0,prepaidUpgradeHash:flags&65536?r.string():void 0,dropOriginalDetailsStars:flags&262144?r.long():void 0,giftNum:flags&524288?r.int():void 0,canCraftAt:flags&1048576?r.int():void 0,}},
|
|
1445
1450
|
2515765681:function(r){var flags=r.uint();return{_:'payments.savedStarGifts',count:r.int(),chatNotificationsEnabled:flags&2?r.boolean():void 0,gifts:r.vector(r.object),nextOffset:flags&1?r.string():void 0,chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1446
1451
|
1764202389:function(r){return{_:'inputSavedStarGiftUser',msgId:r.int(),}},
|
|
1447
1452
|
4043418239:function(r){return{_:'inputSavedStarGiftChat',peer:r.object(),savedId:r.long(),}},
|
|
@@ -1521,16 +1526,20 @@ var m={
|
|
|
1521
1526
|
1046713180:function(r){return{_:'inputPasskeyResponseRegister',clientData:r.object(),attestationData:r.bytes(),}},
|
|
1522
1527
|
3273638218:function(r){return{_:'inputPasskeyResponseLogin',clientData:r.object(),authenticatorData:r.bytes(),signature:r.bytes(),userHandle:r.string(),}},
|
|
1523
1528
|
1009235855:function(r){return{_:'inputPasskeyCredentialPublicKey',id:r.string(),rawId:r.string(),response:r.object(),}},
|
|
1529
|
+
1528613672:function(r){return{_:'inputPasskeyCredentialFirebasePNV',pnvToken:r.string(),}},
|
|
1524
1530
|
2952094616:function(r){return{_:'starGiftBackground',centerColor:r.int(),edgeColor:r.int(),textColor:r.int(),}},
|
|
1525
1531
|
984483112:function(r){return{_:'starGiftAuctionRound',num:r.int(),duration:r.int(),}},
|
|
1526
1532
|
178266597:function(r){return{_:'starGiftAuctionRoundExtendable',num:r.int(),duration:r.int(),extendTop:r.int(),extendWindow:r.int(),}},
|
|
1527
1533
|
1187439471:function(r){return{_:'payments.starGiftUpgradeAttributes',attributes:r.vector(r.object),}},
|
|
1528
|
-
4087948362:function(r){return{_:'inputMediaStakeDice',gameHash:r.string(),tonAmount:r.long(),clientSeed:r.bytes(),}},
|
|
1529
|
-
4221326458:function(r){return{_:'updateEmojiGameInfo',info:r.object(),}},
|
|
1530
|
-
1528613672:function(r){return{_:'inputPasskeyCredentialFirebasePNV',pnvToken:r.string(),}},
|
|
1531
1534
|
3660240455:function(r){return{_:'messages.emojiGameOutcome',seed:r.bytes(),stakeTonAmount:r.long(),tonAmount:r.long(),}},
|
|
1532
1535
|
1508266805:function(r){return{_:'messages.emojiGameUnavailable'}},
|
|
1533
1536
|
1155883043:function(r){var flags=r.uint();return{_:'messages.emojiGameDiceInfo',gameHash:r.string(),prevStake:r.long(),currentStreak:r.int(),params:r.vector(r.int),playsLeft:flags&1?r.int():void 0,}},
|
|
1537
|
+
910391095:function(r){return{_:'starGiftAttributeRarity',permille:r.int(),}},
|
|
1538
|
+
3687736201:function(r){return{_:'starGiftAttributeRarityUncommon'}},
|
|
1539
|
+
4035793259:function(r){return{_:'starGiftAttributeRarityRare'}},
|
|
1540
|
+
2029777832:function(r){return{_:'starGiftAttributeRarityEpic'}},
|
|
1541
|
+
3472353192:function(r){return{_:'starGiftAttributeRarityLegendary'}},
|
|
1542
|
+
1339896880:function(r){var flags=r.uint();return{_:'keyboardButtonStyle',bgPrimary:!!(flags&1),bgDanger:!!(flags&2),bgSuccess:!!(flags&4),icon:flags&8?r.long():void 0,}},
|
|
1534
1543
|
422509539:function(r){var flags=r.uint();return{_:'updateChannelPinnedTopic',pinned:!!(flags&1),channelId:r.int53(),topicId:r.int(),}},
|
|
1535
1544
|
4263085570:function(r){var flags=r.uint();return{_:'updateChannelPinnedTopics',channelId:r.int53(),order:flags&1?r.vector(r.int):void 0,}},
|
|
1536
1545
|
_results:{
|