@mtcute/tl 177.0.0 → 181.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 +44 -15
- package/binary/writer.js +90 -24
- package/index.d.ts +487 -82
- package/index.js +13 -3
- package/package.json +1 -2
package/binary/reader.js
CHANGED
|
@@ -34,7 +34,7 @@ var m={
|
|
|
34
34
|
3854302746:function(r){var flags=r.uint();return{_:'inputMediaPhotoExternal',spoiler:!!(flags&2),url:r.string(),ttlSeconds:flags&1?r.int():void 0,}},
|
|
35
35
|
4216511641:function(r){var flags=r.uint();return{_:'inputMediaDocumentExternal',spoiler:!!(flags&2),url:r.string(),ttlSeconds:flags&1?r.int():void 0,}},
|
|
36
36
|
3544138739:function(r){return{_:'inputMediaGame',id:r.object(),}},
|
|
37
|
-
|
|
37
|
+
1080028941:function(r){var flags=r.uint();return{_:'inputMediaInvoice',title:r.string(),description:r.string(),photo:flags&1?r.object():void 0,invoice:r.object(),payload:r.bytes(),provider:flags&8?r.string():void 0,providerData:r.object(),startParam:flags&2?r.string():void 0,extendedMedia:flags&4?r.object():void 0,}},
|
|
38
38
|
2535434307:function(r){var flags=r.uint();return{_:'inputMediaGeoLive',stopped:!!(flags&1),geoPoint:r.object(),heading:flags&4?r.int():void 0,period:flags&2?r.int():void 0,proximityNotificationRadius:flags&8?r.int():void 0,}},
|
|
39
39
|
261416433:function(r){var flags=r.uint();return{_:'inputMediaPoll',poll:r.object(),correctAnswers:flags&1?r.vector(r.bytes):void 0,solution:flags&2?r.string():void 0,solutionEntities:flags&2?r.vector(r.object):void 0,}},
|
|
40
40
|
3866083195:function(r){return{_:'inputMediaDice',emoticon:r.string(),}},
|
|
@@ -85,8 +85,8 @@ var m={
|
|
|
85
85
|
1704108455:function(r){return{_:'chatForbidden',id:r.int53(),title:r.string(),}},
|
|
86
86
|
179174543: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),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,}},
|
|
87
87
|
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,}},
|
|
88
|
-
|
|
89
|
-
|
|
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,}},
|
|
89
|
+
3148559501: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),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.long):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,}},
|
|
90
90
|
3224190983:function(r){return{_:'chatParticipant',userId:r.int53(),inviterId:r.int53(),date:r.int(),}},
|
|
91
91
|
3832270564:function(r){return{_:'chatParticipantCreator',userId:r.int53(),}},
|
|
92
92
|
2694004571:function(r){return{_:'chatParticipantAdmin',userId:r.int53(),inviterId:r.int53(),date:r.int(),}},
|
|
@@ -95,7 +95,7 @@ var m={
|
|
|
95
95
|
935395612:function(r){return{_:'chatPhotoEmpty'}},
|
|
96
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(),}},
|
|
97
97
|
2426849924:function(r){var flags=r.uint();return{_:'messageEmpty',id:r.int(),peerId:flags&1?r.object():void 0,}},
|
|
98
|
-
|
|
98
|
+
2486456898: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),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,}},
|
|
99
99
|
721967202:function(r){var flags=r.uint();return{_:'messageService',out:!!(flags&2),mentioned:!!(flags&16),mediaUnread:!!(flags&32),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(),ttlPeriod:flags&33554432?r.int():void 0,}},
|
|
100
100
|
1038967584:function(r){return{_:'messageMediaEmpty'}},
|
|
101
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,}},
|
|
@@ -193,7 +193,7 @@ var m={
|
|
|
193
193
|
4124956391:function(r){return{_:'inputReportReasonFake'}},
|
|
194
194
|
177124030:function(r){return{_:'inputReportReasonIllegalDrugs'}},
|
|
195
195
|
2663876157:function(r){return{_:'inputReportReasonPersonalDetails'}},
|
|
196
|
-
3432609568: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),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,}},
|
|
196
|
+
3432609568: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),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,}},
|
|
197
197
|
341499403:function(r){return{_:'contact',userId:r.int53(),mutual:r.boolean(),}},
|
|
198
198
|
3242081360:function(r){return{_:'importedContact',userId:r.int53(),clientId:r.long(),}},
|
|
199
199
|
383348795:function(r){return{_:'contactStatus',userId:r.int53(),status:r.object(),}},
|
|
@@ -364,6 +364,9 @@ var m={
|
|
|
364
364
|
2648388732:function(r){var flags=r.uint();return{_:'updateBotNewBusinessMessage',connectionId:r.string(),message:r.object(),replyToMessage:flags&1?r.object():void 0,qts:r.int(),}},
|
|
365
365
|
132077692:function(r){var flags=r.uint();return{_:'updateBotEditBusinessMessage',connectionId:r.string(),message:r.object(),replyToMessage:flags&1?r.object():void 0,qts:r.int(),}},
|
|
366
366
|
2687146030:function(r){return{_:'updateBotDeleteBusinessMessage',connectionId:r.string(),peer:r.object(),messages:r.vector(r.int),qts:r.int(),}},
|
|
367
|
+
405070859:function(r){return{_:'updateNewStoryReaction',storyId:r.int(),peer:r.object(),reaction:r.object(),}},
|
|
368
|
+
3755565557:function(r){return{_:'updateBroadcastRevenueTransactions',peer:r.object(),balances:r.object(),}},
|
|
369
|
+
263737752:function(r){return{_:'updateStarsBalance',balance:r.long(),}},
|
|
367
370
|
2775329342:function(r){return{_:'updates.state',pts:r.int(),qts:r.int(),date:r.int(),seq:r.int(),unreadCount:r.int(),}},
|
|
368
371
|
1567990072:function(r){return{_:'updates.differenceEmpty',date:r.int(),seq:r.int(),}},
|
|
369
372
|
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(),}},
|
|
@@ -566,7 +569,7 @@ var m={
|
|
|
566
569
|
1981704948:function(r){return{_:'messageEntityBankCard',offset:r.int(),length:r.int(),}},
|
|
567
570
|
852137487:function(r){return{_:'messageEntitySpoiler',offset:r.int(),length:r.int(),}},
|
|
568
571
|
3369010680:function(r){return{_:'messageEntityCustomEmoji',offset:r.int(),length:r.int(),documentId:r.long(),}},
|
|
569
|
-
|
|
572
|
+
4056722092:function(r){var flags=r.uint();return{_:'messageEntityBlockquote',collapsed:!!(flags&1),offset:r.int(),length:r.int(),}},
|
|
570
573
|
4002160262:function(r){return{_:'inputChannelEmpty'}},
|
|
571
574
|
4082822184:function(r){return{_:'inputChannel',channelId:r.int53(),accessHash:r.long(),}},
|
|
572
575
|
1536380829:function(r){return{_:'inputChannelFromMessage',peer:r.object(),msgId:r.int(),channelId:r.int53(),}},
|
|
@@ -634,7 +637,9 @@ var m={
|
|
|
634
637
|
4098946459:function(r){var flags=r.uint();return{_:'auth.sentCodeTypeEmailCode',appleSigninAllowed:!!(flags&1),googleSigninAllowed:!!(flags&2),emailPattern:r.string(),length:r.int(),resetAvailablePeriod:flags&8?r.int():void 0,resetPendingDate:flags&16?r.int():void 0,}},
|
|
635
638
|
2773032426:function(r){var flags=r.uint();return{_:'auth.sentCodeTypeSetUpEmailRequired',appleSigninAllowed:!!(flags&1),googleSigninAllowed:!!(flags&2),}},
|
|
636
639
|
3646315577:function(r){return{_:'auth.sentCodeTypeFragmentSms',url:r.string(),length:r.int(),}},
|
|
637
|
-
|
|
640
|
+
331943703:function(r){var flags=r.uint();return{_:'auth.sentCodeTypeFirebaseSms',nonce:flags&1?r.bytes():void 0,playIntegrityNonce:flags&4?r.bytes():void 0,receipt:flags&2?r.string():void 0,pushTimeout:flags&2?r.int():void 0,length:r.int(),}},
|
|
641
|
+
2752949377:function(r){var flags=r.uint();return{_:'auth.sentCodeTypeSmsWord',beginning:flags&1?r.string():void 0,}},
|
|
642
|
+
3010958511:function(r){var flags=r.uint();return{_:'auth.sentCodeTypeSmsPhrase',beginning:flags&1?r.string():void 0,}},
|
|
638
643
|
911761060:function(r){var flags=r.uint();return{_:'messages.botCallbackAnswer',alert:!!(flags&2),hasUrl:!!(flags&8),nativeUi:!!(flags&16),message:flags&1?r.string():void 0,url:flags&4?r.string():void 0,cacheTime:r.int(),}},
|
|
639
644
|
649453030:function(r){var flags=r.uint();return{_:'messages.messageEditData',caption:!!(flags&1),}},
|
|
640
645
|
2299280777:function(r){return{_:'inputBotInlineMessageID',dcId:r.int(),id:r.long(),accessHash:r.long(),}},
|
|
@@ -739,10 +744,12 @@ var m={
|
|
|
739
744
|
4100974884:function(r){var flags=r.uint();return{_:'inputWebFileAudioAlbumThumbLocation',small:!!(flags&4),document:flags&1?r.object():void 0,title:flags&2?r.string():void 0,performer:flags&2?r.string():void 0,}},
|
|
740
745
|
568808380:function(r){return{_:'upload.webFile',size:r.int(),mimeType:r.string(),fileType:r.object(),mtime:r.int(),bytes:r.bytes(),}},
|
|
741
746
|
2684716881:function(r){var flags=r.uint();return{_:'payments.paymentForm',canSaveCredentials:!!(flags&4),passwordMissing:!!(flags&8),formId:r.long(),botId:r.int53(),title:r.string(),description:r.string(),photo:flags&32?r.object():void 0,invoice:r.object(),providerId:r.long(),url:r.string(),nativeProvider:flags&16?r.string():void 0,nativeParams:flags&16?r.object():void 0,additionalMethods:flags&64?r.vector(r.object):void 0,savedInfo:flags&1?r.object():void 0,savedCredentials:flags&2?r.vector(r.object):void 0,users:r.vector(r.object),}},
|
|
747
|
+
2079764828:function(r){var flags=r.uint();return{_:'payments.paymentFormStars',formId:r.long(),botId:r.int53(),title:r.string(),description:r.string(),photo:flags&32?r.object():void 0,invoice:r.object(),users:r.vector(r.object),}},
|
|
742
748
|
3510966403:function(r){var flags=r.uint();return{_:'payments.validatedRequestedInfo',id:flags&1?r.string():void 0,shippingOptions:flags&2?r.vector(r.object):void 0,}},
|
|
743
749
|
1314881805:function(r){return{_:'payments.paymentResult',updates:r.object(),}},
|
|
744
750
|
3628142905:function(r){return{_:'payments.paymentVerificationNeeded',url:r.string(),}},
|
|
745
751
|
1891958275:function(r){var flags=r.uint();return{_:'payments.paymentReceipt',date:r.int(),botId:r.int53(),providerId:r.long(),title:r.string(),description:r.string(),photo:flags&4?r.object():void 0,invoice:r.object(),info:flags&1?r.object():void 0,shipping:flags&2?r.object():void 0,tipAmount:flags&8?r.long():void 0,currency:r.string(),totalAmount:r.long(),credentialsTitle:r.string(),users:r.vector(r.object),}},
|
|
752
|
+
3669751866:function(r){var flags=r.uint();return{_:'payments.paymentReceiptStars',date:r.int(),botId:r.int53(),title:r.string(),description:r.string(),photo:flags&4?r.object():void 0,invoice:r.object(),currency:r.string(),totalAmount:r.long(),transactionId:r.string(),users:r.vector(r.object),}},
|
|
746
753
|
4220511292:function(r){var flags=r.uint();return{_:'payments.savedInfo',hasSavedCredentials:!!(flags&2),savedInfo:flags&1?r.object():void 0,}},
|
|
747
754
|
3238965967:function(r){return{_:'inputPaymentCredentialsSaved',id:r.string(),tmpPassword:r.bytes(),}},
|
|
748
755
|
873977640:function(r){var flags=r.uint();return{_:'inputPaymentCredentials',save:!!(flags&1),data:r.object(),}},
|
|
@@ -919,8 +926,8 @@ var m={
|
|
|
919
926
|
2349199817:function(r){return{_:'help.supportName',name:r.string(),}},
|
|
920
927
|
4088278765:function(r){return{_:'help.userInfoEmpty'}},
|
|
921
928
|
32192344:function(r){return{_:'help.userInfo',message:r.string(),entities:r.vector(r.object),author:r.string(),date:r.int(),}},
|
|
922
|
-
|
|
923
|
-
|
|
929
|
+
4279689930:function(r){return{_:'pollAnswer',text:r.object(),option:r.bytes(),}},
|
|
930
|
+
1484026161:function(r){var id=r.long(),flags=r.uint();return{_:'poll',id:id,closed:!!(flags&1),publicVoters:!!(flags&2),multipleChoice:!!(flags&4),quiz:!!(flags&8),question:r.object(),answers:r.vector(r.object),closePeriod:flags&16?r.int():void 0,closeDate:flags&32?r.int():void 0,}},
|
|
924
931
|
997055186:function(r){var flags=r.uint();return{_:'pollAnswerVoters',chosen:!!(flags&1),correct:!!(flags&2),option:r.bytes(),voters:r.int(),}},
|
|
925
932
|
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,}},
|
|
926
933
|
4030849616:function(r){return{_:'chatOnlines',onlines:r.int(),}},
|
|
@@ -932,7 +939,7 @@ var m={
|
|
|
932
939
|
2524595758:function(r){return{_:'inputWallPaperNoFile',id:r.long(),}},
|
|
933
940
|
471437699:function(r){return{_:'account.wallPapersNotModified'}},
|
|
934
941
|
3452142988:function(r){return{_:'account.wallPapers',hash:r.long(),wallpapers:r.vector(r.object),}},
|
|
935
|
-
2904898936:function(r){var flags=r.uint();return{_:'codeSettings',allowFlashcall:!!(flags&1),currentNumber:!!(flags&2),allowAppHash:!!(flags&16),allowMissedCall:!!(flags&32),allowFirebase:!!(flags&128),logoutTokens:flags&64?r.vector(r.bytes):void 0,token:flags&256?r.string():void 0,appSandbox:flags&256?r.boolean():void 0,}},
|
|
942
|
+
2904898936:function(r){var flags=r.uint();return{_:'codeSettings',allowFlashcall:!!(flags&1),currentNumber:!!(flags&2),allowAppHash:!!(flags&16),allowMissedCall:!!(flags&32),allowFirebase:!!(flags&128),unknownNumber:!!(flags&512),logoutTokens:flags&64?r.vector(r.bytes):void 0,token:flags&256?r.string():void 0,appSandbox:flags&256?r.boolean():void 0,}},
|
|
936
943
|
925826256:function(r){var flags=r.uint();return{_:'wallPaperSettings',blur:!!(flags&2),motion:!!(flags&4),backgroundColor:flags&1?r.int():void 0,secondBackgroundColor:flags&16?r.int():void 0,thirdBackgroundColor:flags&32?r.int():void 0,fourthBackgroundColor:flags&64?r.int():void 0,intensity:flags&8?r.int():void 0,rotation:flags&16?r.int():void 0,emoticon:flags&128?r.string():void 0,}},
|
|
937
944
|
3131405864:function(r){var flags=r.uint();return{_:'autoDownloadSettings',disabled:!!(flags&1),videoPreloadLarge:!!(flags&2),audioPreloadNext:!!(flags&4),phonecallsLessData:!!(flags&8),storiesPreload:!!(flags&16),photoSizeMax:r.int(),videoSizeMax:r.int53(),fileSizeMax:r.int53(),videoUploadMaxbitrate:r.int(),smallQueueActiveOperationsMax:r.int(),largeQueueActiveOperationsMax:r.int(),}},
|
|
938
945
|
1674235686:function(r){return{_:'account.autoDownloadSettings',low:r.object(),medium:r.object(),high:r.object(),}},
|
|
@@ -972,6 +979,7 @@ var m={
|
|
|
972
979
|
4200117972:function(r){var flags=r.uint();return{_:'themeSettings',messageColorsAnimated:!!(flags&4),baseTheme:r.object(),accentColor:r.int(),outboxAccentColor:flags&8?r.int():void 0,messageColors:flags&1?r.vector(r.int):void 0,wallpaper:flags&2?r.object():void 0,}},
|
|
973
980
|
1421174295:function(r){var flags=r.uint();return{_:'webPageAttributeTheme',documents:flags&1?r.vector(r.object):void 0,settings:flags&2?r.object():void 0,}},
|
|
974
981
|
781501415:function(r){var flags=r.uint();return{_:'webPageAttributeStory',peer:r.object(),id:r.int(),story:flags&1?r.object():void 0,}},
|
|
982
|
+
1355547603:function(r){var flags=r.uint();return{_:'webPageAttributeStickerSet',emojis:!!(flags&1),textColor:!!(flags&2),stickers:r.vector(r.object),}},
|
|
975
983
|
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,}},
|
|
976
984
|
4117234314:function(r){return{_:'bankCardOpenUrl',url:r.string(),name:r.string(),}},
|
|
977
985
|
1042605427:function(r){return{_:'payments.bankCardData',title:r.string(),openUrls:r.vector(r.object),}},
|
|
@@ -1046,7 +1054,7 @@ var m={
|
|
|
1046
1054
|
3816265825:function(r){return{_:'account.resetPasswordFailedWait',retryDate:r.int(),}},
|
|
1047
1055
|
3924819069:function(r){return{_:'account.resetPasswordRequestedWait',untilDate:r.int(),}},
|
|
1048
1056
|
3911636542:function(r){return{_:'account.resetPasswordOk'}},
|
|
1049
|
-
|
|
1057
|
+
3186488678:function(r){var flags=r.uint();return{_:'sponsoredMessage',recommended:!!(flags&32),canReport:!!(flags&4096),randomId:r.bytes(),url:r.string(),title:r.string(),message:r.string(),entities:flags&2?r.vector(r.object):void 0,photo:flags&64?r.object():void 0,color:flags&8192?r.object():void 0,buttonText:r.string(),sponsorInfo:flags&128?r.string():void 0,additionalInfo:flags&256?r.string():void 0,}},
|
|
1050
1058
|
3387825543:function(r){var flags=r.uint();return{_:'messages.sponsoredMessages',postsBetween:flags&1?r.int():void 0,messages:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1051
1059
|
406407439:function(r){return{_:'messages.sponsoredMessagesEmpty'}},
|
|
1052
1060
|
3383776159:function(r){return{_:'searchResultsCalendarPeriod',date:r.int(),minMsgId:r.int(),maxMsgId:r.int(),count:r.int(),}},
|
|
@@ -1095,6 +1103,7 @@ var m={
|
|
|
1095
1103
|
3317000281:function(r){return{_:'inputInvoiceMessage',peer:r.object(),msgId:r.int(),}},
|
|
1096
1104
|
3274099439:function(r){return{_:'inputInvoiceSlug',slug:r.string(),}},
|
|
1097
1105
|
2560125965:function(r){return{_:'inputInvoicePremiumGiftCode',purpose:r.object(),option:r.object(),}},
|
|
1106
|
+
497236696:function(r){return{_:'inputInvoiceStars',option:r.object(),}},
|
|
1098
1107
|
2932919257:function(r){return{_:'payments.exportedInvoice',url:r.string(),}},
|
|
1099
1108
|
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,}},
|
|
1100
1109
|
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),}},
|
|
@@ -1102,6 +1111,7 @@ var m={
|
|
|
1102
1111
|
1634697192:function(r){return{_:'inputStorePaymentGiftPremium',userId:r.object(),currency:r.string(),amount:r.long(),}},
|
|
1103
1112
|
2743099199:function(r){var flags=r.uint();return{_:'inputStorePaymentPremiumGiftCode',users:r.vector(r.object),boostPeer:flags&1?r.object():void 0,currency:r.string(),amount:r.long(),}},
|
|
1104
1113
|
369444042:function(r){var flags=r.uint();return{_:'inputStorePaymentPremiumGiveaway',onlyNewSubscribers:!!(flags&1),winnersAreVisible:!!(flags&8),boostPeer:r.object(),additionalPeers:flags&2?r.vector(r.object):void 0,countriesIso2:flags&4?r.vector(r.string):void 0,prizeDescription:flags&16?r.string():void 0,randomId:r.long(),untilDate:r.int(),currency:r.string(),amount:r.long(),}},
|
|
1114
|
+
1326377183:function(r){var flags=r.uint();return{_:'inputStorePaymentStars',stars:r.long(),currency:r.string(),amount:r.long(),}},
|
|
1105
1115
|
1958953753:function(r){var flags=r.uint();return{_:'premiumGiftOption',months:r.int(),currency:r.string(),amount:r.long(),botUrl:r.string(),storeProduct:flags&1?r.string():void 0,}},
|
|
1106
1116
|
2298016283:function(r){return{_:'paymentFormMethod',url:r.string(),title:r.string(),}},
|
|
1107
1117
|
769727150:function(r){return{_:'emojiStatusEmpty'}},
|
|
@@ -1142,6 +1152,8 @@ var m={
|
|
|
1142
1152
|
1209970170:function(r){return{_:'emojiListNotModified'}},
|
|
1143
1153
|
2048790993:function(r){return{_:'emojiList',hash:r.long(),documentId:r.vector(r.long),}},
|
|
1144
1154
|
2056961449:function(r){return{_:'emojiGroup',title:r.string(),iconEmojiId:r.long(),emoticons:r.vector(r.string),}},
|
|
1155
|
+
2161274055:function(r){return{_:'emojiGroupGreeting',title:r.string(),iconEmojiId:r.long(),emoticons:r.vector(r.string),}},
|
|
1156
|
+
154914612:function(r){return{_:'emojiGroupPremium',title:r.string(),iconEmojiId:r.long(),}},
|
|
1145
1157
|
1874111879:function(r){return{_:'messages.emojiGroupsNotModified'}},
|
|
1146
1158
|
2283780427:function(r){return{_:'messages.emojiGroups',hash:r.int(),groups:r.vector(r.object),}},
|
|
1147
1159
|
1964978502:function(r){return{_:'textWithEntities',text:r.string(),entities:r.vector(r.object),}},
|
|
@@ -1170,14 +1182,13 @@ var m={
|
|
|
1170
1182
|
3066834268:function(r){return{_:'messagePeerVote',peer:r.object(),option:r.bytes(),date:r.int(),}},
|
|
1171
1183
|
1959634180:function(r){return{_:'messagePeerVoteInputOption',peer:r.object(),date:r.int(),}},
|
|
1172
1184
|
1177089766:function(r){return{_:'messagePeerVoteMultiple',peer:r.object(),options:r.vector(r.bytes),date:r.int(),}},
|
|
1173
|
-
1035529315:function(r){var flags=r.uint();return{_:'sponsoredWebPage',url:r.string(),siteName:r.string(),photo:flags&1?r.object():void 0,}},
|
|
1174
1185
|
2371443926:function(r){var flags=r.uint();return{_:'storyViews',hasViewers:!!(flags&2),viewsCount:r.int(),forwardsCount:flags&4?r.int():void 0,reactions:flags&8?r.vector(r.object):void 0,reactionsCount:flags&16?r.int():void 0,recentViewers:flags&1?r.vector(r.int53):void 0,}},
|
|
1175
1186
|
1374088783:function(r){return{_:'storyItemDeleted',id:r.int(),}},
|
|
1176
1187
|
4289579283:function(r){var flags=r.uint();return{_:'storyItemSkipped',closeFriends:!!(flags&256),id:r.int(),date:r.int(),expireDate:r.int(),}},
|
|
1177
1188
|
2041735716:function(r){var flags=r.uint();return{_:'storyItem',pinned:!!(flags&32),public:!!(flags&128),closeFriends:!!(flags&256),min:!!(flags&512),noforwards:!!(flags&1024),edited:!!(flags&2048),contacts:!!(flags&4096),selectedContacts:!!(flags&8192),out:!!(flags&65536),id:r.int(),date:r.int(),fromId:flags&262144?r.object():void 0,fwdFrom:flags&131072?r.object():void 0,expireDate:r.int(),caption:flags&1?r.string():void 0,entities:flags&2?r.vector(r.object):void 0,media:r.object(),mediaAreas:flags&16384?r.vector(r.object):void 0,privacy:flags&4?r.vector(r.object):void 0,views:flags&8?r.object():void 0,sentReaction:flags&32768?r.object():void 0,}},
|
|
1178
1189
|
291044926:function(r){var flags=r.uint();return{_:'stories.allStoriesNotModified',state:r.string(),stealthMode:r.object(),}},
|
|
1179
1190
|
1862033025:function(r){var flags=r.uint();return{_:'stories.allStories',hasMore:!!(flags&1),count:r.int(),state:r.string(),peerStories:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),stealthMode:r.object(),}},
|
|
1180
|
-
|
|
1191
|
+
1673780490:function(r){var flags=r.uint();return{_:'stories.stories',count:r.int(),stories:r.vector(r.object),pinnedToTop:flags&1?r.vector(r.int):void 0,chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1181
1192
|
2965236421:function(r){var flags=r.uint();return{_:'storyView',blocked:!!(flags&1),blockedMyStoriesFrom:!!(flags&2),userId:r.int53(),date:r.int(),reaction:flags&4?r.object():void 0,}},
|
|
1182
1193
|
2424530699:function(r){var flags=r.uint();return{_:'storyViewPublicForward',blocked:!!(flags&1),blockedMyStoriesFrom:!!(flags&2),message:r.object(),}},
|
|
1183
1194
|
3178549065:function(r){var flags=r.uint();return{_:'storyViewPublicRepost',blocked:!!(flags&1),blockedMyStoriesFrom:!!(flags&2),peerId:r.object(),story:r.object(),}},
|
|
@@ -1278,18 +1289,36 @@ var m={
|
|
|
1278
1289
|
2586029857:function(r){var flags=r.uint();return{_:'account.resolvedBusinessChatLinks',peer:r.object(),message:r.string(),entities:flags&1?r.vector(r.object):void 0,chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1279
1290
|
3593466986:function(r){var flags=r.uint();return{_:'requestedPeerUser',userId:r.int53(),firstName:flags&1?r.string():void 0,lastName:flags&1?r.string():void 0,username:flags&2?r.string():void 0,photo:flags&4?r.object():void 0,}},
|
|
1280
1291
|
1929860175:function(r){var flags=r.uint();return{_:'requestedPeerChat',chatId:r.int53(),title:flags&1?r.string():void 0,photo:flags&4?r.object():void 0,}},
|
|
1281
|
-
2342781924:function(r){var flags=r.uint();return{_:'requestedPeerChannel',channelId:r.
|
|
1292
|
+
2342781924:function(r){var flags=r.uint();return{_:'requestedPeerChannel',channelId:r.int53(),title:flags&1?r.string():void 0,username:flags&2?r.string():void 0,photo:flags&4?r.object():void 0,}},
|
|
1282
1293
|
1124938064:function(r){return{_:'sponsoredMessageReportOption',text:r.string(),option:r.bytes(),}},
|
|
1283
1294
|
2221907522:function(r){return{_:'channels.sponsoredMessageReportResultChooseOption',title:r.string(),options:r.vector(r.object),}},
|
|
1284
1295
|
1044107055:function(r){return{_:'channels.sponsoredMessageReportResultAdsHidden'}},
|
|
1285
1296
|
2910423113:function(r){return{_:'channels.sponsoredMessageReportResultReported'}},
|
|
1286
|
-
|
|
1297
|
+
1409802903:function(r){return{_:'stats.broadcastRevenueStats',topHoursGraph:r.object(),revenueGraph:r.object(),balances:r.object(),usdRate:r.double(),}},
|
|
1287
1298
|
3966080823:function(r){return{_:'stats.broadcastRevenueWithdrawalUrl',url:r.string(),}},
|
|
1288
1299
|
1434332356:function(r){return{_:'broadcastRevenueTransactionProceeds',amount:r.long(),fromDate:r.int(),toDate:r.int(),}},
|
|
1289
1300
|
1515784568:function(r){var flags=r.uint();return{_:'broadcastRevenueTransactionWithdrawal',pending:!!(flags&1),failed:!!(flags&4),amount:r.long(),date:r.int(),provider:r.string(),transactionDate:flags&2?r.int():void 0,transactionUrl:flags&2?r.string():void 0,}},
|
|
1290
1301
|
1121127726:function(r){return{_:'broadcastRevenueTransactionRefund',amount:r.long(),date:r.int(),provider:r.string(),}},
|
|
1291
1302
|
2266334310:function(r){return{_:'stats.broadcastRevenueTransactions',count:r.int(),transactions:r.vector(r.object),}},
|
|
1303
|
+
3133384218:function(r){return{_:'reactionNotificationsFromContacts'}},
|
|
1304
|
+
1268654752:function(r){return{_:'reactionNotificationsFromAll'}},
|
|
1305
|
+
1457736048:function(r){var flags=r.uint();return{_:'reactionsNotifySettings',messagesNotifyFrom:flags&1?r.object():void 0,storiesNotifyFrom:flags&2?r.object():void 0,sound:r.object(),showPreviews:r.boolean(),}},
|
|
1306
|
+
2218324422:function(r){return{_:'broadcastRevenueBalances',currentBalance:r.long(),availableBalance:r.long(),overallRevenue:r.long(),}},
|
|
1307
|
+
2479088254:function(r){var flags=r.uint();return{_:'availableEffect',premiumRequired:!!(flags&4),id:r.long(),emoticon:r.string(),staticIconId:flags&1?r.long():void 0,effectStickerId:r.long(),effectAnimationId:flags&2?r.long():void 0,}},
|
|
1308
|
+
3522009691:function(r){return{_:'messages.availableEffectsNotModified'}},
|
|
1309
|
+
3185271150:function(r){return{_:'messages.availableEffects',hash:r.int(),effects:r.vector(r.object),documents:r.vector(r.object),}},
|
|
1310
|
+
3097230543:function(r){var flags=r.uint();return{_:'factCheck',needCheck:!!(flags&1),country:flags&2?r.string():void 0,text:flags&2?r.object():void 0,hash:r.long(),}},
|
|
1311
|
+
2515714020:function(r){return{_:'starsTransactionPeerUnsupported'}},
|
|
1312
|
+
3025646453:function(r){return{_:'starsTransactionPeerAppStore'}},
|
|
1313
|
+
2069236235:function(r){return{_:'starsTransactionPeerPlayMarket'}},
|
|
1314
|
+
621656824:function(r){return{_:'starsTransactionPeerPremiumBot'}},
|
|
1315
|
+
3912227074:function(r){return{_:'starsTransactionPeerFragment'}},
|
|
1316
|
+
3624771933:function(r){return{_:'starsTransactionPeer',peer:r.object(),}},
|
|
1317
|
+
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(),}},
|
|
1318
|
+
3429923250:function(r){var flags=r.uint();return{_:'starsTransaction',refund:!!(flags&8),id:r.string(),stars:r.long(),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,}},
|
|
1319
|
+
2364862048:function(r){var flags=r.uint();return{_:'payments.starsStatus',balance:r.long(),history:r.vector(r.object),nextOffset:flags&1?r.string():void 0,chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1292
1320
|
3438316246:function(r){return{_:'updateGroupInvitePrivacyForbidden',userId:r.int53(),}},
|
|
1321
|
+
1035529315:function(r){var flags=r.uint();return{_:'sponsoredWebPage',url:r.string(),siteName:r.string(),photo:flags&1?r.object():void 0,}},
|
|
1293
1322
|
_results:{
|
|
1294
1323
|
'contacts.getContactIDs':function(r){return r.vector(r.int)},
|
|
1295
1324
|
'messages.receivedQueue':function(r){return r.vector(r.long)},
|