@mtcute/tl 221.0.0 → 223.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 +57 -43
- package/binary/writer.js +85 -56
- package/compat/index.d.ts +511 -12
- package/compat/reader.js +27 -0
- package/index.d.ts +3534 -3229
- 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,19 +84,19 @@ 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
|
-
|
|
91
|
-
|
|
90
|
+
954703838:function(r){var flags=r.uint();return{_:'chatParticipant',userId:r.int53(),inviterId:r.int53(),date:r.int(),rank:flags&1?r.string():void 0,}},
|
|
91
|
+
3791153080:function(r){var flags=r.uint();return{_:'chatParticipantCreator',userId:r.int53(),rank:flags&1?r.string():void 0,}},
|
|
92
|
+
56677842:function(r){var flags=r.uint();return{_:'chatParticipantAdmin',userId:r.int53(),inviterId:r.int53(),date:r.int(),rank:flags&1?r.string():void 0,}},
|
|
92
93
|
2271466465:function(r){var flags=r.uint();return{_:'chatParticipantsForbidden',chatId:r.int53(),selfParticipant:flags&1?r.object():void 0,}},
|
|
93
94
|
1018991608:function(r){return{_:'chatParticipants',chatId:r.int53(),participants:r.vector(r.object),version:r.int(),}},
|
|
94
95
|
935395612:function(r){return{_:'chatPhotoEmpty'}},
|
|
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
|
-
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,
|
|
98
|
+
988112002: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,fromRank:flags2&4096?r.string():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,}},
|
|
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,10 @@ 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(),}},
|
|
181
|
+
3212666226:function(r){return{_:'messageActionNoForwardsToggle',prevValue:r.boolean(),newValue:r.boolean(),}},
|
|
182
|
+
1042781114:function(r){var flags=r.uint();return{_:'messageActionNoForwardsRequest',expired:!!(flags&1),prevValue:r.boolean(),newValue:r.boolean(),}},
|
|
178
183
|
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
184
|
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
185
|
590459437:function(r){return{_:'photoEmpty',id:r.long(),}},
|
|
@@ -213,7 +218,7 @@ var m={
|
|
|
213
218
|
4124956391:function(r){return{_:'inputReportReasonFake'}},
|
|
214
219
|
177124030:function(r){return{_:'inputReportReasonIllegalDrugs'}},
|
|
215
220
|
2663876157:function(r){return{_:'inputReportReasonPersonalDetails'}},
|
|
216
|
-
2687222078:function(r){var flags=r.uint(),flags2=r.uint();return{_:'userFull',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,note:flags2&4194304?r.object():void 0,}},
|
|
221
|
+
2687222078:function(r){var flags=r.uint(),flags2=r.uint();return{_:'userFull',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),noforwardsMyEnabled:!!(flags2&8388608),noforwardsPeerEnabled:!!(flags2&16777216),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,note:flags2&4194304?r.object():void 0,}},
|
|
217
222
|
341499403:function(r){return{_:'contact',userId:r.int53(),mutual:r.boolean(),}},
|
|
218
223
|
3242081360:function(r){return{_:'importedContact',userId:r.int53(),clientId:r.long(),}},
|
|
219
224
|
383348795:function(r){return{_:'contactStatus',userId:r.int53(),status:r.object(),}},
|
|
@@ -400,6 +405,9 @@ var m={
|
|
|
400
405
|
1048963372:function(r){return{_:'updateDeleteGroupCallMessages',call:r.object(),messages:r.vector(r.int),}},
|
|
401
406
|
1222788802:function(r){return{_:'updateStarGiftAuctionState',giftId:r.long(),state:r.object(),}},
|
|
402
407
|
3696816926:function(r){return{_:'updateStarGiftAuctionUserState',giftId:r.long(),userState:r.object(),}},
|
|
408
|
+
4221326458:function(r){return{_:'updateEmojiGameInfo',info:r.object(),}},
|
|
409
|
+
2886149188:function(r){return{_:'updateStarGiftCraftFail'}},
|
|
410
|
+
3179505593:function(r){return{_:'updateChatParticipantRank',chatId:r.int53(),userId:r.int53(),rank:r.string(),version:r.int(),}},
|
|
403
411
|
2775329342:function(r){return{_:'updates.state',pts:r.int(),qts:r.int(),date:r.int(),seq:r.int(),unreadCount:r.int(),}},
|
|
404
412
|
1567990072:function(r){return{_:'updates.differenceEmpty',date:r.int(),seq:r.int(),}},
|
|
405
413
|
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 +580,24 @@ var m={
|
|
|
572
580
|
3556320491:function(r){return{_:'messages.stickerSetNotModified'}},
|
|
573
581
|
3262826695:function(r){return{_:'botCommand',command:r.string(),description:r.string(),}},
|
|
574
582
|
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
|
-
|
|
583
|
+
2098662655:function(r){var flags=r.uint();return{_:'keyboardButton',style:flags&1024?r.object():void 0,text:r.string(),}},
|
|
584
|
+
3624674796:function(r){var flags=r.uint();return{_:'keyboardButtonUrl',style:flags&1024?r.object():void 0,text:r.string(),url:r.string(),}},
|
|
585
|
+
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(),}},
|
|
586
|
+
1098841487:function(r){var flags=r.uint();return{_:'keyboardButtonRequestPhone',style:flags&1024?r.object():void 0,text:r.string(),}},
|
|
587
|
+
2856384845:function(r){var flags=r.uint();return{_:'keyboardButtonRequestGeoLocation',style:flags&1024?r.object():void 0,text:r.string(),}},
|
|
588
|
+
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,}},
|
|
589
|
+
2311426297:function(r){var flags=r.uint();return{_:'keyboardButtonGame',style:flags&1024?r.object():void 0,text:r.string(),}},
|
|
590
|
+
1067792645:function(r){var flags=r.uint();return{_:'keyboardButtonBuy',style:flags&1024?r.object():void 0,text:r.string(),}},
|
|
591
|
+
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(),}},
|
|
592
|
+
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(),}},
|
|
593
|
+
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(),}},
|
|
594
|
+
2103314375:function(r){var flags=r.uint();return{_:'inputKeyboardButtonUserProfile',style:flags&1024?r.object():void 0,text:r.string(),userId:r.object(),}},
|
|
595
|
+
3237829897:function(r){var flags=r.uint();return{_:'keyboardButtonUserProfile',style:flags&1024?r.object():void 0,text:r.string(),userId:r.int53(),}},
|
|
596
|
+
3896947104:function(r){var flags=r.uint();return{_:'keyboardButtonWebView',style:flags&1024?r.object():void 0,text:r.string(),url:r.string(),}},
|
|
597
|
+
3780920176:function(r){var flags=r.uint();return{_:'keyboardButtonSimpleWebView',style:flags&1024?r.object():void 0,text:r.string(),url:r.string(),}},
|
|
598
|
+
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(),}},
|
|
599
|
+
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(),}},
|
|
600
|
+
3167006480:function(r){var flags=r.uint();return{_:'keyboardButtonCopy',style:flags&1024?r.object():void 0,text:r.string(),copyText:r.string(),}},
|
|
593
601
|
2002815875:function(r){return{_:'keyboardButtonRow',buttons:r.vector(r.object),}},
|
|
594
602
|
2688441221:function(r){var flags=r.uint();return{_:'replyKeyboardHide',selective:!!(flags&4),}},
|
|
595
603
|
2259946248:function(r){var flags=r.uint();return{_:'replyKeyboardForceReply',singleUse:!!(flags&2),selective:!!(flags&4),placeholder:flags&8?r.string():void 0,}},
|
|
@@ -616,6 +624,7 @@ var m={
|
|
|
616
624
|
852137487:function(r){return{_:'messageEntitySpoiler',offset:r.int(),length:r.int(),}},
|
|
617
625
|
3369010680:function(r){return{_:'messageEntityCustomEmoji',offset:r.int(),length:r.int(),documentId:r.long(),}},
|
|
618
626
|
4056722092:function(r){var flags=r.uint();return{_:'messageEntityBlockquote',collapsed:!!(flags&1),offset:r.int(),length:r.int(),}},
|
|
627
|
+
2420819911:function(r){var flags=r.uint();return{_:'messageEntityFormattedDate',relative:!!(flags&1),shortTime:!!(flags&2),longTime:!!(flags&4),shortDate:!!(flags&8),longDate:!!(flags&16),dayOfWeek:!!(flags&32),offset:r.int(),length:r.int(),date:r.int(),}},
|
|
619
628
|
4002160262:function(r){return{_:'inputChannelEmpty'}},
|
|
620
629
|
4082822184:function(r){return{_:'inputChannel',channelId:r.int53(),accessHash:r.long(),}},
|
|
621
630
|
1536380829:function(r){return{_:'inputChannelFromMessage',peer:r.object(),msgId:r.int(),channelId:r.int53(),}},
|
|
@@ -626,11 +635,11 @@ var m={
|
|
|
626
635
|
543450958:function(r){var flags=r.uint();return{_:'updates.channelDifference',final:!!(flags&1),pts:r.int(),timeout:flags&2?r.int():void 0,newMessages:r.vector(r.object),otherUpdates:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
627
636
|
2496933607:function(r){return{_:'channelMessagesFilterEmpty'}},
|
|
628
637
|
3447183703:function(r){var flags=r.uint();return{_:'channelMessagesFilter',excludeNewMessages:!!(flags&2),ranges:r.vector(r.object),}},
|
|
629
|
-
|
|
630
|
-
|
|
638
|
+
466961494:function(r){var flags=r.uint();return{_:'channelParticipant',userId:r.int53(),date:r.int(),subscriptionUntilDate:flags&1?r.int():void 0,rank:flags&4?r.string():void 0,}},
|
|
639
|
+
2840037914:function(r){var flags=r.uint();return{_:'channelParticipantSelf',viaRequest:!!(flags&1),userId:r.int53(),inviterId:r.int53(),date:r.int(),subscriptionUntilDate:flags&2?r.int():void 0,rank:flags&4?r.string():void 0,}},
|
|
631
640
|
803602899:function(r){var flags=r.uint();return{_:'channelParticipantCreator',userId:r.int53(),adminRights:r.object(),rank:flags&1?r.string():void 0,}},
|
|
632
641
|
885242707:function(r){var flags=r.uint();return{_:'channelParticipantAdmin',canEdit:!!(flags&1),self:!!(flags&2),userId:r.int53(),inviterId:flags&2?r.int53():void 0,promotedBy:r.int53(),date:r.int(),adminRights:r.object(),rank:flags&4?r.string():void 0,}},
|
|
633
|
-
|
|
642
|
+
3589320081:function(r){var flags=r.uint();return{_:'channelParticipantBanned',left:!!(flags&1),peer:r.object(),kickedBy:r.int53(),date:r.int(),bannedRights:r.object(),rank:flags&4?r.string():void 0,}},
|
|
634
643
|
453242886:function(r){return{_:'channelParticipantLeft',peer:r.object(),}},
|
|
635
644
|
3728686201:function(r){return{_:'channelParticipantsRecent'}},
|
|
636
645
|
3026225513:function(r){return{_:'channelParticipantsAdmins'}},
|
|
@@ -878,9 +887,10 @@ var m={
|
|
|
878
887
|
1621597305:function(r){return{_:'channelAdminLogEventActionToggleSignatureProfiles',newValue:r.boolean(),}},
|
|
879
888
|
1684286899:function(r){return{_:'channelAdminLogEventActionParticipantSubExtend',prevParticipant:r.object(),newParticipant:r.object(),}},
|
|
880
889
|
3306682238:function(r){return{_:'channelAdminLogEventActionToggleAutotranslation',newValue:r.boolean(),}},
|
|
890
|
+
1476834540:function(r){return{_:'channelAdminLogEventActionParticipantEditRank',userId:r.int53(),prevRank:r.string(),newRank:r.string(),}},
|
|
881
891
|
531458253:function(r){return{_:'channelAdminLogEvent',id:r.long(),date:r.int(),userId:r.int53(),action:r.object(),}},
|
|
882
892
|
3985307469:function(r){return{_:'channels.adminLogResults',events:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
883
|
-
3926948580:function(r){var flags=r.uint();return{_:'channelAdminLogEventsFilter',join:!!(flags&1),leave:!!(flags&2),invite:!!(flags&4),ban:!!(flags&8),unban:!!(flags&16),kick:!!(flags&32),unkick:!!(flags&64),promote:!!(flags&128),demote:!!(flags&256),info:!!(flags&512),settings:!!(flags&1024),pinned:!!(flags&2048),edit:!!(flags&4096),delete:!!(flags&8192),groupCall:!!(flags&16384),invites:!!(flags&32768),send:!!(flags&65536),forums:!!(flags&131072),subExtend:!!(flags&262144),}},
|
|
893
|
+
3926948580:function(r){var flags=r.uint();return{_:'channelAdminLogEventsFilter',join:!!(flags&1),leave:!!(flags&2),invite:!!(flags&4),ban:!!(flags&8),unban:!!(flags&16),kick:!!(flags&32),unkick:!!(flags&64),promote:!!(flags&128),demote:!!(flags&256),info:!!(flags&512),settings:!!(flags&1024),pinned:!!(flags&2048),edit:!!(flags&4096),delete:!!(flags&8192),groupCall:!!(flags&16384),invites:!!(flags&32768),send:!!(flags&65536),forums:!!(flags&131072),subExtend:!!(flags&262144),editRank:!!(flags&524288),}},
|
|
884
894
|
1558266229:function(r){return{_:'popularContact',clientId:r.long(),importers:r.int(),}},
|
|
885
895
|
2660214483:function(r){return{_:'messages.favedStickersNotModified'}},
|
|
886
896
|
750063767:function(r){return{_:'messages.favedStickers',hash:r.long(),packs:r.vector(r.object),stickers:r.vector(r.object),}},
|
|
@@ -984,8 +994,8 @@ var m={
|
|
|
984
994
|
2061444128:function(r){var flags=r.uint();return{_:'pollResults',min:!!(flags&1),results:flags&2?r.vector(r.object):void 0,totalVoters:flags&4?r.int():void 0,recentVoters:flags&8?r.vector(r.object):void 0,solution:flags&16?r.string():void 0,solutionEntities:flags&16?r.vector(r.object):void 0,}},
|
|
985
995
|
4030849616:function(r){return{_:'chatOnlines',onlines:r.int(),}},
|
|
986
996
|
1202287072:function(r){return{_:'statsURL',url:r.string(),}},
|
|
987
|
-
1605510357:function(r){var flags=r.uint();return{_:'chatAdminRights',changeInfo:!!(flags&1),postMessages:!!(flags&2),editMessages:!!(flags&4),deleteMessages:!!(flags&8),banUsers:!!(flags&16),inviteUsers:!!(flags&32),pinMessages:!!(flags&128),addAdmins:!!(flags&512),anonymous:!!(flags&1024),manageCall:!!(flags&2048),other:!!(flags&4096),manageTopics:!!(flags&8192),postStories:!!(flags&16384),editStories:!!(flags&32768),deleteStories:!!(flags&65536),manageDirectMessages:!!(flags&131072),}},
|
|
988
|
-
2668758040:function(r){var flags=r.uint();return{_:'chatBannedRights',viewMessages:!!(flags&1),sendMessages:!!(flags&2),sendMedia:!!(flags&4),sendStickers:!!(flags&8),sendGifs:!!(flags&16),sendGames:!!(flags&32),sendInline:!!(flags&64),embedLinks:!!(flags&128),sendPolls:!!(flags&256),changeInfo:!!(flags&1024),inviteUsers:!!(flags&32768),pinMessages:!!(flags&131072),manageTopics:!!(flags&262144),sendPhotos:!!(flags&524288),sendVideos:!!(flags&1048576),sendRoundvideos:!!(flags&2097152),sendAudios:!!(flags&4194304),sendVoices:!!(flags&8388608),sendDocs:!!(flags&16777216),sendPlain:!!(flags&33554432),untilDate:r.int(),}},
|
|
997
|
+
1605510357:function(r){var flags=r.uint();return{_:'chatAdminRights',changeInfo:!!(flags&1),postMessages:!!(flags&2),editMessages:!!(flags&4),deleteMessages:!!(flags&8),banUsers:!!(flags&16),inviteUsers:!!(flags&32),pinMessages:!!(flags&128),addAdmins:!!(flags&512),anonymous:!!(flags&1024),manageCall:!!(flags&2048),other:!!(flags&4096),manageTopics:!!(flags&8192),postStories:!!(flags&16384),editStories:!!(flags&32768),deleteStories:!!(flags&65536),manageDirectMessages:!!(flags&131072),manageRanks:!!(flags&262144),}},
|
|
998
|
+
2668758040:function(r){var flags=r.uint();return{_:'chatBannedRights',viewMessages:!!(flags&1),sendMessages:!!(flags&2),sendMedia:!!(flags&4),sendStickers:!!(flags&8),sendGifs:!!(flags&16),sendGames:!!(flags&32),sendInline:!!(flags&64),embedLinks:!!(flags&128),sendPolls:!!(flags&256),changeInfo:!!(flags&1024),inviteUsers:!!(flags&32768),pinMessages:!!(flags&131072),manageTopics:!!(flags&262144),sendPhotos:!!(flags&524288),sendVideos:!!(flags&1048576),sendRoundvideos:!!(flags&2097152),sendAudios:!!(flags&4194304),sendVoices:!!(flags&8388608),sendDocs:!!(flags&16777216),sendPlain:!!(flags&33554432),editRank:!!(flags&67108864),untilDate:r.int(),}},
|
|
989
999
|
3861952889:function(r){return{_:'inputWallPaper',id:r.long(),accessHash:r.long(),}},
|
|
990
1000
|
1913199744:function(r){return{_:'inputWallPaperSlug',slug:r.string(),}},
|
|
991
1001
|
2524595758:function(r){return{_:'inputWallPaperNoFile',id:r.long(),}},
|
|
@@ -1004,8 +1014,8 @@ var m={
|
|
|
1004
1014
|
4224893590:function(r){return{_:'inputFolderPeer',peer:r.object(),folderId:r.int(),}},
|
|
1005
1015
|
3921323624:function(r){return{_:'folderPeer',peer:r.object(),folderId:r.int(),}},
|
|
1006
1016
|
3896830975:function(r){var flags=r.uint();return{_:'messages.searchCounter',inexact:!!(flags&2),filter:r.object(),count:r.int(),}},
|
|
1007
|
-
|
|
1008
|
-
|
|
1017
|
+
4177062686:function(r){var flags=r.uint();return{_:'urlAuthResultRequest',requestWriteAccess:!!(flags&1),requestPhoneNumber:!!(flags&2),matchCodesFirst:!!(flags&32),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,matchCodes:flags&8?r.vector(r.string):void 0,userIdHint:flags&16?r.int53():void 0,}},
|
|
1018
|
+
1648005024:function(r){var flags=r.uint();return{_:'urlAuthResultAccepted',url:flags&1?r.string():void 0,}},
|
|
1009
1019
|
2849430303:function(r){return{_:'urlAuthResultDefault'}},
|
|
1010
1020
|
3216354699:function(r){return{_:'channelLocationEmpty'}},
|
|
1011
1021
|
547062491:function(r){return{_:'channelLocation',geoPoint:r.object(),address:r.string(),}},
|
|
@@ -1412,7 +1422,7 @@ var m={
|
|
|
1412
1422
|
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
1423
|
1411605001:function(r){var flags=r.uint();return{_:'starsGiveawayWinnersOption',default:!!(flags&1),users:r.int(),perUserStars:r.long(),}},
|
|
1414
1424
|
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
|
-
|
|
1425
|
+
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
1426
|
2743640936:function(r){return{_:'payments.starGiftsNotModified'}},
|
|
1417
1427
|
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
1428
|
2030298073:function(r){return{_:'messageReportOption',text:r.string(),option:r.bytes(),}},
|
|
@@ -1432,16 +1442,16 @@ var m={
|
|
|
1432
1442
|
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
1443
|
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
1444
|
4181513308:function(r){return{_:'botVerification',botId:r.int53(),icon:r.long(),description:r.string(),}},
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1445
|
+
1448235490:function(r){var flags=r.uint();return{_:'starGiftAttributeModel',crafted:!!(flags&1),name:r.string(),document:r.object(),rarity:r.object(),}},
|
|
1446
|
+
1315997162:function(r){return{_:'starGiftAttributePattern',name:r.string(),document:r.object(),rarity:r.object(),}},
|
|
1447
|
+
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
1448
|
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
1449
|
1038213101:function(r){return{_:'payments.starGiftUpgradePreview',sampleAttributes:r.vector(r.object),prices:r.vector(r.object),nextPrices:r.vector(r.object),}},
|
|
1440
1450
|
1658259128:function(r){return{_:'users.users',users:r.vector(r.object),}},
|
|
1441
1451
|
828000628:function(r){return{_:'users.usersSlice',count:r.int(),users:r.vector(r.object),}},
|
|
1442
1452
|
1097619176:function(r){return{_:'payments.uniqueStarGift',gift:r.object(),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1443
1453
|
2358937772:function(r){return{_:'messages.webPagePreview',media:r.object(),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1444
|
-
|
|
1454
|
+
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
1455
|
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
1456
|
1764202389:function(r){return{_:'inputSavedStarGiftUser',msgId:r.int(),}},
|
|
1447
1457
|
4043418239:function(r){return{_:'inputSavedStarGiftChat',peer:r.object(),savedId:r.long(),}},
|
|
@@ -1521,16 +1531,20 @@ var m={
|
|
|
1521
1531
|
1046713180:function(r){return{_:'inputPasskeyResponseRegister',clientData:r.object(),attestationData:r.bytes(),}},
|
|
1522
1532
|
3273638218:function(r){return{_:'inputPasskeyResponseLogin',clientData:r.object(),authenticatorData:r.bytes(),signature:r.bytes(),userHandle:r.string(),}},
|
|
1523
1533
|
1009235855:function(r){return{_:'inputPasskeyCredentialPublicKey',id:r.string(),rawId:r.string(),response:r.object(),}},
|
|
1534
|
+
1528613672:function(r){return{_:'inputPasskeyCredentialFirebasePNV',pnvToken:r.string(),}},
|
|
1524
1535
|
2952094616:function(r){return{_:'starGiftBackground',centerColor:r.int(),edgeColor:r.int(),textColor:r.int(),}},
|
|
1525
1536
|
984483112:function(r){return{_:'starGiftAuctionRound',num:r.int(),duration:r.int(),}},
|
|
1526
1537
|
178266597:function(r){return{_:'starGiftAuctionRoundExtendable',num:r.int(),duration:r.int(),extendTop:r.int(),extendWindow:r.int(),}},
|
|
1527
1538
|
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
1539
|
3660240455:function(r){return{_:'messages.emojiGameOutcome',seed:r.bytes(),stakeTonAmount:r.long(),tonAmount:r.long(),}},
|
|
1532
1540
|
1508266805:function(r){return{_:'messages.emojiGameUnavailable'}},
|
|
1533
1541
|
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,}},
|
|
1542
|
+
910391095:function(r){return{_:'starGiftAttributeRarity',permille:r.int(),}},
|
|
1543
|
+
3687736201:function(r){return{_:'starGiftAttributeRarityUncommon'}},
|
|
1544
|
+
4035793259:function(r){return{_:'starGiftAttributeRarityRare'}},
|
|
1545
|
+
2029777832:function(r){return{_:'starGiftAttributeRarityEpic'}},
|
|
1546
|
+
3472353192:function(r){return{_:'starGiftAttributeRarityLegendary'}},
|
|
1547
|
+
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
1548
|
422509539:function(r){var flags=r.uint();return{_:'updateChannelPinnedTopic',pinned:!!(flags&1),channelId:r.int53(),topicId:r.int(),}},
|
|
1535
1549
|
4263085570:function(r){var flags=r.uint();return{_:'updateChannelPinnedTopics',channelId:r.int53(),order:flags&1?r.vector(r.int):void 0,}},
|
|
1536
1550
|
_results:{
|