@mtcute/tl 183.0.0 → 184.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 +7 -6
- package/binary/writer.js +9 -8
- package/index.d.ts +71 -61
- package/index.js +4 -4
- package/package.json +1 -1
package/binary/reader.js
CHANGED
|
@@ -40,6 +40,7 @@ var m={
|
|
|
40
40
|
3866083195:function(r){return{_:'inputMediaDice',emoticon:r.string(),}},
|
|
41
41
|
2315114360:function(r){return{_:'inputMediaStory',peer:r.object(),id:r.int(),}},
|
|
42
42
|
3256584265:function(r){var flags=r.uint();return{_:'inputMediaWebPage',forceLargeMedia:!!(flags&1),forceSmallMedia:!!(flags&2),optional:!!(flags&4),url:r.string(),}},
|
|
43
|
+
2858819523:function(r){return{_:'inputMediaPaidMedia',starsAmount:r.long(),extendedMedia:r.vector(r.object),}},
|
|
43
44
|
480546647:function(r){return{_:'inputChatPhotoEmpty'}},
|
|
44
45
|
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,}},
|
|
45
46
|
2303962423:function(r){return{_:'inputChatPhoto',id:r.object(),}},
|
|
@@ -86,7 +87,7 @@ var m={
|
|
|
86
87
|
179174543:function(r){var flags=r.uint(),flags2=r.uint();return{_:'channel',creator:!!(flags&1),left:!!(flags&4),broadcast:!!(flags&32),verified:!!(flags&128),megagroup:!!(flags&256),restricted:!!(flags&512),signatures:!!(flags&2048),min:!!(flags&4096),scam:!!(flags&524288),hasLink:!!(flags&1048576),hasGeo:!!(flags&2097152),slowmodeEnabled:!!(flags&4194304),callActive:!!(flags&8388608),callNotEmpty:!!(flags&16777216),fake:!!(flags&33554432),gigagroup:!!(flags&67108864),noforwards:!!(flags&134217728),joinToSend:!!(flags&268435456),joinRequest:!!(flags&536870912),forum:!!(flags&1073741824),storiesHidden:!!(flags2&2),storiesHiddenMin:!!(flags2&4),storiesUnavailable:!!(flags2&8),id:r.int53(),accessHash:flags&8192?r.long():void 0,title:r.string(),username:flags&64?r.string():void 0,photo:r.object(),date:r.int(),restrictionReason:flags&512?r.vector(r.object):void 0,adminRights:flags&16384?r.object():void 0,bannedRights:flags&32768?r.object():void 0,defaultBannedRights:flags&262144?r.object():void 0,participantsCount:flags&131072?r.int():void 0,usernames:flags2&1?r.vector(r.object):void 0,storiesMaxId:flags2&16?r.int():void 0,color:flags2&128?r.object():void 0,profileColor:flags2&256?r.object():void 0,emojiStatus:flags2&512?r.object():void 0,level:flags2&1024?r.int():void 0,}},
|
|
87
88
|
399807445:function(r){var flags=r.uint();return{_:'channelForbidden',broadcast:!!(flags&32),megagroup:!!(flags&256),id:r.int53(),accessHash:r.long(),title:r.string(),untilDate:flags&65536?r.int():void 0,}},
|
|
88
89
|
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,}},
|
|
89
|
-
3148559501: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),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,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,}},
|
|
90
|
+
3148559501: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),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,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,}},
|
|
90
91
|
3224190983:function(r){return{_:'chatParticipant',userId:r.int53(),inviterId:r.int53(),date:r.int(),}},
|
|
91
92
|
3832270564:function(r){return{_:'chatParticipantCreator',userId:r.int53(),}},
|
|
92
93
|
2694004571:function(r){return{_:'chatParticipantAdmin',userId:r.int53(),inviterId:r.int53(),date:r.int(),}},
|
|
@@ -113,6 +114,7 @@ var m={
|
|
|
113
114
|
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
115
|
3668805040:function(r){var flags=r.uint();return{_:'messageMediaGiveaway',onlyNewSubscribers:!!(flags&1),winnersAreVisible:!!(flags&4),channels:r.vector(r.int53),countriesIso2:flags&2?r.vector(r.string):void 0,prizeDescription:flags&8?r.string():void 0,quantity:r.int(),months:r.int(),untilDate:r.int(),}},
|
|
115
116
|
3331919976:function(r){var flags=r.uint();return{_:'messageMediaGiveawayResults',onlyNewSubscribers:!!(flags&1),refunded:!!(flags&4),channelId:r.long(),additionalPeersCount:flags&8?r.int():void 0,launchMsgId:r.int(),winnersCount:r.int(),unclaimedCount:r.int(),winners:r.vector(r.long),months:r.int(),prizeDescription:flags&2?r.string():void 0,untilDate:r.int(),}},
|
|
117
|
+
2827297937:function(r){return{_:'messageMediaPaidMedia',starsAmount:r.long(),extendedMedia:r.vector(r.object),}},
|
|
116
118
|
3064919984:function(r){return{_:'messageActionEmpty'}},
|
|
117
119
|
3175599021:function(r){return{_:'messageActionChatCreate',title:r.string(),users:r.vector(r.int53),}},
|
|
118
120
|
3047280218:function(r){return{_:'messageActionChatEditTitle',title:r.string(),}},
|
|
@@ -156,6 +158,7 @@ var m={
|
|
|
156
158
|
715107781:function(r){return{_:'messageActionGiveawayResults',winnersCount:r.int(),unclaimedCount:r.int(),}},
|
|
157
159
|
3422726765:function(r){return{_:'messageActionBoostApply',boosts:r.int(),}},
|
|
158
160
|
2477987912:function(r){return{_:'messageActionRequestedPeerSentMe',buttonId:r.int(),peers:r.vector(r.object),}},
|
|
161
|
+
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(),}},
|
|
159
162
|
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,}},
|
|
160
163
|
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(),}},
|
|
161
164
|
590459437:function(r){return{_:'photoEmpty',id:r.long(),}},
|
|
@@ -1084,7 +1087,6 @@ var m={
|
|
|
1084
1087
|
1011024320:function(r){return{_:'attachMenuBots',hash:r.long(),bots:r.vector(r.object),users:r.vector(r.object),}},
|
|
1085
1088
|
2478794367:function(r){return{_:'attachMenuBotsBot',bot:r.object(),users:r.vector(r.object),}},
|
|
1086
1089
|
1294139288:function(r){var flags=r.uint();return{_:'webViewResultUrl',fullsize:!!(flags&2),queryId:flags&1?r.long():void 0,url:r.string(),}},
|
|
1087
|
-
2284811963:function(r){return{_:'simpleWebViewResultUrl',url:r.string(),}},
|
|
1088
1090
|
211046684:function(r){var flags=r.uint();return{_:'webViewMessageSent',msgId:flags&1?r.object():void 0,}},
|
|
1089
1091
|
1966318984:function(r){return{_:'botMenuButtonDefault'}},
|
|
1090
1092
|
1113113093:function(r){return{_:'botMenuButtonCommands'}},
|
|
@@ -1170,7 +1172,6 @@ var m={
|
|
|
1170
1172
|
1571189943:function(r){return{_:'botAppNotModified'}},
|
|
1171
1173
|
2516373974:function(r){var flags=r.uint();return{_:'botApp',id:r.long(),accessHash:r.long(),shortName:r.string(),title:r.string(),description:r.string(),photo:r.object(),document:flags&1?r.object():void 0,hash:r.long(),}},
|
|
1172
1174
|
3947933173:function(r){var flags=r.uint();return{_:'messages.botApp',inactive:!!(flags&1),requestWriteAccess:!!(flags&2),hasSettings:!!(flags&4),app:r.object(),}},
|
|
1173
|
-
1008422669:function(r){return{_:'appWebViewResultUrl',url:r.string(),}},
|
|
1174
1175
|
3044185557:function(r){return{_:'inlineBotWebView',text:r.string(),url:r.string(),}},
|
|
1175
1176
|
1246753138:function(r){return{_:'readParticipantDate',userId:r.int53(),date:r.int(),}},
|
|
1176
1177
|
4091599411:function(r){return{_:'inputChatlistDialogFilter',filterId:r.int(),}},
|
|
@@ -1317,6 +1318,7 @@ var m={
|
|
|
1317
1318
|
621656824:function(r){return{_:'starsTransactionPeerPremiumBot'}},
|
|
1318
1319
|
3912227074:function(r){return{_:'starsTransactionPeerFragment'}},
|
|
1319
1320
|
3624771933:function(r){return{_:'starsTransactionPeer',peer:r.object(),}},
|
|
1321
|
+
1617438738:function(r){return{_:'starsTransactionPeerAds'}},
|
|
1320
1322
|
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(),}},
|
|
1321
1323
|
766853519:function(r){var flags=r.uint();return{_:'starsTransaction',refund:!!(flags&8),pending:!!(flags&16),failed:!!(flags&64),id:r.string(),stars:r.long(),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,}},
|
|
1322
1324
|
2364862048:function(r){var flags=r.uint();return{_:'payments.starsStatus',balance:r.long(),history:r.vector(r.object),nextOffset:flags&1?r.string():void 0,chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
@@ -1326,12 +1328,11 @@ var m={
|
|
|
1326
1328
|
2033461574:function(r){var flags=r.uint();return{_:'starsRevenueStatus',withdrawalEnabled:!!(flags&1),currentBalance:r.long(),availableBalance:r.long(),overallRevenue:r.long(),nextWithdrawalAt:flags&2?r.int():void 0,}},
|
|
1327
1329
|
3375085371:function(r){return{_:'payments.starsRevenueStats',revenueGraph:r.object(),status:r.object(),usdRate:r.double(),}},
|
|
1328
1330
|
497778871:function(r){return{_:'payments.starsRevenueWithdrawalUrl',url:r.string(),}},
|
|
1329
|
-
2858819523:function(r){return{_:'inputMediaPaidMedia',starsAmount:r.long(),extendedMedia:r.vector(r.object),}},
|
|
1330
|
-
2827297937:function(r){return{_:'messageMediaPaidMedia',starsAmount:r.long(),extendedMedia:r.vector(r.object),}},
|
|
1331
|
-
1617438738:function(r){return{_:'starsTransactionPeerAds'}},
|
|
1332
1331
|
961445665:function(r){return{_:'payments.starsRevenueAdsAccountUrl',url:r.string(),}},
|
|
1333
1332
|
543876817:function(r){var flags=r.uint();return{_:'inputStarsTransaction',refund:!!(flags&1),id:r.string(),}},
|
|
1334
1333
|
3438316246:function(r){return{_:'updateGroupInvitePrivacyForbidden',userId:r.int53(),}},
|
|
1334
|
+
2284811963:function(r){return{_:'simpleWebViewResultUrl',url:r.string(),}},
|
|
1335
|
+
1008422669:function(r){return{_:'appWebViewResultUrl',url:r.string(),}},
|
|
1335
1336
|
1035529315:function(r){var flags=r.uint();return{_:'sponsoredWebPage',url:r.string(),siteName:r.string(),photo:flags&1?r.object():void 0,}},
|
|
1336
1337
|
_results:{
|
|
1337
1338
|
'contacts.getContactIDs':function(r){return r.vector(r.int)},
|
package/binary/writer.js
CHANGED
|
@@ -41,6 +41,7 @@ var m={
|
|
|
41
41
|
'inputMediaDice':function(w,v){w.uint(3866083195);w.string(h(v,'emoticon'));},
|
|
42
42
|
'inputMediaStory':function(w,v){w.uint(2315114360);w.object(h(v,'peer'));w.int(h(v,'id'));},
|
|
43
43
|
'inputMediaWebPage':function(w,v){w.uint(3256584265);var flags=0;if(v.forceLargeMedia===true)flags|=1;if(v.forceSmallMedia===true)flags|=2;if(v.optional===true)flags|=4;w.uint(flags);w.string(h(v,'url'));},
|
|
44
|
+
'inputMediaPaidMedia':function(w,v){w.uint(2858819523);w.long(h(v,'starsAmount'));w.vector(w.object,h(v,'extendedMedia'));},
|
|
44
45
|
'inputChatPhotoEmpty':function(w){w.uint(480546647);},
|
|
45
46
|
'inputChatUploadedPhoto':function(w,v){w.uint(3184373440);var flags=0;var _file=v.file!==undefined;if(_file)flags|=1;var _video=v.video!==undefined;if(_video)flags|=2;var _videoStartTs=v.videoStartTs!==undefined;if(_videoStartTs)flags|=4;var _videoEmojiMarkup=v.videoEmojiMarkup!==undefined;if(_videoEmojiMarkup)flags|=8;w.uint(flags);if(_file)w.object(v.file);if(_video)w.object(v.video);if(_videoStartTs)w.double(v.videoStartTs);if(_videoEmojiMarkup)w.object(v.videoEmojiMarkup);},
|
|
46
47
|
'inputChatPhoto':function(w,v){w.uint(2303962423);w.object(h(v,'id'));},
|
|
@@ -87,7 +88,7 @@ var m={
|
|
|
87
88
|
'channel':function(w,v){w.uint(179174543);var flags=0;if(v.creator===true)flags|=1;if(v.left===true)flags|=4;if(v.broadcast===true)flags|=32;var _username=v.username!==undefined;if(_username)flags|=64;if(v.verified===true)flags|=128;if(v.megagroup===true)flags|=256;var _restrictionReason=v.restrictionReason&&v.restrictionReason.length;var _flags_9=v.restricted===true||_restrictionReason;if(_flags_9)flags|=512;if(v.signatures===true)flags|=2048;if(v.min===true)flags|=4096;var _accessHash=v.accessHash!==undefined;if(_accessHash)flags|=8192;var _adminRights=v.adminRights!==undefined;if(_adminRights)flags|=16384;var _bannedRights=v.bannedRights!==undefined;if(_bannedRights)flags|=32768;var _participantsCount=v.participantsCount!==undefined;if(_participantsCount)flags|=131072;var _defaultBannedRights=v.defaultBannedRights!==undefined;if(_defaultBannedRights)flags|=262144;if(v.scam===true)flags|=524288;if(v.hasLink===true)flags|=1048576;if(v.hasGeo===true)flags|=2097152;if(v.slowmodeEnabled===true)flags|=4194304;if(v.callActive===true)flags|=8388608;if(v.callNotEmpty===true)flags|=16777216;if(v.fake===true)flags|=33554432;if(v.gigagroup===true)flags|=67108864;if(v.noforwards===true)flags|=134217728;if(v.joinToSend===true)flags|=268435456;if(v.joinRequest===true)flags|=536870912;if(v.forum===true)flags|=1073741824;w.uint(flags);var flags2=0;var _usernames=v.usernames&&v.usernames.length;if(_usernames)flags2|=1;if(v.storiesHidden===true)flags2|=2;if(v.storiesHiddenMin===true)flags2|=4;if(v.storiesUnavailable===true)flags2|=8;var _storiesMaxId=v.storiesMaxId!==undefined;if(_storiesMaxId)flags2|=16;var _color=v.color!==undefined;if(_color)flags2|=128;var _profileColor=v.profileColor!==undefined;if(_profileColor)flags2|=256;var _emojiStatus=v.emojiStatus!==undefined;if(_emojiStatus)flags2|=512;var _level=v.level!==undefined;if(_level)flags2|=1024;w.uint(flags2);w.int53(h(v,'id'));if(_accessHash)w.long(v.accessHash);w.string(h(v,'title'));if(_username)w.string(v.username);w.object(h(v,'photo'));w.int(h(v,'date'));if(_flags_9)w.vector(w.object,v.restrictionReason);if(_adminRights)w.object(v.adminRights);if(_bannedRights)w.object(v.bannedRights);if(_defaultBannedRights)w.object(v.defaultBannedRights);if(_participantsCount)w.int(v.participantsCount);if(_usernames)w.vector(w.object,v.usernames);if(_storiesMaxId)w.int(v.storiesMaxId);if(_color)w.object(v.color);if(_profileColor)w.object(v.profileColor);if(_emojiStatus)w.object(v.emojiStatus);if(_level)w.int(v.level);},
|
|
88
89
|
'channelForbidden':function(w,v){w.uint(399807445);var flags=0;if(v.broadcast===true)flags|=32;if(v.megagroup===true)flags|=256;var _untilDate=v.untilDate!==undefined;if(_untilDate)flags|=65536;w.uint(flags);w.int53(h(v,'id'));w.long(h(v,'accessHash'));w.string(h(v,'title'));if(_untilDate)w.int(v.untilDate);},
|
|
89
90
|
'chatFull':function(w,v){w.uint(640893467);var flags=0;var _chatPhoto=v.chatPhoto!==undefined;if(_chatPhoto)flags|=4;var _botInfo=v.botInfo&&v.botInfo.length;if(_botInfo)flags|=8;var _pinnedMsgId=v.pinnedMsgId!==undefined;if(_pinnedMsgId)flags|=64;if(v.canSetUsername===true)flags|=128;if(v.hasScheduled===true)flags|=256;var _folderId=v.folderId!==undefined;if(_folderId)flags|=2048;var _call=v.call!==undefined;if(_call)flags|=4096;var _exportedInvite=v.exportedInvite!==undefined;if(_exportedInvite)flags|=8192;var _ttlPeriod=v.ttlPeriod!==undefined;if(_ttlPeriod)flags|=16384;var _groupcallDefaultJoinAs=v.groupcallDefaultJoinAs!==undefined;if(_groupcallDefaultJoinAs)flags|=32768;var _themeEmoticon=v.themeEmoticon!==undefined;if(_themeEmoticon)flags|=65536;var _requestsPending=v.requestsPending!==undefined;var _recentRequesters=v.recentRequesters&&v.recentRequesters.length;var _flags_17=_requestsPending||_recentRequesters;if(_flags_17)flags|=131072;var _availableReactions=v.availableReactions!==undefined;if(_availableReactions)flags|=262144;if(v.translationsDisabled===true)flags|=524288;var _reactionsLimit=v.reactionsLimit!==undefined;if(_reactionsLimit)flags|=1048576;w.uint(flags);w.int53(h(v,'id'));w.string(h(v,'about'));w.object(h(v,'participants'));if(_chatPhoto)w.object(v.chatPhoto);w.object(h(v,'notifySettings'));if(_exportedInvite)w.object(v.exportedInvite);if(_botInfo)w.vector(w.object,v.botInfo);if(_pinnedMsgId)w.int(v.pinnedMsgId);if(_folderId)w.int(v.folderId);if(_call)w.object(v.call);if(_ttlPeriod)w.int(v.ttlPeriod);if(_groupcallDefaultJoinAs)w.object(v.groupcallDefaultJoinAs);if(_themeEmoticon)w.string(v.themeEmoticon);if(_flags_17)w.int(v.requestsPending);if(_flags_17)w.vector(w.long,v.recentRequesters);if(_availableReactions)w.object(v.availableReactions);if(_reactionsLimit)w.int(v.reactionsLimit);},
|
|
90
|
-
'channelFull':function(w,v){w.uint(3148559501);var flags=0;var _participantsCount=v.participantsCount!==undefined;if(_participantsCount)flags|=1;var _adminsCount=v.adminsCount!==undefined;if(_adminsCount)flags|=2;var _kickedCount=v.kickedCount!==undefined;var _bannedCount=v.bannedCount!==undefined;var _flags_2=_kickedCount||_bannedCount;if(_flags_2)flags|=4;if(v.canViewParticipants===true)flags|=8;var _migratedFromChatId=v.migratedFromChatId!==undefined;var _migratedFromMaxId=v.migratedFromMaxId!==undefined;var _flags_4=_migratedFromChatId||_migratedFromMaxId;if(_flags_4)flags|=16;var _pinnedMsgId=v.pinnedMsgId!==undefined;if(_pinnedMsgId)flags|=32;if(v.canSetUsername===true)flags|=64;if(v.canSetStickers===true)flags|=128;var _stickerset=v.stickerset!==undefined;if(_stickerset)flags|=256;var _availableMinId=v.availableMinId!==undefined;if(_availableMinId)flags|=512;if(v.hiddenPrehistory===true)flags|=1024;var _folderId=v.folderId!==undefined;if(_folderId)flags|=2048;var _statsDc=v.statsDc!==undefined;if(_statsDc)flags|=4096;var _onlineCount=v.onlineCount!==undefined;if(_onlineCount)flags|=8192;var _linkedChatId=v.linkedChatId!==undefined;if(_linkedChatId)flags|=16384;var _location=v.location!==undefined;if(_location)flags|=32768;if(v.canSetLocation===true)flags|=65536;var _slowmodeSeconds=v.slowmodeSeconds!==undefined;if(_slowmodeSeconds)flags|=131072;var _slowmodeNextSendDate=v.slowmodeNextSendDate!==undefined;if(_slowmodeNextSendDate)flags|=262144;if(v.hasScheduled===true)flags|=524288;if(v.canViewStats===true)flags|=1048576;var _call=v.call!==undefined;if(_call)flags|=2097152;if(v.blocked===true)flags|=4194304;var _exportedInvite=v.exportedInvite!==undefined;if(_exportedInvite)flags|=8388608;var _ttlPeriod=v.ttlPeriod!==undefined;if(_ttlPeriod)flags|=16777216;var _pendingSuggestions=v.pendingSuggestions&&v.pendingSuggestions.length;if(_pendingSuggestions)flags|=33554432;var _groupcallDefaultJoinAs=v.groupcallDefaultJoinAs!==undefined;if(_groupcallDefaultJoinAs)flags|=67108864;var _themeEmoticon=v.themeEmoticon!==undefined;if(_themeEmoticon)flags|=134217728;var _requestsPending=v.requestsPending!==undefined;var _recentRequesters=v.recentRequesters&&v.recentRequesters.length;var _flags_28=_requestsPending||_recentRequesters;if(_flags_28)flags|=268435456;var _defaultSendAs=v.defaultSendAs!==undefined;if(_defaultSendAs)flags|=536870912;var _availableReactions=v.availableReactions!==undefined;if(_availableReactions)flags|=1073741824;w.uint(flags);var flags2=0;if(v.canDeleteChannel===true)flags2|=1;if(v.antispam===true)flags2|=2;if(v.participantsHidden===true)flags2|=4;if(v.translationsDisabled===true)flags2|=8;var _stories=v.stories!==undefined;if(_stories)flags2|=16;if(v.storiesPinnedAvailable===true)flags2|=32;if(v.viewForumAsMessages===true)flags2|=64;var _wallpaper=v.wallpaper!==undefined;if(_wallpaper)flags2|=128;var _boostsApplied=v.boostsApplied!==undefined;if(_boostsApplied)flags2|=256;var _boostsUnrestrict=v.boostsUnrestrict!==undefined;if(_boostsUnrestrict)flags2|=512;var _emojiset=v.emojiset!==undefined;if(_emojiset)flags2|=1024;if(v.restrictedSponsored===true)flags2|=2048;if(v.canViewRevenue===true)flags2|=4096;var _reactionsLimit=v.reactionsLimit!==undefined;if(_reactionsLimit)flags2|=8192;if(v.paidMediaAllowed===true)flags2|=16384;w.uint(flags2);w.int53(h(v,'id'));w.string(h(v,'about'));if(_participantsCount)w.int(v.participantsCount);if(_adminsCount)w.int(v.adminsCount);if(_flags_2)w.int(v.kickedCount);if(_flags_2)w.int(v.bannedCount);if(_onlineCount)w.int(v.onlineCount);w.int(h(v,'readInboxMaxId'));w.int(h(v,'readOutboxMaxId'));w.int(h(v,'unreadCount'));w.object(h(v,'chatPhoto'));w.object(h(v,'notifySettings'));if(_exportedInvite)w.object(v.exportedInvite);w.vector(w.object,h(v,'botInfo'));if(_flags_4)w.long(v.migratedFromChatId);if(_flags_4)w.int(v.migratedFromMaxId);if(_pinnedMsgId)w.int(v.pinnedMsgId);if(_stickerset)w.object(v.stickerset);if(_availableMinId)w.int(v.availableMinId);if(_folderId)w.int(v.folderId);if(_linkedChatId)w.int53(v.linkedChatId);if(_location)w.object(v.location);if(_slowmodeSeconds)w.int(v.slowmodeSeconds);if(_slowmodeNextSendDate)w.int(v.slowmodeNextSendDate);if(_statsDc)w.int(v.statsDc);w.int(h(v,'pts'));if(_call)w.object(v.call);if(_ttlPeriod)w.int(v.ttlPeriod);if(_pendingSuggestions)w.vector(w.string,v.pendingSuggestions);if(_groupcallDefaultJoinAs)w.object(v.groupcallDefaultJoinAs);if(_themeEmoticon)w.string(v.themeEmoticon);if(_flags_28)w.int(v.requestsPending);if(_flags_28)w.vector(w.long,v.recentRequesters);if(_defaultSendAs)w.object(v.defaultSendAs);if(_availableReactions)w.object(v.availableReactions);if(_reactionsLimit)w.int(v.reactionsLimit);if(_stories)w.object(v.stories);if(_wallpaper)w.object(v.wallpaper);if(_boostsApplied)w.int(v.boostsApplied);if(_boostsUnrestrict)w.int(v.boostsUnrestrict);if(_emojiset)w.object(v.emojiset);},
|
|
91
|
+
'channelFull':function(w,v){w.uint(3148559501);var flags=0;var _participantsCount=v.participantsCount!==undefined;if(_participantsCount)flags|=1;var _adminsCount=v.adminsCount!==undefined;if(_adminsCount)flags|=2;var _kickedCount=v.kickedCount!==undefined;var _bannedCount=v.bannedCount!==undefined;var _flags_2=_kickedCount||_bannedCount;if(_flags_2)flags|=4;if(v.canViewParticipants===true)flags|=8;var _migratedFromChatId=v.migratedFromChatId!==undefined;var _migratedFromMaxId=v.migratedFromMaxId!==undefined;var _flags_4=_migratedFromChatId||_migratedFromMaxId;if(_flags_4)flags|=16;var _pinnedMsgId=v.pinnedMsgId!==undefined;if(_pinnedMsgId)flags|=32;if(v.canSetUsername===true)flags|=64;if(v.canSetStickers===true)flags|=128;var _stickerset=v.stickerset!==undefined;if(_stickerset)flags|=256;var _availableMinId=v.availableMinId!==undefined;if(_availableMinId)flags|=512;if(v.hiddenPrehistory===true)flags|=1024;var _folderId=v.folderId!==undefined;if(_folderId)flags|=2048;var _statsDc=v.statsDc!==undefined;if(_statsDc)flags|=4096;var _onlineCount=v.onlineCount!==undefined;if(_onlineCount)flags|=8192;var _linkedChatId=v.linkedChatId!==undefined;if(_linkedChatId)flags|=16384;var _location=v.location!==undefined;if(_location)flags|=32768;if(v.canSetLocation===true)flags|=65536;var _slowmodeSeconds=v.slowmodeSeconds!==undefined;if(_slowmodeSeconds)flags|=131072;var _slowmodeNextSendDate=v.slowmodeNextSendDate!==undefined;if(_slowmodeNextSendDate)flags|=262144;if(v.hasScheduled===true)flags|=524288;if(v.canViewStats===true)flags|=1048576;var _call=v.call!==undefined;if(_call)flags|=2097152;if(v.blocked===true)flags|=4194304;var _exportedInvite=v.exportedInvite!==undefined;if(_exportedInvite)flags|=8388608;var _ttlPeriod=v.ttlPeriod!==undefined;if(_ttlPeriod)flags|=16777216;var _pendingSuggestions=v.pendingSuggestions&&v.pendingSuggestions.length;if(_pendingSuggestions)flags|=33554432;var _groupcallDefaultJoinAs=v.groupcallDefaultJoinAs!==undefined;if(_groupcallDefaultJoinAs)flags|=67108864;var _themeEmoticon=v.themeEmoticon!==undefined;if(_themeEmoticon)flags|=134217728;var _requestsPending=v.requestsPending!==undefined;var _recentRequesters=v.recentRequesters&&v.recentRequesters.length;var _flags_28=_requestsPending||_recentRequesters;if(_flags_28)flags|=268435456;var _defaultSendAs=v.defaultSendAs!==undefined;if(_defaultSendAs)flags|=536870912;var _availableReactions=v.availableReactions!==undefined;if(_availableReactions)flags|=1073741824;w.uint(flags);var flags2=0;if(v.canDeleteChannel===true)flags2|=1;if(v.antispam===true)flags2|=2;if(v.participantsHidden===true)flags2|=4;if(v.translationsDisabled===true)flags2|=8;var _stories=v.stories!==undefined;if(_stories)flags2|=16;if(v.storiesPinnedAvailable===true)flags2|=32;if(v.viewForumAsMessages===true)flags2|=64;var _wallpaper=v.wallpaper!==undefined;if(_wallpaper)flags2|=128;var _boostsApplied=v.boostsApplied!==undefined;if(_boostsApplied)flags2|=256;var _boostsUnrestrict=v.boostsUnrestrict!==undefined;if(_boostsUnrestrict)flags2|=512;var _emojiset=v.emojiset!==undefined;if(_emojiset)flags2|=1024;if(v.restrictedSponsored===true)flags2|=2048;if(v.canViewRevenue===true)flags2|=4096;var _reactionsLimit=v.reactionsLimit!==undefined;if(_reactionsLimit)flags2|=8192;if(v.paidMediaAllowed===true)flags2|=16384;if(v.canViewStarsRevenue===true)flags2|=32768;w.uint(flags2);w.int53(h(v,'id'));w.string(h(v,'about'));if(_participantsCount)w.int(v.participantsCount);if(_adminsCount)w.int(v.adminsCount);if(_flags_2)w.int(v.kickedCount);if(_flags_2)w.int(v.bannedCount);if(_onlineCount)w.int(v.onlineCount);w.int(h(v,'readInboxMaxId'));w.int(h(v,'readOutboxMaxId'));w.int(h(v,'unreadCount'));w.object(h(v,'chatPhoto'));w.object(h(v,'notifySettings'));if(_exportedInvite)w.object(v.exportedInvite);w.vector(w.object,h(v,'botInfo'));if(_flags_4)w.long(v.migratedFromChatId);if(_flags_4)w.int(v.migratedFromMaxId);if(_pinnedMsgId)w.int(v.pinnedMsgId);if(_stickerset)w.object(v.stickerset);if(_availableMinId)w.int(v.availableMinId);if(_folderId)w.int(v.folderId);if(_linkedChatId)w.int53(v.linkedChatId);if(_location)w.object(v.location);if(_slowmodeSeconds)w.int(v.slowmodeSeconds);if(_slowmodeNextSendDate)w.int(v.slowmodeNextSendDate);if(_statsDc)w.int(v.statsDc);w.int(h(v,'pts'));if(_call)w.object(v.call);if(_ttlPeriod)w.int(v.ttlPeriod);if(_pendingSuggestions)w.vector(w.string,v.pendingSuggestions);if(_groupcallDefaultJoinAs)w.object(v.groupcallDefaultJoinAs);if(_themeEmoticon)w.string(v.themeEmoticon);if(_flags_28)w.int(v.requestsPending);if(_flags_28)w.vector(w.long,v.recentRequesters);if(_defaultSendAs)w.object(v.defaultSendAs);if(_availableReactions)w.object(v.availableReactions);if(_reactionsLimit)w.int(v.reactionsLimit);if(_stories)w.object(v.stories);if(_wallpaper)w.object(v.wallpaper);if(_boostsApplied)w.int(v.boostsApplied);if(_boostsUnrestrict)w.int(v.boostsUnrestrict);if(_emojiset)w.object(v.emojiset);},
|
|
91
92
|
'chatParticipant':function(w,v){w.uint(3224190983);w.int53(h(v,'userId'));w.int53(h(v,'inviterId'));w.int(h(v,'date'));},
|
|
92
93
|
'chatParticipantCreator':function(w,v){w.uint(3832270564);w.int53(h(v,'userId'));},
|
|
93
94
|
'chatParticipantAdmin':function(w,v){w.uint(2694004571);w.int53(h(v,'userId'));w.int53(h(v,'inviterId'));w.int(h(v,'date'));},
|
|
@@ -114,6 +115,7 @@ var m={
|
|
|
114
115
|
'messageMediaStory':function(w,v){w.uint(1758159491);var flags=0;var _story=v.story!==undefined;if(_story)flags|=1;if(v.viaMention===true)flags|=2;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'id'));if(_story)w.object(v.story);},
|
|
115
116
|
'messageMediaGiveaway':function(w,v){w.uint(3668805040);var flags=0;if(v.onlyNewSubscribers===true)flags|=1;var _countriesIso2=v.countriesIso2&&v.countriesIso2.length;if(_countriesIso2)flags|=2;if(v.winnersAreVisible===true)flags|=4;var _prizeDescription=v.prizeDescription!==undefined;if(_prizeDescription)flags|=8;w.uint(flags);w.vector(w.int53,h(v,'channels'));if(_countriesIso2)w.vector(w.string,v.countriesIso2);if(_prizeDescription)w.string(v.prizeDescription);w.int(h(v,'quantity'));w.int(h(v,'months'));w.int(h(v,'untilDate'));},
|
|
116
117
|
'messageMediaGiveawayResults':function(w,v){w.uint(3331919976);var flags=0;if(v.onlyNewSubscribers===true)flags|=1;var _prizeDescription=v.prizeDescription!==undefined;if(_prizeDescription)flags|=2;if(v.refunded===true)flags|=4;var _additionalPeersCount=v.additionalPeersCount!==undefined;if(_additionalPeersCount)flags|=8;w.uint(flags);w.long(h(v,'channelId'));if(_additionalPeersCount)w.int(v.additionalPeersCount);w.int(h(v,'launchMsgId'));w.int(h(v,'winnersCount'));w.int(h(v,'unclaimedCount'));w.vector(w.long,h(v,'winners'));w.int(h(v,'months'));if(_prizeDescription)w.string(v.prizeDescription);w.int(h(v,'untilDate'));},
|
|
118
|
+
'messageMediaPaidMedia':function(w,v){w.uint(2827297937);w.long(h(v,'starsAmount'));w.vector(w.object,h(v,'extendedMedia'));},
|
|
117
119
|
'messageActionEmpty':function(w){w.uint(3064919984);},
|
|
118
120
|
'messageActionChatCreate':function(w,v){w.uint(3175599021);w.string(h(v,'title'));w.vector(w.int53,h(v,'users'));},
|
|
119
121
|
'messageActionChatEditTitle':function(w,v){w.uint(3047280218);w.string(h(v,'title'));},
|
|
@@ -157,6 +159,7 @@ var m={
|
|
|
157
159
|
'messageActionGiveawayResults':function(w,v){w.uint(715107781);w.int(h(v,'winnersCount'));w.int(h(v,'unclaimedCount'));},
|
|
158
160
|
'messageActionBoostApply':function(w,v){w.uint(3422726765);w.int(h(v,'boosts'));},
|
|
159
161
|
'messageActionRequestedPeerSentMe':function(w,v){w.uint(2477987912);w.int(h(v,'buttonId'));w.vector(w.object,h(v,'peers'));},
|
|
162
|
+
'messageActionPaymentRefunded':function(w,v){w.uint(1102307842);var flags=0;var _payload=v.payload!==undefined;if(_payload)flags|=1;w.uint(flags);w.object(h(v,'peer'));w.string(h(v,'currency'));w.long(h(v,'totalAmount'));if(_payload)w.bytes(v.payload);w.object(h(v,'charge'));},
|
|
160
163
|
'dialog':function(w,v){w.uint(3582593222);var flags=0;var _pts=v.pts!==undefined;if(_pts)flags|=1;var _draft=v.draft!==undefined;if(_draft)flags|=2;if(v.pinned===true)flags|=4;if(v.unreadMark===true)flags|=8;var _folderId=v.folderId!==undefined;if(_folderId)flags|=16;var _ttlPeriod=v.ttlPeriod!==undefined;if(_ttlPeriod)flags|=32;if(v.viewForumAsMessages===true)flags|=64;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'topMessage'));w.int(h(v,'readInboxMaxId'));w.int(h(v,'readOutboxMaxId'));w.int(h(v,'unreadCount'));w.int(h(v,'unreadMentionsCount'));w.int(h(v,'unreadReactionsCount'));w.object(h(v,'notifySettings'));if(_pts)w.int(v.pts);if(_draft)w.object(v.draft);if(_folderId)w.int(v.folderId);if(_ttlPeriod)w.int(v.ttlPeriod);},
|
|
161
164
|
'dialogFolder':function(w,v){w.uint(1908216652);var flags=0;if(v.pinned===true)flags|=4;w.uint(flags);w.object(h(v,'folder'));w.object(h(v,'peer'));w.int(h(v,'topMessage'));w.int(h(v,'unreadMutedPeersCount'));w.int(h(v,'unreadUnmutedPeersCount'));w.int(h(v,'unreadMutedMessagesCount'));w.int(h(v,'unreadUnmutedMessagesCount'));},
|
|
162
165
|
'photoEmpty':function(w,v){w.uint(590459437);w.long(h(v,'id'));},
|
|
@@ -1085,7 +1088,6 @@ var m={
|
|
|
1085
1088
|
'attachMenuBots':function(w,v){w.uint(1011024320);w.long(h(v,'hash'));w.vector(w.object,h(v,'bots'));w.vector(w.object,h(v,'users'));},
|
|
1086
1089
|
'attachMenuBotsBot':function(w,v){w.uint(2478794367);w.object(h(v,'bot'));w.vector(w.object,h(v,'users'));},
|
|
1087
1090
|
'webViewResultUrl':function(w,v){w.uint(1294139288);var flags=0;var _queryId=v.queryId!==undefined;if(_queryId)flags|=1;if(v.fullsize===true)flags|=2;w.uint(flags);if(_queryId)w.long(v.queryId);w.string(h(v,'url'));},
|
|
1088
|
-
'simpleWebViewResultUrl':function(w,v){w.uint(2284811963);w.string(h(v,'url'));},
|
|
1089
1091
|
'webViewMessageSent':function(w,v){w.uint(211046684);var flags=0;var _msgId=v.msgId!==undefined;if(_msgId)flags|=1;w.uint(flags);if(_msgId)w.object(v.msgId);},
|
|
1090
1092
|
'botMenuButtonDefault':function(w){w.uint(1966318984);},
|
|
1091
1093
|
'botMenuButtonCommands':function(w){w.uint(1113113093);},
|
|
@@ -1171,7 +1173,6 @@ var m={
|
|
|
1171
1173
|
'botAppNotModified':function(w){w.uint(1571189943);},
|
|
1172
1174
|
'botApp':function(w,v){w.uint(2516373974);var flags=0;var _document=v.document!==undefined;if(_document)flags|=1;w.uint(flags);w.long(h(v,'id'));w.long(h(v,'accessHash'));w.string(h(v,'shortName'));w.string(h(v,'title'));w.string(h(v,'description'));w.object(h(v,'photo'));if(_document)w.object(v.document);w.long(h(v,'hash'));},
|
|
1173
1175
|
'messages.botApp':function(w,v){w.uint(3947933173);var flags=0;if(v.inactive===true)flags|=1;if(v.requestWriteAccess===true)flags|=2;if(v.hasSettings===true)flags|=4;w.uint(flags);w.object(h(v,'app'));},
|
|
1174
|
-
'appWebViewResultUrl':function(w,v){w.uint(1008422669);w.string(h(v,'url'));},
|
|
1175
1176
|
'inlineBotWebView':function(w,v){w.uint(3044185557);w.string(h(v,'text'));w.string(h(v,'url'));},
|
|
1176
1177
|
'readParticipantDate':function(w,v){w.uint(1246753138);w.int53(h(v,'userId'));w.int(h(v,'date'));},
|
|
1177
1178
|
'inputChatlistDialogFilter':function(w,v){w.uint(4091599411);w.int(h(v,'filterId'));},
|
|
@@ -1318,6 +1319,7 @@ var m={
|
|
|
1318
1319
|
'starsTransactionPeerPremiumBot':function(w){w.uint(621656824);},
|
|
1319
1320
|
'starsTransactionPeerFragment':function(w){w.uint(3912227074);},
|
|
1320
1321
|
'starsTransactionPeer':function(w,v){w.uint(3624771933);w.object(h(v,'peer'));},
|
|
1322
|
+
'starsTransactionPeerAds':function(w){w.uint(1617438738);},
|
|
1321
1323
|
'starsTopupOption':function(w,v){w.uint(198776256);var flags=0;var _storeProduct=v.storeProduct!==undefined;if(_storeProduct)flags|=1;if(v.extended===true)flags|=2;w.uint(flags);w.long(h(v,'stars'));if(_storeProduct)w.string(v.storeProduct);w.string(h(v,'currency'));w.long(h(v,'amount'));},
|
|
1322
1324
|
'starsTransaction':function(w,v){w.uint(766853519);var flags=0;var _title=v.title!==undefined;if(_title)flags|=1;var _description=v.description!==undefined;if(_description)flags|=2;var _photo=v.photo!==undefined;if(_photo)flags|=4;if(v.refund===true)flags|=8;if(v.pending===true)flags|=16;var _transactionDate=v.transactionDate!==undefined;var _transactionUrl=v.transactionUrl!==undefined;var _flags_5=_transactionDate||_transactionUrl;if(_flags_5)flags|=32;if(v.failed===true)flags|=64;var _botPayload=v.botPayload!==undefined;if(_botPayload)flags|=128;var _msgId=v.msgId!==undefined;if(_msgId)flags|=256;var _extendedMedia=v.extendedMedia&&v.extendedMedia.length;if(_extendedMedia)flags|=512;w.uint(flags);w.string(h(v,'id'));w.long(h(v,'stars'));w.int(h(v,'date'));w.object(h(v,'peer'));if(_title)w.string(v.title);if(_description)w.string(v.description);if(_photo)w.object(v.photo);if(_flags_5)w.int(v.transactionDate);if(_flags_5)w.string(v.transactionUrl);if(_botPayload)w.bytes(v.botPayload);if(_msgId)w.int(v.msgId);if(_extendedMedia)w.vector(w.object,v.extendedMedia);},
|
|
1323
1325
|
'payments.starsStatus':function(w,v){w.uint(2364862048);var flags=0;var _nextOffset=v.nextOffset!==undefined;if(_nextOffset)flags|=1;w.uint(flags);w.long(h(v,'balance'));w.vector(w.object,h(v,'history'));if(_nextOffset)w.string(v.nextOffset);w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
@@ -1327,12 +1329,11 @@ var m={
|
|
|
1327
1329
|
'starsRevenueStatus':function(w,v){w.uint(2033461574);var flags=0;if(v.withdrawalEnabled===true)flags|=1;var _nextWithdrawalAt=v.nextWithdrawalAt!==undefined;if(_nextWithdrawalAt)flags|=2;w.uint(flags);w.long(h(v,'currentBalance'));w.long(h(v,'availableBalance'));w.long(h(v,'overallRevenue'));if(_nextWithdrawalAt)w.int(v.nextWithdrawalAt);},
|
|
1328
1330
|
'payments.starsRevenueStats':function(w,v){w.uint(3375085371);w.object(h(v,'revenueGraph'));w.object(h(v,'status'));w.double(h(v,'usdRate'));},
|
|
1329
1331
|
'payments.starsRevenueWithdrawalUrl':function(w,v){w.uint(497778871);w.string(h(v,'url'));},
|
|
1330
|
-
'inputMediaPaidMedia':function(w,v){w.uint(2858819523);w.long(h(v,'starsAmount'));w.vector(w.object,h(v,'extendedMedia'));},
|
|
1331
|
-
'messageMediaPaidMedia':function(w,v){w.uint(2827297937);w.long(h(v,'starsAmount'));w.vector(w.object,h(v,'extendedMedia'));},
|
|
1332
|
-
'starsTransactionPeerAds':function(w){w.uint(1617438738);},
|
|
1333
1332
|
'payments.starsRevenueAdsAccountUrl':function(w,v){w.uint(961445665);w.string(h(v,'url'));},
|
|
1334
1333
|
'inputStarsTransaction':function(w,v){w.uint(543876817);var flags=0;if(v.refund===true)flags|=1;w.uint(flags);w.string(h(v,'id'));},
|
|
1335
1334
|
'updateGroupInvitePrivacyForbidden':function(w,v){w.uint(3438316246);w.int53(h(v,'userId'));},
|
|
1335
|
+
'simpleWebViewResultUrl':function(w,v){w.uint(2284811963);w.string(h(v,'url'));},
|
|
1336
|
+
'appWebViewResultUrl':function(w,v){w.uint(1008422669);w.string(h(v,'url'));},
|
|
1336
1337
|
'sponsoredWebPage':function(w,v){w.uint(1035529315);var flags=0;var _photo=v.photo!==undefined;if(_photo)flags|=1;w.uint(flags);w.string(h(v,'url'));w.string(h(v,'siteName'));if(_photo)w.object(v.photo);},
|
|
1337
1338
|
'test.useConfigSimple':function(w){w.uint(4189565501);},
|
|
1338
1339
|
'test.parseInputAppEvent':function(w){w.uint(3138226161);},
|
|
@@ -1872,6 +1873,8 @@ var m={
|
|
|
1872
1873
|
'payments.refundStarsCharge':function(w,v){w.uint(632196938);w.object(h(v,'userId'));w.string(h(v,'chargeId'));},
|
|
1873
1874
|
'payments.getStarsRevenueStats':function(w,v){w.uint(3642751702);var flags=0;if(v.dark===true)flags|=1;w.uint(flags);w.object(h(v,'peer'));},
|
|
1874
1875
|
'payments.getStarsRevenueWithdrawalUrl':function(w,v){w.uint(331081907);w.object(h(v,'peer'));w.long(h(v,'stars'));w.object(h(v,'password'));},
|
|
1876
|
+
'payments.getStarsRevenueAdsAccountUrl':function(w,v){w.uint(3520589765);w.object(h(v,'peer'));},
|
|
1877
|
+
'payments.getStarsTransactionsByID':function(w,v){w.uint(662973742);w.object(h(v,'peer'));w.vector(w.object,h(v,'id'));},
|
|
1875
1878
|
'stickers.createStickerSet':function(w,v){w.uint(2418125671);var flags=0;if(v.masks===true)flags|=1;if(v.animated===true)flags|=2;var _thumb=v.thumb!==undefined;if(_thumb)flags|=4;var _software=v.software!==undefined;if(_software)flags|=8;if(v.videos===true)flags|=16;if(v.emojis===true)flags|=32;if(v.textColor===true)flags|=64;w.uint(flags);w.object(h(v,'userId'));w.string(h(v,'title'));w.string(h(v,'shortName'));if(_thumb)w.object(v.thumb);w.vector(w.object,h(v,'stickers'));if(_software)w.string(v.software);},
|
|
1876
1879
|
'stickers.removeStickerFromSet':function(w,v){w.uint(4151709521);w.object(h(v,'sticker'));},
|
|
1877
1880
|
'stickers.changeStickerPosition':function(w,v){w.uint(4290172106);w.object(h(v,'sticker'));w.int(h(v,'position'));},
|
|
@@ -1980,8 +1983,6 @@ var m={
|
|
|
1980
1983
|
'smsjobs.getSmsJob':function(w,v){w.uint(2005766191);w.string(h(v,'jobId'));},
|
|
1981
1984
|
'smsjobs.finishJob':function(w,v){w.uint(1327415076);var flags=0;var _error=v.error!==undefined;if(_error)flags|=1;w.uint(flags);w.string(h(v,'jobId'));if(_error)w.string(v.error);},
|
|
1982
1985
|
'fragment.getCollectibleInfo':function(w,v){w.uint(3189671354);w.object(h(v,'collectible'));},
|
|
1983
|
-
'payments.getStarsRevenueAdsAccountUrl':function(w,v){w.uint(3520589765);w.object(h(v,'peer'));},
|
|
1984
|
-
'payments.getStarsTransactionsByID':function(w,v){w.uint(662973742);w.object(h(v,'peer'));w.vector(w.object,h(v,'id'));},
|
|
1985
1986
|
'mtcute.customMethod':function(w,v){w.raw(h(v,'bytes'));},
|
|
1986
1987
|
'mt_resPQ':function(w,v){w.uint(85337187);w.int128(h(v,'nonce'));w.int128(h(v,'serverNonce'));w.bytes(h(v,'pq'));w.vector(w.long,h(v,'serverPublicKeyFingerprints'));},
|
|
1987
1988
|
'mt_p_q_inner_data_dc':function(w,v){w.uint(2851430293);w.bytes(h(v,'pq'));w.bytes(h(v,'p'));w.bytes(h(v,'q'));w.int128(h(v,'nonce'));w.int128(h(v,'serverNonce'));w.int256(h(v,'newNonce'));w.int(h(v,'dc'));},
|
package/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import _Long from 'long';
|
|
3
3
|
|
|
4
4
|
export declare namespace tl {
|
|
5
|
-
const LAYER =
|
|
5
|
+
const LAYER = 184;
|
|
6
6
|
|
|
7
7
|
function $extendTypes(types: Record<string, string>): void
|
|
8
8
|
|
|
@@ -1278,6 +1278,11 @@ export class RpcError extends Error {
|
|
|
1278
1278
|
*/
|
|
1279
1279
|
url: string;
|
|
1280
1280
|
}
|
|
1281
|
+
interface RawInputMediaPaidMedia {
|
|
1282
|
+
_: 'inputMediaPaidMedia';
|
|
1283
|
+
starsAmount: Long;
|
|
1284
|
+
extendedMedia: tl.TypeInputMedia[];
|
|
1285
|
+
}
|
|
1281
1286
|
/**
|
|
1282
1287
|
* Empty constructor, remove group photo.
|
|
1283
1288
|
*/
|
|
@@ -2419,6 +2424,7 @@ export class RpcError extends Error {
|
|
|
2419
2424
|
restrictedSponsored?: boolean;
|
|
2420
2425
|
canViewRevenue?: boolean;
|
|
2421
2426
|
paidMediaAllowed?: boolean;
|
|
2427
|
+
canViewStarsRevenue?: boolean;
|
|
2422
2428
|
/**
|
|
2423
2429
|
* ID of the channel
|
|
2424
2430
|
*/
|
|
@@ -3444,6 +3450,11 @@ export class RpcError extends Error {
|
|
|
3444
3450
|
*/
|
|
3445
3451
|
untilDate: number;
|
|
3446
3452
|
}
|
|
3453
|
+
interface RawMessageMediaPaidMedia {
|
|
3454
|
+
_: 'messageMediaPaidMedia';
|
|
3455
|
+
starsAmount: Long;
|
|
3456
|
+
extendedMedia: tl.TypeMessageExtendedMedia[];
|
|
3457
|
+
}
|
|
3447
3458
|
/**
|
|
3448
3459
|
* Empty constructor.
|
|
3449
3460
|
*/
|
|
@@ -4167,6 +4178,14 @@ export class RpcError extends Error {
|
|
|
4167
4178
|
buttonId: number;
|
|
4168
4179
|
peers: tl.TypeRequestedPeer[];
|
|
4169
4180
|
}
|
|
4181
|
+
interface RawMessageActionPaymentRefunded {
|
|
4182
|
+
_: 'messageActionPaymentRefunded';
|
|
4183
|
+
peer: tl.TypePeer;
|
|
4184
|
+
currency: string;
|
|
4185
|
+
totalAmount: Long;
|
|
4186
|
+
payload?: Uint8Array;
|
|
4187
|
+
charge: tl.TypePaymentCharge;
|
|
4188
|
+
}
|
|
4170
4189
|
/**
|
|
4171
4190
|
* Chat
|
|
4172
4191
|
*/
|
|
@@ -18536,17 +18555,6 @@ export class RpcError extends Error {
|
|
|
18536
18555
|
*/
|
|
18537
18556
|
url: string;
|
|
18538
18557
|
}
|
|
18539
|
-
/**
|
|
18540
|
-
* Contains the webview URL with appropriate theme parameters
|
|
18541
|
-
* added
|
|
18542
|
-
*/
|
|
18543
|
-
interface RawSimpleWebViewResultUrl {
|
|
18544
|
-
_: 'simpleWebViewResultUrl';
|
|
18545
|
-
/**
|
|
18546
|
-
* URL
|
|
18547
|
-
*/
|
|
18548
|
-
url: string;
|
|
18549
|
-
}
|
|
18550
18558
|
/**
|
|
18551
18559
|
* Info about a sent inline webview message
|
|
18552
18560
|
*/
|
|
@@ -19662,18 +19670,6 @@ export class RpcError extends Error {
|
|
|
19662
19670
|
*/
|
|
19663
19671
|
hash: Long;
|
|
19664
19672
|
}
|
|
19665
|
-
/**
|
|
19666
|
-
* Contains the link that must be used to open a
|
|
19667
|
-
* <a href="https://corefork.telegram.org/api/bots/webapps#direct-link-mini-apps">direct
|
|
19668
|
-
* link Mini App</a>.
|
|
19669
|
-
*/
|
|
19670
|
-
interface RawAppWebViewResultUrl {
|
|
19671
|
-
_: 'appWebViewResultUrl';
|
|
19672
|
-
/**
|
|
19673
|
-
* The URL to open
|
|
19674
|
-
*/
|
|
19675
|
-
url: string;
|
|
19676
|
-
}
|
|
19677
19673
|
/**
|
|
19678
19674
|
* Specifies an
|
|
19679
19675
|
* <a href="https://corefork.telegram.org/api/bots/webapps#inline-mode-mini-apps">inline
|
|
@@ -21249,6 +21245,9 @@ export class RpcError extends Error {
|
|
|
21249
21245
|
_: 'starsTransactionPeer';
|
|
21250
21246
|
peer: tl.TypePeer;
|
|
21251
21247
|
}
|
|
21248
|
+
interface RawStarsTransactionPeerAds {
|
|
21249
|
+
_: 'starsTransactionPeerAds';
|
|
21250
|
+
}
|
|
21252
21251
|
interface RawStarsTopupOption {
|
|
21253
21252
|
_: 'starsTopupOption';
|
|
21254
21253
|
extended?: boolean;
|
|
@@ -21295,19 +21294,6 @@ export class RpcError extends Error {
|
|
|
21295
21294
|
overallRevenue: Long;
|
|
21296
21295
|
nextWithdrawalAt?: number;
|
|
21297
21296
|
}
|
|
21298
|
-
interface RawInputMediaPaidMedia {
|
|
21299
|
-
_: 'inputMediaPaidMedia';
|
|
21300
|
-
starsAmount: Long;
|
|
21301
|
-
extendedMedia: tl.TypeInputMedia[];
|
|
21302
|
-
}
|
|
21303
|
-
interface RawMessageMediaPaidMedia {
|
|
21304
|
-
_: 'messageMediaPaidMedia';
|
|
21305
|
-
starsAmount: Long;
|
|
21306
|
-
extendedMedia: tl.TypeMessageExtendedMedia[];
|
|
21307
|
-
}
|
|
21308
|
-
interface RawStarsTransactionPeerAds {
|
|
21309
|
-
_: 'starsTransactionPeerAds';
|
|
21310
|
-
}
|
|
21311
21297
|
interface RawInputStarsTransaction {
|
|
21312
21298
|
_: 'inputStarsTransaction';
|
|
21313
21299
|
refund?: boolean;
|
|
@@ -21330,6 +21316,29 @@ export class RpcError extends Error {
|
|
|
21330
21316
|
*/
|
|
21331
21317
|
userId: number;
|
|
21332
21318
|
}
|
|
21319
|
+
/**
|
|
21320
|
+
* Contains the webview URL with appropriate theme parameters
|
|
21321
|
+
* added
|
|
21322
|
+
*/
|
|
21323
|
+
interface RawSimpleWebViewResultUrl {
|
|
21324
|
+
_: 'simpleWebViewResultUrl';
|
|
21325
|
+
/**
|
|
21326
|
+
* URL
|
|
21327
|
+
*/
|
|
21328
|
+
url: string;
|
|
21329
|
+
}
|
|
21330
|
+
/**
|
|
21331
|
+
* Contains the link that must be used to open a
|
|
21332
|
+
* <a href="https://corefork.telegram.org/api/bots/webapps#direct-link-mini-apps">direct
|
|
21333
|
+
* link Mini App</a>.
|
|
21334
|
+
*/
|
|
21335
|
+
interface RawAppWebViewResultUrl {
|
|
21336
|
+
_: 'appWebViewResultUrl';
|
|
21337
|
+
/**
|
|
21338
|
+
* The URL to open
|
|
21339
|
+
*/
|
|
21340
|
+
url: string;
|
|
21341
|
+
}
|
|
21333
21342
|
/**
|
|
21334
21343
|
* Represents a sponsored website.
|
|
21335
21344
|
*/
|
|
@@ -21663,7 +21672,7 @@ export class RpcError extends Error {
|
|
|
21663
21672
|
/**
|
|
21664
21673
|
* Object describing actions connected to a service message.
|
|
21665
21674
|
*/
|
|
21666
|
-
type TypeMessageAction = tl.RawMessageActionEmpty | tl.RawMessageActionChatCreate | tl.RawMessageActionChatEditTitle | tl.RawMessageActionChatEditPhoto | tl.RawMessageActionChatDeletePhoto | tl.RawMessageActionChatAddUser | tl.RawMessageActionChatDeleteUser | tl.RawMessageActionChatJoinedByLink | tl.RawMessageActionChannelCreate | tl.RawMessageActionChatMigrateTo | tl.RawMessageActionChannelMigrateFrom | tl.RawMessageActionPinMessage | tl.RawMessageActionHistoryClear | tl.RawMessageActionGameScore | tl.RawMessageActionPaymentSentMe | tl.RawMessageActionPaymentSent | tl.RawMessageActionPhoneCall | tl.RawMessageActionScreenshotTaken | tl.RawMessageActionCustomAction | tl.RawMessageActionBotAllowed | tl.RawMessageActionSecureValuesSentMe | tl.RawMessageActionSecureValuesSent | tl.RawMessageActionContactSignUp | tl.RawMessageActionGeoProximityReached | tl.RawMessageActionGroupCall | tl.RawMessageActionInviteToGroupCall | tl.RawMessageActionSetMessagesTTL | tl.RawMessageActionGroupCallScheduled | tl.RawMessageActionSetChatTheme | tl.RawMessageActionChatJoinedByRequest | tl.RawMessageActionWebViewDataSentMe | tl.RawMessageActionWebViewDataSent | tl.RawMessageActionGiftPremium | tl.RawMessageActionTopicCreate | tl.RawMessageActionTopicEdit | tl.RawMessageActionSuggestProfilePhoto | tl.RawMessageActionRequestedPeer | tl.RawMessageActionSetChatWallPaper | tl.RawMessageActionGiftCode | tl.RawMessageActionGiveawayLaunch | tl.RawMessageActionGiveawayResults | tl.RawMessageActionBoostApply | tl.RawMessageActionRequestedPeerSentMe
|
|
21675
|
+
type TypeMessageAction = tl.RawMessageActionEmpty | tl.RawMessageActionChatCreate | tl.RawMessageActionChatEditTitle | tl.RawMessageActionChatEditPhoto | tl.RawMessageActionChatDeletePhoto | tl.RawMessageActionChatAddUser | tl.RawMessageActionChatDeleteUser | tl.RawMessageActionChatJoinedByLink | tl.RawMessageActionChannelCreate | tl.RawMessageActionChatMigrateTo | tl.RawMessageActionChannelMigrateFrom | tl.RawMessageActionPinMessage | tl.RawMessageActionHistoryClear | tl.RawMessageActionGameScore | tl.RawMessageActionPaymentSentMe | tl.RawMessageActionPaymentSent | tl.RawMessageActionPhoneCall | tl.RawMessageActionScreenshotTaken | tl.RawMessageActionCustomAction | tl.RawMessageActionBotAllowed | tl.RawMessageActionSecureValuesSentMe | tl.RawMessageActionSecureValuesSent | tl.RawMessageActionContactSignUp | tl.RawMessageActionGeoProximityReached | tl.RawMessageActionGroupCall | tl.RawMessageActionInviteToGroupCall | tl.RawMessageActionSetMessagesTTL | tl.RawMessageActionGroupCallScheduled | tl.RawMessageActionSetChatTheme | tl.RawMessageActionChatJoinedByRequest | tl.RawMessageActionWebViewDataSentMe | tl.RawMessageActionWebViewDataSent | tl.RawMessageActionGiftPremium | tl.RawMessageActionTopicCreate | tl.RawMessageActionTopicEdit | tl.RawMessageActionSuggestProfilePhoto | tl.RawMessageActionRequestedPeer | tl.RawMessageActionSetChatWallPaper | tl.RawMessageActionGiftCode | tl.RawMessageActionGiveawayLaunch | tl.RawMessageActionGiveawayResults | tl.RawMessageActionBoostApply | tl.RawMessageActionRequestedPeerSentMe | tl.RawMessageActionPaymentRefunded
|
|
21667
21676
|
function isAnyMessageAction(o: object): o is TypeMessageAction
|
|
21668
21677
|
/**
|
|
21669
21678
|
* Chat info.
|
|
@@ -22805,12 +22814,6 @@ export class RpcError extends Error {
|
|
|
22805
22814
|
*/
|
|
22806
22815
|
type TypeWebViewResult = tl.RawWebViewResultUrl
|
|
22807
22816
|
function isAnyWebViewResult(o: object): o is TypeWebViewResult
|
|
22808
|
-
/**
|
|
22809
|
-
* Contains the webview URL with appropriate theme parameters
|
|
22810
|
-
* added
|
|
22811
|
-
*/
|
|
22812
|
-
type TypeSimpleWebViewResult = tl.RawSimpleWebViewResultUrl
|
|
22813
|
-
function isAnySimpleWebViewResult(o: object): o is TypeSimpleWebViewResult
|
|
22814
22817
|
/**
|
|
22815
22818
|
* Contains information about an inline message sent by a
|
|
22816
22819
|
* <a href="https://core.telegram.org/bots/webapps">Web App</a>
|
|
@@ -22979,13 +22982,6 @@ export class RpcError extends Error {
|
|
|
22979
22982
|
*/
|
|
22980
22983
|
type TypeBotApp = tl.RawBotAppNotModified | tl.RawBotApp
|
|
22981
22984
|
function isAnyBotApp(o: object): o is TypeBotApp
|
|
22982
|
-
/**
|
|
22983
|
-
* Contains the link that must be used to open a
|
|
22984
|
-
* <a href="https://corefork.telegram.org/api/bots/webapps#direct-link-mini-apps">direct
|
|
22985
|
-
* link Mini App</a>.
|
|
22986
|
-
*/
|
|
22987
|
-
type TypeAppWebViewResult = tl.RawAppWebViewResultUrl
|
|
22988
|
-
function isAnyAppWebViewResult(o: object): o is TypeAppWebViewResult
|
|
22989
22985
|
/**
|
|
22990
22986
|
* Specifies an
|
|
22991
22987
|
* <a href="https://corefork.telegram.org/api/bots/webapps#inline-mode-mini-apps">inline
|
|
@@ -23222,6 +23218,19 @@ export class RpcError extends Error {
|
|
|
23222
23218
|
function isAnyStarsRevenueStatus(o: object): o is TypeStarsRevenueStatus
|
|
23223
23219
|
type TypeInputStarsTransaction = tl.RawInputStarsTransaction
|
|
23224
23220
|
function isAnyInputStarsTransaction(o: object): o is TypeInputStarsTransaction
|
|
23221
|
+
/**
|
|
23222
|
+
* Contains the webview URL with appropriate theme parameters
|
|
23223
|
+
* added
|
|
23224
|
+
*/
|
|
23225
|
+
type TypeSimpleWebViewResult = tl.RawSimpleWebViewResultUrl
|
|
23226
|
+
function isAnySimpleWebViewResult(o: object): o is TypeSimpleWebViewResult
|
|
23227
|
+
/**
|
|
23228
|
+
* Contains the link that must be used to open a
|
|
23229
|
+
* <a href="https://corefork.telegram.org/api/bots/webapps#direct-link-mini-apps">direct
|
|
23230
|
+
* link Mini App</a>.
|
|
23231
|
+
*/
|
|
23232
|
+
type TypeAppWebViewResult = tl.RawAppWebViewResultUrl
|
|
23233
|
+
function isAnyAppWebViewResult(o: object): o is TypeAppWebViewResult
|
|
23225
23234
|
/**
|
|
23226
23235
|
* Represents a sponsored website.
|
|
23227
23236
|
*/
|
|
@@ -31419,6 +31428,7 @@ export class RpcError extends Error {
|
|
|
31419
31428
|
* be sent silently (no notifications for the receivers).
|
|
31420
31429
|
*/
|
|
31421
31430
|
silent?: boolean;
|
|
31431
|
+
compact?: boolean;
|
|
31422
31432
|
/**
|
|
31423
31433
|
* Dialog where the web app is being opened, and where the
|
|
31424
31434
|
* resulting message will be sent (see the
|
|
@@ -31468,7 +31478,6 @@ export class RpcError extends Error {
|
|
|
31468
31478
|
* resulting the message as the specified peer.
|
|
31469
31479
|
*/
|
|
31470
31480
|
sendAs?: tl.TypeInputPeer;
|
|
31471
|
-
compact?: boolean;
|
|
31472
31481
|
}
|
|
31473
31482
|
/**
|
|
31474
31483
|
* Indicate to the server (from the user side) that the user is
|
|
@@ -43452,6 +43461,8 @@ export class RpcError extends Error {
|
|
|
43452
43461
|
| tl.payments.RawRefundStarsChargeRequest
|
|
43453
43462
|
| tl.payments.RawGetStarsRevenueStatsRequest
|
|
43454
43463
|
| tl.payments.RawGetStarsRevenueWithdrawalUrlRequest
|
|
43464
|
+
| tl.payments.RawGetStarsRevenueAdsAccountUrlRequest
|
|
43465
|
+
| tl.payments.RawGetStarsTransactionsByIDRequest
|
|
43455
43466
|
| tl.stickers.RawCreateStickerSetRequest
|
|
43456
43467
|
| tl.stickers.RawRemoveStickerFromSetRequest
|
|
43457
43468
|
| tl.stickers.RawChangeStickerPositionRequest
|
|
@@ -43560,8 +43571,6 @@ export class RpcError extends Error {
|
|
|
43560
43571
|
| tl.smsjobs.RawGetSmsJobRequest
|
|
43561
43572
|
| tl.smsjobs.RawFinishJobRequest
|
|
43562
43573
|
| tl.fragment.RawGetCollectibleInfoRequest
|
|
43563
|
-
| tl.payments.RawGetStarsRevenueAdsAccountUrlRequest
|
|
43564
|
-
| tl.payments.RawGetStarsTransactionsByIDRequest
|
|
43565
43574
|
| tl.mtcute.RawCustomMethodRequest
|
|
43566
43575
|
|
|
43567
43576
|
type TlObject =
|
|
@@ -43603,6 +43612,7 @@ export class RpcError extends Error {
|
|
|
43603
43612
|
| tl.RawInputMediaDice
|
|
43604
43613
|
| tl.RawInputMediaStory
|
|
43605
43614
|
| tl.RawInputMediaWebPage
|
|
43615
|
+
| tl.RawInputMediaPaidMedia
|
|
43606
43616
|
| tl.RawInputChatPhotoEmpty
|
|
43607
43617
|
| tl.RawInputChatUploadedPhoto
|
|
43608
43618
|
| tl.RawInputChatPhoto
|
|
@@ -43676,6 +43686,7 @@ export class RpcError extends Error {
|
|
|
43676
43686
|
| tl.RawMessageMediaStory
|
|
43677
43687
|
| tl.RawMessageMediaGiveaway
|
|
43678
43688
|
| tl.RawMessageMediaGiveawayResults
|
|
43689
|
+
| tl.RawMessageMediaPaidMedia
|
|
43679
43690
|
| tl.RawMessageActionEmpty
|
|
43680
43691
|
| tl.RawMessageActionChatCreate
|
|
43681
43692
|
| tl.RawMessageActionChatEditTitle
|
|
@@ -43719,6 +43730,7 @@ export class RpcError extends Error {
|
|
|
43719
43730
|
| tl.RawMessageActionGiveawayResults
|
|
43720
43731
|
| tl.RawMessageActionBoostApply
|
|
43721
43732
|
| tl.RawMessageActionRequestedPeerSentMe
|
|
43733
|
+
| tl.RawMessageActionPaymentRefunded
|
|
43722
43734
|
| tl.RawDialog
|
|
43723
43735
|
| tl.RawDialogFolder
|
|
43724
43736
|
| tl.RawPhotoEmpty
|
|
@@ -44647,7 +44659,6 @@ export class RpcError extends Error {
|
|
|
44647
44659
|
| tl.RawAttachMenuBots
|
|
44648
44660
|
| tl.RawAttachMenuBotsBot
|
|
44649
44661
|
| tl.RawWebViewResultUrl
|
|
44650
|
-
| tl.RawSimpleWebViewResultUrl
|
|
44651
44662
|
| tl.RawWebViewMessageSent
|
|
44652
44663
|
| tl.RawBotMenuButtonDefault
|
|
44653
44664
|
| tl.RawBotMenuButtonCommands
|
|
@@ -44733,7 +44744,6 @@ export class RpcError extends Error {
|
|
|
44733
44744
|
| tl.RawBotAppNotModified
|
|
44734
44745
|
| tl.RawBotApp
|
|
44735
44746
|
| tl.messages.RawBotApp
|
|
44736
|
-
| tl.RawAppWebViewResultUrl
|
|
44737
44747
|
| tl.RawInlineBotWebView
|
|
44738
44748
|
| tl.RawReadParticipantDate
|
|
44739
44749
|
| tl.RawInputChatlistDialogFilter
|
|
@@ -44880,6 +44890,7 @@ export class RpcError extends Error {
|
|
|
44880
44890
|
| tl.RawStarsTransactionPeerPremiumBot
|
|
44881
44891
|
| tl.RawStarsTransactionPeerFragment
|
|
44882
44892
|
| tl.RawStarsTransactionPeer
|
|
44893
|
+
| tl.RawStarsTransactionPeerAds
|
|
44883
44894
|
| tl.RawStarsTopupOption
|
|
44884
44895
|
| tl.RawStarsTransaction
|
|
44885
44896
|
| tl.payments.RawStarsStatus
|
|
@@ -44889,12 +44900,11 @@ export class RpcError extends Error {
|
|
|
44889
44900
|
| tl.RawStarsRevenueStatus
|
|
44890
44901
|
| tl.payments.RawStarsRevenueStats
|
|
44891
44902
|
| tl.payments.RawStarsRevenueWithdrawalUrl
|
|
44892
|
-
| tl.RawInputMediaPaidMedia
|
|
44893
|
-
| tl.RawMessageMediaPaidMedia
|
|
44894
|
-
| tl.RawStarsTransactionPeerAds
|
|
44895
44903
|
| tl.payments.RawStarsRevenueAdsAccountUrl
|
|
44896
44904
|
| tl.RawInputStarsTransaction
|
|
44897
44905
|
| tl.RawUpdateGroupInvitePrivacyForbidden
|
|
44906
|
+
| tl.RawSimpleWebViewResultUrl
|
|
44907
|
+
| tl.RawAppWebViewResultUrl
|
|
44898
44908
|
| tl.RawSponsoredWebPage
|
|
44899
44909
|
| tl.mtcute.RawDummyUpdate
|
|
44900
44910
|
| tl.mtcute.RawDummyInputPeerMinUser
|
|
@@ -45437,6 +45447,8 @@ export class RpcError extends Error {
|
|
|
45437
45447
|
| tl.payments.RawRefundStarsChargeRequest
|
|
45438
45448
|
| tl.payments.RawGetStarsRevenueStatsRequest
|
|
45439
45449
|
| tl.payments.RawGetStarsRevenueWithdrawalUrlRequest
|
|
45450
|
+
| tl.payments.RawGetStarsRevenueAdsAccountUrlRequest
|
|
45451
|
+
| tl.payments.RawGetStarsTransactionsByIDRequest
|
|
45440
45452
|
| tl.stickers.RawCreateStickerSetRequest
|
|
45441
45453
|
| tl.stickers.RawRemoveStickerFromSetRequest
|
|
45442
45454
|
| tl.stickers.RawChangeStickerPositionRequest
|
|
@@ -45545,8 +45557,6 @@ export class RpcError extends Error {
|
|
|
45545
45557
|
| tl.smsjobs.RawGetSmsJobRequest
|
|
45546
45558
|
| tl.smsjobs.RawFinishJobRequest
|
|
45547
45559
|
| tl.fragment.RawGetCollectibleInfoRequest
|
|
45548
|
-
| tl.payments.RawGetStarsRevenueAdsAccountUrlRequest
|
|
45549
|
-
| tl.payments.RawGetStarsTransactionsByIDRequest
|
|
45550
45560
|
| tl.mtcute.RawCustomMethodRequest
|
|
45551
45561
|
}
|
|
45552
45562
|
|