@mtcute/tl 167.0.0 → 169.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/api-schema.json +1 -1
- package/binary/reader.js +35 -24
- package/binary/writer.js +58 -46
- package/index.d.ts +2380 -472
- package/index.js +24 -26
- package/package.json +1 -1
package/binary/reader.js
CHANGED
|
@@ -83,10 +83,10 @@ var m={
|
|
|
83
83
|
693512293:function(r){return{_:'chatEmpty',id:r.int53(),}},
|
|
84
84
|
1103884886:function(r){var flags=r.uint();return{_:'chat',creator:!!(flags&1),left:!!(flags&4),deactivated:!!(flags&32),callActive:!!(flags&8388608),callNotEmpty:!!(flags&16777216),noforwards:!!(flags&33554432),id:r.int53(),title:r.string(),photo:r.object(),participantsCount:r.int(),date:r.int(),version:r.int(),migratedTo:flags&64?r.object():void 0,adminRights:flags&16384?r.object():void 0,defaultBannedRights:flags&262144?r.object():void 0,}},
|
|
85
85
|
1704108455:function(r){return{_:'chatForbidden',id:r.int53(),title:r.string(),}},
|
|
86
|
-
|
|
86
|
+
179174543:function(r){var flags=r.uint(),flags2=r.uint();return{_:'channel',creator:!!(flags&1),left:!!(flags&4),broadcast:!!(flags&32),verified:!!(flags&128),megagroup:!!(flags&256),restricted:!!(flags&512),signatures:!!(flags&2048),min:!!(flags&4096),scam:!!(flags&524288),hasLink:!!(flags&1048576),hasGeo:!!(flags&2097152),slowmodeEnabled:!!(flags&4194304),callActive:!!(flags&8388608),callNotEmpty:!!(flags&16777216),fake:!!(flags&33554432),gigagroup:!!(flags&67108864),noforwards:!!(flags&134217728),joinToSend:!!(flags&268435456),joinRequest:!!(flags&536870912),forum:!!(flags&1073741824),storiesHidden:!!(flags2&2),storiesHiddenMin:!!(flags2&4),storiesUnavailable:!!(flags2&8),id:r.int53(),accessHash:flags&8192?r.long():void 0,title:r.string(),username:flags&64?r.string():void 0,photo:r.object(),date:r.int(),restrictionReason:flags&512?r.vector(r.object):void 0,adminRights:flags&16384?r.object():void 0,bannedRights:flags&32768?r.object():void 0,defaultBannedRights:flags&262144?r.object():void 0,participantsCount:flags&131072?r.int():void 0,usernames:flags2&1?r.vector(r.object):void 0,storiesMaxId:flags2&16?r.int():void 0,color:flags2&128?r.object():void 0,profileColor:flags2&256?r.object():void 0,emojiStatus:flags2&512?r.object():void 0,level:flags2&1024?r.int():void 0,}},
|
|
87
87
|
399807445:function(r){var flags=r.uint();return{_:'channelForbidden',broadcast:!!(flags&32),megagroup:!!(flags&256),id:r.int53(),accessHash:r.long(),title:r.string(),untilDate:flags&65536?r.int():void 0,}},
|
|
88
88
|
3386052920: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,}},
|
|
89
|
-
|
|
89
|
+
254528367: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),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,stories:flags2&16?r.object():void 0,wallpaper:flags2&128?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(),}},
|
|
@@ -111,7 +111,7 @@ var m={
|
|
|
111
111
|
1272375192:function(r){return{_:'messageMediaPoll',poll:r.object(),results:r.object(),}},
|
|
112
112
|
1065280907:function(r){return{_:'messageMediaDice',value:r.int(),emoticon:r.string(),}},
|
|
113
113
|
1758159491:function(r){var flags=r.uint();return{_:'messageMediaStory',viaMention:!!(flags&2),peer:r.object(),id:r.int(),story:flags&1?r.object():void 0,}},
|
|
114
|
-
|
|
114
|
+
3668805040:function(r){var flags=r.uint();return{_:'messageMediaGiveaway',onlyNewSubscribers:!!(flags&1),winnersAreVisible:!!(flags&4),channels:r.vector(r.int53),countriesIso2:flags&2?r.vector(r.string):void 0,prizeDescription:flags&8?r.string():void 0,quantity:r.int(),months:r.int(),untilDate:r.int(),}},
|
|
115
115
|
3064919984:function(r){return{_:'messageActionEmpty'}},
|
|
116
116
|
3175599021:function(r){return{_:'messageActionChatCreate',title:r.string(),users:r.vector(r.int53),}},
|
|
117
117
|
3047280218:function(r){return{_:'messageActionChatEditTitle',title:r.string(),}},
|
|
@@ -148,12 +148,12 @@ var m={
|
|
|
148
148
|
228168278:function(r){var flags=r.uint();return{_:'messageActionTopicCreate',title:r.string(),iconColor:r.int(),iconEmojiId:flags&1?r.long():void 0,}},
|
|
149
149
|
3230943264:function(r){var flags=r.uint();return{_:'messageActionTopicEdit',title:flags&1?r.string():void 0,iconEmojiId:flags&2?r.long():void 0,closed:flags&4?r.boolean():void 0,hidden:flags&8?r.boolean():void 0,}},
|
|
150
150
|
1474192222:function(r){return{_:'messageActionSuggestProfilePhoto',photo:r.object(),}},
|
|
151
|
-
|
|
151
|
+
827428507:function(r){return{_:'messageActionRequestedPeer',buttonId:r.int(),peers:r.vector(r.object),}},
|
|
152
152
|
1348510708:function(r){var flags=r.uint();return{_:'messageActionSetChatWallPaper',same:!!(flags&1),forBoth:!!(flags&2),wallpaper:r.object(),}},
|
|
153
|
-
|
|
154
|
-
3536837390:function(r){var flags=r.uint();return{_:'messageActionGiftCode',viaGiveaway:!!(flags&1),unclaimed:!!(flags&4),boostPeer:flags&2?r.object():void 0,months:r.int(),slug:r.string(),}},
|
|
153
|
+
1737240073:function(r){var flags=r.uint();return{_:'messageActionGiftCode',viaGiveaway:!!(flags&1),unclaimed:!!(flags&4),boostPeer:flags&2?r.object():void 0,months:r.int(),slug:r.string(),currency:flags&4?r.string():void 0,amount:flags&4?r.long():void 0,cryptoCurrency:flags&8?r.string():void 0,cryptoAmount:flags&8?r.long():void 0,}},
|
|
155
154
|
858499565:function(r){return{_:'messageActionGiveawayLaunch'}},
|
|
156
|
-
|
|
155
|
+
715107781:function(r){return{_:'messageActionGiveawayResults',winnersCount:r.int(),unclaimedCount:r.int(),}},
|
|
156
|
+
3582593222:function(r){var flags=r.uint();return{_:'dialog',pinned:!!(flags&4),unreadMark:!!(flags&8),viewForumAsMessages:!!(flags&64),peer:r.object(),topMessage:r.int(),readInboxMaxId:r.int(),readOutboxMaxId:r.int(),unreadCount:r.int(),unreadMentionsCount:r.int(),unreadReactionsCount:r.int(),notifySettings:r.object(),pts:flags&1?r.int():void 0,draft:flags&2?r.object():void 0,folderId:flags&16?r.int():void 0,ttlPeriod:flags&32?r.int():void 0,}},
|
|
157
157
|
1908216652:function(r){var flags=r.uint();return{_:'dialogFolder',pinned:!!(flags&4),folder:r.object(),peer:r.object(),topMessage:r.int(),unreadMutedPeersCount:r.int(),unreadUnmutedPeersCount:r.int(),unreadMutedMessagesCount:r.int(),unreadUnmutedMessagesCount:r.int(),}},
|
|
158
158
|
590459437:function(r){return{_:'photoEmpty',id:r.long(),}},
|
|
159
159
|
4212750949:function(r){var flags=r.uint();return{_:'photo',hasStickers:!!(flags&1),id:r.long(),accessHash:r.long(),fileReference:r.bytes(),date:r.int(),sizes:r.vector(r.object),videoSizes:flags&2?r.vector(r.object):void 0,dcId:r.int(),}},
|
|
@@ -345,6 +345,8 @@ var m={
|
|
|
345
345
|
738741697:function(r){return{_:'updateStoriesStealthMode',stealthMode:r.object(),}},
|
|
346
346
|
2103604867:function(r){return{_:'updateSentStoryReaction',peer:r.object(),storyId:r.int(),reaction:r.object(),}},
|
|
347
347
|
2421019804:function(r){return{_:'updateBotChatBoost',peer:r.object(),boost:r.object(),qts:r.int(),}},
|
|
348
|
+
129403168:function(r){return{_:'updateChannelViewForumAsMessages',channelId:r.int53(),enabled:r.boolean(),}},
|
|
349
|
+
2923368477:function(r){var flags=r.uint();return{_:'updatePeerWallpaper',wallpaperOverridden:!!(flags&2),peer:r.object(),wallpaper:flags&1?r.object():void 0,}},
|
|
348
350
|
2775329342:function(r){return{_:'updates.state',pts:r.int(),qts:r.int(),date:r.int(),seq:r.int(),unreadCount:r.int(),}},
|
|
349
351
|
1567990072:function(r){return{_:'updates.differenceEmpty',date:r.int(),seq:r.int(),}},
|
|
350
352
|
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(),}},
|
|
@@ -495,7 +497,7 @@ var m={
|
|
|
495
497
|
80008398:function(r){return{_:'inputStickerSetEmojiGenericAnimations'}},
|
|
496
498
|
701560302:function(r){return{_:'inputStickerSetEmojiDefaultStatuses'}},
|
|
497
499
|
1153562857:function(r){return{_:'inputStickerSetEmojiDefaultTopicIcons'}},
|
|
498
|
-
768691932:function(r){var flags=r.uint();return{_:'stickerSet',archived:!!(flags&2),official:!!(flags&4),masks:!!(flags&8),animated:!!(flags&32),videos:!!(flags&64),emojis:!!(flags&128),textColor:!!(flags&512),installedDate:flags&1?r.int():void 0,id:r.long(),accessHash:r.long(),title:r.string(),shortName:r.string(),thumbs:flags&16?r.vector(r.object):void 0,thumbDcId:flags&16?r.int():void 0,thumbVersion:flags&16?r.int():void 0,thumbDocumentId:flags&256?r.long():void 0,count:r.int(),hash:r.int(),}},
|
|
500
|
+
768691932:function(r){var flags=r.uint();return{_:'stickerSet',archived:!!(flags&2),official:!!(flags&4),masks:!!(flags&8),animated:!!(flags&32),videos:!!(flags&64),emojis:!!(flags&128),textColor:!!(flags&512),installedDate:flags&1?r.int():void 0,id:r.long(),accessHash:r.long(),title:r.string(),shortName:r.string(),thumbs:flags&16?r.vector(r.object):void 0,thumbDcId:flags&16?r.int():void 0,thumbVersion:flags&16?r.int():void 0,thumbDocumentId:flags&256?r.long():void 0,channelEmojiStatus:!!(flags&1024),count:r.int(),hash:r.int(),}},
|
|
499
501
|
1846886166:function(r){return{_:'messages.stickerSet',set:r.object(),packs:r.vector(r.object),keywords:r.vector(r.object),documents:r.vector(r.object),}},
|
|
500
502
|
3556320491:function(r){return{_:'messages.stickerSetNotModified'}},
|
|
501
503
|
3262826695:function(r){return{_:'botCommand',command:r.string(),description:r.string(),}},
|
|
@@ -515,7 +517,7 @@ var m={
|
|
|
515
517
|
814112961:function(r){return{_:'keyboardButtonUserProfile',text:r.string(),userId:r.int53(),}},
|
|
516
518
|
326529584:function(r){return{_:'keyboardButtonWebView',text:r.string(),url:r.string(),}},
|
|
517
519
|
2696958044:function(r){return{_:'keyboardButtonSimpleWebView',text:r.string(),url:r.string(),}},
|
|
518
|
-
|
|
520
|
+
1406648280:function(r){return{_:'keyboardButtonRequestPeer',text:r.string(),buttonId:r.int(),peerType:r.object(),maxQuantity:r.int(),}},
|
|
519
521
|
2002815875:function(r){return{_:'keyboardButtonRow',buttons:r.vector(r.object),}},
|
|
520
522
|
2688441221:function(r){var flags=r.uint();return{_:'replyKeyboardHide',selective:!!(flags&4),}},
|
|
521
523
|
2259946248:function(r){var flags=r.uint();return{_:'replyKeyboardForceReply',singleUse:!!(flags&2),selective:!!(flags&4),placeholder:flags&8?r.string():void 0,}},
|
|
@@ -905,7 +907,7 @@ var m={
|
|
|
905
907
|
471437699:function(r){return{_:'account.wallPapersNotModified'}},
|
|
906
908
|
3452142988:function(r){return{_:'account.wallPapers',hash:r.long(),wallpapers:r.vector(r.object),}},
|
|
907
909
|
2904898936:function(r){var flags=r.uint();return{_:'codeSettings',allowFlashcall:!!(flags&1),currentNumber:!!(flags&2),allowAppHash:!!(flags&16),allowMissedCall:!!(flags&32),allowFirebase:!!(flags&128),logoutTokens:flags&64?r.vector(r.bytes):void 0,token:flags&256?r.string():void 0,appSandbox:flags&256?r.boolean():void 0,}},
|
|
908
|
-
|
|
910
|
+
925826256:function(r){var flags=r.uint();return{_:'wallPaperSettings',blur:!!(flags&2),motion:!!(flags&4),backgroundColor:flags&1?r.int():void 0,secondBackgroundColor:flags&16?r.int():void 0,thirdBackgroundColor:flags&32?r.int():void 0,fourthBackgroundColor:flags&64?r.int():void 0,intensity:flags&8?r.int():void 0,rotation:flags&16?r.int():void 0,emoticon:flags&128?r.string():void 0,}},
|
|
909
911
|
3131405864:function(r){var flags=r.uint();return{_:'autoDownloadSettings',disabled:!!(flags&1),videoPreloadLarge:!!(flags&2),audioPreloadNext:!!(flags&4),phonecallsLessData:!!(flags&8),storiesPreload:!!(flags&16),photoSizeMax:r.int(),videoSizeMax:r.int53(),fileSizeMax:r.int53(),videoUploadMaxbitrate:r.int(),smallQueueActiveOperationsMax:r.int(),largeQueueActiveOperationsMax:r.int(),}},
|
|
910
912
|
1674235686:function(r){return{_:'account.autoDownloadSettings',low:r.object(),medium:r.object(),high:r.object(),}},
|
|
911
913
|
3585325561:function(r){return{_:'emojiKeyword',keyword:r.string(),emoticons:r.vector(r.string),}},
|
|
@@ -957,7 +959,6 @@ var m={
|
|
|
957
959
|
1244130093:function(r){return{_:'statsGraphAsync',token:r.string(),}},
|
|
958
960
|
3202127906:function(r){return{_:'statsGraphError',error:r.string(),}},
|
|
959
961
|
2393138358:function(r){var flags=r.uint();return{_:'statsGraph',json:r.object(),zoomToken:flags&1?r.string():void 0,}},
|
|
960
|
-
2907687357:function(r){return{_:'messageInteractionCounters',msgId:r.int(),views:r.int(),forwards:r.int(),}},
|
|
961
962
|
963421692:function(r){return{_:'stats.broadcastStats',period:r.object(),followers:r.object(),viewsPerPost:r.object(),sharesPerPost:r.object(),reactionsPerPost:r.object(),viewsPerStory:r.object(),sharesPerStory:r.object(),reactionsPerStory:r.object(),enabledNotifications:r.object(),growthGraph:r.object(),followersGraph:r.object(),muteGraph:r.object(),topHoursGraph:r.object(),interactionsGraph:r.object(),ivInteractionsGraph:r.object(),viewsBySourceGraph:r.object(),newFollowersBySourceGraph:r.object(),languagesGraph:r.object(),reactionsByEmotionGraph:r.object(),storyInteractionsGraph:r.object(),storyReactionsByEmotionGraph:r.object(),recentPostsInteractions:r.vector(r.object),}},
|
|
962
963
|
2566302837:function(r){return{_:'help.promoDataEmpty',expires:r.int(),}},
|
|
963
964
|
2352576831:function(r){var flags=r.uint();return{_:'help.promoData',proxy:!!(flags&1),expires:r.int(),peer:r.object(),chats:r.vector(r.object),users:r.vector(r.object),psaType:flags&2?r.string():void 0,psaMessage:flags&4?r.string():void 0,}},
|
|
@@ -1074,7 +1075,7 @@ var m={
|
|
|
1074
1075
|
2792693350:function(r){var flags=r.uint();return{_:'inputStorePaymentPremiumSubscription',restore:!!(flags&1),upgrade:!!(flags&2),}},
|
|
1075
1076
|
1634697192:function(r){return{_:'inputStorePaymentGiftPremium',userId:r.object(),currency:r.string(),amount:r.long(),}},
|
|
1076
1077
|
2743099199:function(r){var flags=r.uint();return{_:'inputStorePaymentPremiumGiftCode',users:r.vector(r.object),boostPeer:flags&1?r.object():void 0,currency:r.string(),amount:r.long(),}},
|
|
1077
|
-
|
|
1078
|
+
369444042:function(r){var flags=r.uint();return{_:'inputStorePaymentPremiumGiveaway',onlyNewSubscribers:!!(flags&1),winnersAreVisible:!!(flags&8),boostPeer:r.object(),additionalPeers:flags&2?r.vector(r.object):void 0,countriesIso2:flags&4?r.vector(r.string):void 0,prizeDescription:flags&16?r.string():void 0,randomId:r.long(),untilDate:r.int(),currency:r.string(),amount:r.long(),}},
|
|
1078
1079
|
1958953753:function(r){var flags=r.uint();return{_:'premiumGiftOption',months:r.int(),currency:r.string(),amount:r.long(),botUrl:r.string(),storeProduct:flags&1?r.string():void 0,}},
|
|
1079
1080
|
2298016283:function(r){return{_:'paymentFormMethod',url:r.string(),title:r.string(),}},
|
|
1080
1081
|
769727150:function(r){return{_:'emojiStatusEmpty'}},
|
|
@@ -1152,7 +1153,7 @@ var m={
|
|
|
1152
1153
|
1862033025:function(r){var flags=r.uint();return{_:'stories.allStories',hasMore:!!(flags&1),count:r.int(),state:r.string(),peerStories:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),stealthMode:r.object(),}},
|
|
1153
1154
|
1574486984:function(r){return{_:'stories.stories',count:r.int(),stories:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1154
1155
|
2965236421:function(r){var flags=r.uint();return{_:'storyView',blocked:!!(flags&1),blockedMyStoriesFrom:!!(flags&2),userId:r.int53(),date:r.int(),reaction:flags&4?r.object():void 0,}},
|
|
1155
|
-
|
|
1156
|
+
1507299269:function(r){var flags=r.uint();return{_:'stories.storyViewsList',count:r.int(),viewsCount:r.int(),forwardsCount:r.int(),reactionsCount:r.int(),views:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),nextOffset:flags&1?r.string():void 0,}},
|
|
1156
1157
|
3734957341:function(r){return{_:'stories.storyViews',views:r.vector(r.object),users:r.vector(r.object),}},
|
|
1157
1158
|
583071445:function(r){var flags=r.uint();return{_:'inputReplyToMessage',replyToMsgId:r.int(),topMsgId:flags&1?r.int():void 0,replyToPeerId:flags&2?r.object():void 0,quoteText:flags&4?r.string():void 0,quoteEntities:flags&8?r.vector(r.object):void 0,quoteOffset:flags&16?r.int():void 0,}},
|
|
1158
1159
|
363917955:function(r){return{_:'inputReplyToStory',userId:r.object(),storyId:r.int(),}},
|
|
@@ -1167,18 +1168,15 @@ var m={
|
|
|
1167
1168
|
3404105576:function(r){return{_:'stories.peerStories',stories:r.object(),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1168
1169
|
4250800829:function(r){return{_:'messages.webPage',webpage:r.object(),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1169
1170
|
629052971:function(r){var flags=r.uint();return{_:'premiumGiftCodeOption',users:r.int(),months:r.int(),storeProduct:flags&1?r.string():void 0,storeQuantity:flags&2?r.int():void 0,currency:r.string(),amount:r.long(),}},
|
|
1170
|
-
|
|
1171
|
+
675942550:function(r){var flags=r.uint();return{_:'payments.checkedGiftCode',viaGiveaway:!!(flags&4),fromId:flags&16?r.object():void 0,giveawayMsgId:flags&8?r.int():void 0,toId:flags&1?r.long():void 0,date:r.int(),months:r.int(),usedDate:flags&2?r.int():void 0,chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1171
1172
|
1130879648:function(r){var flags=r.uint();return{_:'payments.giveawayInfo',participating:!!(flags&1),preparingResults:!!(flags&8),startDate:r.int(),joinedTooEarlyDate:flags&2?r.int():void 0,adminDisallowedChatId:flags&4?r.long():void 0,disallowedCountry:flags&16?r.string():void 0,}},
|
|
1172
1173
|
13456752:function(r){var flags=r.uint();return{_:'payments.giveawayInfoResults',winner:!!(flags&1),refunded:!!(flags&2),startDate:r.int(),giftCodeSlug:flags&1?r.string():void 0,finishDate:r.int(),winnersCount:r.int(),activatedCount:r.int(),}},
|
|
1173
1174
|
2991824212:function(r){return{_:'prepaidGiveaway',id:r.long(),months:r.int(),quantity:r.int(),date:r.int(),}},
|
|
1174
|
-
706514033:function(r){var flags=r.uint();return{_:'boost',gift:!!(flags&2),giveaway:!!(flags&4),unclaimed:!!(flags&8),id:r.string(),userId:flags&1?r.
|
|
1175
|
+
706514033:function(r){var flags=r.uint();return{_:'boost',gift:!!(flags&2),giveaway:!!(flags&4),unclaimed:!!(flags&8),id:r.string(),userId:flags&1?r.int53():void 0,giveawayMsgId:flags&4?r.int():void 0,date:r.int(),expires:r.int(),usedGiftSlug:flags&16?r.string():void 0,multiplier:flags&32?r.int():void 0,}},
|
|
1175
1176
|
2264424764:function(r){var flags=r.uint();return{_:'premium.boostsList',count:r.int(),boosts:r.vector(r.object),nextOffset:flags&1?r.string():void 0,users:r.vector(r.object),}},
|
|
1176
1177
|
3293069660:function(r){var flags=r.uint();return{_:'myBoost',slot:r.int(),peer:flags&1?r.object():void 0,date:r.int(),expires:r.int(),cooldownUntilDate:flags&2?r.int():void 0,}},
|
|
1177
1178
|
2598512866:function(r){return{_:'premium.myBoosts',myBoosts:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1178
1179
|
1230586490:function(r){var flags=r.uint();return{_:'premium.boostsStatus',myBoost:!!(flags&4),level:r.int(),currentLevelBoosts:r.int(),boosts:r.int(),giftBoosts:flags&16?r.int():void 0,nextLevelBoosts:flags&1?r.int():void 0,premiumAudience:flags&2?r.object():void 0,boostUrl:r.string(),prepaidGiveaways:flags&8?r.vector(r.object):void 0,myBoostSlots:flags&4?r.vector(r.int):void 0,}},
|
|
1179
|
-
715107781:function(r){return{_:'messageActionGiveawayResults',winnersCount:r.int(),unclaimedCount:r.int(),}},
|
|
1180
|
-
129403168:function(r){return{_:'updateChannelViewForumAsMessages',channelId:r.int53(),enabled:r.boolean(),}},
|
|
1181
|
-
2923368477:function(r){var flags=r.uint();return{_:'updatePeerWallpaper',wallpaperOverridden:!!(flags&2),peer:r.object(),wallpaper:flags&1?r.object():void 0,}},
|
|
1182
1180
|
3089555792:function(r){var flags=r.uint();return{_:'storyFwdHeader',modified:!!(flags&8),from:flags&1?r.object():void 0,fromName:flags&2?r.string():void 0,storyId:flags&4?r.int():void 0,}},
|
|
1183
1181
|
3875901055:function(r){return{_:'postInteractionCountersMessage',msgId:r.int(),views:r.int(),forwards:r.int(),reactions:r.int(),}},
|
|
1184
1182
|
2319978023:function(r){return{_:'postInteractionCountersStory',storyId:r.int(),views:r.int(),forwards:r.int(),reactions:r.int(),}},
|
|
@@ -1189,17 +1187,30 @@ var m={
|
|
|
1189
1187
|
3041614543:function(r){var flags=r.uint();return{_:'peerColor',color:flags&1?r.int():void 0,backgroundEmojiId:flags&2?r.long():void 0,}},
|
|
1190
1188
|
639736408:function(r){return{_:'help.peerColorSet',colors:r.vector(r.int),}},
|
|
1191
1189
|
1987928555:function(r){return{_:'help.peerColorProfileSet',paletteColors:r.vector(r.int),bgColors:r.vector(r.int),storyColors:r.vector(r.int),}},
|
|
1192
|
-
|
|
1190
|
+
4018417835:function(r){var flags=r.uint();return{_:'help.peerColorOption',hidden:!!(flags&1),colorId:r.int(),colors:flags&2?r.object():void 0,darkColors:flags&4?r.object():void 0,channelMinLevel:flags&8?r.int():void 0,}},
|
|
1193
1191
|
732034510:function(r){return{_:'help.peerColorsNotModified'}},
|
|
1194
1192
|
16313608:function(r){return{_:'help.peerColors',hash:r.int(),colors:r.vector(r.object),}},
|
|
1193
|
+
3331919976:function(r){var flags=r.uint();return{_:'messageMediaGiveawayResults',onlyNewSubscribers:!!(flags&1),refunded:!!(flags&4),channelId:r.long(),additionalPeersCount:flags&8?r.int():void 0,launchMsgId:r.int(),winnersCount:r.int(),unclaimedCount:r.int(),winners:r.vector(r.long),months:r.int(),prizeDescription:flags&2?r.string():void 0,untilDate:r.int(),}},
|
|
1194
|
+
2887898062:function(r){return{_:'updateBotMessageReaction',peer:r.object(),msgId:r.int(),date:r.int(),actor:r.object(),oldReactions:r.vector(r.object),newReactions:r.vector(r.object),qts:r.int(),}},
|
|
1195
|
+
164329305:function(r){return{_:'updateBotMessageReactions',peer:r.object(),msgId:r.int(),date:r.int(),reactions:r.vector(r.object),qts:r.int(),}},
|
|
1196
|
+
1232373075:function(r){return{_:'inputStickerSetEmojiChannelDefaultStatuses'}},
|
|
1197
|
+
1469507456:function(r){return{_:'channelAdminLogEventActionChangePeerColor',prevValue:r.object(),newValue:r.object(),}},
|
|
1198
|
+
1581742885:function(r){return{_:'channelAdminLogEventActionChangeProfilePeerColor',prevValue:r.object(),newValue:r.object(),}},
|
|
1199
|
+
834362706:function(r){return{_:'channelAdminLogEventActionChangeWallpaper',prevValue:r.object(),newValue:r.object(),}},
|
|
1200
|
+
1051328177:function(r){return{_:'channelAdminLogEventActionChangeEmojiStatus',prevValue:r.object(),newValue:r.object(),}},
|
|
1201
|
+
2424530699:function(r){var flags=r.uint();return{_:'storyViewPublicForward',blocked:!!(flags&1),blockedMyStoriesFrom:!!(flags&2),message:r.object(),}},
|
|
1202
|
+
3178549065:function(r){var flags=r.uint();return{_:'storyViewPublicRepost',blocked:!!(flags&1),blockedMyStoriesFrom:!!(flags&2),peerId:r.object(),story:r.object(),}},
|
|
1203
|
+
1996756655:function(r){return{_:'mediaAreaChannelPost',coordinates:r.object(),channelId:r.int53(),msgId:r.int(),}},
|
|
1204
|
+
577893055:function(r){return{_:'inputMediaAreaChannelPost',coordinates:r.object(),channel:r.object(),msgId:r.int(),}},
|
|
1205
|
+
1620104917:function(r){return{_:'storyReaction',peerId:r.object(),date:r.int(),reaction:r.object(),}},
|
|
1206
|
+
3148555843:function(r){return{_:'storyReactionPublicForward',message:r.object(),}},
|
|
1207
|
+
3486322451:function(r){return{_:'storyReactionPublicRepost',peerId:r.object(),story:r.object(),}},
|
|
1208
|
+
2858383516:function(r){var flags=r.uint();return{_:'stories.storyReactionsList',count:r.int(),reactions:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),nextOffset:flags&1?r.string():void 0,}},
|
|
1209
|
+
3229121901:function(r){return{_:'messageActionSetSameChatWallPaper',wallpaper:r.object(),}},
|
|
1195
1210
|
886196148:function(r){return{_:'messageUserVote',userId:r.int53(),option:r.bytes(),date:r.int(),}},
|
|
1196
1211
|
1017491692:function(r){return{_:'messageUserVoteInputOption',userId:r.int53(),date:r.int(),}},
|
|
1197
1212
|
2321933655:function(r){return{_:'messageUserVoteMultiple',userId:r.int53(),options:r.vector(r.bytes),date:r.int(),}},
|
|
1198
|
-
|
|
1199
|
-
3273078151:function(r){return{_:'stories.canApplyBoostOk'}},
|
|
1200
|
-
1898726997:function(r){return{_:'stories.canApplyBoostReplace',currentBoost:r.object(),chats:r.vector(r.object),}},
|
|
1201
|
-
245261184:function(r){return{_:'booster',userId:r.int53(),expires:r.int(),}},
|
|
1202
|
-
4091362589:function(r){var flags=r.uint();return{_:'stories.boostersList',count:r.int(),boosters:r.vector(r.object),nextOffset:flags&1?r.string():void 0,users:r.vector(r.object),}},
|
|
1213
|
+
2907687357:function(r){return{_:'messageInteractionCounters',msgId:r.int(),views:r.int(),forwards:r.int(),}},
|
|
1203
1214
|
_results:{
|
|
1204
1215
|
'contacts.getContactIDs':function(r){return r.vector(r.int)},
|
|
1205
1216
|
'messages.receivedQueue':function(r){return r.vector(r.long)},
|
package/binary/writer.js
CHANGED
|
@@ -84,10 +84,10 @@ var m={
|
|
|
84
84
|
'chatEmpty':function(w,v){w.uint(693512293);w.int53(h(v,'id'));},
|
|
85
85
|
'chat':function(w,v){w.uint(1103884886);var flags=0;if(v.creator===true)flags|=1;if(v.left===true)flags|=4;if(v.deactivated===true)flags|=32;var _migratedTo=v.migratedTo!==undefined;if(_migratedTo)flags|=64;var _adminRights=v.adminRights!==undefined;if(_adminRights)flags|=16384;var _defaultBannedRights=v.defaultBannedRights!==undefined;if(_defaultBannedRights)flags|=262144;if(v.callActive===true)flags|=8388608;if(v.callNotEmpty===true)flags|=16777216;if(v.noforwards===true)flags|=33554432;w.uint(flags);w.int53(h(v,'id'));w.string(h(v,'title'));w.object(h(v,'photo'));w.int(h(v,'participantsCount'));w.int(h(v,'date'));w.int(h(v,'version'));if(_migratedTo)w.object(v.migratedTo);if(_adminRights)w.object(v.adminRights);if(_defaultBannedRights)w.object(v.defaultBannedRights);},
|
|
86
86
|
'chatForbidden':function(w,v){w.uint(1704108455);w.int53(h(v,'id'));w.string(h(v,'title'));},
|
|
87
|
-
'channel':function(w,v){w.uint(
|
|
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(3386052920);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;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);},
|
|
90
|
-
'channelFull':function(w,v){w.uint(
|
|
90
|
+
'channelFull':function(w,v){w.uint(254528367);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;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(_stories)w.object(v.stories);if(_wallpaper)w.object(v.wallpaper);},
|
|
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'));},
|
|
@@ -112,7 +112,7 @@ var m={
|
|
|
112
112
|
'messageMediaPoll':function(w,v){w.uint(1272375192);w.object(h(v,'poll'));w.object(h(v,'results'));},
|
|
113
113
|
'messageMediaDice':function(w,v){w.uint(1065280907);w.int(h(v,'value'));w.string(h(v,'emoticon'));},
|
|
114
114
|
'messageMediaStory':function(w,v){w.uint(1758159491);var flags=0;var _story=v.story!==undefined;if(_story)flags|=1;if(v.viaMention===true)flags|=2;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'id'));if(_story)w.object(v.story);},
|
|
115
|
-
'messageMediaGiveaway':function(w,v){w.uint(
|
|
115
|
+
'messageMediaGiveaway':function(w,v){w.uint(3668805040);var flags=0;if(v.onlyNewSubscribers===true)flags|=1;var _countriesIso2=v.countriesIso2&&v.countriesIso2.length;if(_countriesIso2)flags|=2;if(v.winnersAreVisible===true)flags|=4;var _prizeDescription=v.prizeDescription!==undefined;if(_prizeDescription)flags|=8;w.uint(flags);w.vector(w.int53,h(v,'channels'));if(_countriesIso2)w.vector(w.string,v.countriesIso2);if(_prizeDescription)w.string(v.prizeDescription);w.int(h(v,'quantity'));w.int(h(v,'months'));w.int(h(v,'untilDate'));},
|
|
116
116
|
'messageActionEmpty':function(w){w.uint(3064919984);},
|
|
117
117
|
'messageActionChatCreate':function(w,v){w.uint(3175599021);w.string(h(v,'title'));w.vector(w.int53,h(v,'users'));},
|
|
118
118
|
'messageActionChatEditTitle':function(w,v){w.uint(3047280218);w.string(h(v,'title'));},
|
|
@@ -149,11 +149,11 @@ var m={
|
|
|
149
149
|
'messageActionTopicCreate':function(w,v){w.uint(228168278);var flags=0;var _iconEmojiId=v.iconEmojiId!==undefined;if(_iconEmojiId)flags|=1;w.uint(flags);w.string(h(v,'title'));w.int(h(v,'iconColor'));if(_iconEmojiId)w.long(v.iconEmojiId);},
|
|
150
150
|
'messageActionTopicEdit':function(w,v){w.uint(3230943264);var flags=0;var _title=v.title!==undefined;if(_title)flags|=1;var _iconEmojiId=v.iconEmojiId!==undefined;if(_iconEmojiId)flags|=2;var _closed=v.closed!==undefined;if(_closed)flags|=4;var _hidden=v.hidden!==undefined;if(_hidden)flags|=8;w.uint(flags);if(_title)w.string(v.title);if(_iconEmojiId)w.long(v.iconEmojiId);if(_closed)w.boolean(v.closed);if(_hidden)w.boolean(v.hidden);},
|
|
151
151
|
'messageActionSuggestProfilePhoto':function(w,v){w.uint(1474192222);w.object(h(v,'photo'));},
|
|
152
|
-
'messageActionRequestedPeer':function(w,v){w.uint(
|
|
152
|
+
'messageActionRequestedPeer':function(w,v){w.uint(827428507);w.int(h(v,'buttonId'));w.vector(w.object,h(v,'peers'));},
|
|
153
153
|
'messageActionSetChatWallPaper':function(w,v){w.uint(1348510708);var flags=0;if(v.same===true)flags|=1;if(v.forBoth===true)flags|=2;w.uint(flags);w.object(h(v,'wallpaper'));},
|
|
154
|
-
'
|
|
155
|
-
'messageActionGiftCode':function(w,v){w.uint(3536837390);var flags=0;if(v.viaGiveaway===true)flags|=1;var _boostPeer=v.boostPeer!==undefined;if(_boostPeer)flags|=2;if(v.unclaimed===true)flags|=4;w.uint(flags);if(_boostPeer)w.object(v.boostPeer);w.int(h(v,'months'));w.string(h(v,'slug'));},
|
|
154
|
+
'messageActionGiftCode':function(w,v){w.uint(1737240073);var flags=0;if(v.viaGiveaway===true)flags|=1;var _boostPeer=v.boostPeer!==undefined;if(_boostPeer)flags|=2;var _currency=v.currency!==undefined;var _amount=v.amount!==undefined;var _flags_2=v.unclaimed===true||_currency||_amount;if(_flags_2)flags|=4;var _cryptoCurrency=v.cryptoCurrency!==undefined;var _cryptoAmount=v.cryptoAmount!==undefined;var _flags_3=_cryptoCurrency||_cryptoAmount;if(_flags_3)flags|=8;w.uint(flags);if(_boostPeer)w.object(v.boostPeer);w.int(h(v,'months'));w.string(h(v,'slug'));if(_flags_2)w.string(v.currency);if(_flags_2)w.long(v.amount);if(_flags_3)w.string(v.cryptoCurrency);if(_flags_3)w.long(v.cryptoAmount);},
|
|
156
155
|
'messageActionGiveawayLaunch':function(w){w.uint(858499565);},
|
|
156
|
+
'messageActionGiveawayResults':function(w,v){w.uint(715107781);w.int(h(v,'winnersCount'));w.int(h(v,'unclaimedCount'));},
|
|
157
157
|
'dialog':function(w,v){w.uint(3582593222);var flags=0;var _pts=v.pts!==undefined;if(_pts)flags|=1;var _draft=v.draft!==undefined;if(_draft)flags|=2;if(v.pinned===true)flags|=4;if(v.unreadMark===true)flags|=8;var _folderId=v.folderId!==undefined;if(_folderId)flags|=16;var _ttlPeriod=v.ttlPeriod!==undefined;if(_ttlPeriod)flags|=32;if(v.viewForumAsMessages===true)flags|=64;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'topMessage'));w.int(h(v,'readInboxMaxId'));w.int(h(v,'readOutboxMaxId'));w.int(h(v,'unreadCount'));w.int(h(v,'unreadMentionsCount'));w.int(h(v,'unreadReactionsCount'));w.object(h(v,'notifySettings'));if(_pts)w.int(v.pts);if(_draft)w.object(v.draft);if(_folderId)w.int(v.folderId);if(_ttlPeriod)w.int(v.ttlPeriod);},
|
|
158
158
|
'dialogFolder':function(w,v){w.uint(1908216652);var flags=0;if(v.pinned===true)flags|=4;w.uint(flags);w.object(h(v,'folder'));w.object(h(v,'peer'));w.int(h(v,'topMessage'));w.int(h(v,'unreadMutedPeersCount'));w.int(h(v,'unreadUnmutedPeersCount'));w.int(h(v,'unreadMutedMessagesCount'));w.int(h(v,'unreadUnmutedMessagesCount'));},
|
|
159
159
|
'photoEmpty':function(w,v){w.uint(590459437);w.long(h(v,'id'));},
|
|
@@ -346,6 +346,8 @@ var m={
|
|
|
346
346
|
'updateStoriesStealthMode':function(w,v){w.uint(738741697);w.object(h(v,'stealthMode'));},
|
|
347
347
|
'updateSentStoryReaction':function(w,v){w.uint(2103604867);w.object(h(v,'peer'));w.int(h(v,'storyId'));w.object(h(v,'reaction'));},
|
|
348
348
|
'updateBotChatBoost':function(w,v){w.uint(2421019804);w.object(h(v,'peer'));w.object(h(v,'boost'));w.int(h(v,'qts'));},
|
|
349
|
+
'updateChannelViewForumAsMessages':function(w,v){w.uint(129403168);w.int53(h(v,'channelId'));w.boolean(h(v,'enabled'));},
|
|
350
|
+
'updatePeerWallpaper':function(w,v){w.uint(2923368477);var flags=0;var _wallpaper=v.wallpaper!==undefined;if(_wallpaper)flags|=1;if(v.wallpaperOverridden===true)flags|=2;w.uint(flags);w.object(h(v,'peer'));if(_wallpaper)w.object(v.wallpaper);},
|
|
349
351
|
'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'));},
|
|
350
352
|
'updates.differenceEmpty':function(w,v){w.uint(1567990072);w.int(h(v,'date'));w.int(h(v,'seq'));},
|
|
351
353
|
'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'));},
|
|
@@ -496,7 +498,7 @@ var m={
|
|
|
496
498
|
'inputStickerSetEmojiGenericAnimations':function(w){w.uint(80008398);},
|
|
497
499
|
'inputStickerSetEmojiDefaultStatuses':function(w){w.uint(701560302);},
|
|
498
500
|
'inputStickerSetEmojiDefaultTopicIcons':function(w){w.uint(1153562857);},
|
|
499
|
-
'stickerSet':function(w,v){w.uint(768691932);var flags=0;var _installedDate=v.installedDate!==undefined;if(_installedDate)flags|=1;if(v.archived===true)flags|=2;if(v.official===true)flags|=4;if(v.masks===true)flags|=8;var _thumbs=v.thumbs&&v.thumbs.length;var _thumbDcId=v.thumbDcId!==undefined;var _thumbVersion=v.thumbVersion!==undefined;var _flags_4=_thumbs||_thumbDcId||_thumbVersion;if(_flags_4)flags|=16;if(v.animated===true)flags|=32;if(v.videos===true)flags|=64;if(v.emojis===true)flags|=128;var _thumbDocumentId=v.thumbDocumentId!==undefined;if(_thumbDocumentId)flags|=256;if(v.textColor===true)flags|=512;w.uint(flags);if(_installedDate)w.int(v.installedDate);w.long(h(v,'id'));w.long(h(v,'accessHash'));w.string(h(v,'title'));w.string(h(v,'shortName'));if(_flags_4)w.vector(w.object,v.thumbs);if(_flags_4)w.int(v.thumbDcId);if(_flags_4)w.int(v.thumbVersion);if(_thumbDocumentId)w.long(v.thumbDocumentId);w.int(h(v,'count'));w.int(h(v,'hash'));},
|
|
501
|
+
'stickerSet':function(w,v){w.uint(768691932);var flags=0;var _installedDate=v.installedDate!==undefined;if(_installedDate)flags|=1;if(v.archived===true)flags|=2;if(v.official===true)flags|=4;if(v.masks===true)flags|=8;var _thumbs=v.thumbs&&v.thumbs.length;var _thumbDcId=v.thumbDcId!==undefined;var _thumbVersion=v.thumbVersion!==undefined;var _flags_4=_thumbs||_thumbDcId||_thumbVersion;if(_flags_4)flags|=16;if(v.animated===true)flags|=32;if(v.videos===true)flags|=64;if(v.emojis===true)flags|=128;var _thumbDocumentId=v.thumbDocumentId!==undefined;if(_thumbDocumentId)flags|=256;if(v.textColor===true)flags|=512;if(v.channelEmojiStatus===true)flags|=1024;w.uint(flags);if(_installedDate)w.int(v.installedDate);w.long(h(v,'id'));w.long(h(v,'accessHash'));w.string(h(v,'title'));w.string(h(v,'shortName'));if(_flags_4)w.vector(w.object,v.thumbs);if(_flags_4)w.int(v.thumbDcId);if(_flags_4)w.int(v.thumbVersion);if(_thumbDocumentId)w.long(v.thumbDocumentId);w.int(h(v,'count'));w.int(h(v,'hash'));},
|
|
500
502
|
'messages.stickerSet':function(w,v){w.uint(1846886166);w.object(h(v,'set'));w.vector(w.object,h(v,'packs'));w.vector(w.object,h(v,'keywords'));w.vector(w.object,h(v,'documents'));},
|
|
501
503
|
'messages.stickerSetNotModified':function(w){w.uint(3556320491);},
|
|
502
504
|
'botCommand':function(w,v){w.uint(3262826695);w.string(h(v,'command'));w.string(h(v,'description'));},
|
|
@@ -516,7 +518,7 @@ var m={
|
|
|
516
518
|
'keyboardButtonUserProfile':function(w,v){w.uint(814112961);w.string(h(v,'text'));w.int53(h(v,'userId'));},
|
|
517
519
|
'keyboardButtonWebView':function(w,v){w.uint(326529584);w.string(h(v,'text'));w.string(h(v,'url'));},
|
|
518
520
|
'keyboardButtonSimpleWebView':function(w,v){w.uint(2696958044);w.string(h(v,'text'));w.string(h(v,'url'));},
|
|
519
|
-
'keyboardButtonRequestPeer':function(w,v){w.uint(
|
|
521
|
+
'keyboardButtonRequestPeer':function(w,v){w.uint(1406648280);w.string(h(v,'text'));w.int(h(v,'buttonId'));w.object(h(v,'peerType'));w.int(h(v,'maxQuantity'));},
|
|
520
522
|
'keyboardButtonRow':function(w,v){w.uint(2002815875);w.vector(w.object,h(v,'buttons'));},
|
|
521
523
|
'replyKeyboardHide':function(w,v){w.uint(2688441221);var flags=0;if(v.selective===true)flags|=4;w.uint(flags);},
|
|
522
524
|
'replyKeyboardForceReply':function(w,v){w.uint(2259946248);var flags=0;if(v.singleUse===true)flags|=2;if(v.selective===true)flags|=4;var _placeholder=v.placeholder!==undefined;if(_placeholder)flags|=8;w.uint(flags);if(_placeholder)w.string(v.placeholder);},
|
|
@@ -906,7 +908,7 @@ var m={
|
|
|
906
908
|
'account.wallPapersNotModified':function(w){w.uint(471437699);},
|
|
907
909
|
'account.wallPapers':function(w,v){w.uint(3452142988);w.long(h(v,'hash'));w.vector(w.object,h(v,'wallpapers'));},
|
|
908
910
|
'codeSettings':function(w,v){w.uint(2904898936);var flags=0;if(v.allowFlashcall===true)flags|=1;if(v.currentNumber===true)flags|=2;if(v.allowAppHash===true)flags|=16;if(v.allowMissedCall===true)flags|=32;var _logoutTokens=v.logoutTokens&&v.logoutTokens.length;if(_logoutTokens)flags|=64;if(v.allowFirebase===true)flags|=128;var _token=v.token!==undefined;var _appSandbox=v.appSandbox!==undefined;var _flags_8=_token||_appSandbox;if(_flags_8)flags|=256;w.uint(flags);if(_logoutTokens)w.vector(w.bytes,v.logoutTokens);if(_flags_8)w.string(v.token);if(_flags_8)w.boolean(v.appSandbox);},
|
|
909
|
-
'wallPaperSettings':function(w,v){w.uint(
|
|
911
|
+
'wallPaperSettings':function(w,v){w.uint(925826256);var flags=0;var _backgroundColor=v.backgroundColor!==undefined;if(_backgroundColor)flags|=1;if(v.blur===true)flags|=2;if(v.motion===true)flags|=4;var _intensity=v.intensity!==undefined;if(_intensity)flags|=8;var _secondBackgroundColor=v.secondBackgroundColor!==undefined;var _rotation=v.rotation!==undefined;var _flags_4=_secondBackgroundColor||_rotation;if(_flags_4)flags|=16;var _thirdBackgroundColor=v.thirdBackgroundColor!==undefined;if(_thirdBackgroundColor)flags|=32;var _fourthBackgroundColor=v.fourthBackgroundColor!==undefined;if(_fourthBackgroundColor)flags|=64;var _emoticon=v.emoticon!==undefined;if(_emoticon)flags|=128;w.uint(flags);if(_backgroundColor)w.int(v.backgroundColor);if(_flags_4)w.int(v.secondBackgroundColor);if(_thirdBackgroundColor)w.int(v.thirdBackgroundColor);if(_fourthBackgroundColor)w.int(v.fourthBackgroundColor);if(_intensity)w.int(v.intensity);if(_flags_4)w.int(v.rotation);if(_emoticon)w.string(v.emoticon);},
|
|
910
912
|
'autoDownloadSettings':function(w,v){w.uint(3131405864);var flags=0;if(v.disabled===true)flags|=1;if(v.videoPreloadLarge===true)flags|=2;if(v.audioPreloadNext===true)flags|=4;if(v.phonecallsLessData===true)flags|=8;if(v.storiesPreload===true)flags|=16;w.uint(flags);w.int(h(v,'photoSizeMax'));w.int53(h(v,'videoSizeMax'));w.int53(h(v,'fileSizeMax'));w.int(h(v,'videoUploadMaxbitrate'));w.int(h(v,'smallQueueActiveOperationsMax'));w.int(h(v,'largeQueueActiveOperationsMax'));},
|
|
911
913
|
'account.autoDownloadSettings':function(w,v){w.uint(1674235686);w.object(h(v,'low'));w.object(h(v,'medium'));w.object(h(v,'high'));},
|
|
912
914
|
'emojiKeyword':function(w,v){w.uint(3585325561);w.string(h(v,'keyword'));w.vector(w.string,h(v,'emoticons'));},
|
|
@@ -958,7 +960,6 @@ var m={
|
|
|
958
960
|
'statsGraphAsync':function(w,v){w.uint(1244130093);w.string(h(v,'token'));},
|
|
959
961
|
'statsGraphError':function(w,v){w.uint(3202127906);w.string(h(v,'error'));},
|
|
960
962
|
'statsGraph':function(w,v){w.uint(2393138358);var flags=0;var _zoomToken=v.zoomToken!==undefined;if(_zoomToken)flags|=1;w.uint(flags);w.object(h(v,'json'));if(_zoomToken)w.string(v.zoomToken);},
|
|
961
|
-
'messageInteractionCounters':function(w,v){w.uint(2907687357);w.int(h(v,'msgId'));w.int(h(v,'views'));w.int(h(v,'forwards'));},
|
|
962
963
|
'stats.broadcastStats':function(w,v){w.uint(963421692);w.object(h(v,'period'));w.object(h(v,'followers'));w.object(h(v,'viewsPerPost'));w.object(h(v,'sharesPerPost'));w.object(h(v,'reactionsPerPost'));w.object(h(v,'viewsPerStory'));w.object(h(v,'sharesPerStory'));w.object(h(v,'reactionsPerStory'));w.object(h(v,'enabledNotifications'));w.object(h(v,'growthGraph'));w.object(h(v,'followersGraph'));w.object(h(v,'muteGraph'));w.object(h(v,'topHoursGraph'));w.object(h(v,'interactionsGraph'));w.object(h(v,'ivInteractionsGraph'));w.object(h(v,'viewsBySourceGraph'));w.object(h(v,'newFollowersBySourceGraph'));w.object(h(v,'languagesGraph'));w.object(h(v,'reactionsByEmotionGraph'));w.object(h(v,'storyInteractionsGraph'));w.object(h(v,'storyReactionsByEmotionGraph'));w.vector(w.object,h(v,'recentPostsInteractions'));},
|
|
963
964
|
'help.promoDataEmpty':function(w,v){w.uint(2566302837);w.int(h(v,'expires'));},
|
|
964
965
|
'help.promoData':function(w,v){w.uint(2352576831);var flags=0;if(v.proxy===true)flags|=1;var _psaType=v.psaType!==undefined;if(_psaType)flags|=2;var _psaMessage=v.psaMessage!==undefined;if(_psaMessage)flags|=4;w.uint(flags);w.int(h(v,'expires'));w.object(h(v,'peer'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));if(_psaType)w.string(v.psaType);if(_psaMessage)w.string(v.psaMessage);},
|
|
@@ -1075,7 +1076,7 @@ var m={
|
|
|
1075
1076
|
'inputStorePaymentPremiumSubscription':function(w,v){w.uint(2792693350);var flags=0;if(v.restore===true)flags|=1;if(v.upgrade===true)flags|=2;w.uint(flags);},
|
|
1076
1077
|
'inputStorePaymentGiftPremium':function(w,v){w.uint(1634697192);w.object(h(v,'userId'));w.string(h(v,'currency'));w.long(h(v,'amount'));},
|
|
1077
1078
|
'inputStorePaymentPremiumGiftCode':function(w,v){w.uint(2743099199);var flags=0;var _boostPeer=v.boostPeer!==undefined;if(_boostPeer)flags|=1;w.uint(flags);w.vector(w.object,h(v,'users'));if(_boostPeer)w.object(v.boostPeer);w.string(h(v,'currency'));w.long(h(v,'amount'));},
|
|
1078
|
-
'inputStorePaymentPremiumGiveaway':function(w,v){w.uint(
|
|
1079
|
+
'inputStorePaymentPremiumGiveaway':function(w,v){w.uint(369444042);var flags=0;if(v.onlyNewSubscribers===true)flags|=1;var _additionalPeers=v.additionalPeers&&v.additionalPeers.length;if(_additionalPeers)flags|=2;var _countriesIso2=v.countriesIso2&&v.countriesIso2.length;if(_countriesIso2)flags|=4;if(v.winnersAreVisible===true)flags|=8;var _prizeDescription=v.prizeDescription!==undefined;if(_prizeDescription)flags|=16;w.uint(flags);w.object(h(v,'boostPeer'));if(_additionalPeers)w.vector(w.object,v.additionalPeers);if(_countriesIso2)w.vector(w.string,v.countriesIso2);if(_prizeDescription)w.string(v.prizeDescription);w.long(h(v,'randomId'));w.int(h(v,'untilDate'));w.string(h(v,'currency'));w.long(h(v,'amount'));},
|
|
1079
1080
|
'premiumGiftOption':function(w,v){w.uint(1958953753);var flags=0;var _storeProduct=v.storeProduct!==undefined;if(_storeProduct)flags|=1;w.uint(flags);w.int(h(v,'months'));w.string(h(v,'currency'));w.long(h(v,'amount'));w.string(h(v,'botUrl'));if(_storeProduct)w.string(v.storeProduct);},
|
|
1080
1081
|
'paymentFormMethod':function(w,v){w.uint(2298016283);w.string(h(v,'url'));w.string(h(v,'title'));},
|
|
1081
1082
|
'emojiStatusEmpty':function(w){w.uint(769727150);},
|
|
@@ -1153,7 +1154,7 @@ var m={
|
|
|
1153
1154
|
'stories.allStories':function(w,v){w.uint(1862033025);var flags=0;if(v.hasMore===true)flags|=1;w.uint(flags);w.int(h(v,'count'));w.string(h(v,'state'));w.vector(w.object,h(v,'peerStories'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));w.object(h(v,'stealthMode'));},
|
|
1154
1155
|
'stories.stories':function(w,v){w.uint(1574486984);w.int(h(v,'count'));w.vector(w.object,h(v,'stories'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
1155
1156
|
'storyView':function(w,v){w.uint(2965236421);var flags=0;if(v.blocked===true)flags|=1;if(v.blockedMyStoriesFrom===true)flags|=2;var _reaction=v.reaction!==undefined;if(_reaction)flags|=4;w.uint(flags);w.int53(h(v,'userId'));w.int(h(v,'date'));if(_reaction)w.object(v.reaction);},
|
|
1156
|
-
'stories.storyViewsList':function(w,v){w.uint(
|
|
1157
|
+
'stories.storyViewsList':function(w,v){w.uint(1507299269);var flags=0;var _nextOffset=v.nextOffset!==undefined;if(_nextOffset)flags|=1;w.uint(flags);w.int(h(v,'count'));w.int(h(v,'viewsCount'));w.int(h(v,'forwardsCount'));w.int(h(v,'reactionsCount'));w.vector(w.object,h(v,'views'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));if(_nextOffset)w.string(v.nextOffset);},
|
|
1157
1158
|
'stories.storyViews':function(w,v){w.uint(3734957341);w.vector(w.object,h(v,'views'));w.vector(w.object,h(v,'users'));},
|
|
1158
1159
|
'inputReplyToMessage':function(w,v){w.uint(583071445);var flags=0;var _topMsgId=v.topMsgId!==undefined;if(_topMsgId)flags|=1;var _replyToPeerId=v.replyToPeerId!==undefined;if(_replyToPeerId)flags|=2;var _quoteText=v.quoteText!==undefined;if(_quoteText)flags|=4;var _quoteEntities=v.quoteEntities&&v.quoteEntities.length;if(_quoteEntities)flags|=8;var _quoteOffset=v.quoteOffset!==undefined;if(_quoteOffset)flags|=16;w.uint(flags);w.int(h(v,'replyToMsgId'));if(_topMsgId)w.int(v.topMsgId);if(_replyToPeerId)w.object(v.replyToPeerId);if(_quoteText)w.string(v.quoteText);if(_quoteEntities)w.vector(w.object,v.quoteEntities);if(_quoteOffset)w.int(v.quoteOffset);},
|
|
1159
1160
|
'inputReplyToStory':function(w,v){w.uint(363917955);w.object(h(v,'userId'));w.int(h(v,'storyId'));},
|
|
@@ -1168,18 +1169,15 @@ var m={
|
|
|
1168
1169
|
'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'));},
|
|
1169
1170
|
'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'));},
|
|
1170
1171
|
'premiumGiftCodeOption':function(w,v){w.uint(629052971);var flags=0;var _storeProduct=v.storeProduct!==undefined;if(_storeProduct)flags|=1;var _storeQuantity=v.storeQuantity!==undefined;if(_storeQuantity)flags|=2;w.uint(flags);w.int(h(v,'users'));w.int(h(v,'months'));if(_storeProduct)w.string(v.storeProduct);if(_storeQuantity)w.int(v.storeQuantity);w.string(h(v,'currency'));w.long(h(v,'amount'));},
|
|
1171
|
-
'payments.checkedGiftCode':function(w,v){w.uint(
|
|
1172
|
+
'payments.checkedGiftCode':function(w,v){w.uint(675942550);var flags=0;var _toId=v.toId!==undefined;if(_toId)flags|=1;var _usedDate=v.usedDate!==undefined;if(_usedDate)flags|=2;if(v.viaGiveaway===true)flags|=4;var _giveawayMsgId=v.giveawayMsgId!==undefined;if(_giveawayMsgId)flags|=8;var _fromId=v.fromId!==undefined;if(_fromId)flags|=16;w.uint(flags);if(_fromId)w.object(v.fromId);if(_giveawayMsgId)w.int(v.giveawayMsgId);if(_toId)w.long(v.toId);w.int(h(v,'date'));w.int(h(v,'months'));if(_usedDate)w.int(v.usedDate);w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
1172
1173
|
'payments.giveawayInfo':function(w,v){w.uint(1130879648);var flags=0;if(v.participating===true)flags|=1;var _joinedTooEarlyDate=v.joinedTooEarlyDate!==undefined;if(_joinedTooEarlyDate)flags|=2;var _adminDisallowedChatId=v.adminDisallowedChatId!==undefined;if(_adminDisallowedChatId)flags|=4;if(v.preparingResults===true)flags|=8;var _disallowedCountry=v.disallowedCountry!==undefined;if(_disallowedCountry)flags|=16;w.uint(flags);w.int(h(v,'startDate'));if(_joinedTooEarlyDate)w.int(v.joinedTooEarlyDate);if(_adminDisallowedChatId)w.long(v.adminDisallowedChatId);if(_disallowedCountry)w.string(v.disallowedCountry);},
|
|
1173
1174
|
'payments.giveawayInfoResults':function(w,v){w.uint(13456752);var flags=0;var _giftCodeSlug=v.giftCodeSlug!==undefined;var _flags_0=v.winner===true||_giftCodeSlug;if(_flags_0)flags|=1;if(v.refunded===true)flags|=2;w.uint(flags);w.int(h(v,'startDate'));if(_flags_0)w.string(v.giftCodeSlug);w.int(h(v,'finishDate'));w.int(h(v,'winnersCount'));w.int(h(v,'activatedCount'));},
|
|
1174
1175
|
'prepaidGiveaway':function(w,v){w.uint(2991824212);w.long(h(v,'id'));w.int(h(v,'months'));w.int(h(v,'quantity'));w.int(h(v,'date'));},
|
|
1175
|
-
'boost':function(w,v){w.uint(706514033);var flags=0;var _userId=v.userId!==undefined;if(_userId)flags|=1;if(v.gift===true)flags|=2;var _giveawayMsgId=v.giveawayMsgId!==undefined;var _flags_2=v.giveaway===true||_giveawayMsgId;if(_flags_2)flags|=4;if(v.unclaimed===true)flags|=8;var _usedGiftSlug=v.usedGiftSlug!==undefined;if(_usedGiftSlug)flags|=16;var _multiplier=v.multiplier!==undefined;if(_multiplier)flags|=32;w.uint(flags);w.string(h(v,'id'));if(_userId)w.
|
|
1176
|
+
'boost':function(w,v){w.uint(706514033);var flags=0;var _userId=v.userId!==undefined;if(_userId)flags|=1;if(v.gift===true)flags|=2;var _giveawayMsgId=v.giveawayMsgId!==undefined;var _flags_2=v.giveaway===true||_giveawayMsgId;if(_flags_2)flags|=4;if(v.unclaimed===true)flags|=8;var _usedGiftSlug=v.usedGiftSlug!==undefined;if(_usedGiftSlug)flags|=16;var _multiplier=v.multiplier!==undefined;if(_multiplier)flags|=32;w.uint(flags);w.string(h(v,'id'));if(_userId)w.int53(v.userId);if(_flags_2)w.int(v.giveawayMsgId);w.int(h(v,'date'));w.int(h(v,'expires'));if(_usedGiftSlug)w.string(v.usedGiftSlug);if(_multiplier)w.int(v.multiplier);},
|
|
1176
1177
|
'premium.boostsList':function(w,v){w.uint(2264424764);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,'boosts'));if(_nextOffset)w.string(v.nextOffset);w.vector(w.object,h(v,'users'));},
|
|
1177
1178
|
'myBoost':function(w,v){w.uint(3293069660);var flags=0;var _peer=v.peer!==undefined;if(_peer)flags|=1;var _cooldownUntilDate=v.cooldownUntilDate!==undefined;if(_cooldownUntilDate)flags|=2;w.uint(flags);w.int(h(v,'slot'));if(_peer)w.object(v.peer);w.int(h(v,'date'));w.int(h(v,'expires'));if(_cooldownUntilDate)w.int(v.cooldownUntilDate);},
|
|
1178
1179
|
'premium.myBoosts':function(w,v){w.uint(2598512866);w.vector(w.object,h(v,'myBoosts'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
1179
1180
|
'premium.boostsStatus':function(w,v){w.uint(1230586490);var flags=0;var _nextLevelBoosts=v.nextLevelBoosts!==undefined;if(_nextLevelBoosts)flags|=1;var _premiumAudience=v.premiumAudience!==undefined;if(_premiumAudience)flags|=2;var _myBoostSlots=v.myBoostSlots&&v.myBoostSlots.length;var _flags_2=v.myBoost===true||_myBoostSlots;if(_flags_2)flags|=4;var _prepaidGiveaways=v.prepaidGiveaways&&v.prepaidGiveaways.length;if(_prepaidGiveaways)flags|=8;var _giftBoosts=v.giftBoosts!==undefined;if(_giftBoosts)flags|=16;w.uint(flags);w.int(h(v,'level'));w.int(h(v,'currentLevelBoosts'));w.int(h(v,'boosts'));if(_giftBoosts)w.int(v.giftBoosts);if(_nextLevelBoosts)w.int(v.nextLevelBoosts);if(_premiumAudience)w.object(v.premiumAudience);w.string(h(v,'boostUrl'));if(_prepaidGiveaways)w.vector(w.object,v.prepaidGiveaways);if(_flags_2)w.vector(w.int,v.myBoostSlots);},
|
|
1180
|
-
'messageActionGiveawayResults':function(w,v){w.uint(715107781);w.int(h(v,'winnersCount'));w.int(h(v,'unclaimedCount'));},
|
|
1181
|
-
'updateChannelViewForumAsMessages':function(w,v){w.uint(129403168);w.int53(h(v,'channelId'));w.boolean(h(v,'enabled'));},
|
|
1182
|
-
'updatePeerWallpaper':function(w,v){w.uint(2923368477);var flags=0;var _wallpaper=v.wallpaper!==undefined;if(_wallpaper)flags|=1;if(v.wallpaperOverridden===true)flags|=2;w.uint(flags);w.object(h(v,'peer'));if(_wallpaper)w.object(v.wallpaper);},
|
|
1183
1181
|
'storyFwdHeader':function(w,v){w.uint(3089555792);var flags=0;var _from=v.from!==undefined;if(_from)flags|=1;var _fromName=v.fromName!==undefined;if(_fromName)flags|=2;var _storyId=v.storyId!==undefined;if(_storyId)flags|=4;if(v.modified===true)flags|=8;w.uint(flags);if(_from)w.object(v.from);if(_fromName)w.string(v.fromName);if(_storyId)w.int(v.storyId);},
|
|
1184
1182
|
'postInteractionCountersMessage':function(w,v){w.uint(3875901055);w.int(h(v,'msgId'));w.int(h(v,'views'));w.int(h(v,'forwards'));w.int(h(v,'reactions'));},
|
|
1185
1183
|
'postInteractionCountersStory':function(w,v){w.uint(2319978023);w.int(h(v,'storyId'));w.int(h(v,'views'));w.int(h(v,'forwards'));w.int(h(v,'reactions'));},
|
|
@@ -1190,17 +1188,30 @@ var m={
|
|
|
1190
1188
|
'peerColor':function(w,v){w.uint(3041614543);var flags=0;var _color=v.color!==undefined;if(_color)flags|=1;var _backgroundEmojiId=v.backgroundEmojiId!==undefined;if(_backgroundEmojiId)flags|=2;w.uint(flags);if(_color)w.int(v.color);if(_backgroundEmojiId)w.long(v.backgroundEmojiId);},
|
|
1191
1189
|
'help.peerColorSet':function(w,v){w.uint(639736408);w.vector(w.int,h(v,'colors'));},
|
|
1192
1190
|
'help.peerColorProfileSet':function(w,v){w.uint(1987928555);w.vector(w.int,h(v,'paletteColors'));w.vector(w.int,h(v,'bgColors'));w.vector(w.int,h(v,'storyColors'));},
|
|
1193
|
-
'help.peerColorOption':function(w,v){w.uint(
|
|
1191
|
+
'help.peerColorOption':function(w,v){w.uint(4018417835);var flags=0;if(v.hidden===true)flags|=1;var _colors=v.colors!==undefined;if(_colors)flags|=2;var _darkColors=v.darkColors!==undefined;if(_darkColors)flags|=4;var _channelMinLevel=v.channelMinLevel!==undefined;if(_channelMinLevel)flags|=8;w.uint(flags);w.int(h(v,'colorId'));if(_colors)w.object(v.colors);if(_darkColors)w.object(v.darkColors);if(_channelMinLevel)w.int(v.channelMinLevel);},
|
|
1194
1192
|
'help.peerColorsNotModified':function(w){w.uint(732034510);},
|
|
1195
1193
|
'help.peerColors':function(w,v){w.uint(16313608);w.int(h(v,'hash'));w.vector(w.object,h(v,'colors'));},
|
|
1194
|
+
'messageMediaGiveawayResults':function(w,v){w.uint(3331919976);var flags=0;if(v.onlyNewSubscribers===true)flags|=1;var _prizeDescription=v.prizeDescription!==undefined;if(_prizeDescription)flags|=2;if(v.refunded===true)flags|=4;var _additionalPeersCount=v.additionalPeersCount!==undefined;if(_additionalPeersCount)flags|=8;w.uint(flags);w.long(h(v,'channelId'));if(_additionalPeersCount)w.int(v.additionalPeersCount);w.int(h(v,'launchMsgId'));w.int(h(v,'winnersCount'));w.int(h(v,'unclaimedCount'));w.vector(w.long,h(v,'winners'));w.int(h(v,'months'));if(_prizeDescription)w.string(v.prizeDescription);w.int(h(v,'untilDate'));},
|
|
1195
|
+
'updateBotMessageReaction':function(w,v){w.uint(2887898062);w.object(h(v,'peer'));w.int(h(v,'msgId'));w.int(h(v,'date'));w.object(h(v,'actor'));w.vector(w.object,h(v,'oldReactions'));w.vector(w.object,h(v,'newReactions'));w.int(h(v,'qts'));},
|
|
1196
|
+
'updateBotMessageReactions':function(w,v){w.uint(164329305);w.object(h(v,'peer'));w.int(h(v,'msgId'));w.int(h(v,'date'));w.vector(w.object,h(v,'reactions'));w.int(h(v,'qts'));},
|
|
1197
|
+
'inputStickerSetEmojiChannelDefaultStatuses':function(w){w.uint(1232373075);},
|
|
1198
|
+
'channelAdminLogEventActionChangePeerColor':function(w,v){w.uint(1469507456);w.object(h(v,'prevValue'));w.object(h(v,'newValue'));},
|
|
1199
|
+
'channelAdminLogEventActionChangeProfilePeerColor':function(w,v){w.uint(1581742885);w.object(h(v,'prevValue'));w.object(h(v,'newValue'));},
|
|
1200
|
+
'channelAdminLogEventActionChangeWallpaper':function(w,v){w.uint(834362706);w.object(h(v,'prevValue'));w.object(h(v,'newValue'));},
|
|
1201
|
+
'channelAdminLogEventActionChangeEmojiStatus':function(w,v){w.uint(1051328177);w.object(h(v,'prevValue'));w.object(h(v,'newValue'));},
|
|
1202
|
+
'storyViewPublicForward':function(w,v){w.uint(2424530699);var flags=0;if(v.blocked===true)flags|=1;if(v.blockedMyStoriesFrom===true)flags|=2;w.uint(flags);w.object(h(v,'message'));},
|
|
1203
|
+
'storyViewPublicRepost':function(w,v){w.uint(3178549065);var flags=0;if(v.blocked===true)flags|=1;if(v.blockedMyStoriesFrom===true)flags|=2;w.uint(flags);w.object(h(v,'peerId'));w.object(h(v,'story'));},
|
|
1204
|
+
'mediaAreaChannelPost':function(w,v){w.uint(1996756655);w.object(h(v,'coordinates'));w.int53(h(v,'channelId'));w.int(h(v,'msgId'));},
|
|
1205
|
+
'inputMediaAreaChannelPost':function(w,v){w.uint(577893055);w.object(h(v,'coordinates'));w.object(h(v,'channel'));w.int(h(v,'msgId'));},
|
|
1206
|
+
'storyReaction':function(w,v){w.uint(1620104917);w.object(h(v,'peerId'));w.int(h(v,'date'));w.object(h(v,'reaction'));},
|
|
1207
|
+
'storyReactionPublicForward':function(w,v){w.uint(3148555843);w.object(h(v,'message'));},
|
|
1208
|
+
'storyReactionPublicRepost':function(w,v){w.uint(3486322451);w.object(h(v,'peerId'));w.object(h(v,'story'));},
|
|
1209
|
+
'stories.storyReactionsList':function(w,v){w.uint(2858383516);var flags=0;var _nextOffset=v.nextOffset!==undefined;if(_nextOffset)flags|=1;w.uint(flags);w.int(h(v,'count'));w.vector(w.object,h(v,'reactions'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));if(_nextOffset)w.string(v.nextOffset);},
|
|
1210
|
+
'messageActionSetSameChatWallPaper':function(w,v){w.uint(3229121901);w.object(h(v,'wallpaper'));},
|
|
1196
1211
|
'messageUserVote':function(w,v){w.uint(886196148);w.int53(h(v,'userId'));w.bytes(h(v,'option'));w.int(h(v,'date'));},
|
|
1197
1212
|
'messageUserVoteInputOption':function(w,v){w.uint(1017491692);w.int53(h(v,'userId'));w.int(h(v,'date'));},
|
|
1198
1213
|
'messageUserVoteMultiple':function(w,v){w.uint(2321933655);w.int53(h(v,'userId'));w.vector(w.bytes,h(v,'options'));w.int(h(v,'date'));},
|
|
1199
|
-
'
|
|
1200
|
-
'stories.canApplyBoostOk':function(w){w.uint(3273078151);},
|
|
1201
|
-
'stories.canApplyBoostReplace':function(w,v){w.uint(1898726997);w.object(h(v,'currentBoost'));w.vector(w.object,h(v,'chats'));},
|
|
1202
|
-
'booster':function(w,v){w.uint(245261184);w.int53(h(v,'userId'));w.int(h(v,'expires'));},
|
|
1203
|
-
'stories.boostersList':function(w,v){w.uint(4091362589);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,'boosters'));if(_nextOffset)w.string(v.nextOffset);w.vector(w.object,h(v,'users'));},
|
|
1214
|
+
'messageInteractionCounters':function(w,v){w.uint(2907687357);w.int(h(v,'msgId'));w.int(h(v,'views'));w.int(h(v,'forwards'));},
|
|
1204
1215
|
'test.useError':function(w){w.uint(4000689921);},
|
|
1205
1216
|
'test.useConfigSimple':function(w){w.uint(4189565501);},
|
|
1206
1217
|
'test.parseInputAppEvent':function(w){w.uint(3138226161);},
|
|
@@ -1529,7 +1540,7 @@ var m={
|
|
|
1529
1540
|
'messages.getExtendedMedia':function(w,v){w.uint(2230847508);w.object(h(v,'peer'));w.vector(w.int,h(v,'id'));},
|
|
1530
1541
|
'messages.setDefaultHistoryTTL':function(w,v){w.uint(2662667333);w.int(h(v,'period'));},
|
|
1531
1542
|
'messages.getDefaultHistoryTTL':function(w){w.uint(1703637384);},
|
|
1532
|
-
'messages.sendBotRequestedPeer':function(w,v){w.uint(
|
|
1543
|
+
'messages.sendBotRequestedPeer':function(w,v){w.uint(2444415072);w.object(h(v,'peer'));w.int(h(v,'msgId'));w.int(h(v,'buttonId'));w.vector(w.object,h(v,'requestedPeers'));},
|
|
1533
1544
|
'messages.getEmojiGroups':function(w,v){w.uint(1955122779);w.int(h(v,'hash'));},
|
|
1534
1545
|
'messages.getEmojiStatusGroups':function(w,v){w.uint(785209037);w.int(h(v,'hash'));},
|
|
1535
1546
|
'messages.getEmojiProfilePhotoGroups':function(w,v){w.uint(564480243);w.int(h(v,'hash'));},
|
|
@@ -1538,6 +1549,7 @@ var m={
|
|
|
1538
1549
|
'messages.getBotApp':function(w,v){w.uint(889046467);w.object(h(v,'app'));w.long(h(v,'hash'));},
|
|
1539
1550
|
'messages.requestAppWebView':function(w,v){w.uint(2354723644);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;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'));},
|
|
1540
1551
|
'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);},
|
|
1552
|
+
'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'));},
|
|
1541
1553
|
'updates.getState':function(w){w.uint(3990128682);},
|
|
1542
1554
|
'updates.getDifference':function(w,v){w.uint(432207715);var flags=0;var _ptsTotalLimit=v.ptsTotalLimit!==undefined;if(_ptsTotalLimit)flags|=1;var _ptsLimit=v.ptsLimit!==undefined;if(_ptsLimit)flags|=2;var _qtsLimit=v.qtsLimit!==undefined;if(_qtsLimit)flags|=4;w.uint(flags);w.int(h(v,'pts'));if(_ptsLimit)w.int(v.ptsLimit);if(_ptsTotalLimit)w.int(v.ptsTotalLimit);w.int(h(v,'date'));w.int(h(v,'qts'));if(_qtsLimit)w.int(v.qtsLimit);},
|
|
1543
1555
|
'updates.getChannelDifference':function(w,v){w.uint(51854712);var flags=0;if(v.force===true)flags|=1;w.uint(flags);w.object(h(v,'channel'));w.object(h(v,'filter'));w.int(h(v,'pts'));w.int(h(v,'limit'));},
|
|
@@ -1577,6 +1589,8 @@ var m={
|
|
|
1577
1589
|
'help.dismissSuggestion':function(w,v){w.uint(4111317665);w.object(h(v,'peer'));w.string(h(v,'suggestion'));},
|
|
1578
1590
|
'help.getCountriesList':function(w,v){w.uint(1935116200);w.string(h(v,'langCode'));w.int(h(v,'hash'));},
|
|
1579
1591
|
'help.getPremiumPromo':function(w){w.uint(3088815060);},
|
|
1592
|
+
'help.getPeerColors':function(w,v){w.uint(3665884207);w.int(h(v,'hash'));},
|
|
1593
|
+
'help.getPeerProfileColors':function(w,v){w.uint(2882513405);w.int(h(v,'hash'));},
|
|
1580
1594
|
'channels.readHistory':function(w,v){w.uint(3423619383);w.object(h(v,'channel'));w.int(h(v,'maxId'));},
|
|
1581
1595
|
'channels.deleteMessages':function(w,v){w.uint(2227305806);w.object(h(v,'channel'));w.vector(w.int,h(v,'id'));},
|
|
1582
1596
|
'channels.reportSpam':function(w,v){w.uint(4098523925);w.object(h(v,'channel'));w.object(h(v,'participant'));w.vector(w.int,h(v,'id'));},
|
|
@@ -1633,7 +1647,9 @@ var m={
|
|
|
1633
1647
|
'channels.reportAntiSpamFalsePositive':function(w,v){w.uint(2823857811);w.object(h(v,'channel'));w.int(h(v,'msgId'));},
|
|
1634
1648
|
'channels.toggleParticipantsHidden':function(w,v){w.uint(1785624660);w.object(h(v,'channel'));w.boolean(h(v,'enabled'));},
|
|
1635
1649
|
'channels.clickSponsoredMessage':function(w,v){w.uint(414170259);w.object(h(v,'channel'));w.bytes(h(v,'randomId'));},
|
|
1636
|
-
'channels.updateColor':function(w,v){w.uint(
|
|
1650
|
+
'channels.updateColor':function(w,v){w.uint(3635033713);var flags=0;var _backgroundEmojiId=v.backgroundEmojiId!==undefined;if(_backgroundEmojiId)flags|=1;if(v.forProfile===true)flags|=2;var _color=v.color!==undefined;if(_color)flags|=4;w.uint(flags);w.object(h(v,'channel'));if(_color)w.int(v.color);if(_backgroundEmojiId)w.long(v.backgroundEmojiId);},
|
|
1651
|
+
'channels.toggleViewForumAsMessages':function(w,v){w.uint(2537077525);w.object(h(v,'channel'));w.boolean(h(v,'enabled'));},
|
|
1652
|
+
'channels.getChannelRecommendations':function(w,v){w.uint(2209811863);w.object(h(v,'channel'));},
|
|
1637
1653
|
'bots.sendCustomRequest':function(w,v){w.uint(2854709741);w.string(h(v,'customMethod'));w.object(h(v,'params'));},
|
|
1638
1654
|
'bots.answerWebhookJSONQuery':function(w,v){w.uint(3860938573);w.long(h(v,'queryId'));w.object(h(v,'data'));},
|
|
1639
1655
|
'bots.setBotCommands':function(w,v){w.uint(85399130);w.object(h(v,'scope'));w.string(h(v,'langCode'));w.vector(w.object,h(v,'commands'));},
|
|
@@ -1716,8 +1732,10 @@ var m={
|
|
|
1716
1732
|
'stats.getBroadcastStats':function(w,v){w.uint(2873246746);var flags=0;if(v.dark===true)flags|=1;w.uint(flags);w.object(h(v,'channel'));},
|
|
1717
1733
|
'stats.loadAsyncGraph':function(w,v){w.uint(1646092192);var flags=0;var _x=v.x!==undefined;if(_x)flags|=1;w.uint(flags);w.string(h(v,'token'));if(_x)w.long(v.x);},
|
|
1718
1734
|
'stats.getMegagroupStats':function(w,v){w.uint(3705636359);var flags=0;if(v.dark===true)flags|=1;w.uint(flags);w.object(h(v,'channel'));},
|
|
1719
|
-
'stats.getMessagePublicForwards':function(w,v){w.uint(
|
|
1735
|
+
'stats.getMessagePublicForwards':function(w,v){w.uint(1595212100);w.object(h(v,'channel'));w.int(h(v,'msgId'));w.string(h(v,'offset'));w.int(h(v,'limit'));},
|
|
1720
1736
|
'stats.getMessageStats':function(w,v){w.uint(3068175349);var flags=0;if(v.dark===true)flags|=1;w.uint(flags);w.object(h(v,'channel'));w.int(h(v,'msgId'));},
|
|
1737
|
+
'stats.getStoryStats':function(w,v){w.uint(927985472);var flags=0;if(v.dark===true)flags|=1;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'id'));},
|
|
1738
|
+
'stats.getStoryPublicForwards':function(w,v){w.uint(2789441270);w.object(h(v,'peer'));w.int(h(v,'id'));w.string(h(v,'offset'));w.int(h(v,'limit'));},
|
|
1721
1739
|
'chatlists.exportChatlistInvite':function(w,v){w.uint(2222081934);w.object(h(v,'chatlist'));w.string(h(v,'title'));w.vector(w.object,h(v,'peers'));},
|
|
1722
1740
|
'chatlists.deleteExportedInvite':function(w,v){w.uint(1906072670);w.object(h(v,'chatlist'));w.string(h(v,'slug'));},
|
|
1723
1741
|
'chatlists.editExportedInvite':function(w,v){w.uint(1698543165);var flags=0;var _title=v.title!==undefined;if(_title)flags|=2;var _peers=v.peers&&v.peers.length;if(_peers)flags|=4;w.uint(flags);w.object(h(v,'chatlist'));w.string(h(v,'slug'));if(_title)w.string(v.title);if(_peers)w.vector(w.object,v.peers);},
|
|
@@ -1741,7 +1759,7 @@ var m={
|
|
|
1741
1759
|
'stories.toggleAllStoriesHidden':function(w,v){w.uint(2082822084);w.boolean(h(v,'hidden'));},
|
|
1742
1760
|
'stories.readStories':function(w,v){w.uint(2773932744);w.object(h(v,'peer'));w.int(h(v,'maxId'));},
|
|
1743
1761
|
'stories.incrementStoryViews':function(w,v){w.uint(2986511099);w.object(h(v,'peer'));w.vector(w.int,h(v,'id'));},
|
|
1744
|
-
'stories.getStoryViewsList':function(w,v){w.uint(2127707223);var flags=0;if(v.justContacts===true)flags|=1;var _q=v.q!==undefined;if(_q)flags|=2;if(v.reactionsFirst===true)flags|=4;w.uint(flags);w.object(h(v,'peer'));if(_q)w.string(v.q);w.int(h(v,'id'));w.string(h(v,'offset'));w.int(h(v,'limit'));},
|
|
1762
|
+
'stories.getStoryViewsList':function(w,v){w.uint(2127707223);var flags=0;if(v.justContacts===true)flags|=1;var _q=v.q!==undefined;if(_q)flags|=2;if(v.reactionsFirst===true)flags|=4;if(v.forwardsFirst===true)flags|=8;w.uint(flags);w.object(h(v,'peer'));if(_q)w.string(v.q);w.int(h(v,'id'));w.string(h(v,'offset'));w.int(h(v,'limit'));},
|
|
1745
1763
|
'stories.getStoriesViews':function(w,v){w.uint(685862088);w.object(h(v,'peer'));w.vector(w.int,h(v,'id'));},
|
|
1746
1764
|
'stories.exportStoryLink':function(w,v){w.uint(2072899360);w.object(h(v,'peer'));w.int(h(v,'id'));},
|
|
1747
1765
|
'stories.report':function(w,v){w.uint(421788300);w.object(h(v,'peer'));w.vector(w.int,h(v,'id'));w.object(h(v,'reason'));w.string(h(v,'message'));},
|
|
@@ -1757,17 +1775,10 @@ var m={
|
|
|
1757
1775
|
'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'));},
|
|
1758
1776
|
'premium.getBoostsStatus':function(w,v){w.uint(70197089);w.object(h(v,'peer'));},
|
|
1759
1777
|
'premium.getUserBoosts':function(w,v){w.uint(965037343);w.object(h(v,'peer'));w.object(h(v,'userId'));},
|
|
1760
|
-
'
|
|
1761
|
-
'
|
|
1762
|
-
'
|
|
1763
|
-
'
|
|
1764
|
-
'channels.getChannelRecommendations':function(w,v){w.uint(2209811863);w.object(h(v,'channel'));},
|
|
1765
|
-
'stats.getStoryStats':function(w,v){w.uint(927985472);var flags=0;if(v.dark===true)flags|=1;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'id'));},
|
|
1766
|
-
'stats.getStoryPublicForwards':function(w,v){w.uint(2789441270);w.object(h(v,'peer'));w.int(h(v,'id'));w.string(h(v,'offset'));w.int(h(v,'limit'));},
|
|
1767
|
-
'stories.getBoostsStatus':function(w,v){w.uint(1279562866);w.object(h(v,'peer'));},
|
|
1768
|
-
'stories.getBoostersList':function(w,v){w.uint(863959424);w.object(h(v,'peer'));w.string(h(v,'offset'));w.int(h(v,'limit'));},
|
|
1769
|
-
'stories.canApplyBoost':function(w,v){w.uint(3674587581);w.object(h(v,'peer'));},
|
|
1770
|
-
'stories.applyBoost':function(w,v){w.uint(4070407211);w.object(h(v,'peer'));},
|
|
1778
|
+
'account.getChannelDefaultEmojiStatuses':function(w,v){w.uint(1999087573);w.long(h(v,'hash'));},
|
|
1779
|
+
'account.getChannelRestrictedStatusEmojis':function(w,v){w.uint(900325589);w.long(h(v,'hash'));},
|
|
1780
|
+
'channels.updateEmojiStatus':function(w,v){w.uint(4040418984);w.object(h(v,'channel'));w.object(h(v,'emojiStatus'));},
|
|
1781
|
+
'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'));},
|
|
1771
1782
|
'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'));},
|
|
1772
1783
|
'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'));},
|
|
1773
1784
|
'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'));},
|
|
@@ -1870,8 +1881,8 @@ _staticSize:{
|
|
|
1870
1881
|
'messageActionContactSignUp':4,
|
|
1871
1882
|
'messageActionGeoProximityReached':32,
|
|
1872
1883
|
'messageActionChatJoinedByRequest':4,
|
|
1873
|
-
'messageActionRequestedPeer':20,
|
|
1874
1884
|
'messageActionGiveawayLaunch':4,
|
|
1885
|
+
'messageActionGiveawayResults':12,
|
|
1875
1886
|
'photoEmpty':12,
|
|
1876
1887
|
'geoPointEmpty':4,
|
|
1877
1888
|
'inputNotifyUsers':4,
|
|
@@ -1950,6 +1961,7 @@ _staticSize:{
|
|
|
1950
1961
|
'updateGroupInvitePrivacyForbidden':12,
|
|
1951
1962
|
'updateReadStories':20,
|
|
1952
1963
|
'updateStoryID':16,
|
|
1964
|
+
'updateChannelViewForumAsMessages':16,
|
|
1953
1965
|
'updates.state':24,
|
|
1954
1966
|
'updates.differenceEmpty':12,
|
|
1955
1967
|
'updates.differenceTooLong':8,
|
|
@@ -2183,7 +2195,6 @@ _staticSize:{
|
|
|
2183
2195
|
'statsDateRangeDays':12,
|
|
2184
2196
|
'statsAbsValueAndPrev':20,
|
|
2185
2197
|
'statsPercentValue':20,
|
|
2186
|
-
'messageInteractionCounters':16,
|
|
2187
2198
|
'help.promoDataEmpty':8,
|
|
2188
2199
|
'statsGroupTopPoster':20,
|
|
2189
2200
|
'statsGroupTopAdmin':24,
|
|
@@ -2254,14 +2265,13 @@ _staticSize:{
|
|
|
2254
2265
|
'storyItemSkipped':20,
|
|
2255
2266
|
'mediaAreaCoordinates':44,
|
|
2256
2267
|
'prepaidGiveaway':24,
|
|
2257
|
-
'messageActionGiveawayResults':12,
|
|
2258
|
-
'updateChannelViewForumAsMessages':16,
|
|
2259
2268
|
'postInteractionCountersMessage':20,
|
|
2260
2269
|
'postInteractionCountersStory':20,
|
|
2261
2270
|
'help.peerColorsNotModified':4,
|
|
2271
|
+
'inputStickerSetEmojiChannelDefaultStatuses':4,
|
|
2272
|
+
'mediaAreaChannelPost':60,
|
|
2262
2273
|
'messageUserVoteInputOption':16,
|
|
2263
|
-
'
|
|
2264
|
-
'booster':16,
|
|
2274
|
+
'messageInteractionCounters':16,
|
|
2265
2275
|
'test.useError':4,
|
|
2266
2276
|
'test.useConfigSimple':4,
|
|
2267
2277
|
'test.parseInputAppEvent':4,
|
|
@@ -2369,6 +2379,8 @@ _staticSize:{
|
|
|
2369
2379
|
'help.getSupportName':4,
|
|
2370
2380
|
'help.getPromoData':4,
|
|
2371
2381
|
'help.getPremiumPromo':4,
|
|
2382
|
+
'help.getPeerColors':8,
|
|
2383
|
+
'help.getPeerProfileColors':8,
|
|
2372
2384
|
'channels.getAdminedPublicChannels':8,
|
|
2373
2385
|
'channels.getLeftChannels':8,
|
|
2374
2386
|
'channels.getGroupsForDiscussion':4,
|
|
@@ -2397,8 +2409,8 @@ _staticSize:{
|
|
|
2397
2409
|
'stories.getAllReadPeerStories':4,
|
|
2398
2410
|
'stories.getChatsToSend':4,
|
|
2399
2411
|
'premium.getMyBoosts':4,
|
|
2400
|
-
'
|
|
2401
|
-
'
|
|
2412
|
+
'account.getChannelDefaultEmojiStatuses':12,
|
|
2413
|
+
'account.getChannelRestrictedStatusEmojis':12,
|
|
2402
2414
|
'mt_dh_gen_ok':52,
|
|
2403
2415
|
'mt_dh_gen_retry':52,
|
|
2404
2416
|
'mt_dh_gen_fail':52,
|