@mtcute/tl 182.0.0 → 183.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 +11 -6
- package/binary/writer.js +16 -8
- package/index.d.ts +1083 -144
- package/index.js +4 -2
- package/package.json +6 -1
package/binary/reader.js
CHANGED
|
@@ -86,7 +86,7 @@ var m={
|
|
|
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
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,}},
|
|
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),paidMediaAllowed:!!(flags2&16384),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(),}},
|
|
@@ -336,7 +336,7 @@ var m={
|
|
|
336
336
|
821314523:function(r){return{_:'updateRecentEmojiStatuses'}},
|
|
337
337
|
1870160884:function(r){return{_:'updateRecentReactions'}},
|
|
338
338
|
2264715141:function(r){var flags=r.uint();return{_:'updateMoveStickerSetToTop',masks:!!(flags&1),emojis:!!(flags&2),stickerset:r.long(),}},
|
|
339
|
-
|
|
339
|
+
3584300836:function(r){return{_:'updateMessageExtendedMedia',peer:r.object(),msgId:r.int(),extendedMedia:r.vector(r.object),}},
|
|
340
340
|
422509539:function(r){var flags=r.uint();return{_:'updateChannelPinnedTopic',pinned:!!(flags&1),channelId:r.int53(),topicId:r.int(),}},
|
|
341
341
|
4263085570:function(r){var flags=r.uint();return{_:'updateChannelPinnedTopics',channelId:r.int53(),order:flags&1?r.vector(r.int):void 0,}},
|
|
342
342
|
542282808:function(r){return{_:'updateUser',userId:r.int53(),}},
|
|
@@ -639,7 +639,7 @@ var m={
|
|
|
639
639
|
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,}},
|
|
640
640
|
2773032426:function(r){var flags=r.uint();return{_:'auth.sentCodeTypeSetUpEmailRequired',appleSigninAllowed:!!(flags&1),googleSigninAllowed:!!(flags&2),}},
|
|
641
641
|
3646315577:function(r){return{_:'auth.sentCodeTypeFragmentSms',url:r.string(),length:r.int(),}},
|
|
642
|
-
|
|
642
|
+
10475318:function(r){var flags=r.uint();return{_:'auth.sentCodeTypeFirebaseSms',nonce:flags&1?r.bytes():void 0,playIntegrityProjectId:flags&4?r.long():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(),}},
|
|
643
643
|
2752949377:function(r){var flags=r.uint();return{_:'auth.sentCodeTypeSmsWord',beginning:flags&1?r.string():void 0,}},
|
|
644
644
|
3010958511:function(r){var flags=r.uint();return{_:'auth.sentCodeTypeSmsPhrase',beginning:flags&1?r.string():void 0,}},
|
|
645
645
|
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(),}},
|
|
@@ -1083,7 +1083,7 @@ var m={
|
|
|
1083
1083
|
4057500252:function(r){return{_:'attachMenuBotsNotModified'}},
|
|
1084
1084
|
1011024320:function(r){return{_:'attachMenuBots',hash:r.long(),bots:r.vector(r.object),users:r.vector(r.object),}},
|
|
1085
1085
|
2478794367:function(r){return{_:'attachMenuBotsBot',bot:r.object(),users:r.vector(r.object),}},
|
|
1086
|
-
|
|
1086
|
+
1294139288:function(r){var flags=r.uint();return{_:'webViewResultUrl',fullsize:!!(flags&2),queryId:flags&1?r.long():void 0,url:r.string(),}},
|
|
1087
1087
|
2284811963:function(r){return{_:'simpleWebViewResultUrl',url:r.string(),}},
|
|
1088
1088
|
211046684:function(r){var flags=r.uint();return{_:'webViewMessageSent',msgId:flags&1?r.object():void 0,}},
|
|
1089
1089
|
1966318984:function(r){return{_:'botMenuButtonDefault'}},
|
|
@@ -1318,7 +1318,7 @@ var m={
|
|
|
1318
1318
|
3912227074:function(r){return{_:'starsTransactionPeerFragment'}},
|
|
1319
1319
|
3624771933:function(r){return{_:'starsTransactionPeer',peer:r.object(),}},
|
|
1320
1320
|
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(),}},
|
|
1321
|
-
|
|
1321
|
+
766853519:function(r){var flags=r.uint();return{_:'starsTransaction',refund:!!(flags&8),pending:!!(flags&16),failed:!!(flags&64),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,}},
|
|
1322
1322
|
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),}},
|
|
1323
1323
|
3900361664:function(r){return{_:'foundStory',peer:r.object(),story:r.object(),}},
|
|
1324
1324
|
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),}},
|
|
@@ -1326,6 +1326,11 @@ var m={
|
|
|
1326
1326
|
2033461574:function(r){var flags=r.uint();return{_:'starsRevenueStatus',withdrawalEnabled:!!(flags&1),currentBalance:r.long(),availableBalance:r.long(),overallRevenue:r.long(),nextWithdrawalAt:flags&2?r.int():void 0,}},
|
|
1327
1327
|
3375085371:function(r){return{_:'payments.starsRevenueStats',revenueGraph:r.object(),status:r.object(),usdRate:r.double(),}},
|
|
1328
1328
|
497778871:function(r){return{_:'payments.starsRevenueWithdrawalUrl',url:r.string(),}},
|
|
1329
|
+
2858819523:function(r){return{_:'inputMediaPaidMedia',starsAmount:r.long(),extendedMedia:r.vector(r.object),}},
|
|
1330
|
+
2827297937:function(r){return{_:'messageMediaPaidMedia',starsAmount:r.long(),extendedMedia:r.vector(r.object),}},
|
|
1331
|
+
1617438738:function(r){return{_:'starsTransactionPeerAds'}},
|
|
1332
|
+
961445665:function(r){return{_:'payments.starsRevenueAdsAccountUrl',url:r.string(),}},
|
|
1333
|
+
543876817:function(r){var flags=r.uint();return{_:'inputStarsTransaction',refund:!!(flags&1),id:r.string(),}},
|
|
1329
1334
|
3438316246:function(r){return{_:'updateGroupInvitePrivacyForbidden',userId:r.int53(),}},
|
|
1330
1335
|
1035529315:function(r){var flags=r.uint();return{_:'sponsoredWebPage',url:r.string(),siteName:r.string(),photo:flags&1?r.object():void 0,}},
|
|
1331
1336
|
_results:{
|
|
@@ -1337,7 +1342,7 @@ _results:{
|
|
|
1337
1342
|
'stories.togglePinned':function(r){return r.vector(r.int)},
|
|
1338
1343
|
'stories.readStories':function(r){return r.vector(r.int)},
|
|
1339
1344
|
'stories.getPeerMaxIDs':function(r){return r.vector(r.int)},
|
|
1340
|
-
'mtcute.customMethod':function(r){return r.
|
|
1345
|
+
'mtcute.customMethod':function(r){return r.raw()},
|
|
1341
1346
|
},
|
|
1342
1347
|
85337187:function(r){return{_:'mt_resPQ',nonce:r.int128(),serverNonce:r.int128(),pq:r.bytes(),serverPublicKeyFingerprints:r.vector(r.long),}},
|
|
1343
1348
|
2851430293:function(r){return{_:'mt_p_q_inner_data_dc',pq:r.bytes(),p:r.bytes(),q:r.bytes(),nonce:r.int128(),serverNonce:r.int128(),newNonce:r.int256(),dc:r.int(),}},
|
package/binary/writer.js
CHANGED
|
@@ -87,7 +87,7 @@ var m={
|
|
|
87
87
|
'channel':function(w,v){w.uint(179174543);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;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);},
|
|
88
88
|
'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);},
|
|
89
89
|
'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);},
|
|
90
|
-
'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;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);},
|
|
90
|
+
'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;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);},
|
|
91
91
|
'chatParticipant':function(w,v){w.uint(3224190983);w.int53(h(v,'userId'));w.int53(h(v,'inviterId'));w.int(h(v,'date'));},
|
|
92
92
|
'chatParticipantCreator':function(w,v){w.uint(3832270564);w.int53(h(v,'userId'));},
|
|
93
93
|
'chatParticipantAdmin':function(w,v){w.uint(2694004571);w.int53(h(v,'userId'));w.int53(h(v,'inviterId'));w.int(h(v,'date'));},
|
|
@@ -337,7 +337,7 @@ var m={
|
|
|
337
337
|
'updateRecentEmojiStatuses':function(w){w.uint(821314523);},
|
|
338
338
|
'updateRecentReactions':function(w){w.uint(1870160884);},
|
|
339
339
|
'updateMoveStickerSetToTop':function(w,v){w.uint(2264715141);var flags=0;if(v.masks===true)flags|=1;if(v.emojis===true)flags|=2;w.uint(flags);w.long(h(v,'stickerset'));},
|
|
340
|
-
'updateMessageExtendedMedia':function(w,v){w.uint(
|
|
340
|
+
'updateMessageExtendedMedia':function(w,v){w.uint(3584300836);w.object(h(v,'peer'));w.int(h(v,'msgId'));w.vector(w.object,h(v,'extendedMedia'));},
|
|
341
341
|
'updateChannelPinnedTopic':function(w,v){w.uint(422509539);var flags=0;if(v.pinned===true)flags|=1;w.uint(flags);w.int53(h(v,'channelId'));w.int(h(v,'topicId'));},
|
|
342
342
|
'updateChannelPinnedTopics':function(w,v){w.uint(4263085570);var flags=0;var _order=v.order&&v.order.length;if(_order)flags|=1;w.uint(flags);w.int53(h(v,'channelId'));if(_order)w.vector(w.int,v.order);},
|
|
343
343
|
'updateUser':function(w,v){w.uint(542282808);w.int53(h(v,'userId'));},
|
|
@@ -640,7 +640,7 @@ var m={
|
|
|
640
640
|
'auth.sentCodeTypeEmailCode':function(w,v){w.uint(4098946459);var flags=0;if(v.appleSigninAllowed===true)flags|=1;if(v.googleSigninAllowed===true)flags|=2;var _resetAvailablePeriod=v.resetAvailablePeriod!==undefined;if(_resetAvailablePeriod)flags|=8;var _resetPendingDate=v.resetPendingDate!==undefined;if(_resetPendingDate)flags|=16;w.uint(flags);w.string(h(v,'emailPattern'));w.int(h(v,'length'));if(_resetAvailablePeriod)w.int(v.resetAvailablePeriod);if(_resetPendingDate)w.int(v.resetPendingDate);},
|
|
641
641
|
'auth.sentCodeTypeSetUpEmailRequired':function(w,v){w.uint(2773032426);var flags=0;if(v.appleSigninAllowed===true)flags|=1;if(v.googleSigninAllowed===true)flags|=2;w.uint(flags);},
|
|
642
642
|
'auth.sentCodeTypeFragmentSms':function(w,v){w.uint(3646315577);w.string(h(v,'url'));w.int(h(v,'length'));},
|
|
643
|
-
'auth.sentCodeTypeFirebaseSms':function(w,v){w.uint(
|
|
643
|
+
'auth.sentCodeTypeFirebaseSms':function(w,v){w.uint(10475318);var flags=0;var _nonce=v.nonce!==undefined;if(_nonce)flags|=1;var _receipt=v.receipt!==undefined;var _pushTimeout=v.pushTimeout!==undefined;var _flags_1=_receipt||_pushTimeout;if(_flags_1)flags|=2;var _playIntegrityProjectId=v.playIntegrityProjectId!==undefined;var _playIntegrityNonce=v.playIntegrityNonce!==undefined;var _flags_2=_playIntegrityProjectId||_playIntegrityNonce;if(_flags_2)flags|=4;w.uint(flags);if(_nonce)w.bytes(v.nonce);if(_flags_2)w.long(v.playIntegrityProjectId);if(_flags_2)w.bytes(v.playIntegrityNonce);if(_flags_1)w.string(v.receipt);if(_flags_1)w.int(v.pushTimeout);w.int(h(v,'length'));},
|
|
644
644
|
'auth.sentCodeTypeSmsWord':function(w,v){w.uint(2752949377);var flags=0;var _beginning=v.beginning!==undefined;if(_beginning)flags|=1;w.uint(flags);if(_beginning)w.string(v.beginning);},
|
|
645
645
|
'auth.sentCodeTypeSmsPhrase':function(w,v){w.uint(3010958511);var flags=0;var _beginning=v.beginning!==undefined;if(_beginning)flags|=1;w.uint(flags);if(_beginning)w.string(v.beginning);},
|
|
646
646
|
'messages.botCallbackAnswer':function(w,v){w.uint(911761060);var flags=0;var _message=v.message!==undefined;if(_message)flags|=1;if(v.alert===true)flags|=2;var _url=v.url!==undefined;if(_url)flags|=4;if(v.hasUrl===true)flags|=8;if(v.nativeUi===true)flags|=16;w.uint(flags);if(_message)w.string(v.message);if(_url)w.string(v.url);w.int(h(v,'cacheTime'));},
|
|
@@ -1084,7 +1084,7 @@ var m={
|
|
|
1084
1084
|
'attachMenuBotsNotModified':function(w){w.uint(4057500252);},
|
|
1085
1085
|
'attachMenuBots':function(w,v){w.uint(1011024320);w.long(h(v,'hash'));w.vector(w.object,h(v,'bots'));w.vector(w.object,h(v,'users'));},
|
|
1086
1086
|
'attachMenuBotsBot':function(w,v){w.uint(2478794367);w.object(h(v,'bot'));w.vector(w.object,h(v,'users'));},
|
|
1087
|
-
'webViewResultUrl':function(w,v){w.uint(
|
|
1087
|
+
'webViewResultUrl':function(w,v){w.uint(1294139288);var flags=0;var _queryId=v.queryId!==undefined;if(_queryId)flags|=1;if(v.fullsize===true)flags|=2;w.uint(flags);if(_queryId)w.long(v.queryId);w.string(h(v,'url'));},
|
|
1088
1088
|
'simpleWebViewResultUrl':function(w,v){w.uint(2284811963);w.string(h(v,'url'));},
|
|
1089
1089
|
'webViewMessageSent':function(w,v){w.uint(211046684);var flags=0;var _msgId=v.msgId!==undefined;if(_msgId)flags|=1;w.uint(flags);if(_msgId)w.object(v.msgId);},
|
|
1090
1090
|
'botMenuButtonDefault':function(w){w.uint(1966318984);},
|
|
@@ -1319,7 +1319,7 @@ var m={
|
|
|
1319
1319
|
'starsTransactionPeerFragment':function(w){w.uint(3912227074);},
|
|
1320
1320
|
'starsTransactionPeer':function(w,v){w.uint(3624771933);w.object(h(v,'peer'));},
|
|
1321
1321
|
'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'));},
|
|
1322
|
-
'starsTransaction':function(w,v){w.uint(
|
|
1322
|
+
'starsTransaction':function(w,v){w.uint(766853519);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;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);},
|
|
1323
1323
|
'payments.starsStatus':function(w,v){w.uint(2364862048);var flags=0;var _nextOffset=v.nextOffset!==undefined;if(_nextOffset)flags|=1;w.uint(flags);w.long(h(v,'balance'));w.vector(w.object,h(v,'history'));if(_nextOffset)w.string(v.nextOffset);w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
1324
1324
|
'foundStory':function(w,v){w.uint(3900361664);w.object(h(v,'peer'));w.object(h(v,'story'));},
|
|
1325
1325
|
'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'));},
|
|
@@ -1327,6 +1327,11 @@ var m={
|
|
|
1327
1327
|
'starsRevenueStatus':function(w,v){w.uint(2033461574);var flags=0;if(v.withdrawalEnabled===true)flags|=1;var _nextWithdrawalAt=v.nextWithdrawalAt!==undefined;if(_nextWithdrawalAt)flags|=2;w.uint(flags);w.long(h(v,'currentBalance'));w.long(h(v,'availableBalance'));w.long(h(v,'overallRevenue'));if(_nextWithdrawalAt)w.int(v.nextWithdrawalAt);},
|
|
1328
1328
|
'payments.starsRevenueStats':function(w,v){w.uint(3375085371);w.object(h(v,'revenueGraph'));w.object(h(v,'status'));w.double(h(v,'usdRate'));},
|
|
1329
1329
|
'payments.starsRevenueWithdrawalUrl':function(w,v){w.uint(497778871);w.string(h(v,'url'));},
|
|
1330
|
+
'inputMediaPaidMedia':function(w,v){w.uint(2858819523);w.long(h(v,'starsAmount'));w.vector(w.object,h(v,'extendedMedia'));},
|
|
1331
|
+
'messageMediaPaidMedia':function(w,v){w.uint(2827297937);w.long(h(v,'starsAmount'));w.vector(w.object,h(v,'extendedMedia'));},
|
|
1332
|
+
'starsTransactionPeerAds':function(w){w.uint(1617438738);},
|
|
1333
|
+
'payments.starsRevenueAdsAccountUrl':function(w,v){w.uint(961445665);w.string(h(v,'url'));},
|
|
1334
|
+
'inputStarsTransaction':function(w,v){w.uint(543876817);var flags=0;if(v.refund===true)flags|=1;w.uint(flags);w.string(h(v,'id'));},
|
|
1330
1335
|
'updateGroupInvitePrivacyForbidden':function(w,v){w.uint(3438316246);w.int53(h(v,'userId'));},
|
|
1331
1336
|
'sponsoredWebPage':function(w,v){w.uint(1035529315);var flags=0;var _photo=v.photo!==undefined;if(_photo)flags|=1;w.uint(flags);w.string(h(v,'url'));w.string(h(v,'siteName'));if(_photo)w.object(v.photo);},
|
|
1332
1337
|
'test.useConfigSimple':function(w){w.uint(4189565501);},
|
|
@@ -1670,9 +1675,9 @@ var m={
|
|
|
1670
1675
|
'messages.getAttachMenuBots':function(w,v){w.uint(385663691);w.long(h(v,'hash'));},
|
|
1671
1676
|
'messages.getAttachMenuBot':function(w,v){w.uint(1998676370);w.object(h(v,'bot'));},
|
|
1672
1677
|
'messages.toggleBotInAttachMenu':function(w,v){w.uint(1777704297);var flags=0;if(v.writeAllowed===true)flags|=1;w.uint(flags);w.object(h(v,'bot'));w.boolean(h(v,'enabled'));},
|
|
1673
|
-
'messages.requestWebView':function(w,v){w.uint(647873217);var flags=0;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=1;var _url=v.url!==undefined;if(_url)flags|=2;var _themeParams=v.themeParams!==undefined;if(_themeParams)flags|=4;var _startParam=v.startParam!==undefined;if(_startParam)flags|=8;if(v.fromBotMenu===true)flags|=16;if(v.silent===true)flags|=32;var _sendAs=v.sendAs!==undefined;if(_sendAs)flags|=8192;w.uint(flags);w.object(h(v,'peer'));w.object(h(v,'bot'));if(_url)w.string(v.url);if(_startParam)w.string(v.startParam);if(_themeParams)w.object(v.themeParams);w.string(h(v,'platform'));if(_replyTo)w.object(v.replyTo);if(_sendAs)w.object(v.sendAs);},
|
|
1678
|
+
'messages.requestWebView':function(w,v){w.uint(647873217);var flags=0;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=1;var _url=v.url!==undefined;if(_url)flags|=2;var _themeParams=v.themeParams!==undefined;if(_themeParams)flags|=4;var _startParam=v.startParam!==undefined;if(_startParam)flags|=8;if(v.fromBotMenu===true)flags|=16;if(v.silent===true)flags|=32;if(v.compact===true)flags|=128;var _sendAs=v.sendAs!==undefined;if(_sendAs)flags|=8192;w.uint(flags);w.object(h(v,'peer'));w.object(h(v,'bot'));if(_url)w.string(v.url);if(_startParam)w.string(v.startParam);if(_themeParams)w.object(v.themeParams);w.string(h(v,'platform'));if(_replyTo)w.object(v.replyTo);if(_sendAs)w.object(v.sendAs);},
|
|
1674
1679
|
'messages.prolongWebView':function(w,v){w.uint(2966952579);var flags=0;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=1;if(v.silent===true)flags|=32;var _sendAs=v.sendAs!==undefined;if(_sendAs)flags|=8192;w.uint(flags);w.object(h(v,'peer'));w.object(h(v,'bot'));w.long(h(v,'queryId'));if(_replyTo)w.object(v.replyTo);if(_sendAs)w.object(v.sendAs);},
|
|
1675
|
-
'messages.requestSimpleWebView':function(w,v){w.uint(
|
|
1680
|
+
'messages.requestSimpleWebView':function(w,v){w.uint(1094336115);var flags=0;var _themeParams=v.themeParams!==undefined;if(_themeParams)flags|=1;if(v.fromSwitchWebview===true)flags|=2;if(v.fromSideMenu===true)flags|=4;var _url=v.url!==undefined;if(_url)flags|=8;var _startParam=v.startParam!==undefined;if(_startParam)flags|=16;if(v.compact===true)flags|=128;w.uint(flags);w.object(h(v,'bot'));if(_url)w.string(v.url);if(_startParam)w.string(v.startParam);if(_themeParams)w.object(v.themeParams);w.string(h(v,'platform'));},
|
|
1676
1681
|
'messages.sendWebViewResultMessage':function(w,v){w.uint(172168437);w.string(h(v,'botQueryId'));w.object(h(v,'result'));},
|
|
1677
1682
|
'messages.sendWebViewData':function(w,v){w.uint(3691135688);w.object(h(v,'bot'));w.long(h(v,'randomId'));w.string(h(v,'buttonText'));w.string(h(v,'data'));},
|
|
1678
1683
|
'messages.transcribeAudio':function(w,v){w.uint(647928393);w.object(h(v,'peer'));w.int(h(v,'msgId'));},
|
|
@@ -1694,7 +1699,7 @@ var m={
|
|
|
1694
1699
|
'messages.searchCustomEmoji':function(w,v){w.uint(739360983);w.string(h(v,'emoticon'));w.long(h(v,'hash'));},
|
|
1695
1700
|
'messages.togglePeerTranslations':function(w,v){w.uint(3833378169);var flags=0;if(v.disabled===true)flags|=1;w.uint(flags);w.object(h(v,'peer'));},
|
|
1696
1701
|
'messages.getBotApp':function(w,v){w.uint(889046467);w.object(h(v,'app'));w.long(h(v,'hash'));},
|
|
1697
|
-
'messages.requestAppWebView':function(w,v){w.uint(
|
|
1702
|
+
'messages.requestAppWebView':function(w,v){w.uint(1398901710);var flags=0;if(v.writeAllowed===true)flags|=1;var _startParam=v.startParam!==undefined;if(_startParam)flags|=2;var _themeParams=v.themeParams!==undefined;if(_themeParams)flags|=4;if(v.compact===true)flags|=128;w.uint(flags);w.object(h(v,'peer'));w.object(h(v,'app'));if(_startParam)w.string(v.startParam);if(_themeParams)w.object(v.themeParams);w.string(h(v,'platform'));},
|
|
1698
1703
|
'messages.setChatWallPaper':function(w,v){w.uint(2415577825);var flags=0;var _wallpaper=v.wallpaper!==undefined;if(_wallpaper)flags|=1;var _id=v.id!==undefined;if(_id)flags|=2;var _settings=v.settings!==undefined;if(_settings)flags|=4;if(v.forBoth===true)flags|=8;if(v.revert===true)flags|=16;w.uint(flags);w.object(h(v,'peer'));if(_wallpaper)w.object(v.wallpaper);if(_settings)w.object(v.settings);if(_id)w.int(v.id);},
|
|
1699
1704
|
'messages.searchEmojiStickerSets':function(w,v){w.uint(2461288780);var flags=0;if(v.excludeFeatured===true)flags|=1;w.uint(flags);w.string(h(v,'q'));w.long(h(v,'hash'));},
|
|
1700
1705
|
'messages.getSavedDialogs':function(w,v){w.uint(1401016858);var flags=0;if(v.excludePinned===true)flags|=1;w.uint(flags);w.int(h(v,'offsetDate'));w.int(h(v,'offsetId'));w.object(h(v,'offsetPeer'));w.int(h(v,'limit'));w.long(h(v,'hash'));},
|
|
@@ -1975,6 +1980,8 @@ var m={
|
|
|
1975
1980
|
'smsjobs.getSmsJob':function(w,v){w.uint(2005766191);w.string(h(v,'jobId'));},
|
|
1976
1981
|
'smsjobs.finishJob':function(w,v){w.uint(1327415076);var flags=0;var _error=v.error!==undefined;if(_error)flags|=1;w.uint(flags);w.string(h(v,'jobId'));if(_error)w.string(v.error);},
|
|
1977
1982
|
'fragment.getCollectibleInfo':function(w,v){w.uint(3189671354);w.object(h(v,'collectible'));},
|
|
1983
|
+
'payments.getStarsRevenueAdsAccountUrl':function(w,v){w.uint(3520589765);w.object(h(v,'peer'));},
|
|
1984
|
+
'payments.getStarsTransactionsByID':function(w,v){w.uint(662973742);w.object(h(v,'peer'));w.vector(w.object,h(v,'id'));},
|
|
1978
1985
|
'mtcute.customMethod':function(w,v){w.raw(h(v,'bytes'));},
|
|
1979
1986
|
'mt_resPQ':function(w,v){w.uint(85337187);w.int128(h(v,'nonce'));w.int128(h(v,'serverNonce'));w.bytes(h(v,'pq'));w.vector(w.long,h(v,'serverPublicKeyFingerprints'));},
|
|
1980
1987
|
'mt_p_q_inner_data_dc':function(w,v){w.uint(2851430293);w.bytes(h(v,'pq'));w.bytes(h(v,'p'));w.bytes(h(v,'q'));w.int128(h(v,'nonce'));w.int128(h(v,'serverNonce'));w.int256(h(v,'newNonce'));w.int(h(v,'dc'));},
|
|
@@ -2495,6 +2502,7 @@ _staticSize:{
|
|
|
2495
2502
|
'starsTransactionPeerPremiumBot':4,
|
|
2496
2503
|
'starsTransactionPeerFragment':4,
|
|
2497
2504
|
'starsTransactionPeer':16,
|
|
2505
|
+
'starsTransactionPeerAds':4,
|
|
2498
2506
|
'updateGroupInvitePrivacyForbidden':12,
|
|
2499
2507
|
'test.useConfigSimple':4,
|
|
2500
2508
|
'test.parseInputAppEvent':4,
|