@mtcute/tl 189.0.0 → 196.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 +64 -35
- package/binary/writer.js +127 -59
- package/index.d.ts +2566 -172
- package/index.js +15 -2
- package/package.json +3 -3
package/binary/reader.js
CHANGED
|
@@ -73,7 +73,7 @@ var m={
|
|
|
73
73
|
3016663268:function(r){return{_:'storage.fileMp4'}},
|
|
74
74
|
276907596:function(r){return{_:'storage.fileWebp'}},
|
|
75
75
|
3552332666:function(r){return{_:'userEmpty',id:r.int53(),}},
|
|
76
|
-
|
|
76
|
+
1262928766: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),botBusiness:!!(flags2&2048),botHasMainApp:!!(flags2&8192),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,botActiveUsers:flags2&4096?r.int():void 0,botVerificationIcon:flags2&16384?r.long():void 0,}},
|
|
77
77
|
1326562017:function(r){return{_:'userProfilePhotoEmpty'}},
|
|
78
78
|
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(),}},
|
|
79
79
|
164646985:function(r){return{_:'userStatusEmpty'}},
|
|
@@ -85,10 +85,10 @@ var m={
|
|
|
85
85
|
693512293:function(r){return{_:'chatEmpty',id:r.int53(),}},
|
|
86
86
|
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,}},
|
|
87
87
|
1704108455:function(r){return{_:'chatForbidden',id:r.int53(),title:r.string(),}},
|
|
88
|
-
|
|
88
|
+
3758725303: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),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,}},
|
|
89
89
|
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
90
|
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
|
-
|
|
91
|
+
2683549784: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),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,}},
|
|
92
92
|
3224190983:function(r){return{_:'chatParticipant',userId:r.int53(),inviterId:r.int53(),date:r.int(),}},
|
|
93
93
|
3832270564:function(r){return{_:'chatParticipantCreator',userId:r.int53(),}},
|
|
94
94
|
2694004571:function(r){return{_:'chatParticipantAdmin',userId:r.int53(),inviterId:r.int53(),date:r.int(),}},
|
|
@@ -97,8 +97,8 @@ var m={
|
|
|
97
97
|
935395612:function(r){return{_:'chatPhotoEmpty'}},
|
|
98
98
|
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
99
|
2426849924:function(r){var flags=r.uint();return{_:'messageEmpty',id:r.int(),peerId:flags&1?r.object():void 0,}},
|
|
100
|
-
|
|
101
|
-
|
|
100
|
+
2533211113: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),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,}},
|
|
101
|
+
3553789248: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(),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
102
|
1038967584:function(r){return{_:'messageMediaEmpty'}},
|
|
103
103
|
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
104
|
1457575028:function(r){return{_:'messageMediaGeo',geo:r.object(),}},
|
|
@@ -130,8 +130,8 @@ var m={
|
|
|
130
130
|
2495428845:function(r){return{_:'messageActionPinMessage'}},
|
|
131
131
|
2679813636:function(r){return{_:'messageActionHistoryClear'}},
|
|
132
132
|
2460428406:function(r){return{_:'messageActionGameScore',gameId:r.long(),score:r.int(),}},
|
|
133
|
-
|
|
134
|
-
|
|
133
|
+
4288679116:function(r){var flags=r.uint();return{_:'messageActionPaymentSentMe',recurringInit:!!(flags&4),recurringUsed:!!(flags&8),currency:r.string(),totalAmount:r.long(),payload:r.bytes(),info:flags&1?r.object():void 0,shippingOptionId:flags&2?r.string():void 0,charge:r.object(),subscriptionUntilDate:flags&16?r.int():void 0,}},
|
|
134
|
+
3324293486:function(r){var flags=r.uint();return{_:'messageActionPaymentSent',recurringInit:!!(flags&4),recurringUsed:!!(flags&8),currency:r.string(),totalAmount:r.long(),invoiceSlug:flags&1?r.string():void 0,subscriptionUntilDate:flags&16?r.int():void 0,}},
|
|
135
135
|
2162236031:function(r){var flags=r.uint();return{_:'messageActionPhoneCall',video:!!(flags&4),callId:r.long(),reason:flags&1?r.object():void 0,duration:flags&2?r.int():void 0,}},
|
|
136
136
|
1200788123:function(r){return{_:'messageActionScreenshotTaken'}},
|
|
137
137
|
4209418070:function(r){return{_:'messageActionCustomAction',message:r.string(),}},
|
|
@@ -148,13 +148,13 @@ var m={
|
|
|
148
148
|
3955008459:function(r){return{_:'messageActionChatJoinedByRequest'}},
|
|
149
149
|
1205698681:function(r){return{_:'messageActionWebViewDataSentMe',text:r.string(),data:r.string(),}},
|
|
150
150
|
3032714421:function(r){return{_:'messageActionWebViewDataSent',text:r.string(),}},
|
|
151
|
-
|
|
151
|
+
1818391802:function(r){var flags=r.uint();return{_:'messageActionGiftPremium',currency:r.string(),amount:r.long(),months:r.int(),cryptoCurrency:flags&1?r.string():void 0,cryptoAmount:flags&1?r.long():void 0,message:flags&2?r.object():void 0,}},
|
|
152
152
|
228168278:function(r){var flags=r.uint();return{_:'messageActionTopicCreate',title:r.string(),iconColor:r.int(),iconEmojiId:flags&1?r.long():void 0,}},
|
|
153
153
|
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,}},
|
|
154
154
|
1474192222:function(r){return{_:'messageActionSuggestProfilePhoto',photo:r.object(),}},
|
|
155
155
|
827428507:function(r){return{_:'messageActionRequestedPeer',buttonId:r.int(),peers:r.vector(r.object),}},
|
|
156
156
|
1348510708:function(r){var flags=r.uint();return{_:'messageActionSetChatWallPaper',same:!!(flags&1),forBoth:!!(flags&2),wallpaper:r.object(),}},
|
|
157
|
-
|
|
157
|
+
1456486804: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,message:flags&16?r.object():void 0,}},
|
|
158
158
|
2819576292:function(r){var flags=r.uint();return{_:'messageActionGiveawayLaunch',stars:flags&1?r.long():void 0,}},
|
|
159
159
|
2279797077:function(r){var flags=r.uint();return{_:'messageActionGiveawayResults',stars:!!(flags&1),winnersCount:r.int(),unclaimedCount:r.int(),}},
|
|
160
160
|
3422726765:function(r){return{_:'messageActionBoostApply',boosts:r.int(),}},
|
|
@@ -162,7 +162,8 @@ var m={
|
|
|
162
162
|
1102307842:function(r){var flags=r.uint();return{_:'messageActionPaymentRefunded',peer:r.object(),currency:r.string(),totalAmount:r.long(),payload:flags&1?r.bytes():void 0,charge:r.object(),}},
|
|
163
163
|
1171632161:function(r){var flags=r.uint();return{_:'messageActionGiftStars',currency:r.string(),amount:r.long(),stars:r.long(),cryptoCurrency:flags&1?r.string():void 0,cryptoAmount:flags&1?r.long():void 0,transactionId:flags&2?r.string():void 0,}},
|
|
164
164
|
2953594786:function(r){var flags=r.uint();return{_:'messageActionPrizeStars',unclaimed:!!(flags&1),stars:r.long(),transactionId:r.string(),boostPeer:r.object(),giveawayMsgId:r.int(),}},
|
|
165
|
-
|
|
165
|
+
3639931047:function(r){var flags=r.uint();return{_:'messageActionStarGift',nameHidden:!!(flags&1),saved:!!(flags&4),converted:!!(flags&8),upgraded:!!(flags&32),refunded:!!(flags&512),canUpgrade:!!(flags&1024),gift:r.object(),message:flags&2?r.object():void 0,convertStars:flags&16?r.long():void 0,upgradeMsgId:flags&32?r.int():void 0,upgradeStars:flags&256?r.long():void 0,}},
|
|
166
|
+
638024601:function(r){var flags=r.uint();return{_:'messageActionStarGiftUnique',upgrade:!!(flags&1),transferred:!!(flags&2),saved:!!(flags&4),refunded:!!(flags&32),gift:r.object(),canExportAt:flags&8?r.int():void 0,transferStars:flags&16?r.long():void 0,}},
|
|
166
167
|
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,}},
|
|
167
168
|
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(),}},
|
|
168
169
|
590459437:function(r){return{_:'photoEmpty',id:r.long(),}},
|
|
@@ -200,7 +201,7 @@ var m={
|
|
|
200
201
|
4124956391:function(r){return{_:'inputReportReasonFake'}},
|
|
201
202
|
177124030:function(r){return{_:'inputReportReasonIllegalDrugs'}},
|
|
202
203
|
2663876157:function(r){return{_:'inputReportReasonPersonalDetails'}},
|
|
203
|
-
|
|
204
|
+
1301765052:function(r){var flags=r.uint(),flags2=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),sponsoredEnabled:!!(flags2&128),canViewRevenue:!!(flags2&512),botCanManageEmojiStatus:!!(flags2&1024),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,businessWorkHours:flags2&1?r.object():void 0,businessLocation:flags2&2?r.object():void 0,businessGreetingMessage:flags2&4?r.object():void 0,businessAwayMessage:flags2&8?r.object():void 0,businessIntro:flags2&16?r.object():void 0,birthday:flags2&32?r.object():void 0,personalChannelId:flags2&64?r.int53():void 0,personalChannelMessage:flags2&64?r.int():void 0,stargiftsCount:flags2&256?r.int():void 0,starrefProgram:flags2&2048?r.object():void 0,botVerification:flags2&4096?r.object():void 0,}},
|
|
204
205
|
341499403:function(r){return{_:'contact',userId:r.int53(),mutual:r.boolean(),}},
|
|
205
206
|
3242081360:function(r){return{_:'importedContact',userId:r.int53(),clientId:r.long(),}},
|
|
206
207
|
383348795:function(r){return{_:'contactStatus',userId:r.int53(),status:r.object(),}},
|
|
@@ -305,7 +306,7 @@ var m={
|
|
|
305
306
|
1786671974:function(r){return{_:'updatePeerSettings',peer:r.object(),settings:r.object(),}},
|
|
306
307
|
3031420848:function(r){return{_:'updatePeerLocated',peers:r.vector(r.object),}},
|
|
307
308
|
967122427:function(r){return{_:'updateNewScheduledMessage',message:r.object(),}},
|
|
308
|
-
|
|
309
|
+
4071037315:function(r){var flags=r.uint();return{_:'updateDeleteScheduledMessages',peer:r.object(),messages:r.vector(r.int),sentMessages:flags&1?r.vector(r.int):void 0,}},
|
|
309
310
|
2182544291:function(r){return{_:'updateTheme',theme:r.object(),}},
|
|
310
311
|
2267003193:function(r){return{_:'updateGeoLiveViewed',peer:r.object(),msgId:r.int(),}},
|
|
311
312
|
1448076945:function(r){return{_:'updateLoginToken'}},
|
|
@@ -323,7 +324,7 @@ var m={
|
|
|
323
324
|
1538885128:function(r){var flags=r.uint();return{_:'updatePinnedChannelMessages',pinned:!!(flags&1),channelId:r.int53(),messages:r.vector(r.int),pts:r.int(),ptsCount:r.int(),}},
|
|
324
325
|
4170869326:function(r){return{_:'updateChat',chatId:r.int53(),}},
|
|
325
326
|
4075543374:function(r){return{_:'updateGroupCallParticipants',call:r.object(),participants:r.vector(r.object),version:r.int(),}},
|
|
326
|
-
|
|
327
|
+
2547401537:function(r){var flags=r.uint();return{_:'updateGroupCall',chatId:flags&1?r.int53():void 0,call:r.object(),}},
|
|
327
328
|
3147544997:function(r){var flags=r.uint();return{_:'updatePeerHistoryTTL',peer:r.object(),ttlPeriod:flags&1?r.int():void 0,}},
|
|
328
329
|
3498534458:function(r){var flags=r.uint();return{_:'updateChatParticipant',chatId:r.int53(),date:r.int(),actorId:r.int53(),userId:r.int53(),prevParticipant:flags&1?r.object():void 0,newParticipant:flags&2?r.object():void 0,invite:flags&4?r.object():void 0,qts:r.int(),}},
|
|
329
330
|
2556246715:function(r){var flags=r.uint();return{_:'updateChannelParticipant',viaChatlist:!!(flags&8),channelId:r.int53(),date:r.int(),actorId:r.int53(),userId:r.int53(),prevParticipant:flags&1?r.object():void 0,newParticipant:flags&2?r.object():void 0,invite:flags&4?r.object():void 0,qts:r.int(),}},
|
|
@@ -373,7 +374,7 @@ var m={
|
|
|
373
374
|
2687146030:function(r){return{_:'updateBotDeleteBusinessMessage',connectionId:r.string(),peer:r.object(),messages:r.vector(r.int),qts:r.int(),}},
|
|
374
375
|
405070859:function(r){return{_:'updateNewStoryReaction',storyId:r.int(),peer:r.object(),reaction:r.object(),}},
|
|
375
376
|
3755565557:function(r){return{_:'updateBroadcastRevenueTransactions',peer:r.object(),balances:r.object(),}},
|
|
376
|
-
|
|
377
|
+
1317053305:function(r){return{_:'updateStarsBalance',balance:r.object(),}},
|
|
377
378
|
513998247:function(r){var flags=r.uint();return{_:'updateBusinessBotCallbackQuery',queryId:r.long(),userId:r.int53(),connectionId:r.string(),message:r.object(),replyToMessage:flags&4?r.object():void 0,chatInstance:r.long(),data:flags&1?r.bytes():void 0,}},
|
|
378
379
|
2776936473:function(r){return{_:'updateStarsRevenueStatus',peer:r.object(),status:r.object(),}},
|
|
379
380
|
675009298:function(r){return{_:'updateBotPurchasedPaidMedia',userId:r.int53(),payload:r.string(),qts:r.int(),}},
|
|
@@ -459,6 +460,7 @@ var m={
|
|
|
459
460
|
2934349160:function(r){return{_:'inputPrivacyKeyVoiceMessages'}},
|
|
460
461
|
941870144:function(r){return{_:'inputPrivacyKeyAbout'}},
|
|
461
462
|
3596227020:function(r){return{_:'inputPrivacyKeyBirthday'}},
|
|
463
|
+
3782419265:function(r){return{_:'inputPrivacyKeyStarGiftsAutoSave'}},
|
|
462
464
|
3157175088:function(r){return{_:'privacyKeyStatusTimestamp'}},
|
|
463
465
|
1343122938:function(r){return{_:'privacyKeyChatInvite'}},
|
|
464
466
|
1030105979:function(r){return{_:'privacyKeyPhoneCall'}},
|
|
@@ -470,6 +472,7 @@ var m={
|
|
|
470
472
|
110621716:function(r){return{_:'privacyKeyVoiceMessages'}},
|
|
471
473
|
2760292193:function(r){return{_:'privacyKeyAbout'}},
|
|
472
474
|
536913176:function(r){return{_:'privacyKeyBirthday'}},
|
|
475
|
+
749010424:function(r){return{_:'privacyKeyStarGiftsAutoSave'}},
|
|
473
476
|
218751099:function(r){return{_:'inputPrivacyValueAllowContacts'}},
|
|
474
477
|
407582158:function(r){return{_:'inputPrivacyValueAllowAll'}},
|
|
475
478
|
320652927:function(r){return{_:'inputPrivacyValueAllowUsers',users:r.vector(r.object),}},
|
|
@@ -480,6 +483,8 @@ var m={
|
|
|
480
483
|
3914272646:function(r){return{_:'inputPrivacyValueDisallowChatParticipants',chats:r.vector(r.int53),}},
|
|
481
484
|
793067081:function(r){return{_:'inputPrivacyValueAllowCloseFriends'}},
|
|
482
485
|
2009975281:function(r){return{_:'inputPrivacyValueAllowPremium'}},
|
|
486
|
+
1515179237:function(r){return{_:'inputPrivacyValueAllowBots'}},
|
|
487
|
+
3303373077:function(r){return{_:'inputPrivacyValueDisallowBots'}},
|
|
483
488
|
4294843308:function(r){return{_:'privacyValueAllowContacts'}},
|
|
484
489
|
1698855810:function(r){return{_:'privacyValueAllowAll'}},
|
|
485
490
|
3096469426:function(r){return{_:'privacyValueAllowUsers',users:r.vector(r.int53),}},
|
|
@@ -490,6 +495,8 @@ var m={
|
|
|
490
495
|
1103656293:function(r){return{_:'privacyValueDisallowChatParticipants',chats:r.vector(r.int53),}},
|
|
491
496
|
4159232155:function(r){return{_:'privacyValueAllowCloseFriends'}},
|
|
492
497
|
3974725963:function(r){return{_:'privacyValueAllowPremium'}},
|
|
498
|
+
558242653:function(r){return{_:'privacyValueAllowBots'}},
|
|
499
|
+
4138072111:function(r){return{_:'privacyValueDisallowBots'}},
|
|
493
500
|
1352683077:function(r){return{_:'account.privacyRules',rules:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
494
501
|
3100684255:function(r){return{_:'accountDaysTTL',days:r.int(),}},
|
|
495
502
|
1815593308:function(r){return{_:'documentAttributeImageSize',w:r.int(),h:r.int(),}},
|
|
@@ -520,7 +527,7 @@ var m={
|
|
|
520
527
|
2720841110:function(r){var flags=r.uint();return{_:'chatInviteExported',revoked:!!(flags&1),permanent:!!(flags&32),requestNeeded:!!(flags&64),link:r.string(),adminId:r.int53(),date:r.int(),startDate:flags&16?r.int():void 0,expireDate:flags&2?r.int():void 0,usageLimit:flags&4?r.int():void 0,usage:flags&8?r.int():void 0,requested:flags&128?r.int():void 0,subscriptionExpired:flags&1024?r.int():void 0,title:flags&256?r.string():void 0,subscriptionPricing:flags&512?r.object():void 0,}},
|
|
521
528
|
3977280183:function(r){return{_:'chatInvitePublicJoinRequests'}},
|
|
522
529
|
1516793212:function(r){return{_:'chatInviteAlready',chat:r.object(),}},
|
|
523
|
-
|
|
530
|
+
1553807106:function(r){var flags=r.uint();return{_:'chatInvite',channel:!!(flags&1),broadcast:!!(flags&2),public:!!(flags&4),megagroup:!!(flags&8),requestNeeded:!!(flags&64),verified:!!(flags&128),scam:!!(flags&256),fake:!!(flags&512),canRefulfillSubscription:!!(flags&2048),title:r.string(),about:flags&32?r.string():void 0,photo:r.object(),participantsCount:r.int(),participants:flags&16?r.vector(r.object):void 0,color:r.int(),subscriptionPricing:flags&1024?r.object():void 0,subscriptionFormId:flags&4096?r.long():void 0,botVerification:flags&8192?r.object():void 0,}},
|
|
524
531
|
1634294960:function(r){return{_:'chatInvitePeek',chat:r.object(),expires:r.int(),}},
|
|
525
532
|
4290128789:function(r){return{_:'inputStickerSetEmpty'}},
|
|
526
533
|
2649203305:function(r){return{_:'inputStickerSetID',id:r.long(),accessHash:r.long(),}},
|
|
@@ -537,7 +544,7 @@ var m={
|
|
|
537
544
|
1846886166:function(r){return{_:'messages.stickerSet',set:r.object(),packs:r.vector(r.object),keywords:r.vector(r.object),documents:r.vector(r.object),}},
|
|
538
545
|
3556320491:function(r){return{_:'messages.stickerSetNotModified'}},
|
|
539
546
|
3262826695:function(r){return{_:'botCommand',command:r.string(),description:r.string(),}},
|
|
540
|
-
|
|
547
|
+
1300890265:function(r){var flags=r.uint();return{_:'botInfo',hasPreviewMedias:!!(flags&64),userId:flags&1?r.int53():void 0,description:flags&2?r.string():void 0,descriptionPhoto:flags&16?r.object():void 0,descriptionDocument:flags&32?r.object():void 0,commands:flags&4?r.vector(r.object):void 0,menuButton:flags&8?r.object():void 0,privacyPolicyUrl:flags&128?r.string():void 0,appSettings:flags&256?r.object():void 0,verifierSettings:flags&512?r.object():void 0,}},
|
|
541
548
|
2734311552:function(r){return{_:'keyboardButton',text:r.string(),}},
|
|
542
549
|
629866245:function(r){return{_:'keyboardButtonUrl',text:r.string(),url:r.string(),}},
|
|
543
550
|
901503851:function(r){var flags=r.uint();return{_:'keyboardButtonCallback',requiresPassword:!!(flags&1),text:r.string(),data:r.bytes(),}},
|
|
@@ -742,9 +749,10 @@ var m={
|
|
|
742
749
|
3767910816:function(r){return{_:'phoneCallDiscardReasonDisconnect'}},
|
|
743
750
|
1471006352:function(r){return{_:'phoneCallDiscardReasonHangup'}},
|
|
744
751
|
4210550985:function(r){return{_:'phoneCallDiscardReasonBusy'}},
|
|
752
|
+
2950871097:function(r){return{_:'phoneCallDiscardReasonAllowGroupCall',encryptedKey:r.bytes(),}},
|
|
745
753
|
2104790276:function(r){return{_:'dataJSON',data:r.string(),}},
|
|
746
754
|
3408489464:function(r){return{_:'labeledPrice',label:r.string(),amount:r.long(),}},
|
|
747
|
-
|
|
755
|
+
77522308:function(r){var flags=r.uint();return{_:'invoice',test:!!(flags&1),nameRequested:!!(flags&2),phoneRequested:!!(flags&4),emailRequested:!!(flags&8),shippingAddressRequested:!!(flags&16),flexible:!!(flags&32),phoneToProvider:!!(flags&64),emailToProvider:!!(flags&128),recurring:!!(flags&512),currency:r.string(),prices:r.vector(r.object),maxTipAmount:flags&256?r.long():void 0,suggestedTipAmounts:flags&256?r.vector(r.long):void 0,termsUrl:flags&1024?r.string():void 0,subscriptionPeriod:flags&2048?r.int():void 0,}},
|
|
748
756
|
3926049406:function(r){return{_:'paymentCharge',id:r.string(),providerChargeId:r.string(),}},
|
|
749
757
|
512535275:function(r){return{_:'postAddress',streetLine1:r.string(),streetLine2:r.string(),city:r.string(),state:r.string(),countryIso2:r.string(),postCode:r.string(),}},
|
|
750
758
|
2426158996:function(r){var flags=r.uint();return{_:'paymentRequestedInfo',name:flags&1?r.string():void 0,phone:flags&2?r.string():void 0,email:flags&4?r.string():void 0,shippingAddress:flags&8?r.object():void 0,}},
|
|
@@ -774,11 +782,11 @@ var m={
|
|
|
774
782
|
853188252:function(r){var flags=r.uint();return{_:'inputStickerSetItem',document:r.object(),emoji:r.string(),maskCoords:flags&1?r.object():void 0,keywords:flags&2?r.string():void 0,}},
|
|
775
783
|
506920429:function(r){return{_:'inputPhoneCall',id:r.long(),accessHash:r.long(),}},
|
|
776
784
|
1399245077:function(r){return{_:'phoneCallEmpty',id:r.long(),}},
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
785
|
+
4006881368:function(r){var flags=r.uint();return{_:'phoneCallWaiting',video:!!(flags&64),id:r.long(),accessHash:r.long(),date:r.int(),adminId:r.int53(),participantId:r.int53(),protocol:r.object(),receiveDate:flags&1?r.int():void 0,conferenceCall:flags&256?r.object():void 0,}},
|
|
786
|
+
1161174115:function(r){var flags=r.uint();return{_:'phoneCallRequested',video:!!(flags&64),id:r.long(),accessHash:r.long(),date:r.int(),adminId:r.int53(),participantId:r.int53(),gAHash:r.bytes(),protocol:r.object(),conferenceCall:flags&256?r.object():void 0,}},
|
|
787
|
+
587035009:function(r){var flags=r.uint();return{_:'phoneCallAccepted',video:!!(flags&64),id:r.long(),accessHash:r.long(),date:r.int(),adminId:r.int53(),participantId:r.int53(),gB:r.bytes(),protocol:r.object(),conferenceCall:flags&256?r.object():void 0,}},
|
|
788
|
+
1000707084:function(r){var flags=r.uint();return{_:'phoneCall',p2pAllowed:!!(flags&32),video:!!(flags&64),id:r.long(),accessHash:r.long(),date:r.int(),adminId:r.int53(),participantId:r.int53(),gAOrB:r.bytes(),keyFingerprint:r.long(),protocol:r.object(),connections:r.vector(r.object),startDate:r.int(),customParameters:flags&128?r.object():void 0,conferenceCall:flags&256?r.object():void 0,}},
|
|
789
|
+
4191311107:function(r){var flags=r.uint();return{_:'phoneCallDiscarded',needRating:!!(flags&4),needDebug:!!(flags&8),video:!!(flags&64),id:r.long(),reason:flags&1?r.object():void 0,duration:flags&2?r.int():void 0,conferenceCall:flags&256?r.object():void 0,}},
|
|
782
790
|
2629903303:function(r){var flags=r.uint();return{_:'phoneConnection',tcp:!!(flags&1),id:r.long(),ip:r.string(),ipv6:r.string(),port:r.int(),peerTag:r.bytes(),}},
|
|
783
791
|
1667228533:function(r){var flags=r.uint();return{_:'phoneConnectionWebrtc',turn:!!(flags&1),stun:!!(flags&2),id:r.long(),ip:r.string(),ipv6:r.string(),port:r.int(),username:r.string(),password:r.string(),}},
|
|
784
792
|
4236742600:function(r){var flags=r.uint();return{_:'phoneCallProtocol',udpP2p:!!(flags&1),udpReflector:!!(flags&2),minLayer:r.int(),maxLayer:r.int(),libraryVersions:r.vector(r.string),}},
|
|
@@ -999,9 +1007,9 @@ var m={
|
|
|
999
1007
|
1218005070:function(r){var flags=r.uint();return{_:'messages.votesList',count:r.int(),votes:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),nextOffset:flags&1?r.string():void 0,}},
|
|
1000
1008
|
4117234314:function(r){return{_:'bankCardOpenUrl',url:r.string(),name:r.string(),}},
|
|
1001
1009
|
1042605427:function(r){return{_:'payments.bankCardData',title:r.string(),openUrls:r.vector(r.object),}},
|
|
1002
|
-
|
|
1010
|
+
2856789585:function(r){var flags=r.uint();return{_:'dialogFilter',contacts:!!(flags&1),nonContacts:!!(flags&2),groups:!!(flags&4),broadcasts:!!(flags&8),bots:!!(flags&16),excludeMuted:!!(flags&2048),excludeRead:!!(flags&4096),excludeArchived:!!(flags&8192),titleNoanimate:!!(flags&268435456),id:r.int(),title:r.object(),emoticon:flags&33554432?r.string():void 0,color:flags&134217728?r.int():void 0,pinnedPeers:r.vector(r.object),includePeers:r.vector(r.object),excludePeers:r.vector(r.object),}},
|
|
1003
1011
|
909284270:function(r){return{_:'dialogFilterDefault'}},
|
|
1004
|
-
|
|
1012
|
+
2522053591:function(r){var flags=r.uint();return{_:'dialogFilterChatlist',hasMyInvites:!!(flags&67108864),titleNoanimate:!!(flags&268435456),id:r.int(),title:r.object(),emoticon:flags&33554432?r.string():void 0,color:flags&134217728?r.int():void 0,pinnedPeers:r.vector(r.object),includePeers:r.vector(r.object),}},
|
|
1005
1013
|
2004110666:function(r){return{_:'dialogFilterSuggested',filter:r.object(),description:r.string(),}},
|
|
1006
1014
|
3057118639:function(r){return{_:'statsDateRangeDays',minDate:r.int(),maxDate:r.int(),}},
|
|
1007
1015
|
3410210014:function(r){return{_:'statsAbsValueAndPrev',current:r.double(),previous:r.double(),}},
|
|
@@ -1033,7 +1041,7 @@ var m={
|
|
|
1033
1041
|
3908927508:function(r){return{_:'peerBlocked',peerId:r.object(),date:r.int(),}},
|
|
1034
1042
|
2145983508:function(r){return{_:'stats.messageStats',viewsGraph:r.object(),reactionsByEmotionGraph:r.object(),}},
|
|
1035
1043
|
2004925620:function(r){return{_:'groupCallDiscarded',id:r.long(),accessHash:r.long(),duration:r.int(),}},
|
|
1036
|
-
|
|
1044
|
+
3455636451: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(),conferenceFromCall:flags&16384?r.long():void 0,}},
|
|
1037
1045
|
3635053583:function(r){return{_:'inputGroupCall',id:r.long(),accessHash:r.long(),}},
|
|
1038
1046
|
3953538814:function(r){var flags=r.uint();return{_:'groupCallParticipant',muted:!!(flags&1),left:!!(flags&2),canSelfUnmute:!!(flags&4),justJoined:!!(flags&16),versioned:!!(flags&32),min:!!(flags&256),mutedByYou:!!(flags&512),volumeByAdmin:!!(flags&1024),self:!!(flags&4096),videoJoined:!!(flags&32768),peer:r.object(),date:r.int(),activeDate:flags&8?r.int():void 0,source:r.int(),volume:flags&128?r.int():void 0,about:flags&2048?r.string():void 0,raiseHandRating:flags&8192?r.long():void 0,video:flags&64?r.object():void 0,presentation:flags&16384?r.object():void 0,}},
|
|
1039
1047
|
2658302637:function(r){return{_:'phone.groupCall',call:r.object(),participants:r.vector(r.object),participantsNextOffset:r.string(),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
@@ -1097,7 +1105,7 @@ var m={
|
|
|
1097
1105
|
4057500252:function(r){return{_:'attachMenuBotsNotModified'}},
|
|
1098
1106
|
1011024320:function(r){return{_:'attachMenuBots',hash:r.long(),bots:r.vector(r.object),users:r.vector(r.object),}},
|
|
1099
1107
|
2478794367:function(r){return{_:'attachMenuBotsBot',bot:r.object(),users:r.vector(r.object),}},
|
|
1100
|
-
1294139288:function(r){var flags=r.uint();return{_:'webViewResultUrl',fullsize:!!(flags&2),queryId:flags&1?r.long():void 0,url:r.string(),}},
|
|
1108
|
+
1294139288:function(r){var flags=r.uint();return{_:'webViewResultUrl',fullsize:!!(flags&2),fullscreen:!!(flags&4),queryId:flags&1?r.long():void 0,url:r.string(),}},
|
|
1101
1109
|
211046684:function(r){var flags=r.uint();return{_:'webViewMessageSent',msgId:flags&1?r.object():void 0,}},
|
|
1102
1110
|
1966318984:function(r){return{_:'botMenuButtonDefault'}},
|
|
1103
1111
|
1113113093:function(r){return{_:'botMenuButtonCommands'}},
|
|
@@ -1120,13 +1128,15 @@ var m={
|
|
|
1120
1128
|
2560125965:function(r){return{_:'inputInvoicePremiumGiftCode',purpose:r.object(),option:r.object(),}},
|
|
1121
1129
|
1710230755:function(r){return{_:'inputInvoiceStars',purpose:r.object(),}},
|
|
1122
1130
|
887591921:function(r){return{_:'inputInvoiceChatInviteSubscription',hash:r.string(),}},
|
|
1123
|
-
634962392:function(r){var flags=r.uint();return{_:'inputInvoiceStarGift',hideName:!!(flags&1),userId:r.object(),giftId:r.long(),message:flags&2?r.object():void 0,}},
|
|
1131
|
+
634962392:function(r){var flags=r.uint();return{_:'inputInvoiceStarGift',hideName:!!(flags&1),includeUpgrade:!!(flags&4),userId:r.object(),giftId:r.long(),message:flags&2?r.object():void 0,}},
|
|
1132
|
+
1589539426:function(r){var flags=r.uint();return{_:'inputInvoiceStarGiftUpgrade',keepOriginalDetails:!!(flags&1),msgId:r.int(),}},
|
|
1133
|
+
2923145709:function(r){return{_:'inputInvoiceStarGiftTransfer',msgId:r.int(),toId:r.object(),}},
|
|
1124
1134
|
2932919257:function(r){return{_:'payments.exportedInvoice',url:r.string(),}},
|
|
1125
1135
|
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,}},
|
|
1126
1136
|
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),}},
|
|
1127
1137
|
2792693350:function(r){var flags=r.uint();return{_:'inputStorePaymentPremiumSubscription',restore:!!(flags&1),upgrade:!!(flags&2),}},
|
|
1128
1138
|
1634697192:function(r){return{_:'inputStorePaymentGiftPremium',userId:r.object(),currency:r.string(),amount:r.long(),}},
|
|
1129
|
-
|
|
1139
|
+
4219011987: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(),message:flags&2?r.object():void 0,}},
|
|
1130
1140
|
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(),}},
|
|
1131
1141
|
3722252118:function(r){return{_:'inputStorePaymentStarsTopup',stars:r.long(),currency:r.string(),amount:r.long(),}},
|
|
1132
1142
|
494149367:function(r){return{_:'inputStorePaymentStarsGift',userId:r.object(),stars:r.long(),currency:r.string(),amount:r.long(),}},
|
|
@@ -1195,7 +1205,7 @@ var m={
|
|
|
1195
1205
|
283567014:function(r){return{_:'chatlists.exportedChatlistInvite',filter:r.object(),invite:r.object(),}},
|
|
1196
1206
|
279670215:function(r){return{_:'chatlists.exportedInvites',invites:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1197
1207
|
4203214425:function(r){return{_:'chatlists.chatlistInviteAlready',filterId:r.int(),missingPeers:r.vector(r.object),alreadyPeers:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1198
|
-
|
|
1208
|
+
4044279343:function(r){var flags=r.uint();return{_:'chatlists.chatlistInvite',titleNoanimate:!!(flags&2),title:r.object(),emoticon:flags&1?r.string():void 0,peers:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1199
1209
|
2478671757:function(r){return{_:'chatlists.chatlistUpdates',missingPeers:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1200
1210
|
3903288752:function(r){return{_:'bots.botInfo',name:r.string(),about:r.string(),description:r.string(),}},
|
|
1201
1211
|
3066834268:function(r){return{_:'messagePeerVote',peer:r.object(),option:r.bytes(),date:r.int(),}},
|
|
@@ -1337,13 +1347,14 @@ var m={
|
|
|
1337
1347
|
3912227074:function(r){return{_:'starsTransactionPeerFragment'}},
|
|
1338
1348
|
3624771933:function(r){return{_:'starsTransactionPeer',peer:r.object(),}},
|
|
1339
1349
|
1617438738:function(r){return{_:'starsTransactionPeerAds'}},
|
|
1350
|
+
4184308397:function(r){return{_:'starsTransactionPeerAPI'}},
|
|
1340
1351
|
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(),}},
|
|
1341
|
-
|
|
1342
|
-
|
|
1352
|
+
1692387622: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),id:r.string(),stars: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,}},
|
|
1353
|
+
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),}},
|
|
1343
1354
|
3900361664:function(r){return{_:'foundStory',peer:r.object(),story:r.object(),}},
|
|
1344
1355
|
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),}},
|
|
1345
1356
|
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,}},
|
|
1346
|
-
|
|
1357
|
+
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,}},
|
|
1347
1358
|
3375085371:function(r){return{_:'payments.starsRevenueStats',revenueGraph:r.object(),status:r.object(),usdRate:r.double(),}},
|
|
1348
1359
|
497778871:function(r){return{_:'payments.starsRevenueWithdrawalUrl',url:r.string(),}},
|
|
1349
1360
|
961445665:function(r){return{_:'payments.starsRevenueAdsAccountUrl',url:r.string(),}},
|
|
@@ -1353,19 +1364,37 @@ var m={
|
|
|
1353
1364
|
602479523:function(r){return{_:'botPreviewMedia',date:r.int(),media:r.object(),}},
|
|
1354
1365
|
212278628:function(r){return{_:'bots.previewInfo',media:r.vector(r.object),langCodes:r.vector(r.string),}},
|
|
1355
1366
|
88173912:function(r){return{_:'starsSubscriptionPricing',period:r.int(),amount:r.long(),}},
|
|
1356
|
-
|
|
1367
|
+
779004698:function(r){var flags=r.uint();return{_:'starsSubscription',canceled:!!(flags&1),canRefulfill:!!(flags&2),missingBalance:!!(flags&4),botCanceled:!!(flags&128),id:r.string(),peer:r.object(),untilDate:r.int(),pricing:r.object(),chatInviteHash:flags&8?r.string():void 0,title:flags&16?r.string():void 0,photo:flags&32?r.object():void 0,invoiceSlug:flags&64?r.string():void 0,}},
|
|
1357
1368
|
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(),}},
|
|
1358
1369
|
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),}},
|
|
1359
1370
|
1411605001:function(r){var flags=r.uint();return{_:'starsGiveawayWinnersOption',default:!!(flags&1),users:r.int(),perUserStars:r.long(),}},
|
|
1360
|
-
|
|
1371
|
+
46953416: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,convertStars:r.long(),firstSaleDate:flags&2?r.int():void 0,lastSaleDate:flags&2?r.int():void 0,upgradeStars:flags&8?r.long():void 0,}},
|
|
1372
|
+
1779697613:function(r){return{_:'starGiftUnique',id:r.long(),title:r.string(),num:r.int(),ownerId:r.int53(),attributes:r.vector(r.object),availabilityIssued:r.int(),availabilityTotal:r.int(),}},
|
|
1361
1373
|
2743640936:function(r){return{_:'payments.starGiftsNotModified'}},
|
|
1362
1374
|
2417396202:function(r){return{_:'payments.starGifts',hash:r.int(),gifts:r.vector(r.object),}},
|
|
1363
|
-
|
|
1375
|
+
844641761:function(r){var flags=r.uint();return{_:'userStarGift',nameHidden:!!(flags&1),unsaved:!!(flags&32),refunded:!!(flags&512),canUpgrade:!!(flags&1024),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,upgradeStars:flags&64?r.long():void 0,canExportAt:flags&128?r.int():void 0,transferStars:flags&256?r.long():void 0,}},
|
|
1364
1376
|
1801827607:function(r){var flags=r.uint();return{_:'payments.userStarGifts',count:r.int(),gifts:r.vector(r.object),nextOffset:flags&1?r.string():void 0,users:r.vector(r.object),}},
|
|
1365
1377
|
2030298073:function(r){return{_:'messageReportOption',text:r.string(),option:r.bytes(),}},
|
|
1366
1378
|
4041531574:function(r){return{_:'reportResultChooseOption',title:r.string(),options:r.vector(r.object),}},
|
|
1367
1379
|
1862904881:function(r){var flags=r.uint();return{_:'reportResultAddComment',optional:!!(flags&1),option:r.bytes(),}},
|
|
1368
1380
|
2377333835:function(r){return{_:'reportResultReported'}},
|
|
1381
|
+
2395931921:function(r){return{_:'messages.botPreparedInlineMessage',id:r.string(),expireDate:r.int(),}},
|
|
1382
|
+
4283920525:function(r){return{_:'messages.preparedInlineMessage',queryId:r.long(),result:r.object(),peerTypes:r.vector(r.object),cacheTime:r.int(),users:r.vector(r.object),}},
|
|
1383
|
+
3382384976:function(r){var flags=r.uint();return{_:'botAppSettings',placeholderPath:flags&1?r.bytes():void 0,backgroundColor:flags&2?r.int():void 0,backgroundDarkColor:flags&4?r.int():void 0,headerColor:flags&8?r.int():void 0,headerDarkColor:flags&16?r.int():void 0,}},
|
|
1384
|
+
3708577522:function(r){var flags=r.uint();return{_:'starRefProgram',botId:r.int53(),commissionPermille:r.int(),durationMonths:flags&1?r.int():void 0,endDate:flags&2?r.int():void 0,dailyRevenuePerUser:flags&4?r.object():void 0,}},
|
|
1385
|
+
429997937:function(r){var flags=r.uint();return{_:'connectedBotStarRef',revoked:!!(flags&2),url:r.string(),date:r.int(),botId:r.int53(),commissionPermille:r.int(),durationMonths:flags&1?r.int():void 0,participants:r.long(),revenue:r.long(),}},
|
|
1386
|
+
2564155933:function(r){return{_:'payments.connectedStarRefBots',count:r.int(),connectedBots:r.vector(r.object),users:r.vector(r.object),}},
|
|
1387
|
+
3033913433:function(r){var flags=r.uint();return{_:'payments.suggestedStarRefBots',count:r.int(),suggestedBots:r.vector(r.object),users:r.vector(r.object),nextOffset:flags&1?r.string():void 0,}},
|
|
1388
|
+
3149313187:function(r){return{_:'starsAmount',amount:r.long(),nanos:r.int(),}},
|
|
1389
|
+
1611711796:function(r){var flags=r.uint();return{_:'messages.foundStickersNotModified',nextOffset:flags&1?r.int():void 0,}},
|
|
1390
|
+
2194268816:function(r){var flags=r.uint();return{_:'messages.foundStickers',nextOffset:flags&1?r.int():void 0,hash:r.long(),stickers:r.vector(r.object),}},
|
|
1391
|
+
2966251031:function(r){var flags=r.uint();return{_:'botVerifierSettings',canModifyCustomDescription:!!(flags&2),icon:r.long(),company:r.string(),customDescription:flags&1?r.string():void 0,}},
|
|
1392
|
+
4181513308:function(r){return{_:'botVerification',botId:r.int53(),icon:r.long(),description:r.string(),}},
|
|
1393
|
+
970559507:function(r){return{_:'starGiftAttributeModel',name:r.string(),document:r.object(),rarityPermille:r.int(),}},
|
|
1394
|
+
330104601:function(r){return{_:'starGiftAttributePattern',name:r.string(),document:r.object(),rarityPermille:r.int(),}},
|
|
1395
|
+
2485589858:function(r){return{_:'starGiftAttributeBackdrop',name:r.string(),centerColor:r.int(),edgeColor:r.int(),patternColor:r.int(),textColor:r.int(),rarityPermille:r.int(),}},
|
|
1396
|
+
3224129355:function(r){var flags=r.uint();return{_:'starGiftAttributeOriginalDetails',senderId:flags&1?r.int53():void 0,recipientId:r.int53(),date:r.int(),message:flags&2?r.object():void 0,}},
|
|
1397
|
+
377215243:function(r){return{_:'payments.starGiftUpgradePreview',sampleAttributes:r.vector(r.object),}},
|
|
1369
1398
|
_results:{
|
|
1370
1399
|
'contacts.getContactIDs':function(r){return r.vector(r.int)},
|
|
1371
1400
|
'messages.receivedQueue':function(r){return r.vector(r.long)},
|