@mtcute/tl 181.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 +23 -8
- package/binary/writer.js +34 -15
- package/index.d.ts +1227 -147
- package/index.js +10 -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(),}},
|
|
@@ -367,6 +367,8 @@ var m={
|
|
|
367
367
|
405070859:function(r){return{_:'updateNewStoryReaction',storyId:r.int(),peer:r.object(),reaction:r.object(),}},
|
|
368
368
|
3755565557:function(r){return{_:'updateBroadcastRevenueTransactions',peer:r.object(),balances:r.object(),}},
|
|
369
369
|
263737752:function(r){return{_:'updateStarsBalance',balance:r.long(),}},
|
|
370
|
+
513998247:function(r){var flags=r.uint();return{_:'updateBusinessBotCallbackQuery',queryId:r.long(),userId:r.int53(),connectionId:r.string(),message:r.object(),replyToMessage:flags&4?r.object():void 0,chatInstance:r.long(),data:flags&1?r.bytes():void 0,}},
|
|
371
|
+
2776936473:function(r){return{_:'updateStarsRevenueStatus',peer:r.object(),status:r.object(),}},
|
|
370
372
|
2775329342:function(r){return{_:'updates.state',pts:r.int(),qts:r.int(),date:r.int(),seq:r.int(),unreadCount:r.int(),}},
|
|
371
373
|
1567990072:function(r){return{_:'updates.differenceEmpty',date:r.int(),seq:r.int(),}},
|
|
372
374
|
16030880:function(r){return{_:'updates.difference',newMessages:r.vector(r.object),newEncryptedMessages:r.vector(r.object),otherUpdates:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),state:r.object(),}},
|
|
@@ -637,7 +639,7 @@ var m={
|
|
|
637
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,}},
|
|
638
640
|
2773032426:function(r){var flags=r.uint();return{_:'auth.sentCodeTypeSetUpEmailRequired',appleSigninAllowed:!!(flags&1),googleSigninAllowed:!!(flags&2),}},
|
|
639
641
|
3646315577:function(r){return{_:'auth.sentCodeTypeFragmentSms',url:r.string(),length:r.int(),}},
|
|
640
|
-
|
|
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(),}},
|
|
641
643
|
2752949377:function(r){var flags=r.uint();return{_:'auth.sentCodeTypeSmsWord',beginning:flags&1?r.string():void 0,}},
|
|
642
644
|
3010958511:function(r){var flags=r.uint();return{_:'auth.sentCodeTypeSmsPhrase',beginning:flags&1?r.string():void 0,}},
|
|
643
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(),}},
|
|
@@ -660,7 +662,7 @@ var m={
|
|
|
660
662
|
1891070632:function(r){return{_:'contacts.topPeers',categories:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
661
663
|
3039597469:function(r){return{_:'contacts.topPeersDisabled'}},
|
|
662
664
|
453805082:function(r){var flags=r.uint();return{_:'draftMessageEmpty',date:flags&1?r.int():void 0,}},
|
|
663
|
-
|
|
665
|
+
761606687:function(r){var flags=r.uint();return{_:'draftMessage',noWebpage:!!(flags&2),invertMedia:!!(flags&64),replyTo:flags&16?r.object():void 0,message:r.string(),entities:flags&8?r.vector(r.object):void 0,media:flags&32?r.object():void 0,date:r.int(),effect:flags&128?r.long():void 0,}},
|
|
664
666
|
3336309862:function(r){return{_:'messages.featuredStickersNotModified',count:r.int(),}},
|
|
665
667
|
3191351558:function(r){var flags=r.uint();return{_:'messages.featuredStickers',premium:!!(flags&1),hash:r.long(),count:r.int(),sets:r.vector(r.object),unread:r.vector(r.long),}},
|
|
666
668
|
186120336:function(r){return{_:'messages.recentStickersNotModified'}},
|
|
@@ -1081,7 +1083,7 @@ var m={
|
|
|
1081
1083
|
4057500252:function(r){return{_:'attachMenuBotsNotModified'}},
|
|
1082
1084
|
1011024320:function(r){return{_:'attachMenuBots',hash:r.long(),bots:r.vector(r.object),users:r.vector(r.object),}},
|
|
1083
1085
|
2478794367:function(r){return{_:'attachMenuBotsBot',bot:r.object(),users:r.vector(r.object),}},
|
|
1084
|
-
|
|
1086
|
+
1294139288:function(r){var flags=r.uint();return{_:'webViewResultUrl',fullsize:!!(flags&2),queryId:flags&1?r.long():void 0,url:r.string(),}},
|
|
1085
1087
|
2284811963:function(r){return{_:'simpleWebViewResultUrl',url:r.string(),}},
|
|
1086
1088
|
211046684:function(r){var flags=r.uint();return{_:'webViewMessageSent',msgId:flags&1?r.object():void 0,}},
|
|
1087
1089
|
1966318984:function(r){return{_:'botMenuButtonDefault'}},
|
|
@@ -1198,13 +1200,14 @@ var m={
|
|
|
1198
1200
|
1484862010:function(r){return{_:'inputReplyToStory',peer:r.object(),storyId:r.int(),}},
|
|
1199
1201
|
1070138683:function(r){return{_:'exportedStoryLink',link:r.string(),}},
|
|
1200
1202
|
1898850301:function(r){var flags=r.uint();return{_:'storiesStealthMode',activeUntilDate:flags&1?r.int():void 0,cooldownUntilDate:flags&2?r.int():void 0,}},
|
|
1201
|
-
|
|
1203
|
+
3486113794:function(r){var flags=r.uint();return{_:'mediaAreaCoordinates',x:r.double(),y:r.double(),w:r.double(),h:r.double(),rotation:r.double(),radius:flags&1?r.double():void 0,}},
|
|
1202
1204
|
3196246940:function(r){return{_:'mediaAreaVenue',coordinates:r.object(),geo:r.object(),title:r.string(),address:r.string(),provider:r.string(),venueId:r.string(),venueType:r.string(),}},
|
|
1203
1205
|
2994872703:function(r){return{_:'inputMediaAreaVenue',coordinates:r.object(),queryId:r.long(),resultId:r.string(),}},
|
|
1204
|
-
|
|
1206
|
+
3402974509:function(r){var flags=r.uint();return{_:'mediaAreaGeoPoint',coordinates:r.object(),geo:r.object(),address:flags&1?r.object():void 0,}},
|
|
1205
1207
|
340088945:function(r){var flags=r.uint();return{_:'mediaAreaSuggestedReaction',dark:!!(flags&1),flipped:!!(flags&2),coordinates:r.object(),reaction:r.object(),}},
|
|
1206
1208
|
1996756655:function(r){return{_:'mediaAreaChannelPost',coordinates:r.object(),channelId:r.int53(),msgId:r.int(),}},
|
|
1207
1209
|
577893055:function(r){return{_:'inputMediaAreaChannelPost',coordinates:r.object(),channel:r.object(),msgId:r.int(),}},
|
|
1210
|
+
926421125:function(r){return{_:'mediaAreaUrl',coordinates:r.object(),url:r.string(),}},
|
|
1208
1211
|
2587224473:function(r){var flags=r.uint();return{_:'peerStories',peer:r.object(),maxReadId:flags&1?r.int():void 0,stories:r.vector(r.object),}},
|
|
1209
1212
|
3404105576:function(r){return{_:'stories.peerStories',stories:r.object(),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1210
1213
|
4250800829:function(r){return{_:'messages.webPage',webpage:r.object(),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
@@ -1315,8 +1318,19 @@ var m={
|
|
|
1315
1318
|
3912227074:function(r){return{_:'starsTransactionPeerFragment'}},
|
|
1316
1319
|
3624771933:function(r){return{_:'starsTransactionPeer',peer:r.object(),}},
|
|
1317
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(),}},
|
|
1318
|
-
|
|
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,}},
|
|
1319
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
|
+
3900361664:function(r){return{_:'foundStory',peer:r.object(),story:r.object(),}},
|
|
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),}},
|
|
1325
|
+
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,}},
|
|
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
|
+
3375085371:function(r){return{_:'payments.starsRevenueStats',revenueGraph:r.object(),status:r.object(),usdRate:r.double(),}},
|
|
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(),}},
|
|
1320
1334
|
3438316246:function(r){return{_:'updateGroupInvitePrivacyForbidden',userId:r.int53(),}},
|
|
1321
1335
|
1035529315:function(r){var flags=r.uint();return{_:'sponsoredWebPage',url:r.string(),siteName:r.string(),photo:flags&1?r.object():void 0,}},
|
|
1322
1336
|
_results:{
|
|
@@ -1328,6 +1342,7 @@ _results:{
|
|
|
1328
1342
|
'stories.togglePinned':function(r){return r.vector(r.int)},
|
|
1329
1343
|
'stories.readStories':function(r){return r.vector(r.int)},
|
|
1330
1344
|
'stories.getPeerMaxIDs':function(r){return r.vector(r.int)},
|
|
1345
|
+
'mtcute.customMethod':function(r){return r.raw()},
|
|
1331
1346
|
},
|
|
1332
1347
|
85337187:function(r){return{_:'mt_resPQ',nonce:r.int128(),serverNonce:r.int128(),pq:r.bytes(),serverPublicKeyFingerprints:r.vector(r.long),}},
|
|
1333
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'));},
|
|
@@ -368,6 +368,8 @@ var m={
|
|
|
368
368
|
'updateNewStoryReaction':function(w,v){w.uint(405070859);w.int(h(v,'storyId'));w.object(h(v,'peer'));w.object(h(v,'reaction'));},
|
|
369
369
|
'updateBroadcastRevenueTransactions':function(w,v){w.uint(3755565557);w.object(h(v,'peer'));w.object(h(v,'balances'));},
|
|
370
370
|
'updateStarsBalance':function(w,v){w.uint(263737752);w.long(h(v,'balance'));},
|
|
371
|
+
'updateBusinessBotCallbackQuery':function(w,v){w.uint(513998247);var flags=0;var _data=v.data!==undefined;if(_data)flags|=1;var _replyToMessage=v.replyToMessage!==undefined;if(_replyToMessage)flags|=4;w.uint(flags);w.long(h(v,'queryId'));w.int53(h(v,'userId'));w.string(h(v,'connectionId'));w.object(h(v,'message'));if(_replyToMessage)w.object(v.replyToMessage);w.long(h(v,'chatInstance'));if(_data)w.bytes(v.data);},
|
|
372
|
+
'updateStarsRevenueStatus':function(w,v){w.uint(2776936473);w.object(h(v,'peer'));w.object(h(v,'status'));},
|
|
371
373
|
'updates.state':function(w,v){w.uint(2775329342);w.int(h(v,'pts'));w.int(h(v,'qts'));w.int(h(v,'date'));w.int(h(v,'seq'));w.int(h(v,'unreadCount'));},
|
|
372
374
|
'updates.differenceEmpty':function(w,v){w.uint(1567990072);w.int(h(v,'date'));w.int(h(v,'seq'));},
|
|
373
375
|
'updates.difference':function(w,v){w.uint(16030880);w.vector(w.object,h(v,'newMessages'));w.vector(w.object,h(v,'newEncryptedMessages'));w.vector(w.object,h(v,'otherUpdates'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));w.object(h(v,'state'));},
|
|
@@ -638,7 +640,7 @@ var m={
|
|
|
638
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);},
|
|
639
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);},
|
|
640
642
|
'auth.sentCodeTypeFragmentSms':function(w,v){w.uint(3646315577);w.string(h(v,'url'));w.int(h(v,'length'));},
|
|
641
|
-
'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'));},
|
|
642
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);},
|
|
643
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);},
|
|
644
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'));},
|
|
@@ -661,7 +663,7 @@ var m={
|
|
|
661
663
|
'contacts.topPeers':function(w,v){w.uint(1891070632);w.vector(w.object,h(v,'categories'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
662
664
|
'contacts.topPeersDisabled':function(w){w.uint(3039597469);},
|
|
663
665
|
'draftMessageEmpty':function(w,v){w.uint(453805082);var flags=0;var _date=v.date!==undefined;if(_date)flags|=1;w.uint(flags);if(_date)w.int(v.date);},
|
|
664
|
-
'draftMessage':function(w,v){w.uint(
|
|
666
|
+
'draftMessage':function(w,v){w.uint(761606687);var flags=0;if(v.noWebpage===true)flags|=2;var _entities=v.entities&&v.entities.length;if(_entities)flags|=8;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=16;var _media=v.media!==undefined;if(_media)flags|=32;if(v.invertMedia===true)flags|=64;var _effect=v.effect!==undefined;if(_effect)flags|=128;w.uint(flags);if(_replyTo)w.object(v.replyTo);w.string(h(v,'message'));if(_entities)w.vector(w.object,v.entities);if(_media)w.object(v.media);w.int(h(v,'date'));if(_effect)w.long(v.effect);},
|
|
665
667
|
'messages.featuredStickersNotModified':function(w,v){w.uint(3336309862);w.int(h(v,'count'));},
|
|
666
668
|
'messages.featuredStickers':function(w,v){w.uint(3191351558);var flags=0;if(v.premium===true)flags|=1;w.uint(flags);w.long(h(v,'hash'));w.int(h(v,'count'));w.vector(w.object,h(v,'sets'));w.vector(w.long,h(v,'unread'));},
|
|
667
669
|
'messages.recentStickersNotModified':function(w){w.uint(186120336);},
|
|
@@ -1082,7 +1084,7 @@ var m={
|
|
|
1082
1084
|
'attachMenuBotsNotModified':function(w){w.uint(4057500252);},
|
|
1083
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'));},
|
|
1084
1086
|
'attachMenuBotsBot':function(w,v){w.uint(2478794367);w.object(h(v,'bot'));w.vector(w.object,h(v,'users'));},
|
|
1085
|
-
'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'));},
|
|
1086
1088
|
'simpleWebViewResultUrl':function(w,v){w.uint(2284811963);w.string(h(v,'url'));},
|
|
1087
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);},
|
|
1088
1090
|
'botMenuButtonDefault':function(w){w.uint(1966318984);},
|
|
@@ -1199,13 +1201,14 @@ var m={
|
|
|
1199
1201
|
'inputReplyToStory':function(w,v){w.uint(1484862010);w.object(h(v,'peer'));w.int(h(v,'storyId'));},
|
|
1200
1202
|
'exportedStoryLink':function(w,v){w.uint(1070138683);w.string(h(v,'link'));},
|
|
1201
1203
|
'storiesStealthMode':function(w,v){w.uint(1898850301);var flags=0;var _activeUntilDate=v.activeUntilDate!==undefined;if(_activeUntilDate)flags|=1;var _cooldownUntilDate=v.cooldownUntilDate!==undefined;if(_cooldownUntilDate)flags|=2;w.uint(flags);if(_activeUntilDate)w.int(v.activeUntilDate);if(_cooldownUntilDate)w.int(v.cooldownUntilDate);},
|
|
1202
|
-
'mediaAreaCoordinates':function(w,v){w.uint(
|
|
1204
|
+
'mediaAreaCoordinates':function(w,v){w.uint(3486113794);var flags=0;var _radius=v.radius!==undefined;if(_radius)flags|=1;w.uint(flags);w.double(h(v,'x'));w.double(h(v,'y'));w.double(h(v,'w'));w.double(h(v,'h'));w.double(h(v,'rotation'));if(_radius)w.double(v.radius);},
|
|
1203
1205
|
'mediaAreaVenue':function(w,v){w.uint(3196246940);w.object(h(v,'coordinates'));w.object(h(v,'geo'));w.string(h(v,'title'));w.string(h(v,'address'));w.string(h(v,'provider'));w.string(h(v,'venueId'));w.string(h(v,'venueType'));},
|
|
1204
1206
|
'inputMediaAreaVenue':function(w,v){w.uint(2994872703);w.object(h(v,'coordinates'));w.long(h(v,'queryId'));w.string(h(v,'resultId'));},
|
|
1205
|
-
'mediaAreaGeoPoint':function(w,v){w.uint(
|
|
1207
|
+
'mediaAreaGeoPoint':function(w,v){w.uint(3402974509);var flags=0;var _address=v.address!==undefined;if(_address)flags|=1;w.uint(flags);w.object(h(v,'coordinates'));w.object(h(v,'geo'));if(_address)w.object(v.address);},
|
|
1206
1208
|
'mediaAreaSuggestedReaction':function(w,v){w.uint(340088945);var flags=0;if(v.dark===true)flags|=1;if(v.flipped===true)flags|=2;w.uint(flags);w.object(h(v,'coordinates'));w.object(h(v,'reaction'));},
|
|
1207
1209
|
'mediaAreaChannelPost':function(w,v){w.uint(1996756655);w.object(h(v,'coordinates'));w.int53(h(v,'channelId'));w.int(h(v,'msgId'));},
|
|
1208
1210
|
'inputMediaAreaChannelPost':function(w,v){w.uint(577893055);w.object(h(v,'coordinates'));w.object(h(v,'channel'));w.int(h(v,'msgId'));},
|
|
1211
|
+
'mediaAreaUrl':function(w,v){w.uint(926421125);w.object(h(v,'coordinates'));w.string(h(v,'url'));},
|
|
1209
1212
|
'peerStories':function(w,v){w.uint(2587224473);var flags=0;var _maxReadId=v.maxReadId!==undefined;if(_maxReadId)flags|=1;w.uint(flags);w.object(h(v,'peer'));if(_maxReadId)w.int(v.maxReadId);w.vector(w.object,h(v,'stories'));},
|
|
1210
1213
|
'stories.peerStories':function(w,v){w.uint(3404105576);w.object(h(v,'stories'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
1211
1214
|
'messages.webPage':function(w,v){w.uint(4250800829);w.object(h(v,'webpage'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
@@ -1316,8 +1319,19 @@ var m={
|
|
|
1316
1319
|
'starsTransactionPeerFragment':function(w){w.uint(3912227074);},
|
|
1317
1320
|
'starsTransactionPeer':function(w,v){w.uint(3624771933);w.object(h(v,'peer'));},
|
|
1318
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'));},
|
|
1319
|
-
'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);},
|
|
1320
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
|
+
'foundStory':function(w,v){w.uint(3900361664);w.object(h(v,'peer'));w.object(h(v,'story'));},
|
|
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'));},
|
|
1326
|
+
'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);},
|
|
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
|
+
'payments.starsRevenueStats':function(w,v){w.uint(3375085371);w.object(h(v,'revenueGraph'));w.object(h(v,'status'));w.double(h(v,'usdRate'));},
|
|
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'));},
|
|
1321
1335
|
'updateGroupInvitePrivacyForbidden':function(w,v){w.uint(3438316246);w.int53(h(v,'userId'));},
|
|
1322
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);},
|
|
1323
1337
|
'test.useConfigSimple':function(w){w.uint(4189565501);},
|
|
@@ -1561,7 +1575,7 @@ var m={
|
|
|
1561
1575
|
'messages.getBotCallbackAnswer':function(w,v){w.uint(2470627847);var flags=0;var _data=v.data!==undefined;if(_data)flags|=1;if(v.game===true)flags|=2;var _password=v.password!==undefined;if(_password)flags|=4;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'msgId'));if(_data)w.bytes(v.data);if(_password)w.object(v.password);},
|
|
1562
1576
|
'messages.setBotCallbackAnswer':function(w,v){w.uint(3582923530);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;w.uint(flags);w.long(h(v,'queryId'));if(_message)w.string(v.message);if(_url)w.string(v.url);w.int(h(v,'cacheTime'));},
|
|
1563
1577
|
'messages.getPeerDialogs':function(w,v){w.uint(3832593661);w.vector(w.object,h(v,'peers'));},
|
|
1564
|
-
'messages.saveDraft':function(w,v){w.uint(
|
|
1578
|
+
'messages.saveDraft':function(w,v){w.uint(3547514318);var flags=0;if(v.noWebpage===true)flags|=2;var _entities=v.entities&&v.entities.length;if(_entities)flags|=8;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=16;var _media=v.media!==undefined;if(_media)flags|=32;if(v.invertMedia===true)flags|=64;var _effect=v.effect!==undefined;if(_effect)flags|=128;w.uint(flags);if(_replyTo)w.object(v.replyTo);w.object(h(v,'peer'));w.string(h(v,'message'));if(_entities)w.vector(w.object,v.entities);if(_media)w.object(v.media);if(_effect)w.long(v.effect);},
|
|
1565
1579
|
'messages.getAllDrafts':function(w){w.uint(1782549861);},
|
|
1566
1580
|
'messages.getFeaturedStickers':function(w,v){w.uint(1685588756);w.long(h(v,'hash'));},
|
|
1567
1581
|
'messages.readFeaturedStickers':function(w,v){w.uint(1527873830);w.vector(w.long,h(v,'id'));},
|
|
@@ -1661,9 +1675,9 @@ var m={
|
|
|
1661
1675
|
'messages.getAttachMenuBots':function(w,v){w.uint(385663691);w.long(h(v,'hash'));},
|
|
1662
1676
|
'messages.getAttachMenuBot':function(w,v){w.uint(1998676370);w.object(h(v,'bot'));},
|
|
1663
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'));},
|
|
1664
|
-
'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);},
|
|
1665
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);},
|
|
1666
|
-
'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'));},
|
|
1667
1681
|
'messages.sendWebViewResultMessage':function(w,v){w.uint(172168437);w.string(h(v,'botQueryId'));w.object(h(v,'result'));},
|
|
1668
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'));},
|
|
1669
1683
|
'messages.transcribeAudio':function(w,v){w.uint(647928393);w.object(h(v,'peer'));w.int(h(v,'msgId'));},
|
|
@@ -1685,7 +1699,7 @@ var m={
|
|
|
1685
1699
|
'messages.searchCustomEmoji':function(w,v){w.uint(739360983);w.string(h(v,'emoticon'));w.long(h(v,'hash'));},
|
|
1686
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'));},
|
|
1687
1701
|
'messages.getBotApp':function(w,v){w.uint(889046467);w.object(h(v,'app'));w.long(h(v,'hash'));},
|
|
1688
|
-
'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'));},
|
|
1689
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);},
|
|
1690
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'));},
|
|
1691
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'));},
|
|
@@ -1853,9 +1867,11 @@ var m={
|
|
|
1853
1867
|
'payments.launchPrepaidGiveaway':function(w,v){w.uint(1609928480);w.object(h(v,'peer'));w.long(h(v,'giveawayId'));w.object(h(v,'purpose'));},
|
|
1854
1868
|
'payments.getStarsTopupOptions':function(w){w.uint(3222194131);},
|
|
1855
1869
|
'payments.getStarsStatus':function(w,v){w.uint(273665959);w.object(h(v,'peer'));},
|
|
1856
|
-
'payments.getStarsTransactions':function(w,v){w.uint(
|
|
1870
|
+
'payments.getStarsTransactions':function(w,v){w.uint(2543029594);var flags=0;if(v.inbound===true)flags|=1;if(v.outbound===true)flags|=2;if(v.ascending===true)flags|=4;w.uint(flags);w.object(h(v,'peer'));w.string(h(v,'offset'));w.int(h(v,'limit'));},
|
|
1857
1871
|
'payments.sendStarsForm':function(w,v){w.uint(45839133);var flags=0;w.uint(flags);w.long(h(v,'formId'));w.object(h(v,'invoice'));},
|
|
1858
1872
|
'payments.refundStarsCharge':function(w,v){w.uint(632196938);w.object(h(v,'userId'));w.string(h(v,'chargeId'));},
|
|
1873
|
+
'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'));},
|
|
1874
|
+
'payments.getStarsRevenueWithdrawalUrl':function(w,v){w.uint(331081907);w.object(h(v,'peer'));w.long(h(v,'stars'));w.object(h(v,'password'));},
|
|
1859
1875
|
'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);},
|
|
1860
1876
|
'stickers.removeStickerFromSet':function(w,v){w.uint(4151709521);w.object(h(v,'sticker'));},
|
|
1861
1877
|
'stickers.changeStickerPosition':function(w,v){w.uint(4290172106);w.object(h(v,'sticker'));w.int(h(v,'position'));},
|
|
@@ -1950,6 +1966,7 @@ var m={
|
|
|
1950
1966
|
'stories.togglePeerStoriesHidden':function(w,v){w.uint(3171161540);w.object(h(v,'peer'));w.boolean(h(v,'hidden'));},
|
|
1951
1967
|
'stories.getStoryReactionsList':function(w,v){w.uint(3115485215);var flags=0;var _reaction=v.reaction!==undefined;if(_reaction)flags|=1;var _offset=v.offset!==undefined;if(_offset)flags|=2;if(v.forwardsFirst===true)flags|=4;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'));},
|
|
1952
1968
|
'stories.togglePinnedToTop':function(w,v){w.uint(187268763);w.object(h(v,'peer'));w.vector(w.int,h(v,'id'));},
|
|
1969
|
+
'stories.searchPosts':function(w,v){w.uint(1827279210);var flags=0;var _hashtag=v.hashtag!==undefined;if(_hashtag)flags|=1;var _area=v.area!==undefined;if(_area)flags|=2;w.uint(flags);if(_hashtag)w.string(v.hashtag);if(_area)w.object(v.area);w.string(h(v,'offset'));w.int(h(v,'limit'));},
|
|
1953
1970
|
'premium.getBoostsList':function(w,v){w.uint(1626764896);var flags=0;if(v.gifts===true)flags|=1;w.uint(flags);w.object(h(v,'peer'));w.string(h(v,'offset'));w.int(h(v,'limit'));},
|
|
1954
1971
|
'premium.getMyBoosts':function(w){w.uint(199719754);},
|
|
1955
1972
|
'premium.applyBoost':function(w,v){w.uint(1803396934);var flags=0;var _slots=v.slots&&v.slots.length;if(_slots)flags|=1;w.uint(flags);if(_slots)w.vector(w.int,v.slots);w.object(h(v,'peer'));},
|
|
@@ -1963,6 +1980,9 @@ var m={
|
|
|
1963
1980
|
'smsjobs.getSmsJob':function(w,v){w.uint(2005766191);w.string(h(v,'jobId'));},
|
|
1964
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);},
|
|
1965
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'));},
|
|
1985
|
+
'mtcute.customMethod':function(w,v){w.raw(h(v,'bytes'));},
|
|
1966
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'));},
|
|
1967
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'));},
|
|
1968
1988
|
'mt_p_q_inner_data_temp_dc':function(w,v){w.uint(1459478408);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'));w.int(h(v,'expiresIn'));},
|
|
@@ -2453,8 +2473,6 @@ _staticSize:{
|
|
|
2453
2473
|
'messagePeerVoteInputOption':20,
|
|
2454
2474
|
'storyItemDeleted':8,
|
|
2455
2475
|
'storyItemSkipped':20,
|
|
2456
|
-
'mediaAreaCoordinates':44,
|
|
2457
|
-
'mediaAreaChannelPost':60,
|
|
2458
2476
|
'prepaidGiveaway':24,
|
|
2459
2477
|
'postInteractionCountersMessage':20,
|
|
2460
2478
|
'postInteractionCountersStory':20,
|
|
@@ -2484,6 +2502,7 @@ _staticSize:{
|
|
|
2484
2502
|
'starsTransactionPeerPremiumBot':4,
|
|
2485
2503
|
'starsTransactionPeerFragment':4,
|
|
2486
2504
|
'starsTransactionPeer':16,
|
|
2505
|
+
'starsTransactionPeerAds':4,
|
|
2487
2506
|
'updateGroupInvitePrivacyForbidden':12,
|
|
2488
2507
|
'test.useConfigSimple':4,
|
|
2489
2508
|
'test.parseInputAppEvent':4,
|