@mtcute/tl 166.0.0 → 167.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 +57 -41
- package/binary/writer.js +85 -55
- package/index.d.ts +1674 -218
- package/index.js +17 -3
- package/package.json +1 -1
package/binary/reader.js
CHANGED
|
@@ -39,6 +39,7 @@ var m={
|
|
|
39
39
|
261416433:function(r){var flags=r.uint();return{_:'inputMediaPoll',poll:r.object(),correctAnswers:flags&1?r.vector(r.bytes):void 0,solution:flags&2?r.string():void 0,solutionEntities:flags&2?r.vector(r.object):void 0,}},
|
|
40
40
|
3866083195:function(r){return{_:'inputMediaDice',emoticon:r.string(),}},
|
|
41
41
|
2315114360:function(r){return{_:'inputMediaStory',peer:r.object(),id:r.int(),}},
|
|
42
|
+
3256584265:function(r){var flags=r.uint();return{_:'inputMediaWebPage',forceLargeMedia:!!(flags&1),forceSmallMedia:!!(flags&2),optional:!!(flags&4),url:r.string(),}},
|
|
42
43
|
480546647:function(r){return{_:'inputChatPhotoEmpty'}},
|
|
43
44
|
3184373440:function(r){var flags=r.uint();return{_:'inputChatUploadedPhoto',file:flags&1?r.object():void 0,video:flags&2?r.object():void 0,videoStartTs:flags&4?r.double():void 0,videoEmojiMarkup:flags&8?r.object():void 0,}},
|
|
44
45
|
2303962423:function(r){return{_:'inputChatPhoto',id:r.object(),}},
|
|
@@ -70,7 +71,7 @@ var m={
|
|
|
70
71
|
3016663268:function(r){return{_:'storage.fileMp4'}},
|
|
71
72
|
276907596:function(r){return{_:'storage.fileWebp'}},
|
|
72
73
|
3552332666:function(r){return{_:'userEmpty',id:r.int53(),}},
|
|
73
|
-
|
|
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
75
|
1326562017:function(r){return{_:'userProfilePhotoEmpty'}},
|
|
75
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(),}},
|
|
76
77
|
164646985:function(r){return{_:'userStatusEmpty'}},
|
|
@@ -82,10 +83,10 @@ var m={
|
|
|
82
83
|
693512293:function(r){return{_:'chatEmpty',id:r.int53(),}},
|
|
83
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,}},
|
|
84
85
|
1704108455:function(r){return{_:'chatForbidden',id:r.int53(),title:r.string(),}},
|
|
85
|
-
|
|
86
|
+
2391264472: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,}},
|
|
86
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,}},
|
|
87
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,}},
|
|
88
|
-
1915758525: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),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,}},
|
|
89
|
+
1915758525: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,}},
|
|
89
90
|
3224190983:function(r){return{_:'chatParticipant',userId:r.int53(),inviterId:r.int53(),date:r.int(),}},
|
|
90
91
|
3832270564:function(r){return{_:'chatParticipantCreator',userId:r.int53(),}},
|
|
91
92
|
2694004571:function(r){return{_:'chatParticipantAdmin',userId:r.int53(),inviterId:r.int53(),date:r.int(),}},
|
|
@@ -94,7 +95,7 @@ var m={
|
|
|
94
95
|
935395612:function(r){return{_:'chatPhotoEmpty'}},
|
|
95
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(),}},
|
|
96
97
|
2426849924:function(r){var flags=r.uint();return{_:'messageEmpty',id:r.int(),peerId:flags&1?r.object():void 0,}},
|
|
97
|
-
940666592: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),id:r.int(),fromId:flags&256?r.object():void 0,peerId:r.object(),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,
|
|
98
|
+
940666592: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,peerId:r.object(),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,}},
|
|
98
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,}},
|
|
99
100
|
1038967584:function(r){return{_:'messageMediaEmpty'}},
|
|
100
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,}},
|
|
@@ -110,6 +111,7 @@ var m={
|
|
|
110
111
|
1272375192:function(r){return{_:'messageMediaPoll',poll:r.object(),results:r.object(),}},
|
|
111
112
|
1065280907:function(r){return{_:'messageMediaDice',value:r.int(),emoticon:r.string(),}},
|
|
112
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
|
+
1478887012:function(r){var flags=r.uint();return{_:'messageMediaGiveaway',onlyNewSubscribers:!!(flags&1),channels:r.vector(r.int53),countriesIso2:flags&2?r.vector(r.string):void 0,quantity:r.int(),months:r.int(),untilDate:r.int(),}},
|
|
113
115
|
3064919984:function(r){return{_:'messageActionEmpty'}},
|
|
114
116
|
3175599021:function(r){return{_:'messageActionChatCreate',title:r.string(),users:r.vector(r.int53),}},
|
|
115
117
|
3047280218:function(r){return{_:'messageActionChatEditTitle',title:r.string(),}},
|
|
@@ -147,9 +149,11 @@ var m={
|
|
|
147
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,}},
|
|
148
150
|
1474192222:function(r){return{_:'messageActionSuggestProfilePhoto',photo:r.object(),}},
|
|
149
151
|
4269225053:function(r){return{_:'messageActionRequestedPeer',buttonId:r.int(),peer:r.object(),}},
|
|
150
|
-
|
|
152
|
+
1348510708:function(r){var flags=r.uint();return{_:'messageActionSetChatWallPaper',same:!!(flags&1),forBoth:!!(flags&2),wallpaper:r.object(),}},
|
|
151
153
|
3229121901:function(r){return{_:'messageActionSetSameChatWallPaper',wallpaper:r.object(),}},
|
|
152
|
-
|
|
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(),}},
|
|
155
|
+
858499565:function(r){return{_:'messageActionGiveawayLaunch'}},
|
|
156
|
+
3582593222:function(r){var flags=r.uint();return{_:'dialog',pinned:!!(flags&4),unreadMark:!!(flags&8),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,viewForumAsMessages:!!(flags&64),}},
|
|
153
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(),}},
|
|
154
158
|
590459437:function(r){return{_:'photoEmpty',id:r.long(),}},
|
|
155
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(),}},
|
|
@@ -186,7 +190,7 @@ var m={
|
|
|
186
190
|
4124956391:function(r){return{_:'inputReportReasonFake'}},
|
|
187
191
|
177124030:function(r){return{_:'inputReportReasonIllegalDrugs'}},
|
|
188
192
|
2663876157:function(r){return{_:'inputReportReasonPersonalDetails'}},
|
|
189
|
-
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),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,}},
|
|
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,}},
|
|
190
194
|
341499403:function(r){return{_:'contact',userId:r.int53(),mutual:r.boolean(),}},
|
|
191
195
|
3242081360:function(r){return{_:'importedContact',userId:r.int53(),clientId:r.long(),}},
|
|
192
196
|
383348795:function(r){return{_:'contactStatus',userId:r.int53(),status:r.object(),}},
|
|
@@ -240,7 +244,7 @@ var m={
|
|
|
240
244
|
3811523959:function(r){return{_:'updateChatParticipantDelete',chatId:r.int53(),userId:r.int53(),version:r.int(),}},
|
|
241
245
|
2388564083:function(r){return{_:'updateDcOptions',dcOptions:r.vector(r.object),}},
|
|
242
246
|
3200411887:function(r){return{_:'updateNotifySettings',peer:r.object(),notifySettings:r.object(),}},
|
|
243
|
-
3957614617:function(r){var flags=r.uint();return{_:'updateServiceNotification',popup:!!(flags&1),inboxDate:flags&2?r.int():void 0,
|
|
247
|
+
3957614617:function(r){var flags=r.uint();return{_:'updateServiceNotification',popup:!!(flags&1),invertMedia:!!(flags&4),inboxDate:flags&2?r.int():void 0,type:r.string(),message:r.string(),media:r.object(),entities:r.vector(r.object),}},
|
|
244
248
|
3996854058:function(r){return{_:'updatePrivacy',key:r.object(),rules:r.vector(r.object),}},
|
|
245
249
|
88680979:function(r){return{_:'updateUserPhone',userId:r.int53(),phone:r.string(),}},
|
|
246
250
|
2627162079:function(r){var flags=r.uint();return{_:'updateReadHistoryInbox',folderId:flags&1?r.int():void 0,peer:r.object(),maxId:r.int(),stillUnreadCount:r.int(),pts:r.int(),ptsCount:r.int(),}},
|
|
@@ -332,14 +336,15 @@ var m={
|
|
|
332
336
|
1517529484:function(r){return{_:'updateMessageExtendedMedia',peer:r.object(),msgId:r.int(),extendedMedia:r.object(),}},
|
|
333
337
|
422509539:function(r){var flags=r.uint();return{_:'updateChannelPinnedTopic',pinned:!!(flags&1),channelId:r.int53(),topicId:r.int(),}},
|
|
334
338
|
4263085570:function(r){var flags=r.uint();return{_:'updateChannelPinnedTopics',channelId:r.int53(),order:flags&1?r.vector(r.int):void 0,}},
|
|
335
|
-
542282808:function(r){return{_:'updateUser',userId:r.
|
|
339
|
+
542282808:function(r){return{_:'updateUser',userId:r.int53(),}},
|
|
336
340
|
3959795863:function(r){return{_:'updateAutoSaveSettings'}},
|
|
337
|
-
3438316246:function(r){return{_:'updateGroupInvitePrivacyForbidden',userId:r.
|
|
341
|
+
3438316246:function(r){return{_:'updateGroupInvitePrivacyForbidden',userId:r.int53(),}},
|
|
338
342
|
1974712216:function(r){return{_:'updateStory',peer:r.object(),story:r.object(),}},
|
|
339
343
|
4149121835:function(r){return{_:'updateReadStories',peer:r.object(),maxId:r.int(),}},
|
|
340
344
|
468923833:function(r){return{_:'updateStoryID',id:r.int(),randomId:r.long(),}},
|
|
341
345
|
738741697:function(r){return{_:'updateStoriesStealthMode',stealthMode:r.object(),}},
|
|
342
346
|
2103604867:function(r){return{_:'updateSentStoryReaction',peer:r.object(),storyId:r.int(),reaction:r.object(),}},
|
|
347
|
+
2421019804:function(r){return{_:'updateBotChatBoost',peer:r.object(),boost:r.object(),qts:r.int(),}},
|
|
343
348
|
2775329342:function(r){return{_:'updates.state',pts:r.int(),qts:r.int(),date:r.int(),seq:r.int(),unreadCount:r.int(),}},
|
|
344
349
|
1567990072:function(r){return{_:'updates.differenceEmpty',date:r.int(),seq:r.int(),}},
|
|
345
350
|
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(),}},
|
|
@@ -466,7 +471,7 @@ var m={
|
|
|
466
471
|
2228326789:function(r){return{_:'messages.affectedMessages',pts:r.int(),ptsCount:r.int(),}},
|
|
467
472
|
555358088:function(r){var flags=r.uint();return{_:'webPageEmpty',id:r.long(),url:flags&1?r.string():void 0,}},
|
|
468
473
|
2966502983:function(r){var flags=r.uint();return{_:'webPagePending',id:r.long(),url:flags&1?r.string():void 0,date:r.int(),}},
|
|
469
|
-
3902555570:function(r){var flags=r.uint();return{_:'webPage',id:r.long(),url:r.string(),displayUrl:r.string(),hash:r.int(),type:flags&1?r.string():void 0,siteName:flags&2?r.string():void 0,title:flags&4?r.string():void 0,description:flags&8?r.string():void 0,photo:flags&16?r.object():void 0,embedUrl:flags&32?r.string():void 0,embedType:flags&32?r.string():void 0,embedWidth:flags&64?r.int():void 0,embedHeight:flags&64?r.int():void 0,duration:flags&128?r.int():void 0,author:flags&256?r.string():void 0,document:flags&512?r.object():void 0,cachedPage:flags&1024?r.object():void 0,attributes:flags&4096?r.vector(r.object):void 0,
|
|
474
|
+
3902555570:function(r){var flags=r.uint();return{_:'webPage',hasLargeMedia:!!(flags&8192),id:r.long(),url:r.string(),displayUrl:r.string(),hash:r.int(),type:flags&1?r.string():void 0,siteName:flags&2?r.string():void 0,title:flags&4?r.string():void 0,description:flags&8?r.string():void 0,photo:flags&16?r.object():void 0,embedUrl:flags&32?r.string():void 0,embedType:flags&32?r.string():void 0,embedWidth:flags&64?r.int():void 0,embedHeight:flags&64?r.int():void 0,duration:flags&128?r.int():void 0,author:flags&256?r.string():void 0,document:flags&512?r.object():void 0,cachedPage:flags&1024?r.object():void 0,attributes:flags&4096?r.vector(r.object):void 0,}},
|
|
470
475
|
1930545681:function(r){var flags=r.uint();return{_:'webPageNotModified',cachedPageViews:flags&1?r.int():void 0,}},
|
|
471
476
|
2902578717:function(r){var flags=r.uint();return{_:'authorization',current:!!(flags&1),officialApp:!!(flags&2),passwordPending:!!(flags&4),encryptedRequestsDisabled:!!(flags&8),callRequestsDisabled:!!(flags&16),unconfirmed:!!(flags&32),hash:r.long(),deviceModel:r.string(),platform:r.string(),systemVersion:r.string(),apiId:r.int(),appName:r.string(),appVersion:r.string(),dateCreated:r.int(),dateActive:r.int(),ip:r.string(),country:r.string(),region:r.string(),}},
|
|
472
477
|
1275039392:function(r){return{_:'account.authorizations',authorizationTtlDays:r.int(),authorizations:r.vector(r.object),}},
|
|
@@ -490,7 +495,7 @@ var m={
|
|
|
490
495
|
80008398:function(r){return{_:'inputStickerSetEmojiGenericAnimations'}},
|
|
491
496
|
701560302:function(r){return{_:'inputStickerSetEmojiDefaultStatuses'}},
|
|
492
497
|
1153562857:function(r){return{_:'inputStickerSetEmojiDefaultTopicIcons'}},
|
|
493
|
-
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),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,
|
|
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(),}},
|
|
494
499
|
1846886166:function(r){return{_:'messages.stickerSet',set:r.object(),packs:r.vector(r.object),keywords:r.vector(r.object),documents:r.vector(r.object),}},
|
|
495
500
|
3556320491:function(r){return{_:'messages.stickerSetNotModified'}},
|
|
496
501
|
3262826695:function(r){return{_:'botCommand',command:r.string(),description:r.string(),}},
|
|
@@ -533,10 +538,10 @@ var m={
|
|
|
533
538
|
1280209983:function(r){return{_:'messageEntityCashtag',offset:r.int(),length:r.int(),}},
|
|
534
539
|
2622389899:function(r){return{_:'messageEntityUnderline',offset:r.int(),length:r.int(),}},
|
|
535
540
|
3204879316:function(r){return{_:'messageEntityStrike',offset:r.int(),length:r.int(),}},
|
|
536
|
-
34469328:function(r){return{_:'messageEntityBlockquote',offset:r.int(),length:r.int(),}},
|
|
537
541
|
1981704948:function(r){return{_:'messageEntityBankCard',offset:r.int(),length:r.int(),}},
|
|
538
542
|
852137487:function(r){return{_:'messageEntitySpoiler',offset:r.int(),length:r.int(),}},
|
|
539
543
|
3369010680:function(r){return{_:'messageEntityCustomEmoji',offset:r.int(),length:r.int(),documentId:r.long(),}},
|
|
544
|
+
34469328:function(r){return{_:'messageEntityBlockquote',offset:r.int(),length:r.int(),}},
|
|
540
545
|
4002160262:function(r){return{_:'inputChannelEmpty'}},
|
|
541
546
|
4082822184:function(r){return{_:'inputChannel',channelId:r.int53(),accessHash:r.long(),}},
|
|
542
547
|
1536380829:function(r){return{_:'inputChannelFromMessage',peer:r.object(),msgId:r.int(),channelId:r.int53(),}},
|
|
@@ -567,23 +572,25 @@ var m={
|
|
|
567
572
|
2013922064:function(r){var flags=r.uint();return{_:'help.termsOfService',popup:!!(flags&1),id:r.object(),text:r.string(),entities:r.vector(r.object),minAgeConfirm:flags&2?r.int():void 0,}},
|
|
568
573
|
3892468898:function(r){return{_:'messages.savedGifsNotModified'}},
|
|
569
574
|
2225089037:function(r){return{_:'messages.savedGifs',hash:r.long(),gifs:r.vector(r.object),}},
|
|
570
|
-
864077702:function(r){var flags=r.uint();return{_:'inputBotInlineMessageMediaAuto',message:r.string(),entities:flags&2?r.vector(r.object):void 0,replyMarkup:flags&4?r.object():void 0,
|
|
571
|
-
1036876423:function(r){var flags=r.uint();return{_:'inputBotInlineMessageText',noWebpage:!!(flags&1),message:r.string(),entities:flags&2?r.vector(r.object):void 0,replyMarkup:flags&4?r.object():void 0,
|
|
575
|
+
864077702:function(r){var flags=r.uint();return{_:'inputBotInlineMessageMediaAuto',invertMedia:!!(flags&8),message:r.string(),entities:flags&2?r.vector(r.object):void 0,replyMarkup:flags&4?r.object():void 0,}},
|
|
576
|
+
1036876423:function(r){var flags=r.uint();return{_:'inputBotInlineMessageText',noWebpage:!!(flags&1),invertMedia:!!(flags&8),message:r.string(),entities:flags&2?r.vector(r.object):void 0,replyMarkup:flags&4?r.object():void 0,}},
|
|
572
577
|
2526190213:function(r){var flags=r.uint();return{_:'inputBotInlineMessageMediaGeo',geoPoint:r.object(),heading:flags&1?r.int():void 0,period:flags&2?r.int():void 0,proximityNotificationRadius:flags&8?r.int():void 0,replyMarkup:flags&4?r.object():void 0,}},
|
|
573
578
|
1098628881:function(r){var flags=r.uint();return{_:'inputBotInlineMessageMediaVenue',geoPoint:r.object(),title:r.string(),address:r.string(),provider:r.string(),venueId:r.string(),venueType:r.string(),replyMarkup:flags&4?r.object():void 0,}},
|
|
574
579
|
2800599037:function(r){var flags=r.uint();return{_:'inputBotInlineMessageMediaContact',phoneNumber:r.string(),firstName:r.string(),lastName:r.string(),vcard:r.string(),replyMarkup:flags&4?r.object():void 0,}},
|
|
575
580
|
1262639204:function(r){var flags=r.uint();return{_:'inputBotInlineMessageGame',replyMarkup:flags&4?r.object():void 0,}},
|
|
576
581
|
3622273573:function(r){var flags=r.uint();return{_:'inputBotInlineMessageMediaInvoice',title:r.string(),description:r.string(),photo:flags&1?r.object():void 0,invoice:r.object(),payload:r.bytes(),provider:r.string(),providerData:r.object(),replyMarkup:flags&4?r.object():void 0,}},
|
|
582
|
+
3185362192:function(r){var flags=r.uint();return{_:'inputBotInlineMessageMediaWebPage',invertMedia:!!(flags&8),forceLargeMedia:!!(flags&16),forceSmallMedia:!!(flags&32),optional:!!(flags&64),message:r.string(),entities:flags&2?r.vector(r.object):void 0,url:r.string(),replyMarkup:flags&4?r.object():void 0,}},
|
|
577
583
|
2294256409:function(r){var flags=r.uint();return{_:'inputBotInlineResult',id:r.string(),type:r.string(),title:flags&2?r.string():void 0,description:flags&4?r.string():void 0,url:flags&8?r.string():void 0,thumb:flags&16?r.object():void 0,content:flags&32?r.object():void 0,sendMessage:r.object(),}},
|
|
578
584
|
2832753831:function(r){return{_:'inputBotInlineResultPhoto',id:r.string(),type:r.string(),photo:r.object(),sendMessage:r.object(),}},
|
|
579
585
|
4294507972:function(r){var flags=r.uint();return{_:'inputBotInlineResultDocument',id:r.string(),type:r.string(),title:flags&2?r.string():void 0,description:flags&4?r.string():void 0,document:r.object(),sendMessage:r.object(),}},
|
|
580
586
|
1336154098:function(r){return{_:'inputBotInlineResultGame',id:r.string(),shortName:r.string(),sendMessage:r.object(),}},
|
|
581
|
-
1984755728:function(r){var flags=r.uint();return{_:'botInlineMessageMediaAuto',message:r.string(),entities:flags&2?r.vector(r.object):void 0,replyMarkup:flags&4?r.object():void 0,
|
|
582
|
-
2357159394:function(r){var flags=r.uint();return{_:'botInlineMessageText',noWebpage:!!(flags&1),message:r.string(),entities:flags&2?r.vector(r.object):void 0,replyMarkup:flags&4?r.object():void 0,
|
|
587
|
+
1984755728:function(r){var flags=r.uint();return{_:'botInlineMessageMediaAuto',invertMedia:!!(flags&8),message:r.string(),entities:flags&2?r.vector(r.object):void 0,replyMarkup:flags&4?r.object():void 0,}},
|
|
588
|
+
2357159394:function(r){var flags=r.uint();return{_:'botInlineMessageText',noWebpage:!!(flags&1),invertMedia:!!(flags&8),message:r.string(),entities:flags&2?r.vector(r.object):void 0,replyMarkup:flags&4?r.object():void 0,}},
|
|
583
589
|
85477117:function(r){var flags=r.uint();return{_:'botInlineMessageMediaGeo',geo:r.object(),heading:flags&1?r.int():void 0,period:flags&2?r.int():void 0,proximityNotificationRadius:flags&8?r.int():void 0,replyMarkup:flags&4?r.object():void 0,}},
|
|
584
590
|
2324063644:function(r){var flags=r.uint();return{_:'botInlineMessageMediaVenue',geo:r.object(),title:r.string(),address:r.string(),provider:r.string(),venueId:r.string(),venueType:r.string(),replyMarkup:flags&4?r.object():void 0,}},
|
|
585
591
|
416402882:function(r){var flags=r.uint();return{_:'botInlineMessageMediaContact',phoneNumber:r.string(),firstName:r.string(),lastName:r.string(),vcard:r.string(),replyMarkup:flags&4?r.object():void 0,}},
|
|
586
592
|
894081801:function(r){var flags=r.uint();return{_:'botInlineMessageMediaInvoice',shippingAddressRequested:!!(flags&2),test:!!(flags&8),title:r.string(),description:r.string(),photo:flags&1?r.object():void 0,currency:r.string(),totalAmount:r.long(),replyMarkup:flags&4?r.object():void 0,}},
|
|
593
|
+
2157631910:function(r){var flags=r.uint();return{_:'botInlineMessageMediaWebPage',invertMedia:!!(flags&8),forceLargeMedia:!!(flags&16),forceSmallMedia:!!(flags&32),manual:!!(flags&128),safe:!!(flags&256),message:r.string(),entities:flags&2?r.vector(r.object):void 0,url:r.string(),replyMarkup:flags&4?r.object():void 0,}},
|
|
587
594
|
295067450:function(r){var flags=r.uint();return{_:'botInlineResult',id:r.string(),type:r.string(),title:flags&2?r.string():void 0,description:flags&4?r.string():void 0,url:flags&8?r.string():void 0,thumb:flags&16?r.object():void 0,content:flags&32?r.object():void 0,sendMessage:r.object(),}},
|
|
588
595
|
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(),}},
|
|
589
596
|
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),}},
|
|
@@ -782,6 +789,8 @@ var m={
|
|
|
782
789
|
2920712457:function(r){return{_:'channelAdminLogEventActionDeleteTopic',topic:r.object(),}},
|
|
783
790
|
1569535291:function(r){var flags=r.uint();return{_:'channelAdminLogEventActionPinTopic',prevTopic:flags&1?r.object():void 0,newTopic:flags&2?r.object():void 0,}},
|
|
784
791
|
1693675004:function(r){return{_:'channelAdminLogEventActionToggleAntiSpam',newValue:r.boolean(),}},
|
|
792
|
+
1009460347:function(r){return{_:'channelAdminLogEventActionChangeColor',prevValue:r.int(),newValue:r.int(),}},
|
|
793
|
+
1147126836:function(r){return{_:'channelAdminLogEventActionChangeBackgroundEmoji',prevValue:r.long(),newValue:r.long(),}},
|
|
785
794
|
531458253:function(r){return{_:'channelAdminLogEvent',id:r.long(),date:r.int(),userId:r.int53(),action:r.object(),}},
|
|
786
795
|
3985307469:function(r){return{_:'channels.adminLogResults',events:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
787
796
|
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),}},
|
|
@@ -949,7 +958,7 @@ var m={
|
|
|
949
958
|
3202127906:function(r){return{_:'statsGraphError',error:r.string(),}},
|
|
950
959
|
2393138358:function(r){var flags=r.uint();return{_:'statsGraph',json:r.object(),zoomToken:flags&1?r.string():void 0,}},
|
|
951
960
|
2907687357:function(r){return{_:'messageInteractionCounters',msgId:r.int(),views:r.int(),forwards:r.int(),}},
|
|
952
|
-
|
|
961
|
+
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),}},
|
|
953
962
|
2566302837:function(r){return{_:'help.promoDataEmpty',expires:r.int(),}},
|
|
954
963
|
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,}},
|
|
955
964
|
3727929492:function(r){var flags=r.uint();return{_:'videoSize',type:r.string(),w:r.int(),h:r.int(),size:r.int(),videoStartTs:flags&1?r.double():void 0,}},
|
|
@@ -967,11 +976,11 @@ var m={
|
|
|
967
976
|
1163625789:function(r){var flags=r.uint();return{_:'messageViews',views:flags&1?r.int():void 0,forwards:flags&2?r.int():void 0,replies:flags&4?r.object():void 0,}},
|
|
968
977
|
3066361155:function(r){return{_:'messages.messageViews',views:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
969
978
|
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),}},
|
|
970
|
-
|
|
979
|
+
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,}},
|
|
971
980
|
2627256257:function(r){return{_:'messageReplyStoryHeader',userId:r.int53(),storyId:r.int(),}},
|
|
972
981
|
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,}},
|
|
973
982
|
3908927508:function(r){return{_:'peerBlocked',peerId:r.object(),date:r.int(),}},
|
|
974
|
-
|
|
983
|
+
2145983508:function(r){return{_:'stats.messageStats',viewsGraph:r.object(),reactionsByEmotionGraph:r.object(),}},
|
|
975
984
|
2004925620:function(r){return{_:'groupCallDiscarded',id:r.long(),accessHash:r.long(),duration:r.int(),}},
|
|
976
985
|
3583468812:function(r){var flags=r.uint();return{_:'groupCall',joinMuted:!!(flags&2),canChangeJoinMuted:!!(flags&4),joinDateAsc:!!(flags&64),scheduleStartSubscribed:!!(flags&256),canStartVideo:!!(flags&512),recordVideoActive:!!(flags&2048),rtmpStream:!!(flags&4096),listenersHidden:!!(flags&8192),id:r.long(),accessHash:r.long(),participantsCount:r.int(),title:flags&8?r.string():void 0,streamDcId:flags&16?r.int():void 0,recordStartDate:flags&32?r.int():void 0,scheduleDate:flags&128?r.int():void 0,unmutedVideoCount:flags&1024?r.int():void 0,unmutedVideoLimit:r.int(),version:r.int(),}},
|
|
977
986
|
3635053583:function(r){return{_:'inputGroupCall',id:r.long(),accessHash:r.long(),}},
|
|
@@ -1010,7 +1019,7 @@ var m={
|
|
|
1010
1019
|
3816265825:function(r){return{_:'account.resetPasswordFailedWait',retryDate:r.int(),}},
|
|
1011
1020
|
3924819069:function(r){return{_:'account.resetPasswordRequestedWait',untilDate:r.int(),}},
|
|
1012
1021
|
3911636542:function(r){return{_:'account.resetPasswordOk'}},
|
|
1013
|
-
|
|
1022
|
+
3981673463:function(r){var flags=r.uint();return{_:'sponsoredMessage',recommended:!!(flags&32),showPeerPhoto:!!(flags&64),randomId:r.bytes(),fromId:flags&8?r.object():void 0,chatInvite:flags&16?r.object():void 0,chatInviteHash:flags&16?r.string():void 0,channelPost:flags&4?r.int():void 0,startParam:flags&1?r.string():void 0,webpage:flags&512?r.object():void 0,app:flags&1024?r.object():void 0,message:r.string(),entities:flags&2?r.vector(r.object):void 0,buttonText:flags&2048?r.string():void 0,sponsorInfo:flags&128?r.string():void 0,additionalInfo:flags&256?r.string():void 0,}},
|
|
1014
1023
|
3387825543:function(r){var flags=r.uint();return{_:'messages.sponsoredMessages',postsBetween:flags&1?r.int():void 0,messages:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1015
1024
|
406407439:function(r){return{_:'messages.sponsoredMessagesEmpty'}},
|
|
1016
1025
|
3383776159:function(r){return{_:'searchResultsCalendarPeriod',date:r.int(),minMsgId:r.int(),maxMsgId:r.int(),count:r.int(),}},
|
|
@@ -1058,11 +1067,14 @@ var m={
|
|
|
1058
1067
|
2080104188:function(r){return{_:'attachMenuPeerTypeBroadcast'}},
|
|
1059
1068
|
3317000281:function(r){return{_:'inputInvoiceMessage',peer:r.object(),msgId:r.int(),}},
|
|
1060
1069
|
3274099439:function(r){return{_:'inputInvoiceSlug',slug:r.string(),}},
|
|
1070
|
+
2560125965:function(r){return{_:'inputInvoicePremiumGiftCode',purpose:r.object(),option:r.object(),}},
|
|
1061
1071
|
2932919257:function(r){return{_:'payments.exportedInvoice',url:r.string(),}},
|
|
1062
|
-
|
|
1072
|
+
3485063511:function(r){var flags=r.uint();return{_:'messages.transcribedAudio',pending:!!(flags&1),transcriptionId:r.long(),text:r.string(),trialRemainsNum:flags&2?r.int():void 0,trialRemainsUntilDate:flags&2?r.int():void 0,}},
|
|
1063
1073
|
1395946908:function(r){return{_:'help.premiumPromo',statusText:r.string(),statusEntities:r.vector(r.object),videoSections:r.vector(r.string),videos:r.vector(r.object),periodOptions:r.vector(r.object),users:r.vector(r.object),}},
|
|
1064
1074
|
2792693350:function(r){var flags=r.uint();return{_:'inputStorePaymentPremiumSubscription',restore:!!(flags&1),upgrade:!!(flags&2),}},
|
|
1065
1075
|
1634697192:function(r){return{_:'inputStorePaymentGiftPremium',userId:r.object(),currency:r.string(),amount:r.long(),}},
|
|
1076
|
+
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
|
+
2090038758:function(r){var flags=r.uint();return{_:'inputStorePaymentPremiumGiveaway',onlyNewSubscribers:!!(flags&1),boostPeer:r.object(),additionalPeers:flags&2?r.vector(r.object):void 0,countriesIso2:flags&4?r.vector(r.string):void 0,randomId:r.long(),untilDate:r.int(),currency:r.string(),amount:r.long(),}},
|
|
1066
1078
|
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,}},
|
|
1067
1079
|
2298016283:function(r){return{_:'paymentFormMethod',url:r.string(),title:r.string(),}},
|
|
1068
1080
|
769727150:function(r){return{_:'emojiStatusEmpty'}},
|
|
@@ -1135,14 +1147,14 @@ var m={
|
|
|
1135
1147
|
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,}},
|
|
1136
1148
|
1374088783:function(r){return{_:'storyItemDeleted',id:r.int(),}},
|
|
1137
1149
|
4289579283:function(r){var flags=r.uint();return{_:'storyItemSkipped',closeFriends:!!(flags&256),id:r.int(),date:r.int(),expireDate:r.int(),}},
|
|
1138
|
-
|
|
1150
|
+
2942526881: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(),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,}},
|
|
1139
1151
|
291044926:function(r){var flags=r.uint();return{_:'stories.allStoriesNotModified',state:r.string(),stealthMode:r.object(),}},
|
|
1140
1152
|
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(),}},
|
|
1141
1153
|
1574486984:function(r){return{_:'stories.stories',count:r.int(),stories:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1142
1154
|
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,}},
|
|
1143
1155
|
1189722604:function(r){var flags=r.uint();return{_:'stories.storyViewsList',count:r.int(),reactionsCount:r.int(),views:r.vector(r.object),users:r.vector(r.object),nextOffset:flags&1?r.string():void 0,}},
|
|
1144
1156
|
3734957341:function(r){return{_:'stories.storyViews',views:r.vector(r.object),users:r.vector(r.object),}},
|
|
1145
|
-
|
|
1157
|
+
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,}},
|
|
1146
1158
|
363917955:function(r){return{_:'inputReplyToStory',userId:r.object(),storyId:r.int(),}},
|
|
1147
1159
|
1070138683:function(r){return{_:'exportedStoryLink',link:r.string(),}},
|
|
1148
1160
|
1898850301:function(r){var flags=r.uint();return{_:'storiesStealthMode',activeUntilDate:flags&1?r.int():void 0,cooldownUntilDate:flags&2?r.int():void 0,}},
|
|
@@ -1153,23 +1165,7 @@ var m={
|
|
|
1153
1165
|
340088945:function(r){var flags=r.uint();return{_:'mediaAreaSuggestedReaction',dark:!!(flags&1),flipped:!!(flags&2),coordinates:r.object(),reaction:r.object(),}},
|
|
1154
1166
|
2587224473:function(r){var flags=r.uint();return{_:'peerStories',peer:r.object(),maxReadId:flags&1?r.int():void 0,stories:r.vector(r.object),}},
|
|
1155
1167
|
3404105576:function(r){return{_:'stories.peerStories',stories:r.object(),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1156
|
-
3854674524:function(r){var flags=r.uint();return{_:'stories.boostsStatus',myBoost:!!(flags&4),level:r.int(),currentLevelBoosts:r.int(),boosts:r.int(),nextLevelBoosts:flags&1?r.int():void 0,premiumAudience:flags&2?r.object():void 0,boostUrl:r.string(),}},
|
|
1157
|
-
3273078151:function(r){return{_:'stories.canApplyBoostOk'}},
|
|
1158
|
-
1898726997:function(r){return{_:'stories.canApplyBoostReplace',currentBoost:r.object(),chats:r.vector(r.object),}},
|
|
1159
|
-
245261184:function(r){return{_:'booster',userId:r.int53(),expires:r.int(),}},
|
|
1160
|
-
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),}},
|
|
1161
1168
|
4250800829:function(r){return{_:'messages.webPage',webpage:r.object(),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1162
|
-
3256584265:function(r){var flags=r.uint();return{_:'inputMediaWebPage',forceLargeMedia:!!(flags&1),forceSmallMedia:!!(flags&2),optional:!!(flags&4),url:r.string(),}},
|
|
1163
|
-
1478887012:function(r){var flags=r.uint();return{_:'messageMediaGiveaway',onlyNewSubscribers:!!(flags&1),channels:r.vector(r.long),countriesIso2:flags&2?r.vector(r.string):void 0,quantity:r.int(),months:r.int(),untilDate:r.int(),}},
|
|
1164
|
-
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(),}},
|
|
1165
|
-
858499565:function(r){return{_:'messageActionGiveawayLaunch'}},
|
|
1166
|
-
3185362192:function(r){var flags=r.uint();return{_:'inputBotInlineMessageMediaWebPage',invertMedia:!!(flags&8),forceLargeMedia:!!(flags&16),forceSmallMedia:!!(flags&32),optional:!!(flags&64),message:r.string(),entities:flags&2?r.vector(r.object):void 0,url:r.string(),replyMarkup:flags&4?r.object():void 0,}},
|
|
1167
|
-
2157631910:function(r){var flags=r.uint();return{_:'botInlineMessageMediaWebPage',invertMedia:!!(flags&8),forceLargeMedia:!!(flags&16),forceSmallMedia:!!(flags&32),manual:!!(flags&128),safe:!!(flags&256),message:r.string(),entities:flags&2?r.vector(r.object):void 0,url:r.string(),replyMarkup:flags&4?r.object():void 0,}},
|
|
1168
|
-
1009460347:function(r){return{_:'channelAdminLogEventActionChangeColor',prevValue:r.int(),newValue:r.int(),}},
|
|
1169
|
-
1147126836:function(r){return{_:'channelAdminLogEventActionChangeBackgroundEmoji',prevValue:r.long(),newValue:r.long(),}},
|
|
1170
|
-
2560125965:function(r){return{_:'inputInvoicePremiumGiftCode',purpose:r.object(),option:r.object(),}},
|
|
1171
|
-
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(),}},
|
|
1172
|
-
2090038758:function(r){var flags=r.uint();return{_:'inputStorePaymentPremiumGiveaway',onlyNewSubscribers:!!(flags&1),boostPeer:r.object(),additionalPeers:flags&2?r.vector(r.object):void 0,countriesIso2:flags&4?r.vector(r.string):void 0,randomId:r.long(),untilDate:r.int(),currency:r.string(),amount:r.long(),}},
|
|
1173
1169
|
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(),}},
|
|
1174
1170
|
3072520536:function(r){var flags=r.uint();return{_:'payments.checkedGiftCode',viaGiveaway:!!(flags&4),fromId:r.object(),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),}},
|
|
1175
1171
|
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,}},
|
|
@@ -1180,10 +1176,30 @@ var m={
|
|
|
1180
1176
|
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,}},
|
|
1181
1177
|
2598512866:function(r){return{_:'premium.myBoosts',myBoosts:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1182
1178
|
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
|
+
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
|
+
3875901055:function(r){return{_:'postInteractionCountersMessage',msgId:r.int(),views:r.int(),forwards:r.int(),reactions:r.int(),}},
|
|
1184
|
+
2319978023:function(r){return{_:'postInteractionCountersStory',storyId:r.int(),views:r.int(),forwards:r.int(),reactions:r.int(),}},
|
|
1185
|
+
1355613820:function(r){return{_:'stats.storyStats',viewsGraph:r.object(),reactionsByEmotionGraph:r.object(),}},
|
|
1186
|
+
32685898:function(r){return{_:'publicForwardMessage',message:r.object(),}},
|
|
1187
|
+
3992169936:function(r){return{_:'publicForwardStory',peer:r.object(),story:r.object(),}},
|
|
1188
|
+
2466479648:function(r){var flags=r.uint();return{_:'stats.publicForwards',count:r.int(),forwards:r.vector(r.object),nextOffset:flags&1?r.string():void 0,chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1189
|
+
3041614543:function(r){var flags=r.uint();return{_:'peerColor',color:flags&1?r.int():void 0,backgroundEmojiId:flags&2?r.long():void 0,}},
|
|
1190
|
+
639736408:function(r){return{_:'help.peerColorSet',colors:r.vector(r.int),}},
|
|
1191
|
+
1987928555:function(r){return{_:'help.peerColorProfileSet',paletteColors:r.vector(r.int),bgColors:r.vector(r.int),storyColors:r.vector(r.int),}},
|
|
1192
|
+
324785199: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,}},
|
|
1193
|
+
732034510:function(r){return{_:'help.peerColorsNotModified'}},
|
|
1194
|
+
16313608:function(r){return{_:'help.peerColors',hash:r.int(),colors:r.vector(r.object),}},
|
|
1183
1195
|
886196148:function(r){return{_:'messageUserVote',userId:r.int53(),option:r.bytes(),date:r.int(),}},
|
|
1184
1196
|
1017491692:function(r){return{_:'messageUserVoteInputOption',userId:r.int53(),date:r.int(),}},
|
|
1185
1197
|
2321933655:function(r){return{_:'messageUserVoteMultiple',userId:r.int53(),options:r.vector(r.bytes),date:r.int(),}},
|
|
1186
|
-
|
|
1198
|
+
1726619631:function(r){var flags=r.uint();return{_:'stories.boostsStatus',myBoost:!!(flags&4),level:r.int(),currentLevelBoosts:r.int(),boosts:r.int(),nextLevelBoosts:flags&1?r.int():void 0,premiumAudience:flags&2?r.object():void 0,}},
|
|
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),}},
|
|
1187
1203
|
_results:{
|
|
1188
1204
|
'contacts.getContactIDs':function(r){return r.vector(r.int)},
|
|
1189
1205
|
'messages.receivedQueue':function(r){return r.vector(r.long)},
|