@mtcute/tl 185.0.0 → 186.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 +4 -5
- package/api-schema.json +1 -1
- package/binary/reader.js +17 -11
- package/binary/writer.js +30 -18
- package/index.d.ts +4442 -561
- package/index.js +5 -2
- package/mtp-schema.json +1 -1
- package/package.json +1 -1
- package/raw-errors.json +1 -1
package/binary/reader.js
CHANGED
|
@@ -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
|
+
4265900221: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,}},
|
|
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
|
-
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),paidMediaAllowed:!!(flags2&16384),canViewStarsRevenue:!!(flags2&32768),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,}},
|
|
91
|
+
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),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.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,}},
|
|
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(),}},
|
|
@@ -513,10 +513,10 @@ var m={
|
|
|
513
513
|
3258394569:function(r){var flags=r.uint();return{_:'account.passwordInputSettings',newAlgo:flags&1?r.object():void 0,newPasswordHash:flags&1?r.bytes():void 0,hint:flags&1?r.string():void 0,email:flags&2?r.string():void 0,newSecureSettings:flags&4?r.object():void 0,}},
|
|
514
514
|
326715557:function(r){return{_:'auth.passwordRecovery',emailPattern:r.string(),}},
|
|
515
515
|
2743383929:function(r){return{_:'receivedNotifyMessage',id:r.int(),flags:r.int(),}},
|
|
516
|
-
|
|
516
|
+
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,}},
|
|
517
517
|
3977280183:function(r){return{_:'chatInvitePublicJoinRequests'}},
|
|
518
518
|
1516793212:function(r){return{_:'chatInviteAlready',chat:r.object(),}},
|
|
519
|
-
|
|
519
|
+
4268046493: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,}},
|
|
520
520
|
1634294960:function(r){return{_:'chatInvitePeek',chat:r.object(),expires:r.int(),}},
|
|
521
521
|
4290128789:function(r){return{_:'inputStickerSetEmpty'}},
|
|
522
522
|
2649203305:function(r){return{_:'inputStickerSetID',id:r.long(),accessHash:r.long(),}},
|
|
@@ -533,7 +533,7 @@ var m={
|
|
|
533
533
|
1846886166:function(r){return{_:'messages.stickerSet',set:r.object(),packs:r.vector(r.object),keywords:r.vector(r.object),documents:r.vector(r.object),}},
|
|
534
534
|
3556320491:function(r){return{_:'messages.stickerSetNotModified'}},
|
|
535
535
|
3262826695:function(r){return{_:'botCommand',command:r.string(),description:r.string(),}},
|
|
536
|
-
|
|
536
|
+
2185461364: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,}},
|
|
537
537
|
2734311552:function(r){return{_:'keyboardButton',text:r.string(),}},
|
|
538
538
|
629866245:function(r){return{_:'keyboardButtonUrl',text:r.string(),url:r.string(),}},
|
|
539
539
|
901503851:function(r){var flags=r.uint();return{_:'keyboardButtonCallback',requiresPassword:!!(flags&1),text:r.string(),data:r.bytes(),}},
|
|
@@ -587,8 +587,8 @@ var m={
|
|
|
587
587
|
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),}},
|
|
588
588
|
2496933607:function(r){return{_:'channelMessagesFilterEmpty'}},
|
|
589
589
|
3447183703:function(r){var flags=r.uint();return{_:'channelMessagesFilter',excludeNewMessages:!!(flags&2),ranges:r.vector(r.object),}},
|
|
590
|
-
|
|
591
|
-
|
|
590
|
+
3409540633:function(r){var flags=r.uint();return{_:'channelParticipant',userId:r.int53(),date:r.int(),subscriptionUntilDate:flags&1?r.int():void 0,}},
|
|
591
|
+
1331723247: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,}},
|
|
592
592
|
803602899:function(r){var flags=r.uint();return{_:'channelParticipantCreator',userId:r.int53(),adminRights:r.object(),rank:flags&1?r.string():void 0,}},
|
|
593
593
|
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,}},
|
|
594
594
|
1844969806:function(r){var flags=r.uint();return{_:'channelParticipantBanned',left:!!(flags&1),peer:r.object(),kickedBy:r.int53(),date:r.int(),bannedRights:r.object(),}},
|
|
@@ -834,6 +834,7 @@ var m={
|
|
|
834
834
|
834362706:function(r){return{_:'channelAdminLogEventActionChangeWallpaper',prevValue:r.object(),newValue:r.object(),}},
|
|
835
835
|
1051328177:function(r){return{_:'channelAdminLogEventActionChangeEmojiStatus',prevValue:r.object(),newValue:r.object(),}},
|
|
836
836
|
1188577451:function(r){return{_:'channelAdminLogEventActionChangeEmojiStickerSet',prevStickerset:r.object(),newStickerset:r.object(),}},
|
|
837
|
+
1621597305:function(r){return{_:'channelAdminLogEventActionToggleSignatureProfiles',newValue:r.boolean(),}},
|
|
837
838
|
531458253:function(r){return{_:'channelAdminLogEvent',id:r.long(),date:r.int(),userId:r.int53(),action:r.object(),}},
|
|
838
839
|
3985307469:function(r){return{_:'channels.adminLogResults',events:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
839
840
|
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),}},
|
|
@@ -1062,7 +1063,7 @@ var m={
|
|
|
1062
1063
|
3816265825:function(r){return{_:'account.resetPasswordFailedWait',retryDate:r.int(),}},
|
|
1063
1064
|
3924819069:function(r){return{_:'account.resetPasswordRequestedWait',untilDate:r.int(),}},
|
|
1064
1065
|
3911636542:function(r){return{_:'account.resetPasswordOk'}},
|
|
1065
|
-
|
|
1066
|
+
1301522832: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,media:flags&16384?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,}},
|
|
1066
1067
|
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),}},
|
|
1067
1068
|
406407439:function(r){return{_:'messages.sponsoredMessagesEmpty'}},
|
|
1068
1069
|
3383776159:function(r){return{_:'searchResultsCalendarPeriod',date:r.int(),minMsgId:r.int(),maxMsgId:r.int(),count:r.int(),}},
|
|
@@ -1074,7 +1075,7 @@ var m={
|
|
|
1074
1075
|
1753266509:function(r){return{_:'messages.peerSettings',settings:r.object(),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1075
1076
|
3282207583:function(r){var flags=r.uint();return{_:'auth.loggedOut',futureAuthToken:flags&1?r.bytes():void 0,}},
|
|
1076
1077
|
2748435328:function(r){var flags=r.uint();return{_:'reactionCount',chosenOrder:flags&1?r.int():void 0,reaction:r.object(),count:r.int(),}},
|
|
1077
|
-
|
|
1078
|
+
171155211:function(r){var flags=r.uint();return{_:'messageReactions',min:!!(flags&1),canSeeList:!!(flags&4),reactionsAsTags:!!(flags&8),results:r.vector(r.object),recentReactions:flags&2?r.vector(r.object):void 0,topReactors:flags&16?r.vector(r.object):void 0,}},
|
|
1078
1079
|
834488621:function(r){var flags=r.uint();return{_:'messages.messageReactionsList',count:r.int(),reactions:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),nextOffset:flags&1?r.string():void 0,}},
|
|
1079
1080
|
3229084673:function(r){var flags=r.uint();return{_:'availableReaction',inactive:!!(flags&1),premium:!!(flags&4),reaction:r.string(),title:r.string(),staticIcon:r.object(),appearAnimation:r.object(),selectAnimation:r.object(),activateAnimation:r.object(),effectAnimation:r.object(),aroundAnimation:flags&2?r.object():void 0,centerIcon:flags&2?r.object():void 0,}},
|
|
1080
1081
|
2668042583:function(r){return{_:'messages.availableReactionsNotModified'}},
|
|
@@ -1111,6 +1112,7 @@ var m={
|
|
|
1111
1112
|
3274099439:function(r){return{_:'inputInvoiceSlug',slug:r.string(),}},
|
|
1112
1113
|
2560125965:function(r){return{_:'inputInvoicePremiumGiftCode',purpose:r.object(),option:r.object(),}},
|
|
1113
1114
|
1710230755:function(r){return{_:'inputInvoiceStars',purpose:r.object(),}},
|
|
1115
|
+
887591921:function(r){return{_:'inputInvoiceChatInviteSubscription',hash:r.string(),}},
|
|
1114
1116
|
2932919257:function(r){return{_:'payments.exportedInvoice',url:r.string(),}},
|
|
1115
1117
|
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,}},
|
|
1116
1118
|
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),}},
|
|
@@ -1130,6 +1132,7 @@ var m={
|
|
|
1130
1132
|
2046153753:function(r){return{_:'reactionEmpty'}},
|
|
1131
1133
|
455247544:function(r){return{_:'reactionEmoji',emoticon:r.string(),}},
|
|
1132
1134
|
2302016627:function(r){return{_:'reactionCustomEmoji',documentId:r.long(),}},
|
|
1135
|
+
1379771627:function(r){return{_:'reactionPaid'}},
|
|
1133
1136
|
3942396604:function(r){return{_:'chatReactionsNone'}},
|
|
1134
1137
|
1385335754:function(r){var flags=r.uint();return{_:'chatReactionsAll',allowCustom:!!(flags&1),}},
|
|
1135
1138
|
1713193015:function(r){return{_:'chatReactionsSome',reactions:r.vector(r.object),}},
|
|
@@ -1325,8 +1328,8 @@ var m={
|
|
|
1325
1328
|
3624771933:function(r){return{_:'starsTransactionPeer',peer:r.object(),}},
|
|
1326
1329
|
1617438738:function(r){return{_:'starsTransactionPeerAds'}},
|
|
1327
1330
|
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(),}},
|
|
1328
|
-
|
|
1329
|
-
|
|
1331
|
+
1127934763: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.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,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,}},
|
|
1332
|
+
3153736044:function(r){var flags=r.uint();return{_:'payments.starsStatus',balance:r.long(),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),}},
|
|
1330
1333
|
3900361664:function(r){return{_:'foundStory',peer:r.object(),story:r.object(),}},
|
|
1331
1334
|
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),}},
|
|
1332
1335
|
3729546643:function(r){var flags=r.uint();return{_:'geoPointAddress',countryIso2:r.string(),state:flags&1?r.string():void 0,city:flags&2?r.string():void 0,street:flags&4?r.string():void 0,}},
|
|
@@ -1339,6 +1342,9 @@ var m={
|
|
|
1339
1342
|
428978491:function(r){var flags=r.uint();return{_:'bots.popularAppBots',nextOffset:flags&1?r.string():void 0,users:r.vector(r.object),}},
|
|
1340
1343
|
602479523:function(r){return{_:'botPreviewMedia',date:r.int(),media:r.object(),}},
|
|
1341
1344
|
212278628:function(r){return{_:'bots.previewInfo',media:r.vector(r.object),langCodes:r.vector(r.string),}},
|
|
1345
|
+
88173912:function(r){return{_:'starsSubscriptionPricing',period:r.int(),amount:r.long(),}},
|
|
1346
|
+
1401868056:function(r){var flags=r.uint();return{_:'starsSubscription',canceled:!!(flags&1),canRefulfill:!!(flags&2),missingBalance:!!(flags&4),id:r.string(),peer:r.object(),untilDate:r.int(),pricing:r.object(),chatInviteHash:flags&8?r.string():void 0,}},
|
|
1347
|
+
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(),}},
|
|
1342
1348
|
3438316246:function(r){return{_:'updateGroupInvitePrivacyForbidden',userId:r.int53(),}},
|
|
1343
1349
|
2284811963:function(r){return{_:'simpleWebViewResultUrl',url:r.string(),}},
|
|
1344
1350
|
1008422669:function(r){return{_:'appWebViewResultUrl',url:r.string(),}},
|
package/binary/writer.js
CHANGED
|
@@ -86,10 +86,10 @@ var m={
|
|
|
86
86
|
'chatEmpty':function(w,v){w.uint(693512293);w.int53(h(v,'id'));},
|
|
87
87
|
'chat':function(w,v){w.uint(1103884886);var flags=0;if(v.creator===true)flags|=1;if(v.left===true)flags|=4;if(v.deactivated===true)flags|=32;var _migratedTo=v.migratedTo!==undefined;if(_migratedTo)flags|=64;var _adminRights=v.adminRights!==undefined;if(_adminRights)flags|=16384;var _defaultBannedRights=v.defaultBannedRights!==undefined;if(_defaultBannedRights)flags|=262144;if(v.callActive===true)flags|=8388608;if(v.callNotEmpty===true)flags|=16777216;if(v.noforwards===true)flags|=33554432;w.uint(flags);w.int53(h(v,'id'));w.string(h(v,'title'));w.object(h(v,'photo'));w.int(h(v,'participantsCount'));w.int(h(v,'date'));w.int(h(v,'version'));if(_migratedTo)w.object(v.migratedTo);if(_adminRights)w.object(v.adminRights);if(_defaultBannedRights)w.object(v.defaultBannedRights);},
|
|
88
88
|
'chatForbidden':function(w,v){w.uint(1704108455);w.int53(h(v,'id'));w.string(h(v,'title'));},
|
|
89
|
-
'channel':function(w,v){w.uint(
|
|
89
|
+
'channel':function(w,v){w.uint(4265900221);var flags=0;if(v.creator===true)flags|=1;if(v.left===true)flags|=4;if(v.broadcast===true)flags|=32;var _username=v.username!==undefined;if(_username)flags|=64;if(v.verified===true)flags|=128;if(v.megagroup===true)flags|=256;var _restrictionReason=v.restrictionReason&&v.restrictionReason.length;var _flags_9=v.restricted===true||_restrictionReason;if(_flags_9)flags|=512;if(v.signatures===true)flags|=2048;if(v.min===true)flags|=4096;var _accessHash=v.accessHash!==undefined;if(_accessHash)flags|=8192;var _adminRights=v.adminRights!==undefined;if(_adminRights)flags|=16384;var _bannedRights=v.bannedRights!==undefined;if(_bannedRights)flags|=32768;var _participantsCount=v.participantsCount!==undefined;if(_participantsCount)flags|=131072;var _defaultBannedRights=v.defaultBannedRights!==undefined;if(_defaultBannedRights)flags|=262144;if(v.scam===true)flags|=524288;if(v.hasLink===true)flags|=1048576;if(v.hasGeo===true)flags|=2097152;if(v.slowmodeEnabled===true)flags|=4194304;if(v.callActive===true)flags|=8388608;if(v.callNotEmpty===true)flags|=16777216;if(v.fake===true)flags|=33554432;if(v.gigagroup===true)flags|=67108864;if(v.noforwards===true)flags|=134217728;if(v.joinToSend===true)flags|=268435456;if(v.joinRequest===true)flags|=536870912;if(v.forum===true)flags|=1073741824;w.uint(flags);var flags2=0;var _usernames=v.usernames&&v.usernames.length;if(_usernames)flags2|=1;if(v.storiesHidden===true)flags2|=2;if(v.storiesHiddenMin===true)flags2|=4;if(v.storiesUnavailable===true)flags2|=8;var _storiesMaxId=v.storiesMaxId!==undefined;if(_storiesMaxId)flags2|=16;var _color=v.color!==undefined;if(_color)flags2|=128;var _profileColor=v.profileColor!==undefined;if(_profileColor)flags2|=256;var _emojiStatus=v.emojiStatus!==undefined;if(_emojiStatus)flags2|=512;var _level=v.level!==undefined;if(_level)flags2|=1024;var _subscriptionUntilDate=v.subscriptionUntilDate!==undefined;if(_subscriptionUntilDate)flags2|=2048;if(v.signatureProfiles===true)flags2|=4096;w.uint(flags2);w.int53(h(v,'id'));if(_accessHash)w.long(v.accessHash);w.string(h(v,'title'));if(_username)w.string(v.username);w.object(h(v,'photo'));w.int(h(v,'date'));if(_flags_9)w.vector(w.object,v.restrictionReason);if(_adminRights)w.object(v.adminRights);if(_bannedRights)w.object(v.bannedRights);if(_defaultBannedRights)w.object(v.defaultBannedRights);if(_participantsCount)w.int(v.participantsCount);if(_usernames)w.vector(w.object,v.usernames);if(_storiesMaxId)w.int(v.storiesMaxId);if(_color)w.object(v.color);if(_profileColor)w.object(v.profileColor);if(_emojiStatus)w.object(v.emojiStatus);if(_level)w.int(v.level);if(_subscriptionUntilDate)w.int(v.subscriptionUntilDate);},
|
|
90
90
|
'channelForbidden':function(w,v){w.uint(399807445);var flags=0;if(v.broadcast===true)flags|=32;if(v.megagroup===true)flags|=256;var _untilDate=v.untilDate!==undefined;if(_untilDate)flags|=65536;w.uint(flags);w.int53(h(v,'id'));w.long(h(v,'accessHash'));w.string(h(v,'title'));if(_untilDate)w.int(v.untilDate);},
|
|
91
91
|
'chatFull':function(w,v){w.uint(640893467);var flags=0;var _chatPhoto=v.chatPhoto!==undefined;if(_chatPhoto)flags|=4;var _botInfo=v.botInfo&&v.botInfo.length;if(_botInfo)flags|=8;var _pinnedMsgId=v.pinnedMsgId!==undefined;if(_pinnedMsgId)flags|=64;if(v.canSetUsername===true)flags|=128;if(v.hasScheduled===true)flags|=256;var _folderId=v.folderId!==undefined;if(_folderId)flags|=2048;var _call=v.call!==undefined;if(_call)flags|=4096;var _exportedInvite=v.exportedInvite!==undefined;if(_exportedInvite)flags|=8192;var _ttlPeriod=v.ttlPeriod!==undefined;if(_ttlPeriod)flags|=16384;var _groupcallDefaultJoinAs=v.groupcallDefaultJoinAs!==undefined;if(_groupcallDefaultJoinAs)flags|=32768;var _themeEmoticon=v.themeEmoticon!==undefined;if(_themeEmoticon)flags|=65536;var _requestsPending=v.requestsPending!==undefined;var _recentRequesters=v.recentRequesters&&v.recentRequesters.length;var _flags_17=_requestsPending||_recentRequesters;if(_flags_17)flags|=131072;var _availableReactions=v.availableReactions!==undefined;if(_availableReactions)flags|=262144;if(v.translationsDisabled===true)flags|=524288;var _reactionsLimit=v.reactionsLimit!==undefined;if(_reactionsLimit)flags|=1048576;w.uint(flags);w.int53(h(v,'id'));w.string(h(v,'about'));w.object(h(v,'participants'));if(_chatPhoto)w.object(v.chatPhoto);w.object(h(v,'notifySettings'));if(_exportedInvite)w.object(v.exportedInvite);if(_botInfo)w.vector(w.object,v.botInfo);if(_pinnedMsgId)w.int(v.pinnedMsgId);if(_folderId)w.int(v.folderId);if(_call)w.object(v.call);if(_ttlPeriod)w.int(v.ttlPeriod);if(_groupcallDefaultJoinAs)w.object(v.groupcallDefaultJoinAs);if(_themeEmoticon)w.string(v.themeEmoticon);if(_flags_17)w.int(v.requestsPending);if(_flags_17)w.vector(w.long,v.recentRequesters);if(_availableReactions)w.object(v.availableReactions);if(_reactionsLimit)w.int(v.reactionsLimit);},
|
|
92
|
-
'channelFull':function(w,v){w.uint(3148559501);var flags=0;var _participantsCount=v.participantsCount!==undefined;if(_participantsCount)flags|=1;var _adminsCount=v.adminsCount!==undefined;if(_adminsCount)flags|=2;var _kickedCount=v.kickedCount!==undefined;var _bannedCount=v.bannedCount!==undefined;var _flags_2=_kickedCount||_bannedCount;if(_flags_2)flags|=4;if(v.canViewParticipants===true)flags|=8;var _migratedFromChatId=v.migratedFromChatId!==undefined;var _migratedFromMaxId=v.migratedFromMaxId!==undefined;var _flags_4=_migratedFromChatId||_migratedFromMaxId;if(_flags_4)flags|=16;var _pinnedMsgId=v.pinnedMsgId!==undefined;if(_pinnedMsgId)flags|=32;if(v.canSetUsername===true)flags|=64;if(v.canSetStickers===true)flags|=128;var _stickerset=v.stickerset!==undefined;if(_stickerset)flags|=256;var _availableMinId=v.availableMinId!==undefined;if(_availableMinId)flags|=512;if(v.hiddenPrehistory===true)flags|=1024;var _folderId=v.folderId!==undefined;if(_folderId)flags|=2048;var _statsDc=v.statsDc!==undefined;if(_statsDc)flags|=4096;var _onlineCount=v.onlineCount!==undefined;if(_onlineCount)flags|=8192;var _linkedChatId=v.linkedChatId!==undefined;if(_linkedChatId)flags|=16384;var _location=v.location!==undefined;if(_location)flags|=32768;if(v.canSetLocation===true)flags|=65536;var _slowmodeSeconds=v.slowmodeSeconds!==undefined;if(_slowmodeSeconds)flags|=131072;var _slowmodeNextSendDate=v.slowmodeNextSendDate!==undefined;if(_slowmodeNextSendDate)flags|=262144;if(v.hasScheduled===true)flags|=524288;if(v.canViewStats===true)flags|=1048576;var _call=v.call!==undefined;if(_call)flags|=2097152;if(v.blocked===true)flags|=4194304;var _exportedInvite=v.exportedInvite!==undefined;if(_exportedInvite)flags|=8388608;var _ttlPeriod=v.ttlPeriod!==undefined;if(_ttlPeriod)flags|=16777216;var _pendingSuggestions=v.pendingSuggestions&&v.pendingSuggestions.length;if(_pendingSuggestions)flags|=33554432;var _groupcallDefaultJoinAs=v.groupcallDefaultJoinAs!==undefined;if(_groupcallDefaultJoinAs)flags|=67108864;var _themeEmoticon=v.themeEmoticon!==undefined;if(_themeEmoticon)flags|=134217728;var _requestsPending=v.requestsPending!==undefined;var _recentRequesters=v.recentRequesters&&v.recentRequesters.length;var _flags_28=_requestsPending||_recentRequesters;if(_flags_28)flags|=268435456;var _defaultSendAs=v.defaultSendAs!==undefined;if(_defaultSendAs)flags|=536870912;var _availableReactions=v.availableReactions!==undefined;if(_availableReactions)flags|=1073741824;w.uint(flags);var flags2=0;if(v.canDeleteChannel===true)flags2|=1;if(v.antispam===true)flags2|=2;if(v.participantsHidden===true)flags2|=4;if(v.translationsDisabled===true)flags2|=8;var _stories=v.stories!==undefined;if(_stories)flags2|=16;if(v.storiesPinnedAvailable===true)flags2|=32;if(v.viewForumAsMessages===true)flags2|=64;var _wallpaper=v.wallpaper!==undefined;if(_wallpaper)flags2|=128;var _boostsApplied=v.boostsApplied!==undefined;if(_boostsApplied)flags2|=256;var _boostsUnrestrict=v.boostsUnrestrict!==undefined;if(_boostsUnrestrict)flags2|=512;var _emojiset=v.emojiset!==undefined;if(_emojiset)flags2|=1024;if(v.restrictedSponsored===true)flags2|=2048;if(v.canViewRevenue===true)flags2|=4096;var _reactionsLimit=v.reactionsLimit!==undefined;if(_reactionsLimit)flags2|=8192;if(v.paidMediaAllowed===true)flags2|=16384;if(v.canViewStarsRevenue===true)flags2|=32768;w.uint(flags2);w.int53(h(v,'id'));w.string(h(v,'about'));if(_participantsCount)w.int(v.participantsCount);if(_adminsCount)w.int(v.adminsCount);if(_flags_2)w.int(v.kickedCount);if(_flags_2)w.int(v.bannedCount);if(_onlineCount)w.int(v.onlineCount);w.int(h(v,'readInboxMaxId'));w.int(h(v,'readOutboxMaxId'));w.int(h(v,'unreadCount'));w.object(h(v,'chatPhoto'));w.object(h(v,'notifySettings'));if(_exportedInvite)w.object(v.exportedInvite);w.vector(w.object,h(v,'botInfo'));if(_flags_4)w.long(v.migratedFromChatId);if(_flags_4)w.int(v.migratedFromMaxId);if(_pinnedMsgId)w.int(v.pinnedMsgId);if(_stickerset)w.object(v.stickerset);if(_availableMinId)w.int(v.availableMinId);if(_folderId)w.int(v.folderId);if(_linkedChatId)w.int53(v.linkedChatId);if(_location)w.object(v.location);if(_slowmodeSeconds)w.int(v.slowmodeSeconds);if(_slowmodeNextSendDate)w.int(v.slowmodeNextSendDate);if(_statsDc)w.int(v.statsDc);w.int(h(v,'pts'));if(_call)w.object(v.call);if(_ttlPeriod)w.int(v.ttlPeriod);if(_pendingSuggestions)w.vector(w.string,v.pendingSuggestions);if(_groupcallDefaultJoinAs)w.object(v.groupcallDefaultJoinAs);if(_themeEmoticon)w.string(v.themeEmoticon);if(_flags_28)w.int(v.requestsPending);if(_flags_28)w.vector(w.long,v.recentRequesters);if(_defaultSendAs)w.object(v.defaultSendAs);if(_availableReactions)w.object(v.availableReactions);if(_reactionsLimit)w.int(v.reactionsLimit);if(_stories)w.object(v.stories);if(_wallpaper)w.object(v.wallpaper);if(_boostsApplied)w.int(v.boostsApplied);if(_boostsUnrestrict)w.int(v.boostsUnrestrict);if(_emojiset)w.object(v.emojiset);},
|
|
92
|
+
'channelFull':function(w,v){w.uint(3148559501);var flags=0;var _participantsCount=v.participantsCount!==undefined;if(_participantsCount)flags|=1;var _adminsCount=v.adminsCount!==undefined;if(_adminsCount)flags|=2;var _kickedCount=v.kickedCount!==undefined;var _bannedCount=v.bannedCount!==undefined;var _flags_2=_kickedCount||_bannedCount;if(_flags_2)flags|=4;if(v.canViewParticipants===true)flags|=8;var _migratedFromChatId=v.migratedFromChatId!==undefined;var _migratedFromMaxId=v.migratedFromMaxId!==undefined;var _flags_4=_migratedFromChatId||_migratedFromMaxId;if(_flags_4)flags|=16;var _pinnedMsgId=v.pinnedMsgId!==undefined;if(_pinnedMsgId)flags|=32;if(v.canSetUsername===true)flags|=64;if(v.canSetStickers===true)flags|=128;var _stickerset=v.stickerset!==undefined;if(_stickerset)flags|=256;var _availableMinId=v.availableMinId!==undefined;if(_availableMinId)flags|=512;if(v.hiddenPrehistory===true)flags|=1024;var _folderId=v.folderId!==undefined;if(_folderId)flags|=2048;var _statsDc=v.statsDc!==undefined;if(_statsDc)flags|=4096;var _onlineCount=v.onlineCount!==undefined;if(_onlineCount)flags|=8192;var _linkedChatId=v.linkedChatId!==undefined;if(_linkedChatId)flags|=16384;var _location=v.location!==undefined;if(_location)flags|=32768;if(v.canSetLocation===true)flags|=65536;var _slowmodeSeconds=v.slowmodeSeconds!==undefined;if(_slowmodeSeconds)flags|=131072;var _slowmodeNextSendDate=v.slowmodeNextSendDate!==undefined;if(_slowmodeNextSendDate)flags|=262144;if(v.hasScheduled===true)flags|=524288;if(v.canViewStats===true)flags|=1048576;var _call=v.call!==undefined;if(_call)flags|=2097152;if(v.blocked===true)flags|=4194304;var _exportedInvite=v.exportedInvite!==undefined;if(_exportedInvite)flags|=8388608;var _ttlPeriod=v.ttlPeriod!==undefined;if(_ttlPeriod)flags|=16777216;var _pendingSuggestions=v.pendingSuggestions&&v.pendingSuggestions.length;if(_pendingSuggestions)flags|=33554432;var _groupcallDefaultJoinAs=v.groupcallDefaultJoinAs!==undefined;if(_groupcallDefaultJoinAs)flags|=67108864;var _themeEmoticon=v.themeEmoticon!==undefined;if(_themeEmoticon)flags|=134217728;var _requestsPending=v.requestsPending!==undefined;var _recentRequesters=v.recentRequesters&&v.recentRequesters.length;var _flags_28=_requestsPending||_recentRequesters;if(_flags_28)flags|=268435456;var _defaultSendAs=v.defaultSendAs!==undefined;if(_defaultSendAs)flags|=536870912;var _availableReactions=v.availableReactions!==undefined;if(_availableReactions)flags|=1073741824;w.uint(flags);var flags2=0;if(v.canDeleteChannel===true)flags2|=1;if(v.antispam===true)flags2|=2;if(v.participantsHidden===true)flags2|=4;if(v.translationsDisabled===true)flags2|=8;var _stories=v.stories!==undefined;if(_stories)flags2|=16;if(v.storiesPinnedAvailable===true)flags2|=32;if(v.viewForumAsMessages===true)flags2|=64;var _wallpaper=v.wallpaper!==undefined;if(_wallpaper)flags2|=128;var _boostsApplied=v.boostsApplied!==undefined;if(_boostsApplied)flags2|=256;var _boostsUnrestrict=v.boostsUnrestrict!==undefined;if(_boostsUnrestrict)flags2|=512;var _emojiset=v.emojiset!==undefined;if(_emojiset)flags2|=1024;if(v.restrictedSponsored===true)flags2|=2048;if(v.canViewRevenue===true)flags2|=4096;var _reactionsLimit=v.reactionsLimit!==undefined;if(_reactionsLimit)flags2|=8192;if(v.paidMediaAllowed===true)flags2|=16384;if(v.canViewStarsRevenue===true)flags2|=32768;if(v.paidReactionsAvailable===true)flags2|=65536;w.uint(flags2);w.int53(h(v,'id'));w.string(h(v,'about'));if(_participantsCount)w.int(v.participantsCount);if(_adminsCount)w.int(v.adminsCount);if(_flags_2)w.int(v.kickedCount);if(_flags_2)w.int(v.bannedCount);if(_onlineCount)w.int(v.onlineCount);w.int(h(v,'readInboxMaxId'));w.int(h(v,'readOutboxMaxId'));w.int(h(v,'unreadCount'));w.object(h(v,'chatPhoto'));w.object(h(v,'notifySettings'));if(_exportedInvite)w.object(v.exportedInvite);w.vector(w.object,h(v,'botInfo'));if(_flags_4)w.long(v.migratedFromChatId);if(_flags_4)w.int(v.migratedFromMaxId);if(_pinnedMsgId)w.int(v.pinnedMsgId);if(_stickerset)w.object(v.stickerset);if(_availableMinId)w.int(v.availableMinId);if(_folderId)w.int(v.folderId);if(_linkedChatId)w.int53(v.linkedChatId);if(_location)w.object(v.location);if(_slowmodeSeconds)w.int(v.slowmodeSeconds);if(_slowmodeNextSendDate)w.int(v.slowmodeNextSendDate);if(_statsDc)w.int(v.statsDc);w.int(h(v,'pts'));if(_call)w.object(v.call);if(_ttlPeriod)w.int(v.ttlPeriod);if(_pendingSuggestions)w.vector(w.string,v.pendingSuggestions);if(_groupcallDefaultJoinAs)w.object(v.groupcallDefaultJoinAs);if(_themeEmoticon)w.string(v.themeEmoticon);if(_flags_28)w.int(v.requestsPending);if(_flags_28)w.vector(w.long,v.recentRequesters);if(_defaultSendAs)w.object(v.defaultSendAs);if(_availableReactions)w.object(v.availableReactions);if(_reactionsLimit)w.int(v.reactionsLimit);if(_stories)w.object(v.stories);if(_wallpaper)w.object(v.wallpaper);if(_boostsApplied)w.int(v.boostsApplied);if(_boostsUnrestrict)w.int(v.boostsUnrestrict);if(_emojiset)w.object(v.emojiset);},
|
|
93
93
|
'chatParticipant':function(w,v){w.uint(3224190983);w.int53(h(v,'userId'));w.int53(h(v,'inviterId'));w.int(h(v,'date'));},
|
|
94
94
|
'chatParticipantCreator':function(w,v){w.uint(3832270564);w.int53(h(v,'userId'));},
|
|
95
95
|
'chatParticipantAdmin':function(w,v){w.uint(2694004571);w.int53(h(v,'userId'));w.int53(h(v,'inviterId'));w.int(h(v,'date'));},
|
|
@@ -514,10 +514,10 @@ var m={
|
|
|
514
514
|
'account.passwordInputSettings':function(w,v){w.uint(3258394569);var flags=0;var _newAlgo=v.newAlgo!==undefined;var _newPasswordHash=v.newPasswordHash!==undefined;var _hint=v.hint!==undefined;var _flags_0=_newAlgo||_newPasswordHash||_hint;if(_flags_0)flags|=1;var _email=v.email!==undefined;if(_email)flags|=2;var _newSecureSettings=v.newSecureSettings!==undefined;if(_newSecureSettings)flags|=4;w.uint(flags);if(_flags_0)w.object(v.newAlgo);if(_flags_0)w.bytes(v.newPasswordHash);if(_flags_0)w.string(v.hint);if(_email)w.string(v.email);if(_newSecureSettings)w.object(v.newSecureSettings);},
|
|
515
515
|
'auth.passwordRecovery':function(w,v){w.uint(326715557);w.string(h(v,'emailPattern'));},
|
|
516
516
|
'receivedNotifyMessage':function(w,v){w.uint(2743383929);w.int(h(v,'id'));w.int(h(v,'flags'));},
|
|
517
|
-
'chatInviteExported':function(w,v){w.uint(
|
|
517
|
+
'chatInviteExported':function(w,v){w.uint(2720841110);var flags=0;if(v.revoked===true)flags|=1;var _expireDate=v.expireDate!==undefined;if(_expireDate)flags|=2;var _usageLimit=v.usageLimit!==undefined;if(_usageLimit)flags|=4;var _usage=v.usage!==undefined;if(_usage)flags|=8;var _startDate=v.startDate!==undefined;if(_startDate)flags|=16;if(v.permanent===true)flags|=32;if(v.requestNeeded===true)flags|=64;var _requested=v.requested!==undefined;if(_requested)flags|=128;var _title=v.title!==undefined;if(_title)flags|=256;var _subscriptionPricing=v.subscriptionPricing!==undefined;if(_subscriptionPricing)flags|=512;var _subscriptionExpired=v.subscriptionExpired!==undefined;if(_subscriptionExpired)flags|=1024;w.uint(flags);w.string(h(v,'link'));w.int53(h(v,'adminId'));w.int(h(v,'date'));if(_startDate)w.int(v.startDate);if(_expireDate)w.int(v.expireDate);if(_usageLimit)w.int(v.usageLimit);if(_usage)w.int(v.usage);if(_requested)w.int(v.requested);if(_subscriptionExpired)w.int(v.subscriptionExpired);if(_title)w.string(v.title);if(_subscriptionPricing)w.object(v.subscriptionPricing);},
|
|
518
518
|
'chatInvitePublicJoinRequests':function(w){w.uint(3977280183);},
|
|
519
519
|
'chatInviteAlready':function(w,v){w.uint(1516793212);w.object(h(v,'chat'));},
|
|
520
|
-
'chatInvite':function(w,v){w.uint(
|
|
520
|
+
'chatInvite':function(w,v){w.uint(4268046493);var flags=0;if(v.channel===true)flags|=1;if(v.broadcast===true)flags|=2;if(v.public===true)flags|=4;if(v.megagroup===true)flags|=8;var _participants=v.participants&&v.participants.length;if(_participants)flags|=16;var _about=v.about!==undefined;if(_about)flags|=32;if(v.requestNeeded===true)flags|=64;if(v.verified===true)flags|=128;if(v.scam===true)flags|=256;if(v.fake===true)flags|=512;var _subscriptionPricing=v.subscriptionPricing!==undefined;if(_subscriptionPricing)flags|=1024;if(v.canRefulfillSubscription===true)flags|=2048;var _subscriptionFormId=v.subscriptionFormId!==undefined;if(_subscriptionFormId)flags|=4096;w.uint(flags);w.string(h(v,'title'));if(_about)w.string(v.about);w.object(h(v,'photo'));w.int(h(v,'participantsCount'));if(_participants)w.vector(w.object,v.participants);w.int(h(v,'color'));if(_subscriptionPricing)w.object(v.subscriptionPricing);if(_subscriptionFormId)w.long(v.subscriptionFormId);},
|
|
521
521
|
'chatInvitePeek':function(w,v){w.uint(1634294960);w.object(h(v,'chat'));w.int(h(v,'expires'));},
|
|
522
522
|
'inputStickerSetEmpty':function(w){w.uint(4290128789);},
|
|
523
523
|
'inputStickerSetID':function(w,v){w.uint(2649203305);w.long(h(v,'id'));w.long(h(v,'accessHash'));},
|
|
@@ -534,7 +534,7 @@ var m={
|
|
|
534
534
|
'messages.stickerSet':function(w,v){w.uint(1846886166);w.object(h(v,'set'));w.vector(w.object,h(v,'packs'));w.vector(w.object,h(v,'keywords'));w.vector(w.object,h(v,'documents'));},
|
|
535
535
|
'messages.stickerSetNotModified':function(w){w.uint(3556320491);},
|
|
536
536
|
'botCommand':function(w,v){w.uint(3262826695);w.string(h(v,'command'));w.string(h(v,'description'));},
|
|
537
|
-
'botInfo':function(w,v){w.uint(
|
|
537
|
+
'botInfo':function(w,v){w.uint(2185461364);var flags=0;var _userId=v.userId!==undefined;if(_userId)flags|=1;var _description=v.description!==undefined;if(_description)flags|=2;var _commands=v.commands&&v.commands.length;if(_commands)flags|=4;var _menuButton=v.menuButton!==undefined;if(_menuButton)flags|=8;var _descriptionPhoto=v.descriptionPhoto!==undefined;if(_descriptionPhoto)flags|=16;var _descriptionDocument=v.descriptionDocument!==undefined;if(_descriptionDocument)flags|=32;if(v.hasPreviewMedias===true)flags|=64;var _privacyPolicyUrl=v.privacyPolicyUrl!==undefined;if(_privacyPolicyUrl)flags|=128;w.uint(flags);if(_userId)w.int53(v.userId);if(_description)w.string(v.description);if(_descriptionPhoto)w.object(v.descriptionPhoto);if(_descriptionDocument)w.object(v.descriptionDocument);if(_commands)w.vector(w.object,v.commands);if(_menuButton)w.object(v.menuButton);if(_privacyPolicyUrl)w.string(v.privacyPolicyUrl);},
|
|
538
538
|
'keyboardButton':function(w,v){w.uint(2734311552);w.string(h(v,'text'));},
|
|
539
539
|
'keyboardButtonUrl':function(w,v){w.uint(629866245);w.string(h(v,'text'));w.string(h(v,'url'));},
|
|
540
540
|
'keyboardButtonCallback':function(w,v){w.uint(901503851);var flags=0;if(v.requiresPassword===true)flags|=1;w.uint(flags);w.string(h(v,'text'));w.bytes(h(v,'data'));},
|
|
@@ -588,8 +588,8 @@ var m={
|
|
|
588
588
|
'updates.channelDifference':function(w,v){w.uint(543450958);var flags=0;if(v.final===true)flags|=1;var _timeout=v.timeout!==undefined;if(_timeout)flags|=2;w.uint(flags);w.int(h(v,'pts'));if(_timeout)w.int(v.timeout);w.vector(w.object,h(v,'newMessages'));w.vector(w.object,h(v,'otherUpdates'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
589
589
|
'channelMessagesFilterEmpty':function(w){w.uint(2496933607);},
|
|
590
590
|
'channelMessagesFilter':function(w,v){w.uint(3447183703);var flags=0;if(v.excludeNewMessages===true)flags|=2;w.uint(flags);w.vector(w.object,h(v,'ranges'));},
|
|
591
|
-
'channelParticipant':function(w,v){w.uint(
|
|
592
|
-
'channelParticipantSelf':function(w,v){w.uint(
|
|
591
|
+
'channelParticipant':function(w,v){w.uint(3409540633);var flags=0;var _subscriptionUntilDate=v.subscriptionUntilDate!==undefined;if(_subscriptionUntilDate)flags|=1;w.uint(flags);w.int53(h(v,'userId'));w.int(h(v,'date'));if(_subscriptionUntilDate)w.int(v.subscriptionUntilDate);},
|
|
592
|
+
'channelParticipantSelf':function(w,v){w.uint(1331723247);var flags=0;if(v.viaRequest===true)flags|=1;var _subscriptionUntilDate=v.subscriptionUntilDate!==undefined;if(_subscriptionUntilDate)flags|=2;w.uint(flags);w.int53(h(v,'userId'));w.int53(h(v,'inviterId'));w.int(h(v,'date'));if(_subscriptionUntilDate)w.int(v.subscriptionUntilDate);},
|
|
593
593
|
'channelParticipantCreator':function(w,v){w.uint(803602899);var flags=0;var _rank=v.rank!==undefined;if(_rank)flags|=1;w.uint(flags);w.int53(h(v,'userId'));w.object(h(v,'adminRights'));if(_rank)w.string(v.rank);},
|
|
594
594
|
'channelParticipantAdmin':function(w,v){w.uint(885242707);var flags=0;if(v.canEdit===true)flags|=1;var _inviterId=v.inviterId!==undefined;var _flags_1=v.self===true||_inviterId;if(_flags_1)flags|=2;var _rank=v.rank!==undefined;if(_rank)flags|=4;w.uint(flags);w.int53(h(v,'userId'));if(_flags_1)w.int53(v.inviterId);w.int53(h(v,'promotedBy'));w.int(h(v,'date'));w.object(h(v,'adminRights'));if(_rank)w.string(v.rank);},
|
|
595
595
|
'channelParticipantBanned':function(w,v){w.uint(1844969806);var flags=0;if(v.left===true)flags|=1;w.uint(flags);w.object(h(v,'peer'));w.int53(h(v,'kickedBy'));w.int(h(v,'date'));w.object(h(v,'bannedRights'));},
|
|
@@ -835,6 +835,7 @@ var m={
|
|
|
835
835
|
'channelAdminLogEventActionChangeWallpaper':function(w,v){w.uint(834362706);w.object(h(v,'prevValue'));w.object(h(v,'newValue'));},
|
|
836
836
|
'channelAdminLogEventActionChangeEmojiStatus':function(w,v){w.uint(1051328177);w.object(h(v,'prevValue'));w.object(h(v,'newValue'));},
|
|
837
837
|
'channelAdminLogEventActionChangeEmojiStickerSet':function(w,v){w.uint(1188577451);w.object(h(v,'prevStickerset'));w.object(h(v,'newStickerset'));},
|
|
838
|
+
'channelAdminLogEventActionToggleSignatureProfiles':function(w,v){w.uint(1621597305);w.boolean(h(v,'newValue'));},
|
|
838
839
|
'channelAdminLogEvent':function(w,v){w.uint(531458253);w.long(h(v,'id'));w.int(h(v,'date'));w.int53(h(v,'userId'));w.object(h(v,'action'));},
|
|
839
840
|
'channels.adminLogResults':function(w,v){w.uint(3985307469);w.vector(w.object,h(v,'events'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
840
841
|
'channelAdminLogEventsFilter':function(w,v){w.uint(3926948580);var flags=0;if(v.join===true)flags|=1;if(v.leave===true)flags|=2;if(v.invite===true)flags|=4;if(v.ban===true)flags|=8;if(v.unban===true)flags|=16;if(v.kick===true)flags|=32;if(v.unkick===true)flags|=64;if(v.promote===true)flags|=128;if(v.demote===true)flags|=256;if(v.info===true)flags|=512;if(v.settings===true)flags|=1024;if(v.pinned===true)flags|=2048;if(v.edit===true)flags|=4096;if(v.delete===true)flags|=8192;if(v.groupCall===true)flags|=16384;if(v.invites===true)flags|=32768;if(v.send===true)flags|=65536;if(v.forums===true)flags|=131072;w.uint(flags);},
|
|
@@ -1063,7 +1064,7 @@ var m={
|
|
|
1063
1064
|
'account.resetPasswordFailedWait':function(w,v){w.uint(3816265825);w.int(h(v,'retryDate'));},
|
|
1064
1065
|
'account.resetPasswordRequestedWait':function(w,v){w.uint(3924819069);w.int(h(v,'untilDate'));},
|
|
1065
1066
|
'account.resetPasswordOk':function(w){w.uint(3911636542);},
|
|
1066
|
-
'sponsoredMessage':function(w,v){w.uint(
|
|
1067
|
+
'sponsoredMessage':function(w,v){w.uint(1301522832);var flags=0;var _entities=v.entities&&v.entities.length;if(_entities)flags|=2;if(v.recommended===true)flags|=32;var _photo=v.photo!==undefined;if(_photo)flags|=64;var _sponsorInfo=v.sponsorInfo!==undefined;if(_sponsorInfo)flags|=128;var _additionalInfo=v.additionalInfo!==undefined;if(_additionalInfo)flags|=256;if(v.canReport===true)flags|=4096;var _color=v.color!==undefined;if(_color)flags|=8192;var _media=v.media!==undefined;if(_media)flags|=16384;w.uint(flags);w.bytes(h(v,'randomId'));w.string(h(v,'url'));w.string(h(v,'title'));w.string(h(v,'message'));if(_entities)w.vector(w.object,v.entities);if(_photo)w.object(v.photo);if(_media)w.object(v.media);if(_color)w.object(v.color);w.string(h(v,'buttonText'));if(_sponsorInfo)w.string(v.sponsorInfo);if(_additionalInfo)w.string(v.additionalInfo);},
|
|
1067
1068
|
'messages.sponsoredMessages':function(w,v){w.uint(3387825543);var flags=0;var _postsBetween=v.postsBetween!==undefined;if(_postsBetween)flags|=1;w.uint(flags);if(_postsBetween)w.int(v.postsBetween);w.vector(w.object,h(v,'messages'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
1068
1069
|
'messages.sponsoredMessagesEmpty':function(w){w.uint(406407439);},
|
|
1069
1070
|
'searchResultsCalendarPeriod':function(w,v){w.uint(3383776159);w.int(h(v,'date'));w.int(h(v,'minMsgId'));w.int(h(v,'maxMsgId'));w.int(h(v,'count'));},
|
|
@@ -1075,7 +1076,7 @@ var m={
|
|
|
1075
1076
|
'messages.peerSettings':function(w,v){w.uint(1753266509);w.object(h(v,'settings'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
1076
1077
|
'auth.loggedOut':function(w,v){w.uint(3282207583);var flags=0;var _futureAuthToken=v.futureAuthToken!==undefined;if(_futureAuthToken)flags|=1;w.uint(flags);if(_futureAuthToken)w.bytes(v.futureAuthToken);},
|
|
1077
1078
|
'reactionCount':function(w,v){w.uint(2748435328);var flags=0;var _chosenOrder=v.chosenOrder!==undefined;if(_chosenOrder)flags|=1;w.uint(flags);if(_chosenOrder)w.int(v.chosenOrder);w.object(h(v,'reaction'));w.int(h(v,'count'));},
|
|
1078
|
-
'messageReactions':function(w,v){w.uint(
|
|
1079
|
+
'messageReactions':function(w,v){w.uint(171155211);var flags=0;if(v.min===true)flags|=1;var _recentReactions=v.recentReactions&&v.recentReactions.length;if(_recentReactions)flags|=2;if(v.canSeeList===true)flags|=4;if(v.reactionsAsTags===true)flags|=8;var _topReactors=v.topReactors&&v.topReactors.length;if(_topReactors)flags|=16;w.uint(flags);w.vector(w.object,h(v,'results'));if(_recentReactions)w.vector(w.object,v.recentReactions);if(_topReactors)w.vector(w.object,v.topReactors);},
|
|
1079
1080
|
'messages.messageReactionsList':function(w,v){w.uint(834488621);var flags=0;var _nextOffset=v.nextOffset!==undefined;if(_nextOffset)flags|=1;w.uint(flags);w.int(h(v,'count'));w.vector(w.object,h(v,'reactions'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));if(_nextOffset)w.string(v.nextOffset);},
|
|
1080
1081
|
'availableReaction':function(w,v){w.uint(3229084673);var flags=0;if(v.inactive===true)flags|=1;var _aroundAnimation=v.aroundAnimation!==undefined;var _centerIcon=v.centerIcon!==undefined;var _flags_1=_aroundAnimation||_centerIcon;if(_flags_1)flags|=2;if(v.premium===true)flags|=4;w.uint(flags);w.string(h(v,'reaction'));w.string(h(v,'title'));w.object(h(v,'staticIcon'));w.object(h(v,'appearAnimation'));w.object(h(v,'selectAnimation'));w.object(h(v,'activateAnimation'));w.object(h(v,'effectAnimation'));if(_flags_1)w.object(v.aroundAnimation);if(_flags_1)w.object(v.centerIcon);},
|
|
1081
1082
|
'messages.availableReactionsNotModified':function(w){w.uint(2668042583);},
|
|
@@ -1112,6 +1113,7 @@ var m={
|
|
|
1112
1113
|
'inputInvoiceSlug':function(w,v){w.uint(3274099439);w.string(h(v,'slug'));},
|
|
1113
1114
|
'inputInvoicePremiumGiftCode':function(w,v){w.uint(2560125965);w.object(h(v,'purpose'));w.object(h(v,'option'));},
|
|
1114
1115
|
'inputInvoiceStars':function(w,v){w.uint(1710230755);w.object(h(v,'purpose'));},
|
|
1116
|
+
'inputInvoiceChatInviteSubscription':function(w,v){w.uint(887591921);w.string(h(v,'hash'));},
|
|
1115
1117
|
'payments.exportedInvoice':function(w,v){w.uint(2932919257);w.string(h(v,'url'));},
|
|
1116
1118
|
'messages.transcribedAudio':function(w,v){w.uint(3485063511);var flags=0;if(v.pending===true)flags|=1;var _trialRemainsNum=v.trialRemainsNum!==undefined;var _trialRemainsUntilDate=v.trialRemainsUntilDate!==undefined;var _flags_1=_trialRemainsNum||_trialRemainsUntilDate;if(_flags_1)flags|=2;w.uint(flags);w.long(h(v,'transcriptionId'));w.string(h(v,'text'));if(_flags_1)w.int(v.trialRemainsNum);if(_flags_1)w.int(v.trialRemainsUntilDate);},
|
|
1117
1119
|
'help.premiumPromo':function(w,v){w.uint(1395946908);w.string(h(v,'statusText'));w.vector(w.object,h(v,'statusEntities'));w.vector(w.string,h(v,'videoSections'));w.vector(w.object,h(v,'videos'));w.vector(w.object,h(v,'periodOptions'));w.vector(w.object,h(v,'users'));},
|
|
@@ -1131,6 +1133,7 @@ var m={
|
|
|
1131
1133
|
'reactionEmpty':function(w){w.uint(2046153753);},
|
|
1132
1134
|
'reactionEmoji':function(w,v){w.uint(455247544);w.string(h(v,'emoticon'));},
|
|
1133
1135
|
'reactionCustomEmoji':function(w,v){w.uint(2302016627);w.long(h(v,'documentId'));},
|
|
1136
|
+
'reactionPaid':function(w){w.uint(1379771627);},
|
|
1134
1137
|
'chatReactionsNone':function(w){w.uint(3942396604);},
|
|
1135
1138
|
'chatReactionsAll':function(w,v){w.uint(1385335754);var flags=0;if(v.allowCustom===true)flags|=1;w.uint(flags);},
|
|
1136
1139
|
'chatReactionsSome':function(w,v){w.uint(1713193015);w.vector(w.object,h(v,'reactions'));},
|
|
@@ -1326,8 +1329,8 @@ var m={
|
|
|
1326
1329
|
'starsTransactionPeer':function(w,v){w.uint(3624771933);w.object(h(v,'peer'));},
|
|
1327
1330
|
'starsTransactionPeerAds':function(w){w.uint(1617438738);},
|
|
1328
1331
|
'starsTopupOption':function(w,v){w.uint(198776256);var flags=0;var _storeProduct=v.storeProduct!==undefined;if(_storeProduct)flags|=1;if(v.extended===true)flags|=2;w.uint(flags);w.long(h(v,'stars'));if(_storeProduct)w.string(v.storeProduct);w.string(h(v,'currency'));w.long(h(v,'amount'));},
|
|
1329
|
-
'starsTransaction':function(w,v){w.uint(
|
|
1330
|
-
'payments.starsStatus':function(w,v){w.uint(
|
|
1332
|
+
'starsTransaction':function(w,v){w.uint(1127934763);var flags=0;var _title=v.title!==undefined;if(_title)flags|=1;var _description=v.description!==undefined;if(_description)flags|=2;var _photo=v.photo!==undefined;if(_photo)flags|=4;if(v.refund===true)flags|=8;if(v.pending===true)flags|=16;var _transactionDate=v.transactionDate!==undefined;var _transactionUrl=v.transactionUrl!==undefined;var _flags_5=_transactionDate||_transactionUrl;if(_flags_5)flags|=32;if(v.failed===true)flags|=64;var _botPayload=v.botPayload!==undefined;if(_botPayload)flags|=128;var _msgId=v.msgId!==undefined;if(_msgId)flags|=256;var _extendedMedia=v.extendedMedia&&v.extendedMedia.length;if(_extendedMedia)flags|=512;if(v.gift===true)flags|=1024;if(v.reaction===true)flags|=2048;var _subscriptionPeriod=v.subscriptionPeriod!==undefined;if(_subscriptionPeriod)flags|=4096;w.uint(flags);w.string(h(v,'id'));w.long(h(v,'stars'));w.int(h(v,'date'));w.object(h(v,'peer'));if(_title)w.string(v.title);if(_description)w.string(v.description);if(_photo)w.object(v.photo);if(_flags_5)w.int(v.transactionDate);if(_flags_5)w.string(v.transactionUrl);if(_botPayload)w.bytes(v.botPayload);if(_msgId)w.int(v.msgId);if(_extendedMedia)w.vector(w.object,v.extendedMedia);if(_subscriptionPeriod)w.int(v.subscriptionPeriod);},
|
|
1333
|
+
'payments.starsStatus':function(w,v){w.uint(3153736044);var flags=0;var _nextOffset=v.nextOffset!==undefined;if(_nextOffset)flags|=1;var _subscriptions=v.subscriptions&&v.subscriptions.length;if(_subscriptions)flags|=2;var _subscriptionsNextOffset=v.subscriptionsNextOffset!==undefined;if(_subscriptionsNextOffset)flags|=4;var _history=v.history&&v.history.length;if(_history)flags|=8;var _subscriptionsMissingBalance=v.subscriptionsMissingBalance!==undefined;if(_subscriptionsMissingBalance)flags|=16;w.uint(flags);w.long(h(v,'balance'));if(_subscriptions)w.vector(w.object,v.subscriptions);if(_subscriptionsNextOffset)w.string(v.subscriptionsNextOffset);if(_subscriptionsMissingBalance)w.long(v.subscriptionsMissingBalance);if(_history)w.vector(w.object,v.history);if(_nextOffset)w.string(v.nextOffset);w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
1331
1334
|
'foundStory':function(w,v){w.uint(3900361664);w.object(h(v,'peer'));w.object(h(v,'story'));},
|
|
1332
1335
|
'stories.foundStories':function(w,v){w.uint(3806230327);var flags=0;var _nextOffset=v.nextOffset!==undefined;if(_nextOffset)flags|=1;w.uint(flags);w.int(h(v,'count'));w.vector(w.object,h(v,'stories'));if(_nextOffset)w.string(v.nextOffset);w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
1333
1336
|
'geoPointAddress':function(w,v){w.uint(3729546643);var flags=0;var _state=v.state!==undefined;if(_state)flags|=1;var _city=v.city!==undefined;if(_city)flags|=2;var _street=v.street!==undefined;if(_street)flags|=4;w.uint(flags);w.string(h(v,'countryIso2'));if(_state)w.string(v.state);if(_city)w.string(v.city);if(_street)w.string(v.street);},
|
|
@@ -1340,6 +1343,9 @@ var m={
|
|
|
1340
1343
|
'bots.popularAppBots':function(w,v){w.uint(428978491);var flags=0;var _nextOffset=v.nextOffset!==undefined;if(_nextOffset)flags|=1;w.uint(flags);if(_nextOffset)w.string(v.nextOffset);w.vector(w.object,h(v,'users'));},
|
|
1341
1344
|
'botPreviewMedia':function(w,v){w.uint(602479523);w.int(h(v,'date'));w.object(h(v,'media'));},
|
|
1342
1345
|
'bots.previewInfo':function(w,v){w.uint(212278628);w.vector(w.object,h(v,'media'));w.vector(w.string,h(v,'langCodes'));},
|
|
1346
|
+
'starsSubscriptionPricing':function(w,v){w.uint(88173912);w.int(h(v,'period'));w.long(h(v,'amount'));},
|
|
1347
|
+
'starsSubscription':function(w,v){w.uint(1401868056);var flags=0;if(v.canceled===true)flags|=1;if(v.canRefulfill===true)flags|=2;if(v.missingBalance===true)flags|=4;var _chatInviteHash=v.chatInviteHash!==undefined;if(_chatInviteHash)flags|=8;w.uint(flags);w.string(h(v,'id'));w.object(h(v,'peer'));w.int(h(v,'untilDate'));w.object(h(v,'pricing'));if(_chatInviteHash)w.string(v.chatInviteHash);},
|
|
1348
|
+
'messageReactor':function(w,v){w.uint(1269016922);var flags=0;if(v.top===true)flags|=1;if(v.my===true)flags|=2;if(v.anonymous===true)flags|=4;var _peerId=v.peerId!==undefined;if(_peerId)flags|=8;w.uint(flags);if(_peerId)w.object(v.peerId);w.int(h(v,'count'));},
|
|
1343
1349
|
'updateGroupInvitePrivacyForbidden':function(w,v){w.uint(3438316246);w.int53(h(v,'userId'));},
|
|
1344
1350
|
'simpleWebViewResultUrl':function(w,v){w.uint(2284811963);w.string(h(v,'url'));},
|
|
1345
1351
|
'appWebViewResultUrl':function(w,v){w.uint(1008422669);w.string(h(v,'url'));},
|
|
@@ -1562,7 +1568,7 @@ var m={
|
|
|
1562
1568
|
'messages.getStickers':function(w,v){w.uint(3584414625);w.string(h(v,'emoticon'));w.long(h(v,'hash'));},
|
|
1563
1569
|
'messages.getAllStickers':function(w,v){w.uint(3097534888);w.long(h(v,'hash'));},
|
|
1564
1570
|
'messages.getWebPagePreview':function(w,v){w.uint(2338894028);var flags=0;var _entities=v.entities&&v.entities.length;if(_entities)flags|=8;w.uint(flags);w.string(h(v,'message'));if(_entities)w.vector(w.object,v.entities);},
|
|
1565
|
-
'messages.exportChatInvite':function(w,v){w.uint(
|
|
1571
|
+
'messages.exportChatInvite':function(w,v){w.uint(2757090960);var flags=0;var _expireDate=v.expireDate!==undefined;if(_expireDate)flags|=1;var _usageLimit=v.usageLimit!==undefined;if(_usageLimit)flags|=2;if(v.legacyRevokePermanent===true)flags|=4;if(v.requestNeeded===true)flags|=8;var _title=v.title!==undefined;if(_title)flags|=16;var _subscriptionPricing=v.subscriptionPricing!==undefined;if(_subscriptionPricing)flags|=32;w.uint(flags);w.object(h(v,'peer'));if(_expireDate)w.int(v.expireDate);if(_usageLimit)w.int(v.usageLimit);if(_title)w.string(v.title);if(_subscriptionPricing)w.object(v.subscriptionPricing);},
|
|
1566
1572
|
'messages.checkChatInvite':function(w,v){w.uint(1051570619);w.string(h(v,'hash'));},
|
|
1567
1573
|
'messages.importChatInvite':function(w,v){w.uint(1817183516);w.string(h(v,'hash'));},
|
|
1568
1574
|
'messages.getStickerSet':function(w,v){w.uint(3365989492);w.object(h(v,'stickerset'));w.int(h(v,'hash'));},
|
|
@@ -1662,7 +1668,7 @@ var m={
|
|
|
1662
1668
|
'messages.deleteRevokedExportedChatInvites':function(w,v){w.uint(1452833749);w.object(h(v,'peer'));w.object(h(v,'adminId'));},
|
|
1663
1669
|
'messages.deleteExportedChatInvite':function(w,v){w.uint(3563365419);w.object(h(v,'peer'));w.string(h(v,'link'));},
|
|
1664
1670
|
'messages.getAdminsWithInvites':function(w,v){w.uint(958457583);w.object(h(v,'peer'));},
|
|
1665
|
-
'messages.getChatInviteImporters':function(w,v){w.uint(3741637966);var flags=0;if(v.requested===true)flags|=1;var _link=v.link!==undefined;if(_link)flags|=2;var _q=v.q!==undefined;if(_q)flags|=4;w.uint(flags);w.object(h(v,'peer'));if(_link)w.string(v.link);if(_q)w.string(v.q);w.int(h(v,'offsetDate'));w.object(h(v,'offsetUser'));w.int(h(v,'limit'));},
|
|
1671
|
+
'messages.getChatInviteImporters':function(w,v){w.uint(3741637966);var flags=0;if(v.requested===true)flags|=1;var _link=v.link!==undefined;if(_link)flags|=2;var _q=v.q!==undefined;if(_q)flags|=4;if(v.subscriptionExpired===true)flags|=8;w.uint(flags);w.object(h(v,'peer'));if(_link)w.string(v.link);if(_q)w.string(v.q);w.int(h(v,'offsetDate'));w.object(h(v,'offsetUser'));w.int(h(v,'limit'));},
|
|
1666
1672
|
'messages.setHistoryTTL':function(w,v){w.uint(3087949796);w.object(h(v,'peer'));w.int(h(v,'period'));},
|
|
1667
1673
|
'messages.checkHistoryImportPeer':function(w,v){w.uint(1573261059);w.object(h(v,'peer'));},
|
|
1668
1674
|
'messages.setChatTheme':function(w,v){w.uint(3862683967);w.object(h(v,'peer'));w.string(h(v,'emoticon'));},
|
|
@@ -1676,7 +1682,7 @@ var m={
|
|
|
1676
1682
|
'messages.sendReaction':function(w,v){w.uint(3540875476);var flags=0;var _reaction=v.reaction&&v.reaction.length;if(_reaction)flags|=1;if(v.big===true)flags|=2;if(v.addToRecent===true)flags|=4;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'msgId'));if(_reaction)w.vector(w.object,v.reaction);},
|
|
1677
1683
|
'messages.getMessagesReactions':function(w,v){w.uint(2344259814);w.object(h(v,'peer'));w.vector(w.int,h(v,'id'));},
|
|
1678
1684
|
'messages.getMessageReactionsList':function(w,v){w.uint(1176190792);var flags=0;var _reaction=v.reaction!==undefined;if(_reaction)flags|=1;var _offset=v.offset!==undefined;if(_offset)flags|=2;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'id'));if(_reaction)w.object(v.reaction);if(_offset)w.string(v.offset);w.int(h(v,'limit'));},
|
|
1679
|
-
'messages.setChatAvailableReactions':function(w,v){w.uint(
|
|
1685
|
+
'messages.setChatAvailableReactions':function(w,v){w.uint(2253071745);var flags=0;var _reactionsLimit=v.reactionsLimit!==undefined;if(_reactionsLimit)flags|=1;var _paidEnabled=v.paidEnabled!==undefined;if(_paidEnabled)flags|=2;w.uint(flags);w.object(h(v,'peer'));w.object(h(v,'availableReactions'));if(_reactionsLimit)w.int(v.reactionsLimit);if(_paidEnabled)w.boolean(v.paidEnabled);},
|
|
1680
1686
|
'messages.getAvailableReactions':function(w,v){w.uint(417243308);w.int(h(v,'hash'));},
|
|
1681
1687
|
'messages.setDefaultReaction':function(w,v){w.uint(1330094102);w.object(h(v,'reaction'));},
|
|
1682
1688
|
'messages.translateText':function(w,v){w.uint(1662529584);var flags=0;var _peer=v.peer!==undefined;var _id=v.id&&v.id.length;var _flags_0=_peer||_id;if(_flags_0)flags|=1;var _text=v.text&&v.text.length;if(_text)flags|=2;w.uint(flags);if(_flags_0)w.object(v.peer);if(_flags_0)w.vector(w.int,v.id);if(_text)w.vector(w.object,v.text);w.string(h(v,'toLang'));},
|
|
@@ -1739,6 +1745,8 @@ var m={
|
|
|
1739
1745
|
'messages.deleteFactCheck':function(w,v){w.uint(3520762892);w.object(h(v,'peer'));w.int(h(v,'msgId'));},
|
|
1740
1746
|
'messages.getFactCheck':function(w,v){w.uint(3117270510);w.object(h(v,'peer'));w.vector(w.int,h(v,'msgId'));},
|
|
1741
1747
|
'messages.requestMainWebView':function(w,v){w.uint(3386908283);var flags=0;var _themeParams=v.themeParams!==undefined;if(_themeParams)flags|=1;var _startParam=v.startParam!==undefined;if(_startParam)flags|=2;if(v.compact===true)flags|=128;w.uint(flags);w.object(h(v,'peer'));w.object(h(v,'bot'));if(_startParam)w.string(v.startParam);if(_themeParams)w.object(v.themeParams);w.string(h(v,'platform'));},
|
|
1748
|
+
'messages.sendPaidReaction':function(w,v){w.uint(633929278);var flags=0;if(v.private===true)flags|=1;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'msgId'));w.int(h(v,'count'));w.long(h(v,'randomId'));},
|
|
1749
|
+
'messages.togglePaidReactionPrivacy':function(w,v){w.uint(2224739223);w.object(h(v,'peer'));w.int(h(v,'msgId'));w.boolean(h(v,'private'));},
|
|
1742
1750
|
'updates.getState':function(w){w.uint(3990128682);},
|
|
1743
1751
|
'updates.getDifference':function(w,v){w.uint(432207715);var flags=0;var _ptsTotalLimit=v.ptsTotalLimit!==undefined;if(_ptsTotalLimit)flags|=1;var _ptsLimit=v.ptsLimit!==undefined;if(_ptsLimit)flags|=2;var _qtsLimit=v.qtsLimit!==undefined;if(_qtsLimit)flags|=4;w.uint(flags);w.int(h(v,'pts'));if(_ptsLimit)w.int(v.ptsLimit);if(_ptsTotalLimit)w.int(v.ptsTotalLimit);w.int(h(v,'date'));w.int(h(v,'qts'));if(_qtsLimit)w.int(v.qtsLimit);},
|
|
1744
1752
|
'updates.getChannelDifference':function(w,v){w.uint(51854712);var flags=0;if(v.force===true)flags|=1;w.uint(flags);w.object(h(v,'channel'));w.object(h(v,'filter'));w.int(h(v,'pts'));w.int(h(v,'limit'));},
|
|
@@ -1799,7 +1807,7 @@ var m={
|
|
|
1799
1807
|
'channels.inviteToChannel':function(w,v){w.uint(3387112788);w.object(h(v,'channel'));w.vector(w.object,h(v,'users'));},
|
|
1800
1808
|
'channels.deleteChannel':function(w,v){w.uint(3222347747);w.object(h(v,'channel'));},
|
|
1801
1809
|
'channels.exportMessageLink':function(w,v){w.uint(3862932971);var flags=0;if(v.grouped===true)flags|=1;if(v.thread===true)flags|=2;w.uint(flags);w.object(h(v,'channel'));w.int(h(v,'id'));},
|
|
1802
|
-
'channels.toggleSignatures':function(w,v){w.uint(
|
|
1810
|
+
'channels.toggleSignatures':function(w,v){w.uint(1099781276);var flags=0;if(v.signaturesEnabled===true)flags|=1;if(v.profilesEnabled===true)flags|=2;w.uint(flags);w.object(h(v,'channel'));},
|
|
1803
1811
|
'channels.getAdminedPublicChannels':function(w,v){w.uint(4172297903);var flags=0;if(v.byLocation===true)flags|=1;if(v.checkLimit===true)flags|=2;if(v.forPersonal===true)flags|=4;w.uint(flags);},
|
|
1804
1812
|
'channels.editBanned':function(w,v){w.uint(2531708289);w.object(h(v,'channel'));w.object(h(v,'participant'));w.object(h(v,'bannedRights'));},
|
|
1805
1813
|
'channels.getAdminLog':function(w,v){w.uint(870184064);var flags=0;var _eventsFilter=v.eventsFilter!==undefined;if(_eventsFilter)flags|=1;var _admins=v.admins&&v.admins.length;if(_admins)flags|=2;w.uint(flags);w.object(h(v,'channel'));w.string(h(v,'q'));if(_eventsFilter)w.object(v.eventsFilter);if(_admins)w.vector(w.object,v.admins);w.long(h(v,'maxId'));w.long(h(v,'minId'));w.int(h(v,'limit'));},
|
|
@@ -1886,7 +1894,7 @@ var m={
|
|
|
1886
1894
|
'payments.launchPrepaidGiveaway':function(w,v){w.uint(1609928480);w.object(h(v,'peer'));w.long(h(v,'giveawayId'));w.object(h(v,'purpose'));},
|
|
1887
1895
|
'payments.getStarsTopupOptions':function(w){w.uint(3222194131);},
|
|
1888
1896
|
'payments.getStarsStatus':function(w,v){w.uint(273665959);w.object(h(v,'peer'));},
|
|
1889
|
-
'payments.getStarsTransactions':function(w,v){w.uint(
|
|
1897
|
+
'payments.getStarsTransactions':function(w,v){w.uint(1775912279);var flags=0;if(v.inbound===true)flags|=1;if(v.outbound===true)flags|=2;if(v.ascending===true)flags|=4;var _subscriptionId=v.subscriptionId!==undefined;if(_subscriptionId)flags|=8;w.uint(flags);if(_subscriptionId)w.string(v.subscriptionId);w.object(h(v,'peer'));w.string(h(v,'offset'));w.int(h(v,'limit'));},
|
|
1890
1898
|
'payments.sendStarsForm':function(w,v){w.uint(45839133);var flags=0;w.uint(flags);w.long(h(v,'formId'));w.object(h(v,'invoice'));},
|
|
1891
1899
|
'payments.refundStarsCharge':function(w,v){w.uint(632196938);w.object(h(v,'userId'));w.string(h(v,'chargeId'));},
|
|
1892
1900
|
'payments.getStarsRevenueStats':function(w,v){w.uint(3642751702);var flags=0;if(v.dark===true)flags|=1;w.uint(flags);w.object(h(v,'peer'));},
|
|
@@ -1894,6 +1902,9 @@ var m={
|
|
|
1894
1902
|
'payments.getStarsRevenueAdsAccountUrl':function(w,v){w.uint(3520589765);w.object(h(v,'peer'));},
|
|
1895
1903
|
'payments.getStarsTransactionsByID':function(w,v){w.uint(662973742);w.object(h(v,'peer'));w.vector(w.object,h(v,'id'));},
|
|
1896
1904
|
'payments.getStarsGiftOptions':function(w,v){w.uint(3553192904);var flags=0;var _userId=v.userId!==undefined;if(_userId)flags|=1;w.uint(flags);if(_userId)w.object(v.userId);},
|
|
1905
|
+
'payments.getStarsSubscriptions':function(w,v){w.uint(52761285);var flags=0;if(v.missingBalance===true)flags|=1;w.uint(flags);w.object(h(v,'peer'));w.string(h(v,'offset'));},
|
|
1906
|
+
'payments.changeStarsSubscription':function(w,v){w.uint(3346466936);var flags=0;var _canceled=v.canceled!==undefined;if(_canceled)flags|=1;w.uint(flags);w.object(h(v,'peer'));w.string(h(v,'subscriptionId'));if(_canceled)w.boolean(v.canceled);},
|
|
1907
|
+
'payments.fulfillStarsSubscription':function(w,v){w.uint(3428576179);w.object(h(v,'peer'));w.string(h(v,'subscriptionId'));},
|
|
1897
1908
|
'stickers.createStickerSet':function(w,v){w.uint(2418125671);var flags=0;if(v.masks===true)flags|=1;if(v.animated===true)flags|=2;var _thumb=v.thumb!==undefined;if(_thumb)flags|=4;var _software=v.software!==undefined;if(_software)flags|=8;if(v.videos===true)flags|=16;if(v.emojis===true)flags|=32;if(v.textColor===true)flags|=64;w.uint(flags);w.object(h(v,'userId'));w.string(h(v,'title'));w.string(h(v,'shortName'));if(_thumb)w.object(v.thumb);w.vector(w.object,h(v,'stickers'));if(_software)w.string(v.software);},
|
|
1898
1909
|
'stickers.removeStickerFromSet':function(w,v){w.uint(4151709521);w.object(h(v,'sticker'));},
|
|
1899
1910
|
'stickers.changeStickerPosition':function(w,v){w.uint(4290172106);w.object(h(v,'sticker'));w.int(h(v,'position'));},
|
|
@@ -2303,8 +2314,6 @@ _staticSize:{
|
|
|
2303
2314
|
'inputChannel':20,
|
|
2304
2315
|
'messageRange':12,
|
|
2305
2316
|
'channelMessagesFilterEmpty':4,
|
|
2306
|
-
'channelParticipant':16,
|
|
2307
|
-
'channelParticipantSelf':28,
|
|
2308
2317
|
'channelParticipantLeft':16,
|
|
2309
2318
|
'channelParticipantsRecent':4,
|
|
2310
2319
|
'channelParticipantsAdmins':4,
|
|
@@ -2363,6 +2372,7 @@ _staticSize:{
|
|
|
2363
2372
|
'channelAdminLogEventActionToggleNoForwards':8,
|
|
2364
2373
|
'channelAdminLogEventActionToggleForum':8,
|
|
2365
2374
|
'channelAdminLogEventActionToggleAntiSpam':8,
|
|
2375
|
+
'channelAdminLogEventActionToggleSignatureProfiles':8,
|
|
2366
2376
|
'channelAdminLogEventsFilter':8,
|
|
2367
2377
|
'popularContact':16,
|
|
2368
2378
|
'messages.favedStickersNotModified':4,
|
|
@@ -2476,6 +2486,7 @@ _staticSize:{
|
|
|
2476
2486
|
'account.emojiStatusesNotModified':4,
|
|
2477
2487
|
'reactionEmpty':4,
|
|
2478
2488
|
'reactionCustomEmoji':12,
|
|
2489
|
+
'reactionPaid':4,
|
|
2479
2490
|
'chatReactionsNone':4,
|
|
2480
2491
|
'chatReactionsAll':8,
|
|
2481
2492
|
'messages.reactionsNotModified':4,
|
|
@@ -2524,6 +2535,7 @@ _staticSize:{
|
|
|
2524
2535
|
'starsTransactionPeerFragment':4,
|
|
2525
2536
|
'starsTransactionPeer':16,
|
|
2526
2537
|
'starsTransactionPeerAds':4,
|
|
2538
|
+
'starsSubscriptionPricing':16,
|
|
2527
2539
|
'updateGroupInvitePrivacyForbidden':12,
|
|
2528
2540
|
'test.useConfigSimple':4,
|
|
2529
2541
|
'test.parseInputAppEvent':4,
|