@mtcute/tl 167.0.1 → 174.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 +59 -42
- package/binary/writer.js +111 -77
- package/index.d.ts +3280 -539
- package/index.js +9 -8
- package/package.json +1 -1
package/binary/reader.js
CHANGED
|
@@ -71,22 +71,22 @@ var m={
|
|
|
71
71
|
3016663268:function(r){return{_:'storage.fileMp4'}},
|
|
72
72
|
276907596:function(r){return{_:'storage.fileWebp'}},
|
|
73
73
|
3552332666:function(r){return{_:'userEmpty',id:r.int53(),}},
|
|
74
|
-
559694904:function(r){var flags=r.uint(),flags2=r.uint();return{_:'user',self:!!(flags&1024),contact:!!(flags&2048),mutualContact:!!(flags&4096),deleted:!!(flags&8192),bot:!!(flags&16384),botChatHistory:!!(flags&32768),botNochats:!!(flags&65536),verified:!!(flags&131072),restricted:!!(flags&262144),min:!!(flags&1048576),botInlineGeo:!!(flags&2097152),support:!!(flags&8388608),scam:!!(flags&16777216),applyMinPhoto:!!(flags&33554432),fake:!!(flags&67108864),botAttachMenu:!!(flags&134217728),premium:!!(flags&268435456),attachMenuEnabled:!!(flags&536870912),botCanEdit:!!(flags2&2),closeFriend:!!(flags2&4),storiesHidden:!!(flags2&8),storiesUnavailable:!!(flags2&16),id:r.int53(),accessHash:flags&1?r.long():void 0,firstName:flags&2?r.string():void 0,lastName:flags&4?r.string():void 0,username:flags&8?r.string():void 0,phone:flags&16?r.string():void 0,photo:flags&32?r.object():void 0,status:flags&64?r.object():void 0,botInfoVersion:flags&16384?r.int():void 0,restrictionReason:flags&262144?r.vector(r.object):void 0,botInlinePlaceholder:flags&524288?r.string():void 0,langCode:flags&4194304?r.string():void 0,emojiStatus:flags&1073741824?r.object():void 0,usernames:flags2&1?r.vector(r.object):void 0,storiesMaxId:flags2&32?r.int():void 0,color:flags2&256?r.object():void 0,profileColor:flags2&512?r.object():void 0,}},
|
|
74
|
+
559694904:function(r){var flags=r.uint(),flags2=r.uint();return{_:'user',self:!!(flags&1024),contact:!!(flags&2048),mutualContact:!!(flags&4096),deleted:!!(flags&8192),bot:!!(flags&16384),botChatHistory:!!(flags&32768),botNochats:!!(flags&65536),verified:!!(flags&131072),restricted:!!(flags&262144),min:!!(flags&1048576),botInlineGeo:!!(flags&2097152),support:!!(flags&8388608),scam:!!(flags&16777216),applyMinPhoto:!!(flags&33554432),fake:!!(flags&67108864),botAttachMenu:!!(flags&134217728),premium:!!(flags&268435456),attachMenuEnabled:!!(flags&536870912),botCanEdit:!!(flags2&2),closeFriend:!!(flags2&4),storiesHidden:!!(flags2&8),storiesUnavailable:!!(flags2&16),contactRequirePremium:!!(flags2&1024),id:r.int53(),accessHash:flags&1?r.long():void 0,firstName:flags&2?r.string():void 0,lastName:flags&4?r.string():void 0,username:flags&8?r.string():void 0,phone:flags&16?r.string():void 0,photo:flags&32?r.object():void 0,status:flags&64?r.object():void 0,botInfoVersion:flags&16384?r.int():void 0,restrictionReason:flags&262144?r.vector(r.object):void 0,botInlinePlaceholder:flags&524288?r.string():void 0,langCode:flags&4194304?r.string():void 0,emojiStatus:flags&1073741824?r.object():void 0,usernames:flags2&1?r.vector(r.object):void 0,storiesMaxId:flags2&32?r.int():void 0,color:flags2&256?r.object():void 0,profileColor:flags2&512?r.object():void 0,}},
|
|
75
75
|
1326562017:function(r){return{_:'userProfilePhotoEmpty'}},
|
|
76
76
|
2194798342:function(r){var flags=r.uint();return{_:'userProfilePhoto',hasVideo:!!(flags&1),personal:!!(flags&4),photoId:r.long(),strippedThumb:flags&2?r.bytes():void 0,dcId:r.int(),}},
|
|
77
77
|
164646985:function(r){return{_:'userStatusEmpty'}},
|
|
78
78
|
3988339017:function(r){return{_:'userStatusOnline',expires:r.int(),}},
|
|
79
79
|
9203775:function(r){return{_:'userStatusOffline',wasOnline:r.int(),}},
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
2065268168:function(r){var flags=r.uint();return{_:'userStatusRecently',byMe:!!(flags&1),}},
|
|
81
|
+
1410997530:function(r){var flags=r.uint();return{_:'userStatusLastWeek',byMe:!!(flags&1),}},
|
|
82
|
+
1703516023:function(r){var flags=r.uint();return{_:'userStatusLastMonth',byMe:!!(flags&1),}},
|
|
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
|
+
1153455271: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,boostsApplied:flags2&256?r.int():void 0,boostsUnrestrict:flags2&512?r.int():void 0,emojiset:flags2&1024?r.object():void 0,}},
|
|
90
90
|
3224190983:function(r){return{_:'chatParticipant',userId:r.int53(),inviterId:r.int53(),date:r.int(),}},
|
|
91
91
|
3832270564:function(r){return{_:'chatParticipantCreator',userId:r.int53(),}},
|
|
92
92
|
2694004571:function(r){return{_:'chatParticipantAdmin',userId:r.int53(),inviterId:r.int53(),date:r.int(),}},
|
|
@@ -95,14 +95,14 @@ var m={
|
|
|
95
95
|
935395612:function(r){return{_:'chatPhotoEmpty'}},
|
|
96
96
|
476978193:function(r){var flags=r.uint();return{_:'chatPhoto',hasVideo:!!(flags&1),photoId:r.long(),strippedThumb:flags&2?r.bytes():void 0,dcId:r.int(),}},
|
|
97
97
|
2426849924:function(r){var flags=r.uint();return{_:'messageEmpty',id:r.int(),peerId:flags&1?r.object():void 0,}},
|
|
98
|
-
|
|
98
|
+
508332649:function(r){var flags=r.uint();return{_:'message',out:!!(flags&2),mentioned:!!(flags&16),mediaUnread:!!(flags&32),silent:!!(flags&8192),post:!!(flags&16384),fromScheduled:!!(flags&262144),legacy:!!(flags&524288),editHide:!!(flags&2097152),pinned:!!(flags&16777216),noforwards:!!(flags&67108864),invertMedia:!!(flags&134217728),id:r.int(),fromId:flags&256?r.object():void 0,fromBoostsApplied:flags&536870912?r.int():void 0,peerId:r.object(),savedPeerId:flags&268435456?r.object():void 0,fwdFrom:flags&4?r.object():void 0,viaBotId:flags&2048?r.int53():void 0,replyTo:flags&8?r.object():void 0,date:r.int(),message:r.string(),media:flags&512?r.object():void 0,replyMarkup:flags&64?r.object():void 0,entities:flags&128?r.vector(r.object):void 0,views:flags&1024?r.int():void 0,forwards:flags&1024?r.int():void 0,replies:flags&8388608?r.object():void 0,editDate:flags&32768?r.int():void 0,postAuthor:flags&65536?r.string():void 0,groupedId:flags&131072?r.long():void 0,reactions:flags&1048576?r.object():void 0,restrictionReason:flags&4194304?r.vector(r.object):void 0,ttlPeriod:flags&33554432?r.int():void 0,}},
|
|
99
99
|
721967202:function(r){var flags=r.uint();return{_:'messageService',out:!!(flags&2),mentioned:!!(flags&16),mediaUnread:!!(flags&32),silent:!!(flags&8192),post:!!(flags&16384),legacy:!!(flags&524288),id:r.int(),fromId:flags&256?r.object():void 0,peerId:r.object(),replyTo:flags&8?r.object():void 0,date:r.int(),action:r.object(),ttlPeriod:flags&33554432?r.int():void 0,}},
|
|
100
100
|
1038967584:function(r){return{_:'messageMediaEmpty'}},
|
|
101
101
|
1766936791:function(r){var flags=r.uint();return{_:'messageMediaPhoto',spoiler:!!(flags&8),photo:flags&1?r.object():void 0,ttlSeconds:flags&4?r.int():void 0,}},
|
|
102
102
|
1457575028:function(r){return{_:'messageMediaGeo',geo:r.object(),}},
|
|
103
103
|
1882335561:function(r){return{_:'messageMediaContact',phoneNumber:r.string(),firstName:r.string(),lastName:r.string(),vcard:r.string(),userId:r.int53(),}},
|
|
104
104
|
2676290718:function(r){return{_:'messageMediaUnsupported'}},
|
|
105
|
-
1291114285:function(r){var flags=r.uint();return{_:'messageMediaDocument',nopremium:!!(flags&8),spoiler:!!(flags&16),document:flags&1?r.object():void 0,altDocument:flags&32?r.object():void 0,ttlSeconds:flags&4?r.int():void 0,}},
|
|
105
|
+
1291114285:function(r){var flags=r.uint();return{_:'messageMediaDocument',nopremium:!!(flags&8),spoiler:!!(flags&16),video:!!(flags&64),round:!!(flags&128),voice:!!(flags&256),document:flags&1?r.object():void 0,altDocument:flags&32?r.object():void 0,ttlSeconds:flags&4?r.int():void 0,}},
|
|
106
106
|
3723562043:function(r){var flags=r.uint();return{_:'messageMediaWebPage',forceLargeMedia:!!(flags&1),forceSmallMedia:!!(flags&2),manual:!!(flags&8),safe:!!(flags&16),webpage:r.object(),}},
|
|
107
107
|
784356159:function(r){return{_:'messageMediaVenue',geo:r.object(),title:r.string(),address:r.string(),provider:r.string(),venueId:r.string(),venueType:r.string(),}},
|
|
108
108
|
4256272392:function(r){return{_:'messageMediaGame',game:r.object(),}},
|
|
@@ -111,7 +111,8 @@ 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
|
+
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(),}},
|
|
115
116
|
3064919984:function(r){return{_:'messageActionEmpty'}},
|
|
116
117
|
3175599021:function(r){return{_:'messageActionChatCreate',title:r.string(),users:r.vector(r.int53),}},
|
|
117
118
|
3047280218:function(r){return{_:'messageActionChatEditTitle',title:r.string(),}},
|
|
@@ -148,12 +149,13 @@ var m={
|
|
|
148
149
|
228168278:function(r){var flags=r.uint();return{_:'messageActionTopicCreate',title:r.string(),iconColor:r.int(),iconEmojiId:flags&1?r.long():void 0,}},
|
|
149
150
|
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
151
|
1474192222:function(r){return{_:'messageActionSuggestProfilePhoto',photo:r.object(),}},
|
|
151
|
-
|
|
152
|
+
827428507:function(r){return{_:'messageActionRequestedPeer',buttonId:r.int(),peers:r.vector(r.object),}},
|
|
152
153
|
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(),}},
|
|
154
|
+
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
155
|
858499565:function(r){return{_:'messageActionGiveawayLaunch'}},
|
|
156
|
-
|
|
156
|
+
715107781:function(r){return{_:'messageActionGiveawayResults',winnersCount:r.int(),unclaimedCount:r.int(),}},
|
|
157
|
+
3422726765:function(r){return{_:'messageActionBoostApply',boosts:r.int(),}},
|
|
158
|
+
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
159
|
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
160
|
590459437:function(r){return{_:'photoEmpty',id:r.long(),}},
|
|
159
161
|
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(),}},
|
|
@@ -190,7 +192,7 @@ var m={
|
|
|
190
192
|
4124956391:function(r){return{_:'inputReportReasonFake'}},
|
|
191
193
|
177124030:function(r){return{_:'inputReportReasonIllegalDrugs'}},
|
|
192
194
|
2663876157:function(r){return{_:'inputReportReasonPersonalDetails'}},
|
|
193
|
-
3115396204:function(r){var flags=r.uint();return{_:'userFull',blocked:!!(flags&1),phoneCallsAvailable:!!(flags&16),phoneCallsPrivate:!!(flags&32),canPinMessage:!!(flags&128),hasScheduled:!!(flags&4096),videoCallsAvailable:!!(flags&8192),voiceMessagesForbidden:!!(flags&1048576),translationsDisabled:!!(flags&8388608),storiesPinnedAvailable:!!(flags&67108864),blockedMyStoriesFrom:!!(flags&134217728),wallpaperOverridden:!!(flags&268435456),id:r.int53(),about:flags&2?r.string():void 0,settings:r.object(),personalPhoto:flags&2097152?r.object():void 0,profilePhoto:flags&4?r.object():void 0,fallbackPhoto:flags&4194304?r.object():void 0,notifySettings:r.object(),botInfo:flags&8?r.object():void 0,pinnedMsgId:flags&64?r.int():void 0,commonChatsCount:r.int(),folderId:flags&2048?r.int():void 0,ttlPeriod:flags&16384?r.int():void 0,themeEmoticon:flags&32768?r.string():void 0,privateForwardName:flags&65536?r.string():void 0,botGroupAdminRights:flags&131072?r.object():void 0,botBroadcastAdminRights:flags&262144?r.object():void 0,premiumGifts:flags&524288?r.vector(r.object):void 0,wallpaper:flags&16777216?r.object():void 0,stories:flags&33554432?r.object():void 0,}},
|
|
195
|
+
3115396204:function(r){var flags=r.uint();return{_:'userFull',blocked:!!(flags&1),phoneCallsAvailable:!!(flags&16),phoneCallsPrivate:!!(flags&32),canPinMessage:!!(flags&128),hasScheduled:!!(flags&4096),videoCallsAvailable:!!(flags&8192),voiceMessagesForbidden:!!(flags&1048576),translationsDisabled:!!(flags&8388608),storiesPinnedAvailable:!!(flags&67108864),blockedMyStoriesFrom:!!(flags&134217728),wallpaperOverridden:!!(flags&268435456),contactRequirePremium:!!(flags&536870912),readDatesPrivate:!!(flags&1073741824),id:r.int53(),about:flags&2?r.string():void 0,settings:r.object(),personalPhoto:flags&2097152?r.object():void 0,profilePhoto:flags&4?r.object():void 0,fallbackPhoto:flags&4194304?r.object():void 0,notifySettings:r.object(),botInfo:flags&8?r.object():void 0,pinnedMsgId:flags&64?r.int():void 0,commonChatsCount:r.int(),folderId:flags&2048?r.int():void 0,ttlPeriod:flags&16384?r.int():void 0,themeEmoticon:flags&32768?r.string():void 0,privateForwardName:flags&65536?r.string():void 0,botGroupAdminRights:flags&131072?r.object():void 0,botBroadcastAdminRights:flags&262144?r.object():void 0,premiumGifts:flags&524288?r.vector(r.object):void 0,wallpaper:flags&16777216?r.object():void 0,stories:flags&33554432?r.object():void 0,}},
|
|
194
196
|
341499403:function(r){return{_:'contact',userId:r.int53(),mutual:r.boolean(),}},
|
|
195
197
|
3242081360:function(r){return{_:'importedContact',userId:r.int53(),clientId:r.long(),}},
|
|
196
198
|
383348795:function(r){return{_:'contactStatus',userId:r.int53(),status:r.object(),}},
|
|
@@ -345,6 +347,13 @@ var m={
|
|
|
345
347
|
738741697:function(r){return{_:'updateStoriesStealthMode',stealthMode:r.object(),}},
|
|
346
348
|
2103604867:function(r){return{_:'updateSentStoryReaction',peer:r.object(),storyId:r.int(),reaction:r.object(),}},
|
|
347
349
|
2421019804:function(r){return{_:'updateBotChatBoost',peer:r.object(),boost:r.object(),qts:r.int(),}},
|
|
350
|
+
129403168:function(r){return{_:'updateChannelViewForumAsMessages',channelId:r.int53(),enabled:r.boolean(),}},
|
|
351
|
+
2923368477:function(r){var flags=r.uint();return{_:'updatePeerWallpaper',wallpaperOverridden:!!(flags&2),peer:r.object(),wallpaper:flags&1?r.object():void 0,}},
|
|
352
|
+
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(),}},
|
|
353
|
+
164329305:function(r){return{_:'updateBotMessageReactions',peer:r.object(),msgId:r.int(),date:r.int(),reactions:r.vector(r.object),qts:r.int(),}},
|
|
354
|
+
2930744948:function(r){var flags=r.uint();return{_:'updateSavedDialogPinned',pinned:!!(flags&1),peer:r.object(),}},
|
|
355
|
+
1751942566:function(r){var flags=r.uint();return{_:'updatePinnedSavedDialogs',order:flags&1?r.vector(r.object):void 0,}},
|
|
356
|
+
969307186:function(r){return{_:'updateSavedReactionTags'}},
|
|
348
357
|
2775329342:function(r){return{_:'updates.state',pts:r.int(),qts:r.int(),date:r.int(),seq:r.int(),unreadCount:r.int(),}},
|
|
349
358
|
1567990072:function(r){return{_:'updates.differenceEmpty',date:r.int(),seq:r.int(),}},
|
|
350
359
|
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 +504,8 @@ var m={
|
|
|
495
504
|
80008398:function(r){return{_:'inputStickerSetEmojiGenericAnimations'}},
|
|
496
505
|
701560302:function(r){return{_:'inputStickerSetEmojiDefaultStatuses'}},
|
|
497
506
|
1153562857:function(r){return{_:'inputStickerSetEmojiDefaultTopicIcons'}},
|
|
498
|
-
|
|
507
|
+
1232373075:function(r){return{_:'inputStickerSetEmojiChannelDefaultStatuses'}},
|
|
508
|
+
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),channelEmojiStatus:!!(flags&1024),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(),}},
|
|
499
509
|
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
510
|
3556320491:function(r){return{_:'messages.stickerSetNotModified'}},
|
|
501
511
|
3262826695:function(r){return{_:'botCommand',command:r.string(),description:r.string(),}},
|
|
@@ -515,7 +525,7 @@ var m={
|
|
|
515
525
|
814112961:function(r){return{_:'keyboardButtonUserProfile',text:r.string(),userId:r.int53(),}},
|
|
516
526
|
326529584:function(r){return{_:'keyboardButtonWebView',text:r.string(),url:r.string(),}},
|
|
517
527
|
2696958044:function(r){return{_:'keyboardButtonSimpleWebView',text:r.string(),url:r.string(),}},
|
|
518
|
-
|
|
528
|
+
1406648280:function(r){return{_:'keyboardButtonRequestPeer',text:r.string(),buttonId:r.int(),peerType:r.object(),maxQuantity:r.int(),}},
|
|
519
529
|
2002815875:function(r){return{_:'keyboardButtonRow',buttons:r.vector(r.object),}},
|
|
520
530
|
2688441221:function(r){var flags=r.uint();return{_:'replyKeyboardHide',selective:!!(flags&4),}},
|
|
521
531
|
2259946248:function(r){var flags=r.uint();return{_:'replyKeyboardForceReply',singleUse:!!(flags&2),selective:!!(flags&4),placeholder:flags&8?r.string():void 0,}},
|
|
@@ -595,7 +605,7 @@ var m={
|
|
|
595
605
|
400266251:function(r){var flags=r.uint();return{_:'botInlineMediaResult',id:r.string(),type:r.string(),photo:flags&1?r.object():void 0,document:flags&2?r.object():void 0,title:flags&4?r.string():void 0,description:flags&8?r.string():void 0,sendMessage:r.object(),}},
|
|
596
606
|
3760321270:function(r){var flags=r.uint();return{_:'messages.botResults',gallery:!!(flags&1),queryId:r.long(),nextOffset:flags&2?r.string():void 0,switchPm:flags&4?r.object():void 0,switchWebview:flags&8?r.object():void 0,results:r.vector(r.object),cacheTime:r.int(),users:r.vector(r.object),}},
|
|
597
607
|
1571494644:function(r){return{_:'exportedMessageLink',link:r.string(),html:r.string(),}},
|
|
598
|
-
|
|
608
|
+
1313731771:function(r){var flags=r.uint();return{_:'messageFwdHeader',imported:!!(flags&128),savedOut:!!(flags&2048),fromId:flags&1?r.object():void 0,fromName:flags&32?r.string():void 0,date:r.int(),channelPost:flags&4?r.int():void 0,postAuthor:flags&8?r.string():void 0,savedFromPeer:flags&16?r.object():void 0,savedFromMsgId:flags&16?r.int():void 0,savedFromId:flags&256?r.object():void 0,savedFromName:flags&512?r.string():void 0,savedDate:flags&1024?r.int():void 0,psaType:flags&64?r.string():void 0,}},
|
|
599
609
|
1923290508:function(r){return{_:'auth.codeTypeSms'}},
|
|
600
610
|
1948046307:function(r){return{_:'auth.codeTypeCall'}},
|
|
601
611
|
577556219:function(r){return{_:'auth.codeTypeFlashCall'}},
|
|
@@ -789,8 +799,11 @@ var m={
|
|
|
789
799
|
2920712457:function(r){return{_:'channelAdminLogEventActionDeleteTopic',topic:r.object(),}},
|
|
790
800
|
1569535291:function(r){var flags=r.uint();return{_:'channelAdminLogEventActionPinTopic',prevTopic:flags&1?r.object():void 0,newTopic:flags&2?r.object():void 0,}},
|
|
791
801
|
1693675004:function(r){return{_:'channelAdminLogEventActionToggleAntiSpam',newValue:r.boolean(),}},
|
|
792
|
-
|
|
793
|
-
|
|
802
|
+
1469507456:function(r){return{_:'channelAdminLogEventActionChangePeerColor',prevValue:r.object(),newValue:r.object(),}},
|
|
803
|
+
1581742885:function(r){return{_:'channelAdminLogEventActionChangeProfilePeerColor',prevValue:r.object(),newValue:r.object(),}},
|
|
804
|
+
834362706:function(r){return{_:'channelAdminLogEventActionChangeWallpaper',prevValue:r.object(),newValue:r.object(),}},
|
|
805
|
+
1051328177:function(r){return{_:'channelAdminLogEventActionChangeEmojiStatus',prevValue:r.object(),newValue:r.object(),}},
|
|
806
|
+
1188577451:function(r){return{_:'channelAdminLogEventActionChangeEmojiStickerSet',prevStickerset:r.object(),newStickerset:r.object(),}},
|
|
794
807
|
531458253:function(r){return{_:'channelAdminLogEvent',id:r.long(),date:r.int(),userId:r.int53(),action:r.object(),}},
|
|
795
808
|
3985307469:function(r){return{_:'channels.adminLogResults',events:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
796
809
|
3926948580:function(r){var flags=r.uint();return{_:'channelAdminLogEventsFilter',join:!!(flags&1),leave:!!(flags&2),invite:!!(flags&4),ban:!!(flags&8),unban:!!(flags&16),kick:!!(flags&32),unkick:!!(flags&64),promote:!!(flags&128),demote:!!(flags&256),info:!!(flags&512),settings:!!(flags&1024),pinned:!!(flags&2048),edit:!!(flags&4096),delete:!!(flags&8192),groupCall:!!(flags&16384),invites:!!(flags&32768),send:!!(flags&65536),forums:!!(flags&131072),}},
|
|
@@ -905,7 +918,7 @@ var m={
|
|
|
905
918
|
471437699:function(r){return{_:'account.wallPapersNotModified'}},
|
|
906
919
|
3452142988:function(r){return{_:'account.wallPapers',hash:r.long(),wallpapers:r.vector(r.object),}},
|
|
907
920
|
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
|
-
|
|
921
|
+
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
922
|
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
923
|
1674235686:function(r){return{_:'account.autoDownloadSettings',low:r.object(),medium:r.object(),high:r.object(),}},
|
|
911
924
|
3585325561:function(r){return{_:'emojiKeyword',keyword:r.string(),emoticons:r.vector(r.string),}},
|
|
@@ -957,7 +970,6 @@ var m={
|
|
|
957
970
|
1244130093:function(r){return{_:'statsGraphAsync',token:r.string(),}},
|
|
958
971
|
3202127906:function(r){return{_:'statsGraphError',error:r.string(),}},
|
|
959
972
|
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
973
|
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
974
|
2566302837:function(r){return{_:'help.promoDataEmpty',expires:r.int(),}},
|
|
963
975
|
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,}},
|
|
@@ -968,7 +980,7 @@ var m={
|
|
|
968
980
|
3612888199:function(r){return{_:'statsGroupTopAdmin',userId:r.int53(),deleted:r.int(),kicked:r.int(),banned:r.int(),}},
|
|
969
981
|
1398765469:function(r){return{_:'statsGroupTopInviter',userId:r.int53(),invitations:r.int(),}},
|
|
970
982
|
4018141462:function(r){return{_:'stats.megagroupStats',period:r.object(),members:r.object(),messages:r.object(),viewers:r.object(),posters:r.object(),growthGraph:r.object(),membersGraph:r.object(),newMembersBySourceGraph:r.object(),languagesGraph:r.object(),messagesGraph:r.object(),actionsGraph:r.object(),topHoursGraph:r.object(),weekdaysGraph:r.object(),topPosters:r.vector(r.object),topAdmins:r.vector(r.object),topInviters:r.vector(r.object),users:r.vector(r.object),}},
|
|
971
|
-
1934380235:function(r){var flags=r.uint();return{_:'globalPrivacySettings',archiveAndMuteNewNoncontactPeers:!!(flags&1),keepArchivedUnmuted:!!(flags&2),keepArchivedFolders:!!(flags&4),}},
|
|
983
|
+
1934380235:function(r){var flags=r.uint();return{_:'globalPrivacySettings',archiveAndMuteNewNoncontactPeers:!!(flags&1),keepArchivedUnmuted:!!(flags&2),keepArchivedFolders:!!(flags&4),hideReadMarks:!!(flags&8),newNoncontactPeersRequirePremium:!!(flags&16),}},
|
|
972
984
|
1107543535:function(r){var flags=r.uint();return{_:'help.countryCode',countryCode:r.string(),prefixes:flags&1?r.vector(r.string):void 0,patterns:flags&2?r.vector(r.string):void 0,}},
|
|
973
985
|
3280440867:function(r){var flags=r.uint();return{_:'help.country',hidden:!!(flags&1),iso2:r.string(),defaultName:r.string(),name:flags&2?r.string():void 0,countryCodes:r.vector(r.object),}},
|
|
974
986
|
2479628082:function(r){return{_:'help.countriesListNotModified'}},
|
|
@@ -977,7 +989,7 @@ var m={
|
|
|
977
989
|
3066361155:function(r){return{_:'messages.messageViews',views:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
978
990
|
2788431746:function(r){var flags=r.uint();return{_:'messages.discussionMessage',messages:r.vector(r.object),maxId:flags&1?r.int():void 0,readInboxMaxId:flags&2?r.int():void 0,readOutboxMaxId:flags&4?r.int():void 0,unreadCount:r.int(),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
979
991
|
2948336091:function(r){var flags=r.uint();return{_:'messageReplyHeader',replyToScheduled:!!(flags&4),forumTopic:!!(flags&8),quote:!!(flags&512),replyToMsgId:flags&16?r.int():void 0,replyToPeerId:flags&1?r.object():void 0,replyFrom:flags&32?r.object():void 0,replyMedia:flags&256?r.object():void 0,replyToTopId:flags&2?r.int():void 0,quoteText:flags&64?r.string():void 0,quoteEntities:flags&128?r.vector(r.object):void 0,quoteOffset:flags&1024?r.int():void 0,}},
|
|
980
|
-
|
|
992
|
+
240843065:function(r){return{_:'messageReplyStoryHeader',peer:r.object(),storyId:r.int(),}},
|
|
981
993
|
2211844034:function(r){var flags=r.uint();return{_:'messageReplies',comments:!!(flags&1),replies:r.int(),repliesPts:r.int(),recentRepliers:flags&2?r.vector(r.object):void 0,channelId:flags&1?r.int53():void 0,maxId:flags&4?r.int():void 0,readMaxId:flags&8?r.int():void 0,}},
|
|
982
994
|
3908927508:function(r){return{_:'peerBlocked',peerId:r.object(),date:r.int(),}},
|
|
983
995
|
2145983508:function(r){return{_:'stats.messageStats',viewsGraph:r.object(),reactionsByEmotionGraph:r.object(),}},
|
|
@@ -1031,7 +1043,7 @@ var m={
|
|
|
1031
1043
|
1753266509:function(r){return{_:'messages.peerSettings',settings:r.object(),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1032
1044
|
3282207583:function(r){var flags=r.uint();return{_:'auth.loggedOut',futureAuthToken:flags&1?r.bytes():void 0,}},
|
|
1033
1045
|
2748435328:function(r){var flags=r.uint();return{_:'reactionCount',chosenOrder:flags&1?r.int():void 0,reaction:r.object(),count:r.int(),}},
|
|
1034
|
-
1328256121:function(r){var flags=r.uint();return{_:'messageReactions',min:!!(flags&1),canSeeList:!!(flags&4),results:r.vector(r.object),recentReactions:flags&2?r.vector(r.object):void 0,}},
|
|
1046
|
+
1328256121:function(r){var flags=r.uint();return{_:'messageReactions',min:!!(flags&1),canSeeList:!!(flags&4),reactionsAsTags:!!(flags&8),results:r.vector(r.object),recentReactions:flags&2?r.vector(r.object):void 0,}},
|
|
1035
1047
|
834488621:function(r){var flags=r.uint();return{_:'messages.messageReactionsList',count:r.int(),reactions:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),nextOffset:flags&1?r.string():void 0,}},
|
|
1036
1048
|
3229084673:function(r){var flags=r.uint();return{_:'availableReaction',inactive:!!(flags&1),premium:!!(flags&4),reaction:r.string(),title:r.string(),staticIcon:r.object(),appearAnimation:r.object(),selectAnimation:r.object(),activateAnimation:r.object(),effectAnimation:r.object(),aroundAnimation:flags&2?r.object():void 0,centerIcon:flags&2?r.object():void 0,}},
|
|
1037
1049
|
2668042583:function(r){return{_:'messages.availableReactionsNotModified'}},
|
|
@@ -1074,7 +1086,7 @@ var m={
|
|
|
1074
1086
|
2792693350:function(r){var flags=r.uint();return{_:'inputStorePaymentPremiumSubscription',restore:!!(flags&1),upgrade:!!(flags&2),}},
|
|
1075
1087
|
1634697192:function(r){return{_:'inputStorePaymentGiftPremium',userId:r.object(),currency:r.string(),amount:r.long(),}},
|
|
1076
1088
|
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
|
-
|
|
1089
|
+
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
1090
|
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
1091
|
2298016283:function(r){return{_:'paymentFormMethod',url:r.string(),title:r.string(),}},
|
|
1080
1092
|
769727150:function(r){return{_:'emojiStatusEmpty'}},
|
|
@@ -1147,15 +1159,17 @@ var m={
|
|
|
1147
1159
|
2371443926:function(r){var flags=r.uint();return{_:'storyViews',hasViewers:!!(flags&2),viewsCount:r.int(),forwardsCount:flags&4?r.int():void 0,reactions:flags&8?r.vector(r.object):void 0,reactionsCount:flags&16?r.int():void 0,recentViewers:flags&1?r.vector(r.int53):void 0,}},
|
|
1148
1160
|
1374088783:function(r){return{_:'storyItemDeleted',id:r.int(),}},
|
|
1149
1161
|
4289579283:function(r){var flags=r.uint();return{_:'storyItemSkipped',closeFriends:!!(flags&256),id:r.int(),date:r.int(),expireDate:r.int(),}},
|
|
1150
|
-
|
|
1162
|
+
2041735716:function(r){var flags=r.uint();return{_:'storyItem',pinned:!!(flags&32),public:!!(flags&128),closeFriends:!!(flags&256),min:!!(flags&512),noforwards:!!(flags&1024),edited:!!(flags&2048),contacts:!!(flags&4096),selectedContacts:!!(flags&8192),out:!!(flags&65536),id:r.int(),date:r.int(),fromId:flags&262144?r.object():void 0,fwdFrom:flags&131072?r.object():void 0,expireDate:r.int(),caption:flags&1?r.string():void 0,entities:flags&2?r.vector(r.object):void 0,media:r.object(),mediaAreas:flags&16384?r.vector(r.object):void 0,privacy:flags&4?r.vector(r.object):void 0,views:flags&8?r.object():void 0,sentReaction:flags&32768?r.object():void 0,}},
|
|
1151
1163
|
291044926:function(r){var flags=r.uint();return{_:'stories.allStoriesNotModified',state:r.string(),stealthMode:r.object(),}},
|
|
1152
1164
|
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
1165
|
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
1166
|
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
|
-
|
|
1167
|
+
2424530699:function(r){var flags=r.uint();return{_:'storyViewPublicForward',blocked:!!(flags&1),blockedMyStoriesFrom:!!(flags&2),message:r.object(),}},
|
|
1168
|
+
3178549065:function(r){var flags=r.uint();return{_:'storyViewPublicRepost',blocked:!!(flags&1),blockedMyStoriesFrom:!!(flags&2),peerId:r.object(),story:r.object(),}},
|
|
1169
|
+
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
1170
|
3734957341:function(r){return{_:'stories.storyViews',views:r.vector(r.object),users:r.vector(r.object),}},
|
|
1157
1171
|
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
|
-
|
|
1172
|
+
1484862010:function(r){return{_:'inputReplyToStory',peer:r.object(),storyId:r.int(),}},
|
|
1159
1173
|
1070138683:function(r){return{_:'exportedStoryLink',link:r.string(),}},
|
|
1160
1174
|
1898850301:function(r){var flags=r.uint();return{_:'storiesStealthMode',activeUntilDate:flags&1?r.int():void 0,cooldownUntilDate:flags&2?r.int():void 0,}},
|
|
1161
1175
|
64088654:function(r){return{_:'mediaAreaCoordinates',x:r.double(),y:r.double(),w:r.double(),h:r.double(),rotation:r.double(),}},
|
|
@@ -1163,22 +1177,21 @@ var m={
|
|
|
1163
1177
|
2994872703:function(r){return{_:'inputMediaAreaVenue',coordinates:r.object(),queryId:r.long(),resultId:r.string(),}},
|
|
1164
1178
|
3750443810:function(r){return{_:'mediaAreaGeoPoint',coordinates:r.object(),geo:r.object(),}},
|
|
1165
1179
|
340088945:function(r){var flags=r.uint();return{_:'mediaAreaSuggestedReaction',dark:!!(flags&1),flipped:!!(flags&2),coordinates:r.object(),reaction:r.object(),}},
|
|
1180
|
+
1996756655:function(r){return{_:'mediaAreaChannelPost',coordinates:r.object(),channelId:r.int53(),msgId:r.int(),}},
|
|
1181
|
+
577893055:function(r){return{_:'inputMediaAreaChannelPost',coordinates:r.object(),channel:r.object(),msgId:r.int(),}},
|
|
1166
1182
|
2587224473:function(r){var flags=r.uint();return{_:'peerStories',peer:r.object(),maxReadId:flags&1?r.int():void 0,stories:r.vector(r.object),}},
|
|
1167
1183
|
3404105576:function(r){return{_:'stories.peerStories',stories:r.object(),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1168
1184
|
4250800829:function(r){return{_:'messages.webPage',webpage:r.object(),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1169
1185
|
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
|
-
|
|
1186
|
+
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
1187
|
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
1188
|
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
1189
|
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.
|
|
1190
|
+
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
1191
|
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
1192
|
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
1193
|
2598512866:function(r){return{_:'premium.myBoosts',myBoosts:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1178
1194
|
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
1195
|
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
1196
|
3875901055:function(r){return{_:'postInteractionCountersMessage',msgId:r.int(),views:r.int(),forwards:r.int(),reactions:r.int(),}},
|
|
1184
1197
|
2319978023:function(r){return{_:'postInteractionCountersStory',storyId:r.int(),views:r.int(),forwards:r.int(),reactions:r.int(),}},
|
|
@@ -1189,17 +1202,21 @@ var m={
|
|
|
1189
1202
|
3041614543:function(r){var flags=r.uint();return{_:'peerColor',color:flags&1?r.int():void 0,backgroundEmojiId:flags&2?r.long():void 0,}},
|
|
1190
1203
|
639736408:function(r){return{_:'help.peerColorSet',colors:r.vector(r.int),}},
|
|
1191
1204
|
1987928555:function(r){return{_:'help.peerColorProfileSet',paletteColors:r.vector(r.int),bgColors:r.vector(r.int),storyColors:r.vector(r.int),}},
|
|
1192
|
-
|
|
1205
|
+
2917953214: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,groupMinLevel:flags&16?r.int():void 0,}},
|
|
1193
1206
|
732034510:function(r){return{_:'help.peerColorsNotModified'}},
|
|
1194
1207
|
16313608:function(r){return{_:'help.peerColors',hash:r.int(),colors:r.vector(r.object),}},
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1208
|
+
1620104917:function(r){return{_:'storyReaction',peerId:r.object(),date:r.int(),reaction:r.object(),}},
|
|
1209
|
+
3148555843:function(r){return{_:'storyReactionPublicForward',message:r.object(),}},
|
|
1210
|
+
3486322451:function(r){return{_:'storyReactionPublicRepost',peerId:r.object(),story:r.object(),}},
|
|
1211
|
+
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,}},
|
|
1212
|
+
3179793260:function(r){var flags=r.uint();return{_:'savedDialog',pinned:!!(flags&4),peer:r.object(),topMessage:r.int(),}},
|
|
1213
|
+
4164608545:function(r){return{_:'messages.savedDialogs',dialogs:r.vector(r.object),messages:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1214
|
+
1153080793:function(r){return{_:'messages.savedDialogsSlice',count:r.int(),dialogs:r.vector(r.object),messages:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1215
|
+
3223285736:function(r){return{_:'messages.savedDialogsNotModified',count:r.int(),}},
|
|
1216
|
+
3413112872:function(r){var flags=r.uint();return{_:'savedReactionTag',reaction:r.object(),title:flags&1?r.string():void 0,count:r.int(),}},
|
|
1217
|
+
2291882479:function(r){return{_:'messages.savedReactionTagsNotModified'}},
|
|
1218
|
+
844731658:function(r){return{_:'messages.savedReactionTags',tags:r.vector(r.object),hash:r.long(),}},
|
|
1219
|
+
1001931436:function(r){return{_:'outboxReadDate',date:r.int(),}},
|
|
1203
1220
|
_results:{
|
|
1204
1221
|
'contacts.getContactIDs':function(r){return r.vector(r.int)},
|
|
1205
1222
|
'messages.receivedQueue':function(r){return r.vector(r.long)},
|