@mtcute/tl 204.0.0 → 208.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 +33 -18
- package/binary/writer.js +60 -36
- package/compat/index.d.ts +233 -4
- package/compat/reader.js +6 -0
- package/index.d.ts +286 -293
- package/index.js +6 -2
- package/package.json +1 -1
package/binary/reader.js
CHANGED
|
@@ -42,6 +42,7 @@ var m={
|
|
|
42
42
|
2315114360:function(r){return{_:'inputMediaStory',peer:r.object(),id:r.int(),}},
|
|
43
43
|
3256584265:function(r){var flags=r.uint();return{_:'inputMediaWebPage',forceLargeMedia:!!(flags&1),forceSmallMedia:!!(flags&2),optional:!!(flags&4),url:r.string(),}},
|
|
44
44
|
3289396102:function(r){var flags=r.uint();return{_:'inputMediaPaidMedia',starsAmount:r.long(),extendedMedia:r.vector(r.object),payload:flags&1?r.string():void 0,}},
|
|
45
|
+
2680512478:function(r){return{_:'inputMediaTodo',todo:r.object(),}},
|
|
45
46
|
480546647:function(r){return{_:'inputChatPhotoEmpty'}},
|
|
46
47
|
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,}},
|
|
47
48
|
2303962423:function(r){return{_:'inputChatPhoto',id:r.object(),}},
|
|
@@ -88,7 +89,7 @@ var m={
|
|
|
88
89
|
4268249941: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),signatureProfiles:!!(flags2&4096),autotranslation:!!(flags2&32768),broadcastMessagesAllowed:!!(flags2&65536),monoforum:!!(flags2&131072),forumTabs:!!(flags2&524288),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,subscriptionUntilDate:flags2&2048?r.int():void 0,botVerificationIcon:flags2&8192?r.long():void 0,sendPaidMessagesStars:flags2&16384?r.long():void 0,linkedMonoforumId:flags2&262144?r.int53():void 0,}},
|
|
89
90
|
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,}},
|
|
90
91
|
640893467:function(r){var flags=r.uint();return{_:'chatFull',canSetUsername:!!(flags&128),hasScheduled:!!(flags&256),translationsDisabled:!!(flags&524288),id:r.int53(),about:r.string(),participants:r.object(),chatPhoto:flags&4?r.object():void 0,notifySettings:r.object(),exportedInvite:flags&8192?r.object():void 0,botInfo:flags&8?r.vector(r.object):void 0,pinnedMsgId:flags&64?r.int():void 0,folderId:flags&2048?r.int():void 0,call:flags&4096?r.object():void 0,ttlPeriod:flags&16384?r.int():void 0,groupcallDefaultJoinAs:flags&32768?r.object():void 0,themeEmoticon:flags&65536?r.string():void 0,requestsPending:flags&131072?r.int():void 0,recentRequesters:flags&131072?r.vector(r.long):void 0,availableReactions:flags&262144?r.object():void 0,reactionsLimit:flags&1048576?r.int():void 0,}},
|
|
91
|
-
|
|
92
|
+
3765709278:function(r){var flags=r.uint(),flags2=r.uint();return{_:'channelFull',canViewParticipants:!!(flags&8),canSetUsername:!!(flags&64),canSetStickers:!!(flags&128),hiddenPrehistory:!!(flags&1024),canSetLocation:!!(flags&65536),hasScheduled:!!(flags&524288),canViewStats:!!(flags&1048576),blocked:!!(flags&4194304),canDeleteChannel:!!(flags2&1),antispam:!!(flags2&2),participantsHidden:!!(flags2&4),translationsDisabled:!!(flags2&8),storiesPinnedAvailable:!!(flags2&32),viewForumAsMessages:!!(flags2&64),restrictedSponsored:!!(flags2&2048),canViewRevenue:!!(flags2&4096),paidMediaAllowed:!!(flags2&16384),canViewStarsRevenue:!!(flags2&32768),paidReactionsAvailable:!!(flags2&65536),stargiftsAvailable:!!(flags2&524288),paidMessagesAvailable:!!(flags2&1048576),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.int53):void 0,defaultSendAs:flags&536870912?r.object():void 0,availableReactions:flags&1073741824?r.object():void 0,reactionsLimit:flags2&8192?r.int():void 0,stories:flags2&16?r.object():void 0,wallpaper:flags2&128?r.object():void 0,boostsApplied:flags2&256?r.int():void 0,boostsUnrestrict:flags2&512?r.int():void 0,emojiset:flags2&1024?r.object():void 0,botVerification:flags2&131072?r.object():void 0,stargiftsCount:flags2&262144?r.int():void 0,sendPaidMessagesStars:flags2&2097152?r.long():void 0,}},
|
|
92
93
|
3224190983:function(r){return{_:'chatParticipant',userId:r.int53(),inviterId:r.int53(),date:r.int(),}},
|
|
93
94
|
3832270564:function(r){return{_:'chatParticipantCreator',userId:r.int53(),}},
|
|
94
95
|
2694004571:function(r){return{_:'chatParticipantAdmin',userId:r.int53(),inviterId:r.int53(),date:r.int(),}},
|
|
@@ -97,8 +98,8 @@ var m={
|
|
|
97
98
|
935395612:function(r){return{_:'chatPhotoEmpty'}},
|
|
98
99
|
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(),}},
|
|
99
100
|
2426849924:function(r){var flags=r.uint();return{_:'messageEmpty',id:r.int(),peerId:flags&1?r.object():void 0,}},
|
|
100
|
-
|
|
101
|
-
|
|
101
|
+
2551566024:function(r){var flags=r.uint(),flags2=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),offline:!!(flags2&2),videoProcessingPending:!!(flags2&16),paidSuggestedPostStars:!!(flags2&256),paidSuggestedPostTon:!!(flags2&512),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,viaBusinessBotId:flags2&1?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,quickReplyShortcutId:flags&1073741824?r.int():void 0,effect:flags2&4?r.long():void 0,factcheck:flags2&8?r.object():void 0,reportDeliveryUntilDate:flags2&32?r.int():void 0,paidMessageStars:flags2&64?r.long():void 0,suggestedPost:flags2&128?r.object():void 0,}},
|
|
102
|
+
2055212554:function(r){var flags=r.uint();return{_:'messageService',out:!!(flags&2),mentioned:!!(flags&16),mediaUnread:!!(flags&32),reactionsArePossible:!!(flags&512),silent:!!(flags&8192),post:!!(flags&16384),legacy:!!(flags&524288),id:r.int(),fromId:flags&256?r.object():void 0,peerId:r.object(),savedPeerId:flags&268435456?r.object():void 0,replyTo:flags&8?r.object():void 0,date:r.int(),action:r.object(),reactions:flags&1048576?r.object():void 0,ttlPeriod:flags&33554432?r.int():void 0,}},
|
|
102
103
|
1038967584:function(r){return{_:'messageMediaEmpty'}},
|
|
103
104
|
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,}},
|
|
104
105
|
1457575028:function(r){return{_:'messageMediaGeo',geo:r.object(),}},
|
|
@@ -116,6 +117,7 @@ var m={
|
|
|
116
117
|
2852600811: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:flags&16?r.int():void 0,stars:flags&32?r.long():void 0,untilDate:r.int(),}},
|
|
117
118
|
3467263649: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:flags&16?r.int():void 0,stars:flags&32?r.long():void 0,prizeDescription:flags&2?r.string():void 0,untilDate:r.int(),}},
|
|
118
119
|
2827297937:function(r){return{_:'messageMediaPaidMedia',starsAmount:r.long(),extendedMedia:r.vector(r.object),}},
|
|
120
|
+
2320740372:function(r){var flags=r.uint();return{_:'messageMediaToDo',todo:r.object(),completions:flags&1?r.vector(r.object):void 0,}},
|
|
119
121
|
3064919984:function(r){return{_:'messageActionEmpty'}},
|
|
120
122
|
3175599021:function(r){return{_:'messageActionChatCreate',title:r.string(),users:r.vector(r.int53),}},
|
|
121
123
|
3047280218:function(r){return{_:'messageActionChatEditTitle',title:r.string(),}},
|
|
@@ -167,6 +169,8 @@ var m={
|
|
|
167
169
|
2887720909:function(r){return{_:'messageActionPaidMessagesRefunded',count:r.int(),stars:r.long(),}},
|
|
168
170
|
2226685304:function(r){var flags=r.uint();return{_:'messageActionPaidMessagesPrice',broadcastMessagesAllowed:!!(flags&1),stars:r.long(),}},
|
|
169
171
|
805187450:function(r){var flags=r.uint();return{_:'messageActionConferenceCall',missed:!!(flags&1),active:!!(flags&2),video:!!(flags&16),callId:r.long(),duration:flags&4?r.int():void 0,otherParticipants:flags&8?r.vector(r.object):void 0,}},
|
|
172
|
+
3430702217:function(r){return{_:'messageActionTodoCompletions',completed:r.vector(r.int),incompleted:r.vector(r.int),}},
|
|
173
|
+
3354246275:function(r){return{_:'messageActionTodoAppendTasks',list:r.vector(r.object),}},
|
|
170
174
|
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,}},
|
|
171
175
|
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(),}},
|
|
172
176
|
590459437:function(r){return{_:'photoEmpty',id:r.long(),}},
|
|
@@ -385,6 +389,9 @@ var m={
|
|
|
385
389
|
2339528654:function(r){return{_:'updatePaidReactionPrivacy',private:r.object(),}},
|
|
386
390
|
1347068303:function(r){return{_:'updateSentPhoneCode',sentCode:r.object(),}},
|
|
387
391
|
2759272591:function(r){return{_:'updateGroupCallChainBlocks',call:r.object(),subChainId:r.int(),blocks:r.vector(r.bytes),nextOffset:r.int(),}},
|
|
392
|
+
2008081266:function(r){return{_:'updateReadMonoForumInbox',channelId:r.int53(),savedPeerId:r.object(),readMaxId:r.int(),}},
|
|
393
|
+
2762445686:function(r){return{_:'updateReadMonoForumOutbox',channelId:r.int53(),savedPeerId:r.object(),readMaxId:r.int(),}},
|
|
394
|
+
2676042504:function(r){var flags=r.uint();return{_:'updateMonoForumNoPaidException',exception:!!(flags&1),channelId:r.int53(),savedPeerId:r.object(),}},
|
|
388
395
|
2775329342:function(r){return{_:'updates.state',pts:r.int(),qts:r.int(),date:r.int(),seq:r.int(),unreadCount:r.int(),}},
|
|
389
396
|
1567990072:function(r){return{_:'updates.differenceEmpty',date:r.int(),seq:r.int(),}},
|
|
390
397
|
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(),}},
|
|
@@ -688,7 +695,7 @@ var m={
|
|
|
688
695
|
1891070632:function(r){return{_:'contacts.topPeers',categories:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
689
696
|
3039597469:function(r){return{_:'contacts.topPeersDisabled'}},
|
|
690
697
|
453805082:function(r){var flags=r.uint();return{_:'draftMessageEmpty',date:flags&1?r.int():void 0,}},
|
|
691
|
-
|
|
698
|
+
2531960299:function(r){var flags=r.uint();return{_:'draftMessage',noWebpage:!!(flags&2),invertMedia:!!(flags&64),replyTo:flags&16?r.object():void 0,message:r.string(),entities:flags&8?r.vector(r.object):void 0,media:flags&32?r.object():void 0,date:r.int(),effect:flags&128?r.long():void 0,suggestedPost:flags&256?r.object():void 0,}},
|
|
692
699
|
3336309862:function(r){return{_:'messages.featuredStickersNotModified',count:r.int(),}},
|
|
693
700
|
3191351558:function(r){var flags=r.uint();return{_:'messages.featuredStickers',premium:!!(flags&1),hash:r.long(),count:r.int(),sets:r.vector(r.object),unread:r.vector(r.long),}},
|
|
694
701
|
186120336:function(r){return{_:'messages.recentStickersNotModified'}},
|
|
@@ -965,7 +972,7 @@ var m={
|
|
|
965
972
|
2061444128:function(r){var flags=r.uint();return{_:'pollResults',min:!!(flags&1),results:flags&2?r.vector(r.object):void 0,totalVoters:flags&4?r.int():void 0,recentVoters:flags&8?r.vector(r.object):void 0,solution:flags&16?r.string():void 0,solutionEntities:flags&16?r.vector(r.object):void 0,}},
|
|
966
973
|
4030849616:function(r){return{_:'chatOnlines',onlines:r.int(),}},
|
|
967
974
|
1202287072:function(r){return{_:'statsURL',url:r.string(),}},
|
|
968
|
-
1605510357:function(r){var flags=r.uint();return{_:'chatAdminRights',changeInfo:!!(flags&1),postMessages:!!(flags&2),editMessages:!!(flags&4),deleteMessages:!!(flags&8),banUsers:!!(flags&16),inviteUsers:!!(flags&32),pinMessages:!!(flags&128),addAdmins:!!(flags&512),anonymous:!!(flags&1024),manageCall:!!(flags&2048),other:!!(flags&4096),manageTopics:!!(flags&8192),postStories:!!(flags&16384),editStories:!!(flags&32768),deleteStories:!!(flags&65536),}},
|
|
975
|
+
1605510357:function(r){var flags=r.uint();return{_:'chatAdminRights',changeInfo:!!(flags&1),postMessages:!!(flags&2),editMessages:!!(flags&4),deleteMessages:!!(flags&8),banUsers:!!(flags&16),inviteUsers:!!(flags&32),pinMessages:!!(flags&128),addAdmins:!!(flags&512),anonymous:!!(flags&1024),manageCall:!!(flags&2048),other:!!(flags&4096),manageTopics:!!(flags&8192),postStories:!!(flags&16384),editStories:!!(flags&32768),deleteStories:!!(flags&65536),manageDirectMessages:!!(flags&131072),}},
|
|
969
976
|
2668758040:function(r){var flags=r.uint();return{_:'chatBannedRights',viewMessages:!!(flags&1),sendMessages:!!(flags&2),sendMedia:!!(flags&4),sendStickers:!!(flags&8),sendGifs:!!(flags&16),sendGames:!!(flags&32),sendInline:!!(flags&64),embedLinks:!!(flags&128),sendPolls:!!(flags&256),changeInfo:!!(flags&1024),inviteUsers:!!(flags&32768),pinMessages:!!(flags&131072),manageTopics:!!(flags&262144),sendPhotos:!!(flags&524288),sendVideos:!!(flags&1048576),sendRoundvideos:!!(flags&2097152),sendAudios:!!(flags&4194304),sendVoices:!!(flags&8388608),sendDocs:!!(flags&16777216),sendPlain:!!(flags&33554432),untilDate:r.int(),}},
|
|
970
977
|
3861952889:function(r){return{_:'inputWallPaper',id:r.long(),accessHash:r.long(),}},
|
|
971
978
|
1913199744:function(r){return{_:'inputWallPaperSlug',slug:r.string(),}},
|
|
@@ -1045,7 +1052,7 @@ var m={
|
|
|
1045
1052
|
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,}},
|
|
1046
1053
|
3066361155:function(r){return{_:'messages.messageViews',views:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1047
1054
|
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),}},
|
|
1048
|
-
|
|
1055
|
+
1763137035: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,todoItemId:flags&2048?r.int():void 0,}},
|
|
1049
1056
|
240843065:function(r){return{_:'messageReplyStoryHeader',peer:r.object(),storyId:r.int(),}},
|
|
1050
1057
|
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,}},
|
|
1051
1058
|
3908927508:function(r){return{_:'peerBlocked',peerId:r.object(),date:r.int(),}},
|
|
@@ -1090,8 +1097,8 @@ var m={
|
|
|
1090
1097
|
3816265825:function(r){return{_:'account.resetPasswordFailedWait',retryDate:r.int(),}},
|
|
1091
1098
|
3924819069:function(r){return{_:'account.resetPasswordRequestedWait',untilDate:r.int(),}},
|
|
1092
1099
|
3911636542:function(r){return{_:'account.resetPasswordOk'}},
|
|
1093
|
-
|
|
1094
|
-
|
|
1100
|
+
2109703795:function(r){var flags=r.uint();return{_:'sponsoredMessage',recommended:!!(flags&32),canReport:!!(flags&4096),randomId:r.bytes(),url:r.string(),title:r.string(),message:r.string(),entities:flags&2?r.vector(r.object):void 0,photo:flags&64?r.object():void 0,media:flags&16384?r.object():void 0,color:flags&8192?r.object():void 0,buttonText:r.string(),sponsorInfo:flags&128?r.string():void 0,additionalInfo:flags&256?r.string():void 0,minDisplayDuration:flags&32768?r.int():void 0,maxDisplayDuration:flags&32768?r.int():void 0,}},
|
|
1101
|
+
4292502893:function(r){var flags=r.uint();return{_:'messages.sponsoredMessages',postsBetween:flags&1?r.int():void 0,startDelay:flags&2?r.int():void 0,betweenDelay:flags&4?r.int():void 0,messages:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1095
1102
|
406407439:function(r){return{_:'messages.sponsoredMessagesEmpty'}},
|
|
1096
1103
|
3383776159:function(r){return{_:'searchResultsCalendarPeriod',date:r.int(),minMsgId:r.int(),maxMsgId:r.int(),count:r.int(),}},
|
|
1097
1104
|
343859772:function(r){var flags=r.uint();return{_:'messages.searchResultsCalendar',inexact:!!(flags&1),count:r.int(),minDate:r.int(),minMsgId:r.int(),offsetIdOffset:flags&2?r.int():void 0,periods:r.vector(r.object),messages:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
@@ -1239,8 +1246,9 @@ var m={
|
|
|
1239
1246
|
3178549065:function(r){var flags=r.uint();return{_:'storyViewPublicRepost',blocked:!!(flags&1),blockedMyStoriesFrom:!!(flags&2),peerId:r.object(),story:r.object(),}},
|
|
1240
1247
|
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,}},
|
|
1241
1248
|
3734957341:function(r){return{_:'stories.storyViews',views:r.vector(r.object),users:r.vector(r.object),}},
|
|
1242
|
-
|
|
1249
|
+
2258615824: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,monoforumPeerId:flags&32?r.object():void 0,todoItemId:flags&64?r.int():void 0,}},
|
|
1243
1250
|
1484862010:function(r){return{_:'inputReplyToStory',peer:r.object(),storyId:r.int(),}},
|
|
1251
|
+
1775660101:function(r){return{_:'inputReplyToMonoForum',monoforumPeerId:r.object(),}},
|
|
1244
1252
|
1070138683:function(r){return{_:'exportedStoryLink',link:r.string(),}},
|
|
1245
1253
|
1898850301:function(r){var flags=r.uint();return{_:'storiesStealthMode',activeUntilDate:flags&1?r.int():void 0,cooldownUntilDate:flags&2?r.int():void 0,}},
|
|
1246
1254
|
3486113794:function(r){var flags=r.uint();return{_:'mediaAreaCoordinates',x:r.double(),y:r.double(),w:r.double(),h:r.double(),rotation:r.double(),radius:flags&1?r.double():void 0,}},
|
|
@@ -1285,6 +1293,7 @@ var m={
|
|
|
1285
1293
|
3486322451:function(r){return{_:'storyReactionPublicRepost',peerId:r.object(),story:r.object(),}},
|
|
1286
1294
|
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,}},
|
|
1287
1295
|
3179793260:function(r){var flags=r.uint();return{_:'savedDialog',pinned:!!(flags&4),peer:r.object(),topMessage:r.int(),}},
|
|
1296
|
+
1681948327:function(r){var flags=r.uint();return{_:'monoForumDialog',unreadMark:!!(flags&8),nopaidMessagesException:!!(flags&16),peer:r.object(),topMessage:r.int(),readInboxMaxId:r.int(),readOutboxMaxId:r.int(),unreadCount:r.int(),unreadReactionsCount:r.int(),draft:flags&2?r.object():void 0,}},
|
|
1288
1297
|
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),}},
|
|
1289
1298
|
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),}},
|
|
1290
1299
|
3223285736:function(r){return{_:'messages.savedDialogsNotModified',count:r.int(),}},
|
|
@@ -1366,13 +1375,13 @@ var m={
|
|
|
1366
1375
|
1617438738:function(r){return{_:'starsTransactionPeerAds'}},
|
|
1367
1376
|
4184308397:function(r){return{_:'starsTransactionPeerAPI'}},
|
|
1368
1377
|
198776256:function(r){var flags=r.uint();return{_:'starsTopupOption',extended:!!(flags&2),stars:r.long(),storeProduct:flags&1?r.string():void 0,currency:r.string(),amount:r.long(),}},
|
|
1369
|
-
|
|
1378
|
+
325426864:function(r){var flags=r.uint();return{_:'starsTransaction',refund:!!(flags&8),pending:!!(flags&16),failed:!!(flags&64),gift:!!(flags&1024),reaction:!!(flags&2048),stargiftUpgrade:!!(flags&262144),businessTransfer:!!(flags&2097152),stargiftResale:!!(flags&4194304),id:r.string(),amount:r.object(),date:r.int(),peer:r.object(),title:flags&1?r.string():void 0,description:flags&2?r.string():void 0,photo:flags&4?r.object():void 0,transactionDate:flags&32?r.int():void 0,transactionUrl:flags&32?r.string():void 0,botPayload:flags&128?r.bytes():void 0,msgId:flags&256?r.int():void 0,extendedMedia:flags&512?r.vector(r.object):void 0,subscriptionPeriod:flags&4096?r.int():void 0,giveawayPostId:flags&8192?r.int():void 0,stargift:flags&16384?r.object():void 0,floodskipNumber:flags&32768?r.int():void 0,starrefCommissionPermille:flags&65536?r.int():void 0,starrefPeer:flags&131072?r.object():void 0,starrefAmount:flags&131072?r.object():void 0,paidMessages:flags&524288?r.int():void 0,premiumGiftMonths:flags&1048576?r.int():void 0,adsProceedsFromDate:flags&8388608?r.int():void 0,adsProceedsToDate:flags&8388608?r.int():void 0,}},
|
|
1370
1379
|
1822222573:function(r){var flags=r.uint();return{_:'payments.starsStatus',balance:r.object(),subscriptions:flags&2?r.vector(r.object):void 0,subscriptionsNextOffset:flags&4?r.string():void 0,subscriptionsMissingBalance:flags&16?r.long():void 0,history:flags&8?r.vector(r.object):void 0,nextOffset:flags&1?r.string():void 0,chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1371
1380
|
3900361664:function(r){return{_:'foundStory',peer:r.object(),story:r.object(),}},
|
|
1372
1381
|
3806230327:function(r){var flags=r.uint();return{_:'stories.foundStories',count:r.int(),stories:r.vector(r.object),nextOffset:flags&1?r.string():void 0,chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1373
1382
|
3729546643:function(r){var flags=r.uint();return{_:'geoPointAddress',countryIso2:r.string(),state:flags&1?r.string():void 0,city:flags&2?r.string():void 0,street:flags&4?r.string():void 0,}},
|
|
1374
1383
|
4273886353:function(r){var flags=r.uint();return{_:'starsRevenueStatus',withdrawalEnabled:!!(flags&1),currentBalance:r.object(),availableBalance:r.object(),overallRevenue:r.object(),nextWithdrawalAt:flags&2?r.int():void 0,}},
|
|
1375
|
-
|
|
1384
|
+
1814066038:function(r){var flags=r.uint();return{_:'payments.starsRevenueStats',topHoursGraph:flags&1?r.object():void 0,revenueGraph:r.object(),status:r.object(),usdRate:r.double(),}},
|
|
1376
1385
|
497778871:function(r){return{_:'payments.starsRevenueWithdrawalUrl',url:r.string(),}},
|
|
1377
1386
|
961445665:function(r){return{_:'payments.starsRevenueAdsAccountUrl',url:r.string(),}},
|
|
1378
1387
|
543876817:function(r){var flags=r.uint();return{_:'inputStarsTransaction',refund:!!(flags&1),id:r.string(),}},
|
|
@@ -1385,10 +1394,10 @@ var m={
|
|
|
1385
1394
|
1269016922:function(r){var flags=r.uint();return{_:'messageReactor',top:!!(flags&1),my:!!(flags&2),anonymous:!!(flags&4),peerId:flags&8?r.object():void 0,count:r.int(),}},
|
|
1386
1395
|
2496562474:function(r){var flags=r.uint();return{_:'starsGiveawayOption',extended:!!(flags&1),default:!!(flags&2),stars:r.long(),yearlyBoosts:r.int(),storeProduct:flags&4?r.string():void 0,currency:r.string(),amount:r.long(),winners:r.vector(r.object),}},
|
|
1387
1396
|
1411605001:function(r){var flags=r.uint();return{_:'starsGiveawayWinnersOption',default:!!(flags&1),users:r.int(),perUserStars:r.long(),}},
|
|
1388
|
-
|
|
1389
|
-
|
|
1397
|
+
2139438098:function(r){var flags=r.uint();return{_:'starGift',limited:!!(flags&1),soldOut:!!(flags&2),birthday:!!(flags&4),id:r.long(),sticker:r.object(),stars:r.long(),availabilityRemains:flags&1?r.int():void 0,availabilityTotal:flags&1?r.int():void 0,availabilityResale:flags&16?r.long():void 0,convertStars:r.long(),firstSaleDate:flags&2?r.int():void 0,lastSaleDate:flags&2?r.int():void 0,upgradeStars:flags&8?r.long():void 0,resellMinStars:flags&16?r.long():void 0,title:flags&32?r.string():void 0,releasedBy:flags&64?r.object():void 0,}},
|
|
1398
|
+
4130830510:function(r){var flags=r.uint();return{_:'starGiftUnique',id:r.long(),title:r.string(),slug:r.string(),num:r.int(),ownerId:flags&1?r.object():void 0,ownerName:flags&2?r.string():void 0,ownerAddress:flags&4?r.string():void 0,attributes:r.vector(r.object),availabilityIssued:r.int(),availabilityTotal:r.int(),giftAddress:flags&8?r.string():void 0,resellStars:flags&16?r.long():void 0,releasedBy:flags&32?r.object():void 0,}},
|
|
1390
1399
|
2743640936:function(r){return{_:'payments.starGiftsNotModified'}},
|
|
1391
|
-
|
|
1400
|
+
785918357:function(r){return{_:'payments.starGifts',hash:r.int(),gifts:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1392
1401
|
2030298073:function(r){return{_:'messageReportOption',text:r.string(),option:r.bytes(),}},
|
|
1393
1402
|
4041531574:function(r){return{_:'reportResultChooseOption',title:r.string(),options:r.vector(r.object),}},
|
|
1394
1403
|
1862904881:function(r){var flags=r.uint();return{_:'reportResultAddComment',optional:!!(flags&1),option:r.bytes(),}},
|
|
@@ -1439,10 +1448,16 @@ var m={
|
|
|
1439
1448
|
2491028191:function(r){var flags=r.uint();return{_:'payments.resaleStarGifts',count:r.int(),gifts:r.vector(r.object),nextOffset:flags&1?r.string():void 0,attributes:flags&2?r.vector(r.object):void 0,attributesHash:flags&2?r.long():void 0,chats:r.vector(r.object),counters:flags&4?r.vector(r.object):void 0,users:r.vector(r.object),}},
|
|
1440
1449
|
3280453710:function(r){return{_:'stories.canSendStoryCount',countRemains:r.int(),}},
|
|
1441
1450
|
3890753042:function(r){return{_:'pendingSuggestion',suggestion:r.string(),title:r.object(),description:r.object(),url:r.string(),}},
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1451
|
+
3416892719:function(r){return{_:'todoItem',id:r.int(),title:r.object(),}},
|
|
1452
|
+
1236871718:function(r){var flags=r.uint();return{_:'todoList',othersCanAppend:!!(flags&1),othersCanComplete:!!(flags&2),title:r.object(),list:r.vector(r.object),}},
|
|
1453
|
+
1287725239:function(r){return{_:'todoCompletion',id:r.int(),completedBy:r.int53(),date:r.int(),}},
|
|
1454
|
+
4000978326:function(r){var flags=r.uint();return{_:'messageActionSuggestedPostApproval',rejected:!!(flags&1),balanceTooLow:!!(flags&2),rejectComment:flags&4?r.string():void 0,scheduleDate:flags&8?r.int():void 0,price:flags&16?r.object():void 0,}},
|
|
1455
|
+
2514341737:function(r){return{_:'messageActionSuggestedPostSuccess',price:r.object(),}},
|
|
1456
|
+
1777932024:function(r){var flags=r.uint();return{_:'messageActionSuggestedPostRefund',payerInitiated:!!(flags&1),}},
|
|
1457
|
+
2829305497:function(r){var flags=r.uint();return{_:'messageActionGiftTon',currency:r.string(),amount:r.long(),cryptoCurrency:r.string(),cryptoAmount:r.long(),transactionId:flags&1?r.string():void 0,}},
|
|
1458
|
+
485912992:function(r){return{_:'inputStickerSetTonGifts'}},
|
|
1459
|
+
1957618656:function(r){return{_:'starsTonAmount',amount:r.long(),}},
|
|
1460
|
+
244201445:function(r){var flags=r.uint();return{_:'suggestedPost',accepted:!!(flags&2),rejected:!!(flags&4),price:flags&8?r.object():void 0,scheduleDate:flags&1?r.int():void 0,}},
|
|
1446
1461
|
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,}},
|
|
1447
1462
|
4197492935:function(r){return{_:'emojiStatusUntil',documentId:r.long(),until:r.int(),}},
|
|
1448
1463
|
4003764846:function(r){var flags=r.uint();return{_:'userStarGift',nameHidden:!!(flags&1),unsaved:!!(flags&32),fromId:flags&2?r.int53():void 0,date:r.int(),gift:r.object(),message:flags&4?r.object():void 0,msgId:flags&8?r.int():void 0,convertStars:flags&16?r.long():void 0,}},
|