@mtcute/tl 195.0.0 → 196.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 +35 -23
- package/binary/writer.js +52 -28
- package/index.d.ts +225 -22
- package/index.js +6 -2
- package/package.json +1 -1
package/binary/reader.js
CHANGED
|
@@ -73,7 +73,7 @@ var m={
|
|
|
73
73
|
3016663268:function(r){return{_:'storage.fileMp4'}},
|
|
74
74
|
276907596:function(r){return{_:'storage.fileWebp'}},
|
|
75
75
|
3552332666:function(r){return{_:'userEmpty',id:r.int53(),}},
|
|
76
|
-
|
|
76
|
+
1262928766: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),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,}},
|
|
77
77
|
1326562017:function(r){return{_:'userProfilePhotoEmpty'}},
|
|
78
78
|
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(),}},
|
|
79
79
|
164646985:function(r){return{_:'userStatusEmpty'}},
|
|
@@ -85,10 +85,10 @@ var m={
|
|
|
85
85
|
693512293:function(r){return{_:'chatEmpty',id:r.int53(),}},
|
|
86
86
|
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,}},
|
|
87
87
|
1704108455:function(r){return{_:'chatForbidden',id:r.int53(),title:r.string(),}},
|
|
88
|
-
|
|
88
|
+
3758725303: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),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,}},
|
|
89
89
|
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,}},
|
|
90
90
|
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,}},
|
|
91
|
-
|
|
91
|
+
2683549784: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),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,}},
|
|
92
92
|
3224190983:function(r){return{_:'chatParticipant',userId:r.int53(),inviterId:r.int53(),date:r.int(),}},
|
|
93
93
|
3832270564:function(r){return{_:'chatParticipantCreator',userId:r.int53(),}},
|
|
94
94
|
2694004571:function(r){return{_:'chatParticipantAdmin',userId:r.int53(),inviterId:r.int53(),date:r.int(),}},
|
|
@@ -97,8 +97,8 @@ var m={
|
|
|
97
97
|
935395612:function(r){return{_:'chatPhotoEmpty'}},
|
|
98
98
|
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(),}},
|
|
99
99
|
2426849924:function(r){var flags=r.uint();return{_:'messageEmpty',id:r.int(),peerId:flags&1?r.object():void 0,}},
|
|
100
|
-
|
|
101
|
-
|
|
100
|
+
2533211113: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),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,}},
|
|
101
|
+
3553789248: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(),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,}},
|
|
102
102
|
1038967584:function(r){return{_:'messageMediaEmpty'}},
|
|
103
103
|
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,}},
|
|
104
104
|
1457575028:function(r){return{_:'messageMediaGeo',geo:r.object(),}},
|
|
@@ -162,7 +162,8 @@ var m={
|
|
|
162
162
|
1102307842:function(r){var flags=r.uint();return{_:'messageActionPaymentRefunded',peer:r.object(),currency:r.string(),totalAmount:r.long(),payload:flags&1?r.bytes():void 0,charge:r.object(),}},
|
|
163
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,}},
|
|
164
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(),}},
|
|
165
|
-
|
|
165
|
+
3639931047: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),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,}},
|
|
166
|
+
638024601:function(r){var flags=r.uint();return{_:'messageActionStarGiftUnique',upgrade:!!(flags&1),transferred:!!(flags&2),saved:!!(flags&4),refunded:!!(flags&32),gift:r.object(),canExportAt:flags&8?r.int():void 0,transferStars:flags&16?r.long():void 0,}},
|
|
166
167
|
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,}},
|
|
167
168
|
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(),}},
|
|
168
169
|
590459437:function(r){return{_:'photoEmpty',id:r.long(),}},
|
|
@@ -200,7 +201,7 @@ var m={
|
|
|
200
201
|
4124956391:function(r){return{_:'inputReportReasonFake'}},
|
|
201
202
|
177124030:function(r){return{_:'inputReportReasonIllegalDrugs'}},
|
|
202
203
|
2663876157:function(r){return{_:'inputReportReasonPersonalDetails'}},
|
|
203
|
-
|
|
204
|
+
1301765052: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),id:r.int53(),about:flags&2?r.string():void 0,settings:r.object(),personalPhoto:flags&2097152?r.object():void 0,profilePhoto:flags&4?r.object():void 0,fallbackPhoto:flags&4194304?r.object():void 0,notifySettings:r.object(),botInfo:flags&8?r.object():void 0,pinnedMsgId:flags&64?r.int():void 0,commonChatsCount:r.int(),folderId:flags&2048?r.int():void 0,ttlPeriod:flags&16384?r.int():void 0,themeEmoticon:flags&32768?r.string():void 0,privateForwardName:flags&65536?r.string():void 0,botGroupAdminRights:flags&131072?r.object():void 0,botBroadcastAdminRights:flags&262144?r.object():void 0,premiumGifts:flags&524288?r.vector(r.object):void 0,wallpaper:flags&16777216?r.object():void 0,stories:flags&33554432?r.object():void 0,businessWorkHours:flags2&1?r.object():void 0,businessLocation:flags2&2?r.object():void 0,businessGreetingMessage:flags2&4?r.object():void 0,businessAwayMessage:flags2&8?r.object():void 0,businessIntro:flags2&16?r.object():void 0,birthday:flags2&32?r.object():void 0,personalChannelId:flags2&64?r.int53():void 0,personalChannelMessage:flags2&64?r.int():void 0,stargiftsCount:flags2&256?r.int():void 0,starrefProgram:flags2&2048?r.object():void 0,botVerification:flags2&4096?r.object():void 0,}},
|
|
204
205
|
341499403:function(r){return{_:'contact',userId:r.int53(),mutual:r.boolean(),}},
|
|
205
206
|
3242081360:function(r){return{_:'importedContact',userId:r.int53(),clientId:r.long(),}},
|
|
206
207
|
383348795:function(r){return{_:'contactStatus',userId:r.int53(),status:r.object(),}},
|
|
@@ -323,7 +324,7 @@ var m={
|
|
|
323
324
|
1538885128:function(r){var flags=r.uint();return{_:'updatePinnedChannelMessages',pinned:!!(flags&1),channelId:r.int53(),messages:r.vector(r.int),pts:r.int(),ptsCount:r.int(),}},
|
|
324
325
|
4170869326:function(r){return{_:'updateChat',chatId:r.int53(),}},
|
|
325
326
|
4075543374:function(r){return{_:'updateGroupCallParticipants',call:r.object(),participants:r.vector(r.object),version:r.int(),}},
|
|
326
|
-
|
|
327
|
+
2547401537:function(r){var flags=r.uint();return{_:'updateGroupCall',chatId:flags&1?r.int53():void 0,call:r.object(),}},
|
|
327
328
|
3147544997:function(r){var flags=r.uint();return{_:'updatePeerHistoryTTL',peer:r.object(),ttlPeriod:flags&1?r.int():void 0,}},
|
|
328
329
|
3498534458:function(r){var flags=r.uint();return{_:'updateChatParticipant',chatId:r.int53(),date:r.int(),actorId:r.int53(),userId:r.int53(),prevParticipant:flags&1?r.object():void 0,newParticipant:flags&2?r.object():void 0,invite:flags&4?r.object():void 0,qts:r.int(),}},
|
|
329
330
|
2556246715:function(r){var flags=r.uint();return{_:'updateChannelParticipant',viaChatlist:!!(flags&8),channelId:r.int53(),date:r.int(),actorId:r.int53(),userId:r.int53(),prevParticipant:flags&1?r.object():void 0,newParticipant:flags&2?r.object():void 0,invite:flags&4?r.object():void 0,qts:r.int(),}},
|
|
@@ -526,7 +527,7 @@ var m={
|
|
|
526
527
|
2720841110:function(r){var flags=r.uint();return{_:'chatInviteExported',revoked:!!(flags&1),permanent:!!(flags&32),requestNeeded:!!(flags&64),link:r.string(),adminId:r.int53(),date:r.int(),startDate:flags&16?r.int():void 0,expireDate:flags&2?r.int():void 0,usageLimit:flags&4?r.int():void 0,usage:flags&8?r.int():void 0,requested:flags&128?r.int():void 0,subscriptionExpired:flags&1024?r.int():void 0,title:flags&256?r.string():void 0,subscriptionPricing:flags&512?r.object():void 0,}},
|
|
527
528
|
3977280183:function(r){return{_:'chatInvitePublicJoinRequests'}},
|
|
528
529
|
1516793212:function(r){return{_:'chatInviteAlready',chat:r.object(),}},
|
|
529
|
-
|
|
530
|
+
1553807106:function(r){var flags=r.uint();return{_:'chatInvite',channel:!!(flags&1),broadcast:!!(flags&2),public:!!(flags&4),megagroup:!!(flags&8),requestNeeded:!!(flags&64),verified:!!(flags&128),scam:!!(flags&256),fake:!!(flags&512),canRefulfillSubscription:!!(flags&2048),title:r.string(),about:flags&32?r.string():void 0,photo:r.object(),participantsCount:r.int(),participants:flags&16?r.vector(r.object):void 0,color:r.int(),subscriptionPricing:flags&1024?r.object():void 0,subscriptionFormId:flags&4096?r.long():void 0,botVerification:flags&8192?r.object():void 0,}},
|
|
530
531
|
1634294960:function(r){return{_:'chatInvitePeek',chat:r.object(),expires:r.int(),}},
|
|
531
532
|
4290128789:function(r){return{_:'inputStickerSetEmpty'}},
|
|
532
533
|
2649203305:function(r){return{_:'inputStickerSetID',id:r.long(),accessHash:r.long(),}},
|
|
@@ -543,7 +544,7 @@ var m={
|
|
|
543
544
|
1846886166:function(r){return{_:'messages.stickerSet',set:r.object(),packs:r.vector(r.object),keywords:r.vector(r.object),documents:r.vector(r.object),}},
|
|
544
545
|
3556320491:function(r){return{_:'messages.stickerSetNotModified'}},
|
|
545
546
|
3262826695:function(r){return{_:'botCommand',command:r.string(),description:r.string(),}},
|
|
546
|
-
|
|
547
|
+
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,}},
|
|
547
548
|
2734311552:function(r){return{_:'keyboardButton',text:r.string(),}},
|
|
548
549
|
629866245:function(r){return{_:'keyboardButtonUrl',text:r.string(),url:r.string(),}},
|
|
549
550
|
901503851:function(r){var flags=r.uint();return{_:'keyboardButtonCallback',requiresPassword:!!(flags&1),text:r.string(),data:r.bytes(),}},
|
|
@@ -748,6 +749,7 @@ var m={
|
|
|
748
749
|
3767910816:function(r){return{_:'phoneCallDiscardReasonDisconnect'}},
|
|
749
750
|
1471006352:function(r){return{_:'phoneCallDiscardReasonHangup'}},
|
|
750
751
|
4210550985:function(r){return{_:'phoneCallDiscardReasonBusy'}},
|
|
752
|
+
2950871097:function(r){return{_:'phoneCallDiscardReasonAllowGroupCall',encryptedKey:r.bytes(),}},
|
|
751
753
|
2104790276:function(r){return{_:'dataJSON',data:r.string(),}},
|
|
752
754
|
3408489464:function(r){return{_:'labeledPrice',label:r.string(),amount:r.long(),}},
|
|
753
755
|
77522308:function(r){var flags=r.uint();return{_:'invoice',test:!!(flags&1),nameRequested:!!(flags&2),phoneRequested:!!(flags&4),emailRequested:!!(flags&8),shippingAddressRequested:!!(flags&16),flexible:!!(flags&32),phoneToProvider:!!(flags&64),emailToProvider:!!(flags&128),recurring:!!(flags&512),currency:r.string(),prices:r.vector(r.object),maxTipAmount:flags&256?r.long():void 0,suggestedTipAmounts:flags&256?r.vector(r.long):void 0,termsUrl:flags&1024?r.string():void 0,subscriptionPeriod:flags&2048?r.int():void 0,}},
|
|
@@ -780,11 +782,11 @@ var m={
|
|
|
780
782
|
853188252:function(r){var flags=r.uint();return{_:'inputStickerSetItem',document:r.object(),emoji:r.string(),maskCoords:flags&1?r.object():void 0,keywords:flags&2?r.string():void 0,}},
|
|
781
783
|
506920429:function(r){return{_:'inputPhoneCall',id:r.long(),accessHash:r.long(),}},
|
|
782
784
|
1399245077:function(r){return{_:'phoneCallEmpty',id:r.long(),}},
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
785
|
+
4006881368:function(r){var flags=r.uint();return{_:'phoneCallWaiting',video:!!(flags&64),id:r.long(),accessHash:r.long(),date:r.int(),adminId:r.int53(),participantId:r.int53(),protocol:r.object(),receiveDate:flags&1?r.int():void 0,conferenceCall:flags&256?r.object():void 0,}},
|
|
786
|
+
1161174115:function(r){var flags=r.uint();return{_:'phoneCallRequested',video:!!(flags&64),id:r.long(),accessHash:r.long(),date:r.int(),adminId:r.int53(),participantId:r.int53(),gAHash:r.bytes(),protocol:r.object(),conferenceCall:flags&256?r.object():void 0,}},
|
|
787
|
+
587035009:function(r){var flags=r.uint();return{_:'phoneCallAccepted',video:!!(flags&64),id:r.long(),accessHash:r.long(),date:r.int(),adminId:r.int53(),participantId:r.int53(),gB:r.bytes(),protocol:r.object(),conferenceCall:flags&256?r.object():void 0,}},
|
|
788
|
+
1000707084:function(r){var flags=r.uint();return{_:'phoneCall',p2pAllowed:!!(flags&32),video:!!(flags&64),id:r.long(),accessHash:r.long(),date:r.int(),adminId:r.int53(),participantId:r.int53(),gAOrB:r.bytes(),keyFingerprint:r.long(),protocol:r.object(),connections:r.vector(r.object),startDate:r.int(),customParameters:flags&128?r.object():void 0,conferenceCall:flags&256?r.object():void 0,}},
|
|
789
|
+
4191311107:function(r){var flags=r.uint();return{_:'phoneCallDiscarded',needRating:!!(flags&4),needDebug:!!(flags&8),video:!!(flags&64),id:r.long(),reason:flags&1?r.object():void 0,duration:flags&2?r.int():void 0,conferenceCall:flags&256?r.object():void 0,}},
|
|
788
790
|
2629903303:function(r){var flags=r.uint();return{_:'phoneConnection',tcp:!!(flags&1),id:r.long(),ip:r.string(),ipv6:r.string(),port:r.int(),peerTag:r.bytes(),}},
|
|
789
791
|
1667228533:function(r){var flags=r.uint();return{_:'phoneConnectionWebrtc',turn:!!(flags&1),stun:!!(flags&2),id:r.long(),ip:r.string(),ipv6:r.string(),port:r.int(),username:r.string(),password:r.string(),}},
|
|
790
792
|
4236742600:function(r){var flags=r.uint();return{_:'phoneCallProtocol',udpP2p:!!(flags&1),udpReflector:!!(flags&2),minLayer:r.int(),maxLayer:r.int(),libraryVersions:r.vector(r.string),}},
|
|
@@ -1005,9 +1007,9 @@ var m={
|
|
|
1005
1007
|
1218005070:function(r){var flags=r.uint();return{_:'messages.votesList',count:r.int(),votes:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),nextOffset:flags&1?r.string():void 0,}},
|
|
1006
1008
|
4117234314:function(r){return{_:'bankCardOpenUrl',url:r.string(),name:r.string(),}},
|
|
1007
1009
|
1042605427:function(r){return{_:'payments.bankCardData',title:r.string(),openUrls:r.vector(r.object),}},
|
|
1008
|
-
|
|
1010
|
+
2856789585:function(r){var flags=r.uint();return{_:'dialogFilter',contacts:!!(flags&1),nonContacts:!!(flags&2),groups:!!(flags&4),broadcasts:!!(flags&8),bots:!!(flags&16),excludeMuted:!!(flags&2048),excludeRead:!!(flags&4096),excludeArchived:!!(flags&8192),titleNoanimate:!!(flags&268435456),id:r.int(),title:r.object(),emoticon:flags&33554432?r.string():void 0,color:flags&134217728?r.int():void 0,pinnedPeers:r.vector(r.object),includePeers:r.vector(r.object),excludePeers:r.vector(r.object),}},
|
|
1009
1011
|
909284270:function(r){return{_:'dialogFilterDefault'}},
|
|
1010
|
-
|
|
1012
|
+
2522053591:function(r){var flags=r.uint();return{_:'dialogFilterChatlist',hasMyInvites:!!(flags&67108864),titleNoanimate:!!(flags&268435456),id:r.int(),title:r.object(),emoticon:flags&33554432?r.string():void 0,color:flags&134217728?r.int():void 0,pinnedPeers:r.vector(r.object),includePeers:r.vector(r.object),}},
|
|
1011
1013
|
2004110666:function(r){return{_:'dialogFilterSuggested',filter:r.object(),description:r.string(),}},
|
|
1012
1014
|
3057118639:function(r){return{_:'statsDateRangeDays',minDate:r.int(),maxDate:r.int(),}},
|
|
1013
1015
|
3410210014:function(r){return{_:'statsAbsValueAndPrev',current:r.double(),previous:r.double(),}},
|
|
@@ -1039,7 +1041,7 @@ var m={
|
|
|
1039
1041
|
3908927508:function(r){return{_:'peerBlocked',peerId:r.object(),date:r.int(),}},
|
|
1040
1042
|
2145983508:function(r){return{_:'stats.messageStats',viewsGraph:r.object(),reactionsByEmotionGraph:r.object(),}},
|
|
1041
1043
|
2004925620:function(r){return{_:'groupCallDiscarded',id:r.long(),accessHash:r.long(),duration:r.int(),}},
|
|
1042
|
-
|
|
1044
|
+
3455636451:function(r){var flags=r.uint();return{_:'groupCall',joinMuted:!!(flags&2),canChangeJoinMuted:!!(flags&4),joinDateAsc:!!(flags&64),scheduleStartSubscribed:!!(flags&256),canStartVideo:!!(flags&512),recordVideoActive:!!(flags&2048),rtmpStream:!!(flags&4096),listenersHidden:!!(flags&8192),id:r.long(),accessHash:r.long(),participantsCount:r.int(),title:flags&8?r.string():void 0,streamDcId:flags&16?r.int():void 0,recordStartDate:flags&32?r.int():void 0,scheduleDate:flags&128?r.int():void 0,unmutedVideoCount:flags&1024?r.int():void 0,unmutedVideoLimit:r.int(),version:r.int(),conferenceFromCall:flags&16384?r.long():void 0,}},
|
|
1043
1045
|
3635053583:function(r){return{_:'inputGroupCall',id:r.long(),accessHash:r.long(),}},
|
|
1044
1046
|
3953538814:function(r){var flags=r.uint();return{_:'groupCallParticipant',muted:!!(flags&1),left:!!(flags&2),canSelfUnmute:!!(flags&4),justJoined:!!(flags&16),versioned:!!(flags&32),min:!!(flags&256),mutedByYou:!!(flags&512),volumeByAdmin:!!(flags&1024),self:!!(flags&4096),videoJoined:!!(flags&32768),peer:r.object(),date:r.int(),activeDate:flags&8?r.int():void 0,source:r.int(),volume:flags&128?r.int():void 0,about:flags&2048?r.string():void 0,raiseHandRating:flags&8192?r.long():void 0,video:flags&64?r.object():void 0,presentation:flags&16384?r.object():void 0,}},
|
|
1045
1047
|
2658302637:function(r){return{_:'phone.groupCall',call:r.object(),participants:r.vector(r.object),participantsNextOffset:r.string(),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
@@ -1126,7 +1128,9 @@ var m={
|
|
|
1126
1128
|
2560125965:function(r){return{_:'inputInvoicePremiumGiftCode',purpose:r.object(),option:r.object(),}},
|
|
1127
1129
|
1710230755:function(r){return{_:'inputInvoiceStars',purpose:r.object(),}},
|
|
1128
1130
|
887591921:function(r){return{_:'inputInvoiceChatInviteSubscription',hash:r.string(),}},
|
|
1129
|
-
634962392:function(r){var flags=r.uint();return{_:'inputInvoiceStarGift',hideName:!!(flags&1),userId:r.object(),giftId:r.long(),message:flags&2?r.object():void 0,}},
|
|
1131
|
+
634962392:function(r){var flags=r.uint();return{_:'inputInvoiceStarGift',hideName:!!(flags&1),includeUpgrade:!!(flags&4),userId:r.object(),giftId:r.long(),message:flags&2?r.object():void 0,}},
|
|
1132
|
+
1589539426:function(r){var flags=r.uint();return{_:'inputInvoiceStarGiftUpgrade',keepOriginalDetails:!!(flags&1),msgId:r.int(),}},
|
|
1133
|
+
2923145709:function(r){return{_:'inputInvoiceStarGiftTransfer',msgId:r.int(),toId:r.object(),}},
|
|
1130
1134
|
2932919257:function(r){return{_:'payments.exportedInvoice',url:r.string(),}},
|
|
1131
1135
|
3485063511:function(r){var flags=r.uint();return{_:'messages.transcribedAudio',pending:!!(flags&1),transcriptionId:r.long(),text:r.string(),trialRemainsNum:flags&2?r.int():void 0,trialRemainsUntilDate:flags&2?r.int():void 0,}},
|
|
1132
1136
|
1395946908:function(r){return{_:'help.premiumPromo',statusText:r.string(),statusEntities:r.vector(r.object),videoSections:r.vector(r.string),videos:r.vector(r.object),periodOptions:r.vector(r.object),users:r.vector(r.object),}},
|
|
@@ -1201,7 +1205,7 @@ var m={
|
|
|
1201
1205
|
283567014:function(r){return{_:'chatlists.exportedChatlistInvite',filter:r.object(),invite:r.object(),}},
|
|
1202
1206
|
279670215:function(r){return{_:'chatlists.exportedInvites',invites:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1203
1207
|
4203214425:function(r){return{_:'chatlists.chatlistInviteAlready',filterId:r.int(),missingPeers:r.vector(r.object),alreadyPeers:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1204
|
-
|
|
1208
|
+
4044279343:function(r){var flags=r.uint();return{_:'chatlists.chatlistInvite',titleNoanimate:!!(flags&2),title:r.object(),emoticon:flags&1?r.string():void 0,peers:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1205
1209
|
2478671757:function(r){return{_:'chatlists.chatlistUpdates',missingPeers:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1206
1210
|
3903288752:function(r){return{_:'bots.botInfo',name:r.string(),about:r.string(),description:r.string(),}},
|
|
1207
1211
|
3066834268:function(r){return{_:'messagePeerVote',peer:r.object(),option:r.bytes(),date:r.int(),}},
|
|
@@ -1345,7 +1349,7 @@ var m={
|
|
|
1345
1349
|
1617438738:function(r){return{_:'starsTransactionPeerAds'}},
|
|
1346
1350
|
4184308397:function(r){return{_:'starsTransactionPeerAPI'}},
|
|
1347
1351
|
198776256:function(r){var flags=r.uint();return{_:'starsTopupOption',extended:!!(flags&2),stars:r.long(),storeProduct:flags&1?r.string():void 0,currency:r.string(),amount:r.long(),}},
|
|
1348
|
-
1692387622:function(r){var flags=r.uint();return{_:'starsTransaction',refund:!!(flags&8),pending:!!(flags&16),failed:!!(flags&64),gift:!!(flags&1024),reaction:!!(flags&2048),id:r.string(),stars:r.object(),date:r.int(),peer:r.object(),title:flags&1?r.string():void 0,description:flags&2?r.string():void 0,photo:flags&4?r.object():void 0,transactionDate:flags&32?r.int():void 0,transactionUrl:flags&32?r.string():void 0,botPayload:flags&128?r.bytes():void 0,msgId:flags&256?r.int():void 0,extendedMedia:flags&512?r.vector(r.object):void 0,subscriptionPeriod:flags&4096?r.int():void 0,giveawayPostId:flags&8192?r.int():void 0,stargift:flags&16384?r.object():void 0,floodskipNumber:flags&32768?r.int():void 0,starrefCommissionPermille:flags&65536?r.int():void 0,starrefPeer:flags&131072?r.object():void 0,starrefAmount:flags&131072?r.object():void 0,}},
|
|
1352
|
+
1692387622:function(r){var flags=r.uint();return{_:'starsTransaction',refund:!!(flags&8),pending:!!(flags&16),failed:!!(flags&64),gift:!!(flags&1024),reaction:!!(flags&2048),stargiftUpgrade:!!(flags&262144),id:r.string(),stars:r.object(),date:r.int(),peer:r.object(),title:flags&1?r.string():void 0,description:flags&2?r.string():void 0,photo:flags&4?r.object():void 0,transactionDate:flags&32?r.int():void 0,transactionUrl:flags&32?r.string():void 0,botPayload:flags&128?r.bytes():void 0,msgId:flags&256?r.int():void 0,extendedMedia:flags&512?r.vector(r.object):void 0,subscriptionPeriod:flags&4096?r.int():void 0,giveawayPostId:flags&8192?r.int():void 0,stargift:flags&16384?r.object():void 0,floodskipNumber:flags&32768?r.int():void 0,starrefCommissionPermille:flags&65536?r.int():void 0,starrefPeer:flags&131072?r.object():void 0,starrefAmount:flags&131072?r.object():void 0,}},
|
|
1349
1353
|
1822222573:function(r){var flags=r.uint();return{_:'payments.starsStatus',balance:r.object(),subscriptions:flags&2?r.vector(r.object):void 0,subscriptionsNextOffset:flags&4?r.string():void 0,subscriptionsMissingBalance:flags&16?r.long():void 0,history:flags&8?r.vector(r.object):void 0,nextOffset:flags&1?r.string():void 0,chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1350
1354
|
3900361664:function(r){return{_:'foundStory',peer:r.object(),story:r.object(),}},
|
|
1351
1355
|
3806230327:function(r){var flags=r.uint();return{_:'stories.foundStories',count:r.int(),stories:r.vector(r.object),nextOffset:flags&1?r.string():void 0,chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
@@ -1364,10 +1368,11 @@ var m={
|
|
|
1364
1368
|
1269016922:function(r){var flags=r.uint();return{_:'messageReactor',top:!!(flags&1),my:!!(flags&2),anonymous:!!(flags&4),peerId:flags&8?r.object():void 0,count:r.int(),}},
|
|
1365
1369
|
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),}},
|
|
1366
1370
|
1411605001:function(r){var flags=r.uint();return{_:'starsGiveawayWinnersOption',default:!!(flags&1),users:r.int(),perUserStars:r.long(),}},
|
|
1367
|
-
|
|
1371
|
+
46953416:function(r){var flags=r.uint();return{_:'starGift',limited:!!(flags&1),soldOut:!!(flags&2),birthday:!!(flags&4),id:r.long(),sticker:r.object(),stars:r.long(),availabilityRemains:flags&1?r.int():void 0,availabilityTotal:flags&1?r.int():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,}},
|
|
1372
|
+
1779697613:function(r){return{_:'starGiftUnique',id:r.long(),title:r.string(),num:r.int(),ownerId:r.int53(),attributes:r.vector(r.object),availabilityIssued:r.int(),availabilityTotal:r.int(),}},
|
|
1368
1373
|
2743640936:function(r){return{_:'payments.starGiftsNotModified'}},
|
|
1369
1374
|
2417396202:function(r){return{_:'payments.starGifts',hash:r.int(),gifts:r.vector(r.object),}},
|
|
1370
|
-
|
|
1375
|
+
844641761:function(r){var flags=r.uint();return{_:'userStarGift',nameHidden:!!(flags&1),unsaved:!!(flags&32),refunded:!!(flags&512),canUpgrade:!!(flags&1024),fromId:flags&2?r.int53():void 0,date:r.int(),gift:r.object(),message:flags&4?r.object():void 0,msgId:flags&8?r.int():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,}},
|
|
1371
1376
|
1801827607:function(r){var flags=r.uint();return{_:'payments.userStarGifts',count:r.int(),gifts:r.vector(r.object),nextOffset:flags&1?r.string():void 0,users:r.vector(r.object),}},
|
|
1372
1377
|
2030298073:function(r){return{_:'messageReportOption',text:r.string(),option:r.bytes(),}},
|
|
1373
1378
|
4041531574:function(r){return{_:'reportResultChooseOption',title:r.string(),options:r.vector(r.object),}},
|
|
@@ -1383,6 +1388,13 @@ var m={
|
|
|
1383
1388
|
3149313187:function(r){return{_:'starsAmount',amount:r.long(),nanos:r.int(),}},
|
|
1384
1389
|
1611711796:function(r){var flags=r.uint();return{_:'messages.foundStickersNotModified',nextOffset:flags&1?r.int():void 0,}},
|
|
1385
1390
|
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),}},
|
|
1391
|
+
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,}},
|
|
1392
|
+
4181513308:function(r){return{_:'botVerification',botId:r.int53(),icon:r.long(),description:r.string(),}},
|
|
1393
|
+
970559507:function(r){return{_:'starGiftAttributeModel',name:r.string(),document:r.object(),rarityPermille:r.int(),}},
|
|
1394
|
+
330104601:function(r){return{_:'starGiftAttributePattern',name:r.string(),document:r.object(),rarityPermille:r.int(),}},
|
|
1395
|
+
2485589858:function(r){return{_:'starGiftAttributeBackdrop',name:r.string(),centerColor:r.int(),edgeColor:r.int(),patternColor:r.int(),textColor:r.int(),rarityPermille:r.int(),}},
|
|
1396
|
+
3224129355:function(r){var flags=r.uint();return{_:'starGiftAttributeOriginalDetails',senderId:flags&1?r.int53():void 0,recipientId:r.int53(),date:r.int(),message:flags&2?r.object():void 0,}},
|
|
1397
|
+
377215243:function(r){return{_:'payments.starGiftUpgradePreview',sampleAttributes:r.vector(r.object),}},
|
|
1386
1398
|
_results:{
|
|
1387
1399
|
'contacts.getContactIDs':function(r){return r.vector(r.int)},
|
|
1388
1400
|
'messages.receivedQueue':function(r){return r.vector(r.long)},
|