@mtcute/tl 181.0.0 → 182.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/binary/reader.js CHANGED
@@ -367,6 +367,8 @@ var m={
367
367
  405070859:function(r){return{_:'updateNewStoryReaction',storyId:r.int(),peer:r.object(),reaction:r.object(),}},
368
368
  3755565557:function(r){return{_:'updateBroadcastRevenueTransactions',peer:r.object(),balances:r.object(),}},
369
369
  263737752:function(r){return{_:'updateStarsBalance',balance:r.long(),}},
370
+ 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,}},
371
+ 2776936473:function(r){return{_:'updateStarsRevenueStatus',peer:r.object(),status:r.object(),}},
370
372
  2775329342:function(r){return{_:'updates.state',pts:r.int(),qts:r.int(),date:r.int(),seq:r.int(),unreadCount:r.int(),}},
371
373
  1567990072:function(r){return{_:'updates.differenceEmpty',date:r.int(),seq:r.int(),}},
372
374
  16030880:function(r){return{_:'updates.difference',newMessages:r.vector(r.object),newEncryptedMessages:r.vector(r.object),otherUpdates:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),state:r.object(),}},
@@ -660,7 +662,7 @@ var m={
660
662
  1891070632:function(r){return{_:'contacts.topPeers',categories:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
661
663
  3039597469:function(r){return{_:'contacts.topPeersDisabled'}},
662
664
  453805082:function(r){var flags=r.uint();return{_:'draftMessageEmpty',date:flags&1?r.int():void 0,}},
663
- 1070397423:function(r){var flags=r.uint();return{_:'draftMessage',noWebpage:!!(flags&2),invertMedia:!!(flags&64),replyTo:flags&16?r.object():void 0,message:r.string(),entities:flags&8?r.vector(r.object):void 0,media:flags&32?r.object():void 0,date:r.int(),}},
665
+ 761606687:function(r){var flags=r.uint();return{_:'draftMessage',noWebpage:!!(flags&2),invertMedia:!!(flags&64),replyTo:flags&16?r.object():void 0,message:r.string(),entities:flags&8?r.vector(r.object):void 0,media:flags&32?r.object():void 0,date:r.int(),effect:flags&128?r.long():void 0,}},
664
666
  3336309862:function(r){return{_:'messages.featuredStickersNotModified',count:r.int(),}},
665
667
  3191351558:function(r){var flags=r.uint();return{_:'messages.featuredStickers',premium:!!(flags&1),hash:r.long(),count:r.int(),sets:r.vector(r.object),unread:r.vector(r.long),}},
666
668
  186120336:function(r){return{_:'messages.recentStickersNotModified'}},
@@ -1198,13 +1200,14 @@ var m={
1198
1200
  1484862010:function(r){return{_:'inputReplyToStory',peer:r.object(),storyId:r.int(),}},
1199
1201
  1070138683:function(r){return{_:'exportedStoryLink',link:r.string(),}},
1200
1202
  1898850301:function(r){var flags=r.uint();return{_:'storiesStealthMode',activeUntilDate:flags&1?r.int():void 0,cooldownUntilDate:flags&2?r.int():void 0,}},
1201
- 64088654:function(r){return{_:'mediaAreaCoordinates',x:r.double(),y:r.double(),w:r.double(),h:r.double(),rotation:r.double(),}},
1203
+ 3486113794:function(r){var flags=r.uint();return{_:'mediaAreaCoordinates',x:r.double(),y:r.double(),w:r.double(),h:r.double(),rotation:r.double(),radius:flags&1?r.double():void 0,}},
1202
1204
  3196246940:function(r){return{_:'mediaAreaVenue',coordinates:r.object(),geo:r.object(),title:r.string(),address:r.string(),provider:r.string(),venueId:r.string(),venueType:r.string(),}},
1203
1205
  2994872703:function(r){return{_:'inputMediaAreaVenue',coordinates:r.object(),queryId:r.long(),resultId:r.string(),}},
1204
- 3750443810:function(r){return{_:'mediaAreaGeoPoint',coordinates:r.object(),geo:r.object(),}},
1206
+ 3402974509:function(r){var flags=r.uint();return{_:'mediaAreaGeoPoint',coordinates:r.object(),geo:r.object(),address:flags&1?r.object():void 0,}},
1205
1207
  340088945:function(r){var flags=r.uint();return{_:'mediaAreaSuggestedReaction',dark:!!(flags&1),flipped:!!(flags&2),coordinates:r.object(),reaction:r.object(),}},
1206
1208
  1996756655:function(r){return{_:'mediaAreaChannelPost',coordinates:r.object(),channelId:r.int53(),msgId:r.int(),}},
1207
1209
  577893055:function(r){return{_:'inputMediaAreaChannelPost',coordinates:r.object(),channel:r.object(),msgId:r.int(),}},
1210
+ 926421125:function(r){return{_:'mediaAreaUrl',coordinates:r.object(),url:r.string(),}},
1208
1211
  2587224473:function(r){var flags=r.uint();return{_:'peerStories',peer:r.object(),maxReadId:flags&1?r.int():void 0,stories:r.vector(r.object),}},
1209
1212
  3404105576:function(r){return{_:'stories.peerStories',stories:r.object(),chats:r.vector(r.object),users:r.vector(r.object),}},
1210
1213
  4250800829:function(r){return{_:'messages.webPage',webpage:r.object(),chats:r.vector(r.object),users:r.vector(r.object),}},
@@ -1315,8 +1318,14 @@ var m={
1315
1318
  3912227074:function(r){return{_:'starsTransactionPeerFragment'}},
1316
1319
  3624771933:function(r){return{_:'starsTransactionPeer',peer:r.object(),}},
1317
1320
  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(),}},
1318
- 3429923250:function(r){var flags=r.uint();return{_:'starsTransaction',refund:!!(flags&8),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,}},
1321
+ 2852178072: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,}},
1319
1322
  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),}},
1323
+ 3900361664:function(r){return{_:'foundStory',peer:r.object(),story:r.object(),}},
1324
+ 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),}},
1325
+ 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,}},
1326
+ 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
+ 3375085371:function(r){return{_:'payments.starsRevenueStats',revenueGraph:r.object(),status:r.object(),usdRate:r.double(),}},
1328
+ 497778871:function(r){return{_:'payments.starsRevenueWithdrawalUrl',url:r.string(),}},
1320
1329
  3438316246:function(r){return{_:'updateGroupInvitePrivacyForbidden',userId:r.int53(),}},
1321
1330
  1035529315:function(r){var flags=r.uint();return{_:'sponsoredWebPage',url:r.string(),siteName:r.string(),photo:flags&1?r.object():void 0,}},
1322
1331
  _results:{
@@ -1328,6 +1337,7 @@ _results:{
1328
1337
  'stories.togglePinned':function(r){return r.vector(r.int)},
1329
1338
  'stories.readStories':function(r){return r.vector(r.int)},
1330
1339
  'stories.getPeerMaxIDs':function(r){return r.vector(r.int)},
1340
+ 'mtcute.customMethod':function(r){return r.bytes()},
1331
1341
  },
1332
1342
  85337187:function(r){return{_:'mt_resPQ',nonce:r.int128(),serverNonce:r.int128(),pq:r.bytes(),serverPublicKeyFingerprints:r.vector(r.long),}},
1333
1343
  2851430293:function(r){return{_:'mt_p_q_inner_data_dc',pq:r.bytes(),p:r.bytes(),q:r.bytes(),nonce:r.int128(),serverNonce:r.int128(),newNonce:r.int256(),dc:r.int(),}},
package/binary/writer.js CHANGED
@@ -368,6 +368,8 @@ var m={
368
368
  'updateNewStoryReaction':function(w,v){w.uint(405070859);w.int(h(v,'storyId'));w.object(h(v,'peer'));w.object(h(v,'reaction'));},
369
369
  'updateBroadcastRevenueTransactions':function(w,v){w.uint(3755565557);w.object(h(v,'peer'));w.object(h(v,'balances'));},
370
370
  'updateStarsBalance':function(w,v){w.uint(263737752);w.long(h(v,'balance'));},
371
+ 'updateBusinessBotCallbackQuery':function(w,v){w.uint(513998247);var flags=0;var _data=v.data!==undefined;if(_data)flags|=1;var _replyToMessage=v.replyToMessage!==undefined;if(_replyToMessage)flags|=4;w.uint(flags);w.long(h(v,'queryId'));w.int53(h(v,'userId'));w.string(h(v,'connectionId'));w.object(h(v,'message'));if(_replyToMessage)w.object(v.replyToMessage);w.long(h(v,'chatInstance'));if(_data)w.bytes(v.data);},
372
+ 'updateStarsRevenueStatus':function(w,v){w.uint(2776936473);w.object(h(v,'peer'));w.object(h(v,'status'));},
371
373
  'updates.state':function(w,v){w.uint(2775329342);w.int(h(v,'pts'));w.int(h(v,'qts'));w.int(h(v,'date'));w.int(h(v,'seq'));w.int(h(v,'unreadCount'));},
372
374
  'updates.differenceEmpty':function(w,v){w.uint(1567990072);w.int(h(v,'date'));w.int(h(v,'seq'));},
373
375
  'updates.difference':function(w,v){w.uint(16030880);w.vector(w.object,h(v,'newMessages'));w.vector(w.object,h(v,'newEncryptedMessages'));w.vector(w.object,h(v,'otherUpdates'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));w.object(h(v,'state'));},
@@ -661,7 +663,7 @@ var m={
661
663
  'contacts.topPeers':function(w,v){w.uint(1891070632);w.vector(w.object,h(v,'categories'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
662
664
  'contacts.topPeersDisabled':function(w){w.uint(3039597469);},
663
665
  'draftMessageEmpty':function(w,v){w.uint(453805082);var flags=0;var _date=v.date!==undefined;if(_date)flags|=1;w.uint(flags);if(_date)w.int(v.date);},
664
- 'draftMessage':function(w,v){w.uint(1070397423);var flags=0;if(v.noWebpage===true)flags|=2;var _entities=v.entities&&v.entities.length;if(_entities)flags|=8;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=16;var _media=v.media!==undefined;if(_media)flags|=32;if(v.invertMedia===true)flags|=64;w.uint(flags);if(_replyTo)w.object(v.replyTo);w.string(h(v,'message'));if(_entities)w.vector(w.object,v.entities);if(_media)w.object(v.media);w.int(h(v,'date'));},
666
+ 'draftMessage':function(w,v){w.uint(761606687);var flags=0;if(v.noWebpage===true)flags|=2;var _entities=v.entities&&v.entities.length;if(_entities)flags|=8;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=16;var _media=v.media!==undefined;if(_media)flags|=32;if(v.invertMedia===true)flags|=64;var _effect=v.effect!==undefined;if(_effect)flags|=128;w.uint(flags);if(_replyTo)w.object(v.replyTo);w.string(h(v,'message'));if(_entities)w.vector(w.object,v.entities);if(_media)w.object(v.media);w.int(h(v,'date'));if(_effect)w.long(v.effect);},
665
667
  'messages.featuredStickersNotModified':function(w,v){w.uint(3336309862);w.int(h(v,'count'));},
666
668
  'messages.featuredStickers':function(w,v){w.uint(3191351558);var flags=0;if(v.premium===true)flags|=1;w.uint(flags);w.long(h(v,'hash'));w.int(h(v,'count'));w.vector(w.object,h(v,'sets'));w.vector(w.long,h(v,'unread'));},
667
669
  'messages.recentStickersNotModified':function(w){w.uint(186120336);},
@@ -1199,13 +1201,14 @@ var m={
1199
1201
  'inputReplyToStory':function(w,v){w.uint(1484862010);w.object(h(v,'peer'));w.int(h(v,'storyId'));},
1200
1202
  'exportedStoryLink':function(w,v){w.uint(1070138683);w.string(h(v,'link'));},
1201
1203
  'storiesStealthMode':function(w,v){w.uint(1898850301);var flags=0;var _activeUntilDate=v.activeUntilDate!==undefined;if(_activeUntilDate)flags|=1;var _cooldownUntilDate=v.cooldownUntilDate!==undefined;if(_cooldownUntilDate)flags|=2;w.uint(flags);if(_activeUntilDate)w.int(v.activeUntilDate);if(_cooldownUntilDate)w.int(v.cooldownUntilDate);},
1202
- 'mediaAreaCoordinates':function(w,v){w.uint(64088654);w.double(h(v,'x'));w.double(h(v,'y'));w.double(h(v,'w'));w.double(h(v,'h'));w.double(h(v,'rotation'));},
1204
+ 'mediaAreaCoordinates':function(w,v){w.uint(3486113794);var flags=0;var _radius=v.radius!==undefined;if(_radius)flags|=1;w.uint(flags);w.double(h(v,'x'));w.double(h(v,'y'));w.double(h(v,'w'));w.double(h(v,'h'));w.double(h(v,'rotation'));if(_radius)w.double(v.radius);},
1203
1205
  'mediaAreaVenue':function(w,v){w.uint(3196246940);w.object(h(v,'coordinates'));w.object(h(v,'geo'));w.string(h(v,'title'));w.string(h(v,'address'));w.string(h(v,'provider'));w.string(h(v,'venueId'));w.string(h(v,'venueType'));},
1204
1206
  'inputMediaAreaVenue':function(w,v){w.uint(2994872703);w.object(h(v,'coordinates'));w.long(h(v,'queryId'));w.string(h(v,'resultId'));},
1205
- 'mediaAreaGeoPoint':function(w,v){w.uint(3750443810);w.object(h(v,'coordinates'));w.object(h(v,'geo'));},
1207
+ 'mediaAreaGeoPoint':function(w,v){w.uint(3402974509);var flags=0;var _address=v.address!==undefined;if(_address)flags|=1;w.uint(flags);w.object(h(v,'coordinates'));w.object(h(v,'geo'));if(_address)w.object(v.address);},
1206
1208
  'mediaAreaSuggestedReaction':function(w,v){w.uint(340088945);var flags=0;if(v.dark===true)flags|=1;if(v.flipped===true)flags|=2;w.uint(flags);w.object(h(v,'coordinates'));w.object(h(v,'reaction'));},
1207
1209
  'mediaAreaChannelPost':function(w,v){w.uint(1996756655);w.object(h(v,'coordinates'));w.int53(h(v,'channelId'));w.int(h(v,'msgId'));},
1208
1210
  'inputMediaAreaChannelPost':function(w,v){w.uint(577893055);w.object(h(v,'coordinates'));w.object(h(v,'channel'));w.int(h(v,'msgId'));},
1211
+ 'mediaAreaUrl':function(w,v){w.uint(926421125);w.object(h(v,'coordinates'));w.string(h(v,'url'));},
1209
1212
  'peerStories':function(w,v){w.uint(2587224473);var flags=0;var _maxReadId=v.maxReadId!==undefined;if(_maxReadId)flags|=1;w.uint(flags);w.object(h(v,'peer'));if(_maxReadId)w.int(v.maxReadId);w.vector(w.object,h(v,'stories'));},
1210
1213
  'stories.peerStories':function(w,v){w.uint(3404105576);w.object(h(v,'stories'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
1211
1214
  'messages.webPage':function(w,v){w.uint(4250800829);w.object(h(v,'webpage'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
@@ -1316,8 +1319,14 @@ var m={
1316
1319
  'starsTransactionPeerFragment':function(w){w.uint(3912227074);},
1317
1320
  'starsTransactionPeer':function(w,v){w.uint(3624771933);w.object(h(v,'peer'));},
1318
1321
  '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'));},
1319
- 'starsTransaction':function(w,v){w.uint(3429923250);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;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);},
1322
+ 'starsTransaction':function(w,v){w.uint(2852178072);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;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);},
1320
1323
  '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'));},
1324
+ 'foundStory':function(w,v){w.uint(3900361664);w.object(h(v,'peer'));w.object(h(v,'story'));},
1325
+ 'stories.foundStories':function(w,v){w.uint(3806230327);var flags=0;var _nextOffset=v.nextOffset!==undefined;if(_nextOffset)flags|=1;w.uint(flags);w.int(h(v,'count'));w.vector(w.object,h(v,'stories'));if(_nextOffset)w.string(v.nextOffset);w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
1326
+ 'geoPointAddress':function(w,v){w.uint(3729546643);var flags=0;var _state=v.state!==undefined;if(_state)flags|=1;var _city=v.city!==undefined;if(_city)flags|=2;var _street=v.street!==undefined;if(_street)flags|=4;w.uint(flags);w.string(h(v,'countryIso2'));if(_state)w.string(v.state);if(_city)w.string(v.city);if(_street)w.string(v.street);},
1327
+ '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
+ 'payments.starsRevenueStats':function(w,v){w.uint(3375085371);w.object(h(v,'revenueGraph'));w.object(h(v,'status'));w.double(h(v,'usdRate'));},
1329
+ 'payments.starsRevenueWithdrawalUrl':function(w,v){w.uint(497778871);w.string(h(v,'url'));},
1321
1330
  'updateGroupInvitePrivacyForbidden':function(w,v){w.uint(3438316246);w.int53(h(v,'userId'));},
1322
1331
  '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);},
1323
1332
  'test.useConfigSimple':function(w){w.uint(4189565501);},
@@ -1561,7 +1570,7 @@ var m={
1561
1570
  'messages.getBotCallbackAnswer':function(w,v){w.uint(2470627847);var flags=0;var _data=v.data!==undefined;if(_data)flags|=1;if(v.game===true)flags|=2;var _password=v.password!==undefined;if(_password)flags|=4;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'msgId'));if(_data)w.bytes(v.data);if(_password)w.object(v.password);},
1562
1571
  'messages.setBotCallbackAnswer':function(w,v){w.uint(3582923530);var flags=0;var _message=v.message!==undefined;if(_message)flags|=1;if(v.alert===true)flags|=2;var _url=v.url!==undefined;if(_url)flags|=4;w.uint(flags);w.long(h(v,'queryId'));if(_message)w.string(v.message);if(_url)w.string(v.url);w.int(h(v,'cacheTime'));},
1563
1572
  'messages.getPeerDialogs':function(w,v){w.uint(3832593661);w.vector(w.object,h(v,'peers'));},
1564
- 'messages.saveDraft':function(w,v){w.uint(2146678790);var flags=0;if(v.noWebpage===true)flags|=2;var _entities=v.entities&&v.entities.length;if(_entities)flags|=8;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=16;var _media=v.media!==undefined;if(_media)flags|=32;if(v.invertMedia===true)flags|=64;w.uint(flags);if(_replyTo)w.object(v.replyTo);w.object(h(v,'peer'));w.string(h(v,'message'));if(_entities)w.vector(w.object,v.entities);if(_media)w.object(v.media);},
1573
+ 'messages.saveDraft':function(w,v){w.uint(3547514318);var flags=0;if(v.noWebpage===true)flags|=2;var _entities=v.entities&&v.entities.length;if(_entities)flags|=8;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=16;var _media=v.media!==undefined;if(_media)flags|=32;if(v.invertMedia===true)flags|=64;var _effect=v.effect!==undefined;if(_effect)flags|=128;w.uint(flags);if(_replyTo)w.object(v.replyTo);w.object(h(v,'peer'));w.string(h(v,'message'));if(_entities)w.vector(w.object,v.entities);if(_media)w.object(v.media);if(_effect)w.long(v.effect);},
1565
1574
  'messages.getAllDrafts':function(w){w.uint(1782549861);},
1566
1575
  'messages.getFeaturedStickers':function(w,v){w.uint(1685588756);w.long(h(v,'hash'));},
1567
1576
  'messages.readFeaturedStickers':function(w,v){w.uint(1527873830);w.vector(w.long,h(v,'id'));},
@@ -1853,9 +1862,11 @@ var m={
1853
1862
  'payments.launchPrepaidGiveaway':function(w,v){w.uint(1609928480);w.object(h(v,'peer'));w.long(h(v,'giveawayId'));w.object(h(v,'purpose'));},
1854
1863
  'payments.getStarsTopupOptions':function(w){w.uint(3222194131);},
1855
1864
  'payments.getStarsStatus':function(w,v){w.uint(273665959);w.object(h(v,'peer'));},
1856
- 'payments.getStarsTransactions':function(w,v){w.uint(1731904249);var flags=0;if(v.inbound===true)flags|=1;if(v.outbound===true)flags|=2;w.uint(flags);w.object(h(v,'peer'));w.string(h(v,'offset'));},
1865
+ 'payments.getStarsTransactions':function(w,v){w.uint(2543029594);var flags=0;if(v.inbound===true)flags|=1;if(v.outbound===true)flags|=2;if(v.ascending===true)flags|=4;w.uint(flags);w.object(h(v,'peer'));w.string(h(v,'offset'));w.int(h(v,'limit'));},
1857
1866
  'payments.sendStarsForm':function(w,v){w.uint(45839133);var flags=0;w.uint(flags);w.long(h(v,'formId'));w.object(h(v,'invoice'));},
1858
1867
  'payments.refundStarsCharge':function(w,v){w.uint(632196938);w.object(h(v,'userId'));w.string(h(v,'chargeId'));},
1868
+ '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'));},
1869
+ 'payments.getStarsRevenueWithdrawalUrl':function(w,v){w.uint(331081907);w.object(h(v,'peer'));w.long(h(v,'stars'));w.object(h(v,'password'));},
1859
1870
  '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);},
1860
1871
  'stickers.removeStickerFromSet':function(w,v){w.uint(4151709521);w.object(h(v,'sticker'));},
1861
1872
  'stickers.changeStickerPosition':function(w,v){w.uint(4290172106);w.object(h(v,'sticker'));w.int(h(v,'position'));},
@@ -1950,6 +1961,7 @@ var m={
1950
1961
  'stories.togglePeerStoriesHidden':function(w,v){w.uint(3171161540);w.object(h(v,'peer'));w.boolean(h(v,'hidden'));},
1951
1962
  'stories.getStoryReactionsList':function(w,v){w.uint(3115485215);var flags=0;var _reaction=v.reaction!==undefined;if(_reaction)flags|=1;var _offset=v.offset!==undefined;if(_offset)flags|=2;if(v.forwardsFirst===true)flags|=4;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'id'));if(_reaction)w.object(v.reaction);if(_offset)w.string(v.offset);w.int(h(v,'limit'));},
1952
1963
  'stories.togglePinnedToTop':function(w,v){w.uint(187268763);w.object(h(v,'peer'));w.vector(w.int,h(v,'id'));},
1964
+ 'stories.searchPosts':function(w,v){w.uint(1827279210);var flags=0;var _hashtag=v.hashtag!==undefined;if(_hashtag)flags|=1;var _area=v.area!==undefined;if(_area)flags|=2;w.uint(flags);if(_hashtag)w.string(v.hashtag);if(_area)w.object(v.area);w.string(h(v,'offset'));w.int(h(v,'limit'));},
1953
1965
  'premium.getBoostsList':function(w,v){w.uint(1626764896);var flags=0;if(v.gifts===true)flags|=1;w.uint(flags);w.object(h(v,'peer'));w.string(h(v,'offset'));w.int(h(v,'limit'));},
1954
1966
  'premium.getMyBoosts':function(w){w.uint(199719754);},
1955
1967
  'premium.applyBoost':function(w,v){w.uint(1803396934);var flags=0;var _slots=v.slots&&v.slots.length;if(_slots)flags|=1;w.uint(flags);if(_slots)w.vector(w.int,v.slots);w.object(h(v,'peer'));},
@@ -1963,6 +1975,7 @@ var m={
1963
1975
  'smsjobs.getSmsJob':function(w,v){w.uint(2005766191);w.string(h(v,'jobId'));},
1964
1976
  '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);},
1965
1977
  'fragment.getCollectibleInfo':function(w,v){w.uint(3189671354);w.object(h(v,'collectible'));},
1978
+ 'mtcute.customMethod':function(w,v){w.raw(h(v,'bytes'));},
1966
1979
  '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'));},
1967
1980
  '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'));},
1968
1981
  'mt_p_q_inner_data_temp_dc':function(w,v){w.uint(1459478408);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'));w.int(h(v,'expiresIn'));},
@@ -2453,8 +2466,6 @@ _staticSize:{
2453
2466
  'messagePeerVoteInputOption':20,
2454
2467
  'storyItemDeleted':8,
2455
2468
  'storyItemSkipped':20,
2456
- 'mediaAreaCoordinates':44,
2457
- 'mediaAreaChannelPost':60,
2458
2469
  'prepaidGiveaway':24,
2459
2470
  'postInteractionCountersMessage':20,
2460
2471
  'postInteractionCountersStory':20,
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 = 181;
5
+ const LAYER = 182;
6
6
 
7
7
  function $extendTypes(types: Record<string, string>): void
8
8
 
@@ -7549,6 +7549,21 @@ export class RpcError extends Error {
7549
7549
  _: 'updateStarsBalance';
7550
7550
  balance: Long;
7551
7551
  }
7552
+ interface RawUpdateBusinessBotCallbackQuery {
7553
+ _: 'updateBusinessBotCallbackQuery';
7554
+ queryId: Long;
7555
+ userId: number;
7556
+ connectionId: string;
7557
+ message: tl.TypeMessage;
7558
+ replyToMessage?: tl.TypeMessage;
7559
+ chatInstance: Long;
7560
+ data?: Uint8Array;
7561
+ }
7562
+ interface RawUpdateStarsRevenueStatus {
7563
+ _: 'updateStarsRevenueStatus';
7564
+ peer: tl.TypePeer;
7565
+ status: tl.TypeStarsRevenueStatus;
7566
+ }
7552
7567
  /**
7553
7568
  * Too many updates, it is necessary to execute
7554
7569
  * {@link updates.RawGetDifferenceRequest}.
@@ -11996,6 +12011,7 @@ export class RpcError extends Error {
11996
12011
  * Date of last update of the draft.
11997
12012
  */
11998
12013
  date: number;
12014
+ effect?: Long;
11999
12015
  }
12000
12016
  /**
12001
12017
  * Stickerset with a single sticker as preview
@@ -20033,6 +20049,7 @@ export class RpcError extends Error {
20033
20049
  * (0-360).
20034
20050
  */
20035
20051
  rotation: Double;
20052
+ radius?: Double;
20036
20053
  }
20037
20054
  /**
20038
20055
  * Represents a location tag attached to a
@@ -20115,6 +20132,7 @@ export class RpcError extends Error {
20115
20132
  * Coordinates of the geolocation tag.
20116
20133
  */
20117
20134
  geo: tl.TypeGeoPoint;
20135
+ address?: tl.TypeGeoPointAddress;
20118
20136
  }
20119
20137
  /**
20120
20138
  * Represents a reaction bubble.
@@ -20179,6 +20197,11 @@ export class RpcError extends Error {
20179
20197
  */
20180
20198
  msgId: number;
20181
20199
  }
20200
+ interface RawMediaAreaUrl {
20201
+ _: 'mediaAreaUrl';
20202
+ coordinates: tl.TypeMediaAreaCoordinates;
20203
+ url: string;
20204
+ }
20182
20205
  /**
20183
20206
  * <a href="https://corefork.telegram.org/api/stories">Stories</a>
20184
20207
  * associated to a peer
@@ -20861,6 +20884,8 @@ export class RpcError extends Error {
20861
20884
  interface RawStarsTransaction {
20862
20885
  _: 'starsTransaction';
20863
20886
  refund?: boolean;
20887
+ pending?: boolean;
20888
+ failed?: boolean;
20864
20889
  id: string;
20865
20890
  stars: Long;
20866
20891
  date: number;
@@ -20868,6 +20893,28 @@ export class RpcError extends Error {
20868
20893
  title?: string;
20869
20894
  description?: string;
20870
20895
  photo?: tl.TypeWebDocument;
20896
+ transactionDate?: number;
20897
+ transactionUrl?: string;
20898
+ }
20899
+ interface RawFoundStory {
20900
+ _: 'foundStory';
20901
+ peer: tl.TypePeer;
20902
+ story: tl.TypeStoryItem;
20903
+ }
20904
+ interface RawGeoPointAddress {
20905
+ _: 'geoPointAddress';
20906
+ countryIso2: string;
20907
+ state?: string;
20908
+ city?: string;
20909
+ street?: string;
20910
+ }
20911
+ interface RawStarsRevenueStatus {
20912
+ _: 'starsRevenueStatus';
20913
+ withdrawalEnabled?: boolean;
20914
+ currentBalance: Long;
20915
+ availableBalance: Long;
20916
+ overallRevenue: Long;
20917
+ nextWithdrawalAt?: number;
20871
20918
  }
20872
20919
  /**
20873
20920
  * 0-N updates of this type may be returned only when invoking
@@ -21302,7 +21349,7 @@ export class RpcError extends Error {
21302
21349
  /**
21303
21350
  * Object contains info on events occurred.
21304
21351
  */
21305
- type TypeUpdate = tl.RawUpdateNewMessage | tl.RawUpdateMessageID | tl.RawUpdateDeleteMessages | tl.RawUpdateUserTyping | tl.RawUpdateChatUserTyping | tl.RawUpdateChatParticipants | tl.RawUpdateUserStatus | tl.RawUpdateUserName | tl.RawUpdateNewAuthorization | tl.RawUpdateNewEncryptedMessage | tl.RawUpdateEncryptedChatTyping | tl.RawUpdateEncryption | tl.RawUpdateEncryptedMessagesRead | tl.RawUpdateChatParticipantAdd | tl.RawUpdateChatParticipantDelete | tl.RawUpdateDcOptions | tl.RawUpdateNotifySettings | tl.RawUpdateServiceNotification | tl.RawUpdatePrivacy | tl.RawUpdateUserPhone | tl.RawUpdateReadHistoryInbox | tl.RawUpdateReadHistoryOutbox | tl.RawUpdateWebPage | tl.RawUpdateReadMessagesContents | tl.RawUpdateChannelTooLong | tl.RawUpdateChannel | tl.RawUpdateNewChannelMessage | tl.RawUpdateReadChannelInbox | tl.RawUpdateDeleteChannelMessages | tl.RawUpdateChannelMessageViews | tl.RawUpdateChatParticipantAdmin | tl.RawUpdateNewStickerSet | tl.RawUpdateStickerSetsOrder | tl.RawUpdateStickerSets | tl.RawUpdateSavedGifs | tl.RawUpdateBotInlineQuery | tl.RawUpdateBotInlineSend | tl.RawUpdateEditChannelMessage | tl.RawUpdateBotCallbackQuery | tl.RawUpdateEditMessage | tl.RawUpdateInlineBotCallbackQuery | tl.RawUpdateReadChannelOutbox | tl.RawUpdateDraftMessage | tl.RawUpdateReadFeaturedStickers | tl.RawUpdateRecentStickers | tl.RawUpdateConfig | tl.RawUpdatePtsChanged | tl.RawUpdateChannelWebPage | tl.RawUpdateDialogPinned | tl.RawUpdatePinnedDialogs | tl.RawUpdateBotWebhookJSON | tl.RawUpdateBotWebhookJSONQuery | tl.RawUpdateBotShippingQuery | tl.RawUpdateBotPrecheckoutQuery | tl.RawUpdatePhoneCall | tl.RawUpdateLangPackTooLong | tl.RawUpdateLangPack | tl.RawUpdateFavedStickers | tl.RawUpdateChannelReadMessagesContents | tl.RawUpdateContactsReset | tl.RawUpdateChannelAvailableMessages | tl.RawUpdateDialogUnreadMark | tl.RawUpdateMessagePoll | tl.RawUpdateChatDefaultBannedRights | tl.RawUpdateFolderPeers | tl.RawUpdatePeerSettings | tl.RawUpdatePeerLocated | tl.RawUpdateNewScheduledMessage | tl.RawUpdateDeleteScheduledMessages | tl.RawUpdateTheme | tl.RawUpdateGeoLiveViewed | tl.RawUpdateLoginToken | tl.RawUpdateMessagePollVote | tl.RawUpdateDialogFilter | tl.RawUpdateDialogFilterOrder | tl.RawUpdateDialogFilters | tl.RawUpdatePhoneCallSignalingData | tl.RawUpdateChannelMessageForwards | tl.RawUpdateReadChannelDiscussionInbox | tl.RawUpdateReadChannelDiscussionOutbox | tl.RawUpdatePeerBlocked | tl.RawUpdateChannelUserTyping | tl.RawUpdatePinnedMessages | tl.RawUpdatePinnedChannelMessages | tl.RawUpdateChat | tl.RawUpdateGroupCallParticipants | tl.RawUpdateGroupCall | tl.RawUpdatePeerHistoryTTL | tl.RawUpdateChatParticipant | tl.RawUpdateChannelParticipant | tl.RawUpdateBotStopped | tl.RawUpdateGroupCallConnection | tl.RawUpdateBotCommands | tl.RawUpdatePendingJoinRequests | tl.RawUpdateBotChatInviteRequester | tl.RawUpdateMessageReactions | tl.RawUpdateAttachMenuBots | tl.RawUpdateWebViewResultSent | tl.RawUpdateBotMenuButton | tl.RawUpdateSavedRingtones | tl.RawUpdateTranscribedAudio | tl.RawUpdateReadFeaturedEmojiStickers | tl.RawUpdateUserEmojiStatus | tl.RawUpdateRecentEmojiStatuses | tl.RawUpdateRecentReactions | tl.RawUpdateMoveStickerSetToTop | tl.RawUpdateMessageExtendedMedia | tl.RawUpdateChannelPinnedTopic | tl.RawUpdateChannelPinnedTopics | tl.RawUpdateUser | tl.RawUpdateAutoSaveSettings | tl.RawUpdateStory | tl.RawUpdateReadStories | tl.RawUpdateStoryID | tl.RawUpdateStoriesStealthMode | tl.RawUpdateSentStoryReaction | tl.RawUpdateBotChatBoost | tl.RawUpdateChannelViewForumAsMessages | tl.RawUpdatePeerWallpaper | tl.RawUpdateBotMessageReaction | tl.RawUpdateBotMessageReactions | tl.RawUpdateSavedDialogPinned | tl.RawUpdatePinnedSavedDialogs | tl.RawUpdateSavedReactionTags | tl.RawUpdateSmsJob | tl.RawUpdateQuickReplies | tl.RawUpdateNewQuickReply | tl.RawUpdateDeleteQuickReply | tl.RawUpdateQuickReplyMessage | tl.RawUpdateDeleteQuickReplyMessages | tl.RawUpdateBotBusinessConnect | tl.RawUpdateBotNewBusinessMessage | tl.RawUpdateBotEditBusinessMessage | tl.RawUpdateBotDeleteBusinessMessage | tl.RawUpdateNewStoryReaction | tl.RawUpdateBroadcastRevenueTransactions | tl.RawUpdateStarsBalance | tl.RawUpdateGroupInvitePrivacyForbidden | tl.mtcute.RawDummyUpdate
21352
+ type TypeUpdate = tl.RawUpdateNewMessage | tl.RawUpdateMessageID | tl.RawUpdateDeleteMessages | tl.RawUpdateUserTyping | tl.RawUpdateChatUserTyping | tl.RawUpdateChatParticipants | tl.RawUpdateUserStatus | tl.RawUpdateUserName | tl.RawUpdateNewAuthorization | tl.RawUpdateNewEncryptedMessage | tl.RawUpdateEncryptedChatTyping | tl.RawUpdateEncryption | tl.RawUpdateEncryptedMessagesRead | tl.RawUpdateChatParticipantAdd | tl.RawUpdateChatParticipantDelete | tl.RawUpdateDcOptions | tl.RawUpdateNotifySettings | tl.RawUpdateServiceNotification | tl.RawUpdatePrivacy | tl.RawUpdateUserPhone | tl.RawUpdateReadHistoryInbox | tl.RawUpdateReadHistoryOutbox | tl.RawUpdateWebPage | tl.RawUpdateReadMessagesContents | tl.RawUpdateChannelTooLong | tl.RawUpdateChannel | tl.RawUpdateNewChannelMessage | tl.RawUpdateReadChannelInbox | tl.RawUpdateDeleteChannelMessages | tl.RawUpdateChannelMessageViews | tl.RawUpdateChatParticipantAdmin | tl.RawUpdateNewStickerSet | tl.RawUpdateStickerSetsOrder | tl.RawUpdateStickerSets | tl.RawUpdateSavedGifs | tl.RawUpdateBotInlineQuery | tl.RawUpdateBotInlineSend | tl.RawUpdateEditChannelMessage | tl.RawUpdateBotCallbackQuery | tl.RawUpdateEditMessage | tl.RawUpdateInlineBotCallbackQuery | tl.RawUpdateReadChannelOutbox | tl.RawUpdateDraftMessage | tl.RawUpdateReadFeaturedStickers | tl.RawUpdateRecentStickers | tl.RawUpdateConfig | tl.RawUpdatePtsChanged | tl.RawUpdateChannelWebPage | tl.RawUpdateDialogPinned | tl.RawUpdatePinnedDialogs | tl.RawUpdateBotWebhookJSON | tl.RawUpdateBotWebhookJSONQuery | tl.RawUpdateBotShippingQuery | tl.RawUpdateBotPrecheckoutQuery | tl.RawUpdatePhoneCall | tl.RawUpdateLangPackTooLong | tl.RawUpdateLangPack | tl.RawUpdateFavedStickers | tl.RawUpdateChannelReadMessagesContents | tl.RawUpdateContactsReset | tl.RawUpdateChannelAvailableMessages | tl.RawUpdateDialogUnreadMark | tl.RawUpdateMessagePoll | tl.RawUpdateChatDefaultBannedRights | tl.RawUpdateFolderPeers | tl.RawUpdatePeerSettings | tl.RawUpdatePeerLocated | tl.RawUpdateNewScheduledMessage | tl.RawUpdateDeleteScheduledMessages | tl.RawUpdateTheme | tl.RawUpdateGeoLiveViewed | tl.RawUpdateLoginToken | tl.RawUpdateMessagePollVote | tl.RawUpdateDialogFilter | tl.RawUpdateDialogFilterOrder | tl.RawUpdateDialogFilters | tl.RawUpdatePhoneCallSignalingData | tl.RawUpdateChannelMessageForwards | tl.RawUpdateReadChannelDiscussionInbox | tl.RawUpdateReadChannelDiscussionOutbox | tl.RawUpdatePeerBlocked | tl.RawUpdateChannelUserTyping | tl.RawUpdatePinnedMessages | tl.RawUpdatePinnedChannelMessages | tl.RawUpdateChat | tl.RawUpdateGroupCallParticipants | tl.RawUpdateGroupCall | tl.RawUpdatePeerHistoryTTL | tl.RawUpdateChatParticipant | tl.RawUpdateChannelParticipant | tl.RawUpdateBotStopped | tl.RawUpdateGroupCallConnection | tl.RawUpdateBotCommands | tl.RawUpdatePendingJoinRequests | tl.RawUpdateBotChatInviteRequester | tl.RawUpdateMessageReactions | tl.RawUpdateAttachMenuBots | tl.RawUpdateWebViewResultSent | tl.RawUpdateBotMenuButton | tl.RawUpdateSavedRingtones | tl.RawUpdateTranscribedAudio | tl.RawUpdateReadFeaturedEmojiStickers | tl.RawUpdateUserEmojiStatus | tl.RawUpdateRecentEmojiStatuses | tl.RawUpdateRecentReactions | tl.RawUpdateMoveStickerSetToTop | tl.RawUpdateMessageExtendedMedia | tl.RawUpdateChannelPinnedTopic | tl.RawUpdateChannelPinnedTopics | tl.RawUpdateUser | tl.RawUpdateAutoSaveSettings | tl.RawUpdateStory | tl.RawUpdateReadStories | tl.RawUpdateStoryID | tl.RawUpdateStoriesStealthMode | tl.RawUpdateSentStoryReaction | tl.RawUpdateBotChatBoost | tl.RawUpdateChannelViewForumAsMessages | tl.RawUpdatePeerWallpaper | tl.RawUpdateBotMessageReaction | tl.RawUpdateBotMessageReactions | tl.RawUpdateSavedDialogPinned | tl.RawUpdatePinnedSavedDialogs | tl.RawUpdateSavedReactionTags | tl.RawUpdateSmsJob | tl.RawUpdateQuickReplies | tl.RawUpdateNewQuickReply | tl.RawUpdateDeleteQuickReply | tl.RawUpdateQuickReplyMessage | tl.RawUpdateDeleteQuickReplyMessages | tl.RawUpdateBotBusinessConnect | tl.RawUpdateBotNewBusinessMessage | tl.RawUpdateBotEditBusinessMessage | tl.RawUpdateBotDeleteBusinessMessage | tl.RawUpdateNewStoryReaction | tl.RawUpdateBroadcastRevenueTransactions | tl.RawUpdateStarsBalance | tl.RawUpdateBusinessBotCallbackQuery | tl.RawUpdateStarsRevenueStatus | tl.RawUpdateGroupInvitePrivacyForbidden | tl.mtcute.RawDummyUpdate
21306
21353
  function isAnyUpdate(o: object): o is TypeUpdate
21307
21354
  /**
21308
21355
  * Object which is perceived by the client without a call on
@@ -22621,7 +22668,7 @@ export class RpcError extends Error {
22621
22668
  * <a href="https://corefork.telegram.org/api/stories#media-areas">story
22622
22669
  * media area »</a>
22623
22670
  */
22624
- type TypeMediaArea = tl.RawMediaAreaVenue | tl.RawInputMediaAreaVenue | tl.RawMediaAreaGeoPoint | tl.RawMediaAreaSuggestedReaction | tl.RawMediaAreaChannelPost | tl.RawInputMediaAreaChannelPost
22671
+ type TypeMediaArea = tl.RawMediaAreaVenue | tl.RawInputMediaAreaVenue | tl.RawMediaAreaGeoPoint | tl.RawMediaAreaSuggestedReaction | tl.RawMediaAreaChannelPost | tl.RawInputMediaAreaChannelPost | tl.RawMediaAreaUrl
22625
22672
  function isAnyMediaArea(o: object): o is TypeMediaArea
22626
22673
  /**
22627
22674
  * <a href="https://corefork.telegram.org/api/stories">Stories</a>
@@ -22770,6 +22817,12 @@ export class RpcError extends Error {
22770
22817
  function isAnyStarsTopupOption(o: object): o is TypeStarsTopupOption
22771
22818
  type TypeStarsTransaction = tl.RawStarsTransaction
22772
22819
  function isAnyStarsTransaction(o: object): o is TypeStarsTransaction
22820
+ type TypeFoundStory = tl.RawFoundStory
22821
+ function isAnyFoundStory(o: object): o is TypeFoundStory
22822
+ type TypeGeoPointAddress = tl.RawGeoPointAddress
22823
+ function isAnyGeoPointAddress(o: object): o is TypeGeoPointAddress
22824
+ type TypeStarsRevenueStatus = tl.RawStarsRevenueStatus
22825
+ function isAnyStarsRevenueStatus(o: object): o is TypeStarsRevenueStatus
22773
22826
  /**
22774
22827
  * Represents a sponsored website.
22775
22828
  */
@@ -28607,6 +28660,7 @@ export class RpcError extends Error {
28607
28660
  * Attached media
28608
28661
  */
28609
28662
  media?: tl.TypeInputMedia;
28663
+ effect?: Long;
28610
28664
  }
28611
28665
  /**
28612
28666
  * Return all message
@@ -37599,6 +37653,16 @@ export class RpcError extends Error {
37599
37653
  chats: tl.TypeChat[];
37600
37654
  users: tl.TypeUser[];
37601
37655
  }
37656
+ interface RawStarsRevenueStats {
37657
+ _: 'payments.starsRevenueStats';
37658
+ revenueGraph: tl.TypeStatsGraph;
37659
+ status: tl.TypeStarsRevenueStatus;
37660
+ usdRate: Double;
37661
+ }
37662
+ interface RawStarsRevenueWithdrawalUrl {
37663
+ _: 'payments.starsRevenueWithdrawalUrl';
37664
+ url: string;
37665
+ }
37602
37666
  /**
37603
37667
  * Get a payment form
37604
37668
  *
@@ -37907,8 +37971,10 @@ export class RpcError extends Error {
37907
37971
  _: 'payments.getStarsTransactions';
37908
37972
  inbound?: boolean;
37909
37973
  outbound?: boolean;
37974
+ ascending?: boolean;
37910
37975
  peer: tl.TypeInputPeer;
37911
37976
  offset: string;
37977
+ limit: number;
37912
37978
  }
37913
37979
  /**
37914
37980
  * RPC method returns {@link tl.payments.TypePaymentResult}
@@ -37926,6 +37992,24 @@ export class RpcError extends Error {
37926
37992
  userId: tl.TypeInputUser;
37927
37993
  chargeId: string;
37928
37994
  }
37995
+ /**
37996
+ * RPC method returns {@link tl.payments.TypeStarsRevenueStats}
37997
+ */
37998
+ interface RawGetStarsRevenueStatsRequest {
37999
+ _: 'payments.getStarsRevenueStats';
38000
+ dark?: boolean;
38001
+ peer: tl.TypeInputPeer;
38002
+ }
38003
+ /**
38004
+ * RPC method returns
38005
+ * {@link tl.payments.TypeStarsRevenueWithdrawalUrl}
38006
+ */
38007
+ interface RawGetStarsRevenueWithdrawalUrlRequest {
38008
+ _: 'payments.getStarsRevenueWithdrawalUrl';
38009
+ peer: tl.TypeInputPeer;
38010
+ stars: Long;
38011
+ password: tl.TypeInputCheckPasswordSRP;
38012
+ }
37929
38013
  interface RpcCallReturn {
37930
38014
  'payments.getPaymentForm': tl.payments.TypePaymentForm
37931
38015
  'payments.getPaymentReceipt': tl.payments.TypePaymentReceipt
@@ -37948,6 +38032,8 @@ export class RpcError extends Error {
37948
38032
  'payments.getStarsTransactions': tl.payments.TypeStarsStatus
37949
38033
  'payments.sendStarsForm': tl.payments.TypePaymentResult
37950
38034
  'payments.refundStarsCharge': tl.TypeUpdates
38035
+ 'payments.getStarsRevenueStats': tl.payments.TypeStarsRevenueStats
38036
+ 'payments.getStarsRevenueWithdrawalUrl': tl.payments.TypeStarsRevenueWithdrawalUrl
37951
38037
  }
37952
38038
  /**
37953
38039
  * Payment form
@@ -38000,6 +38086,10 @@ export class RpcError extends Error {
38000
38086
  function isAnyGiveawayInfo(o: object): o is TypeGiveawayInfo
38001
38087
  type TypeStarsStatus = tl.payments.RawStarsStatus
38002
38088
  function isAnyStarsStatus(o: object): o is TypeStarsStatus
38089
+ type TypeStarsRevenueStats = tl.payments.RawStarsRevenueStats
38090
+ function isAnyStarsRevenueStats(o: object): o is TypeStarsRevenueStats
38091
+ type TypeStarsRevenueWithdrawalUrl = tl.payments.RawStarsRevenueWithdrawalUrl
38092
+ function isAnyStarsRevenueWithdrawalUrl(o: object): o is TypeStarsRevenueWithdrawalUrl
38003
38093
  }
38004
38094
 
38005
38095
  namespace phone {
@@ -40666,6 +40756,14 @@ export class RpcError extends Error {
40666
40756
  */
40667
40757
  nextOffset?: string;
40668
40758
  }
40759
+ interface RawFoundStories {
40760
+ _: 'stories.foundStories';
40761
+ count: number;
40762
+ stories: tl.TypeFoundStory[];
40763
+ nextOffset?: string;
40764
+ chats: tl.TypeChat[];
40765
+ users: tl.TypeUser[];
40766
+ }
40669
40767
  /**
40670
40768
  * Check whether we can post stories as the specified peer.
40671
40769
  *
@@ -41290,6 +41388,16 @@ export class RpcError extends Error {
41290
41388
  peer: tl.TypeInputPeer;
41291
41389
  id: number[];
41292
41390
  }
41391
+ /**
41392
+ * RPC method returns {@link tl.stories.TypeFoundStories}
41393
+ */
41394
+ interface RawSearchPostsRequest {
41395
+ _: 'stories.searchPosts';
41396
+ hashtag?: string;
41397
+ area?: tl.TypeMediaArea;
41398
+ offset: string;
41399
+ limit: number;
41400
+ }
41293
41401
  interface RpcCallReturn {
41294
41402
  'stories.canSendStory': boolean
41295
41403
  'stories.sendStory': tl.TypeUpdates
@@ -41316,6 +41424,7 @@ export class RpcError extends Error {
41316
41424
  'stories.togglePeerStoriesHidden': boolean
41317
41425
  'stories.getStoryReactionsList': tl.stories.TypeStoryReactionsList
41318
41426
  'stories.togglePinnedToTop': boolean
41427
+ 'stories.searchPosts': tl.stories.TypeFoundStories
41319
41428
  }
41320
41429
  /**
41321
41430
  * Full list of active (or active and hidden)
@@ -41353,6 +41462,8 @@ export class RpcError extends Error {
41353
41462
  */
41354
41463
  type TypeStoryReactionsList = tl.stories.RawStoryReactionsList
41355
41464
  function isAnyStoryReactionsList(o: object): o is TypeStoryReactionsList
41465
+ type TypeFoundStories = tl.stories.RawFoundStories
41466
+ function isAnyFoundStories(o: object): o is TypeFoundStories
41356
41467
  }
41357
41468
 
41358
41469
  namespace premium {
@@ -41707,12 +41818,25 @@ export class RpcError extends Error {
41707
41818
  _: 'mtcute.dummyInputPeerMinChannel';
41708
41819
  channelId: number;
41709
41820
  }
41821
+ /**
41822
+ * temporary solution to allow users to call arbitrary methods
41823
+ * not present in the schema, without having to override
41824
+ * client's schema readers/writers map. will become redundant
41825
+ * after esm tl rewrite
41826
+ *
41827
+ * RPC method returns Uint8Array
41828
+ */
41829
+ interface RawCustomMethodRequest {
41830
+ _: 'mtcute.customMethod';
41831
+ bytes: Uint8Array;
41832
+ }
41710
41833
  interface RpcCallReturn {
41834
+ 'mtcute.customMethod': Uint8Array
41711
41835
  }
41712
41836
  /**
41713
41837
  * Object contains info on events occurred.
41714
41838
  */
41715
- type TypeUpdate = tl.RawUpdateNewMessage | tl.RawUpdateMessageID | tl.RawUpdateDeleteMessages | tl.RawUpdateUserTyping | tl.RawUpdateChatUserTyping | tl.RawUpdateChatParticipants | tl.RawUpdateUserStatus | tl.RawUpdateUserName | tl.RawUpdateNewAuthorization | tl.RawUpdateNewEncryptedMessage | tl.RawUpdateEncryptedChatTyping | tl.RawUpdateEncryption | tl.RawUpdateEncryptedMessagesRead | tl.RawUpdateChatParticipantAdd | tl.RawUpdateChatParticipantDelete | tl.RawUpdateDcOptions | tl.RawUpdateNotifySettings | tl.RawUpdateServiceNotification | tl.RawUpdatePrivacy | tl.RawUpdateUserPhone | tl.RawUpdateReadHistoryInbox | tl.RawUpdateReadHistoryOutbox | tl.RawUpdateWebPage | tl.RawUpdateReadMessagesContents | tl.RawUpdateChannelTooLong | tl.RawUpdateChannel | tl.RawUpdateNewChannelMessage | tl.RawUpdateReadChannelInbox | tl.RawUpdateDeleteChannelMessages | tl.RawUpdateChannelMessageViews | tl.RawUpdateChatParticipantAdmin | tl.RawUpdateNewStickerSet | tl.RawUpdateStickerSetsOrder | tl.RawUpdateStickerSets | tl.RawUpdateSavedGifs | tl.RawUpdateBotInlineQuery | tl.RawUpdateBotInlineSend | tl.RawUpdateEditChannelMessage | tl.RawUpdateBotCallbackQuery | tl.RawUpdateEditMessage | tl.RawUpdateInlineBotCallbackQuery | tl.RawUpdateReadChannelOutbox | tl.RawUpdateDraftMessage | tl.RawUpdateReadFeaturedStickers | tl.RawUpdateRecentStickers | tl.RawUpdateConfig | tl.RawUpdatePtsChanged | tl.RawUpdateChannelWebPage | tl.RawUpdateDialogPinned | tl.RawUpdatePinnedDialogs | tl.RawUpdateBotWebhookJSON | tl.RawUpdateBotWebhookJSONQuery | tl.RawUpdateBotShippingQuery | tl.RawUpdateBotPrecheckoutQuery | tl.RawUpdatePhoneCall | tl.RawUpdateLangPackTooLong | tl.RawUpdateLangPack | tl.RawUpdateFavedStickers | tl.RawUpdateChannelReadMessagesContents | tl.RawUpdateContactsReset | tl.RawUpdateChannelAvailableMessages | tl.RawUpdateDialogUnreadMark | tl.RawUpdateMessagePoll | tl.RawUpdateChatDefaultBannedRights | tl.RawUpdateFolderPeers | tl.RawUpdatePeerSettings | tl.RawUpdatePeerLocated | tl.RawUpdateNewScheduledMessage | tl.RawUpdateDeleteScheduledMessages | tl.RawUpdateTheme | tl.RawUpdateGeoLiveViewed | tl.RawUpdateLoginToken | tl.RawUpdateMessagePollVote | tl.RawUpdateDialogFilter | tl.RawUpdateDialogFilterOrder | tl.RawUpdateDialogFilters | tl.RawUpdatePhoneCallSignalingData | tl.RawUpdateChannelMessageForwards | tl.RawUpdateReadChannelDiscussionInbox | tl.RawUpdateReadChannelDiscussionOutbox | tl.RawUpdatePeerBlocked | tl.RawUpdateChannelUserTyping | tl.RawUpdatePinnedMessages | tl.RawUpdatePinnedChannelMessages | tl.RawUpdateChat | tl.RawUpdateGroupCallParticipants | tl.RawUpdateGroupCall | tl.RawUpdatePeerHistoryTTL | tl.RawUpdateChatParticipant | tl.RawUpdateChannelParticipant | tl.RawUpdateBotStopped | tl.RawUpdateGroupCallConnection | tl.RawUpdateBotCommands | tl.RawUpdatePendingJoinRequests | tl.RawUpdateBotChatInviteRequester | tl.RawUpdateMessageReactions | tl.RawUpdateAttachMenuBots | tl.RawUpdateWebViewResultSent | tl.RawUpdateBotMenuButton | tl.RawUpdateSavedRingtones | tl.RawUpdateTranscribedAudio | tl.RawUpdateReadFeaturedEmojiStickers | tl.RawUpdateUserEmojiStatus | tl.RawUpdateRecentEmojiStatuses | tl.RawUpdateRecentReactions | tl.RawUpdateMoveStickerSetToTop | tl.RawUpdateMessageExtendedMedia | tl.RawUpdateChannelPinnedTopic | tl.RawUpdateChannelPinnedTopics | tl.RawUpdateUser | tl.RawUpdateAutoSaveSettings | tl.RawUpdateStory | tl.RawUpdateReadStories | tl.RawUpdateStoryID | tl.RawUpdateStoriesStealthMode | tl.RawUpdateSentStoryReaction | tl.RawUpdateBotChatBoost | tl.RawUpdateChannelViewForumAsMessages | tl.RawUpdatePeerWallpaper | tl.RawUpdateBotMessageReaction | tl.RawUpdateBotMessageReactions | tl.RawUpdateSavedDialogPinned | tl.RawUpdatePinnedSavedDialogs | tl.RawUpdateSavedReactionTags | tl.RawUpdateSmsJob | tl.RawUpdateQuickReplies | tl.RawUpdateNewQuickReply | tl.RawUpdateDeleteQuickReply | tl.RawUpdateQuickReplyMessage | tl.RawUpdateDeleteQuickReplyMessages | tl.RawUpdateBotBusinessConnect | tl.RawUpdateBotNewBusinessMessage | tl.RawUpdateBotEditBusinessMessage | tl.RawUpdateBotDeleteBusinessMessage | tl.RawUpdateNewStoryReaction | tl.RawUpdateBroadcastRevenueTransactions | tl.RawUpdateStarsBalance | tl.RawUpdateGroupInvitePrivacyForbidden | tl.mtcute.RawDummyUpdate
41839
+ type TypeUpdate = tl.RawUpdateNewMessage | tl.RawUpdateMessageID | tl.RawUpdateDeleteMessages | tl.RawUpdateUserTyping | tl.RawUpdateChatUserTyping | tl.RawUpdateChatParticipants | tl.RawUpdateUserStatus | tl.RawUpdateUserName | tl.RawUpdateNewAuthorization | tl.RawUpdateNewEncryptedMessage | tl.RawUpdateEncryptedChatTyping | tl.RawUpdateEncryption | tl.RawUpdateEncryptedMessagesRead | tl.RawUpdateChatParticipantAdd | tl.RawUpdateChatParticipantDelete | tl.RawUpdateDcOptions | tl.RawUpdateNotifySettings | tl.RawUpdateServiceNotification | tl.RawUpdatePrivacy | tl.RawUpdateUserPhone | tl.RawUpdateReadHistoryInbox | tl.RawUpdateReadHistoryOutbox | tl.RawUpdateWebPage | tl.RawUpdateReadMessagesContents | tl.RawUpdateChannelTooLong | tl.RawUpdateChannel | tl.RawUpdateNewChannelMessage | tl.RawUpdateReadChannelInbox | tl.RawUpdateDeleteChannelMessages | tl.RawUpdateChannelMessageViews | tl.RawUpdateChatParticipantAdmin | tl.RawUpdateNewStickerSet | tl.RawUpdateStickerSetsOrder | tl.RawUpdateStickerSets | tl.RawUpdateSavedGifs | tl.RawUpdateBotInlineQuery | tl.RawUpdateBotInlineSend | tl.RawUpdateEditChannelMessage | tl.RawUpdateBotCallbackQuery | tl.RawUpdateEditMessage | tl.RawUpdateInlineBotCallbackQuery | tl.RawUpdateReadChannelOutbox | tl.RawUpdateDraftMessage | tl.RawUpdateReadFeaturedStickers | tl.RawUpdateRecentStickers | tl.RawUpdateConfig | tl.RawUpdatePtsChanged | tl.RawUpdateChannelWebPage | tl.RawUpdateDialogPinned | tl.RawUpdatePinnedDialogs | tl.RawUpdateBotWebhookJSON | tl.RawUpdateBotWebhookJSONQuery | tl.RawUpdateBotShippingQuery | tl.RawUpdateBotPrecheckoutQuery | tl.RawUpdatePhoneCall | tl.RawUpdateLangPackTooLong | tl.RawUpdateLangPack | tl.RawUpdateFavedStickers | tl.RawUpdateChannelReadMessagesContents | tl.RawUpdateContactsReset | tl.RawUpdateChannelAvailableMessages | tl.RawUpdateDialogUnreadMark | tl.RawUpdateMessagePoll | tl.RawUpdateChatDefaultBannedRights | tl.RawUpdateFolderPeers | tl.RawUpdatePeerSettings | tl.RawUpdatePeerLocated | tl.RawUpdateNewScheduledMessage | tl.RawUpdateDeleteScheduledMessages | tl.RawUpdateTheme | tl.RawUpdateGeoLiveViewed | tl.RawUpdateLoginToken | tl.RawUpdateMessagePollVote | tl.RawUpdateDialogFilter | tl.RawUpdateDialogFilterOrder | tl.RawUpdateDialogFilters | tl.RawUpdatePhoneCallSignalingData | tl.RawUpdateChannelMessageForwards | tl.RawUpdateReadChannelDiscussionInbox | tl.RawUpdateReadChannelDiscussionOutbox | tl.RawUpdatePeerBlocked | tl.RawUpdateChannelUserTyping | tl.RawUpdatePinnedMessages | tl.RawUpdatePinnedChannelMessages | tl.RawUpdateChat | tl.RawUpdateGroupCallParticipants | tl.RawUpdateGroupCall | tl.RawUpdatePeerHistoryTTL | tl.RawUpdateChatParticipant | tl.RawUpdateChannelParticipant | tl.RawUpdateBotStopped | tl.RawUpdateGroupCallConnection | tl.RawUpdateBotCommands | tl.RawUpdatePendingJoinRequests | tl.RawUpdateBotChatInviteRequester | tl.RawUpdateMessageReactions | tl.RawUpdateAttachMenuBots | tl.RawUpdateWebViewResultSent | tl.RawUpdateBotMenuButton | tl.RawUpdateSavedRingtones | tl.RawUpdateTranscribedAudio | tl.RawUpdateReadFeaturedEmojiStickers | tl.RawUpdateUserEmojiStatus | tl.RawUpdateRecentEmojiStatuses | tl.RawUpdateRecentReactions | tl.RawUpdateMoveStickerSetToTop | tl.RawUpdateMessageExtendedMedia | tl.RawUpdateChannelPinnedTopic | tl.RawUpdateChannelPinnedTopics | tl.RawUpdateUser | tl.RawUpdateAutoSaveSettings | tl.RawUpdateStory | tl.RawUpdateReadStories | tl.RawUpdateStoryID | tl.RawUpdateStoriesStealthMode | tl.RawUpdateSentStoryReaction | tl.RawUpdateBotChatBoost | tl.RawUpdateChannelViewForumAsMessages | tl.RawUpdatePeerWallpaper | tl.RawUpdateBotMessageReaction | tl.RawUpdateBotMessageReactions | tl.RawUpdateSavedDialogPinned | tl.RawUpdatePinnedSavedDialogs | tl.RawUpdateSavedReactionTags | tl.RawUpdateSmsJob | tl.RawUpdateQuickReplies | tl.RawUpdateNewQuickReply | tl.RawUpdateDeleteQuickReply | tl.RawUpdateQuickReplyMessage | tl.RawUpdateDeleteQuickReplyMessages | tl.RawUpdateBotBusinessConnect | tl.RawUpdateBotNewBusinessMessage | tl.RawUpdateBotEditBusinessMessage | tl.RawUpdateBotDeleteBusinessMessage | tl.RawUpdateNewStoryReaction | tl.RawUpdateBroadcastRevenueTransactions | tl.RawUpdateStarsBalance | tl.RawUpdateBusinessBotCallbackQuery | tl.RawUpdateStarsRevenueStatus | tl.RawUpdateGroupInvitePrivacyForbidden | tl.mtcute.RawDummyUpdate
41716
41840
  function isAnyUpdate(o: object): o is TypeUpdate
41717
41841
  /**
41718
41842
  * Peer
@@ -42396,6 +42520,8 @@ export class RpcError extends Error {
42396
42520
  | tl.payments.RawGetStarsTransactionsRequest
42397
42521
  | tl.payments.RawSendStarsFormRequest
42398
42522
  | tl.payments.RawRefundStarsChargeRequest
42523
+ | tl.payments.RawGetStarsRevenueStatsRequest
42524
+ | tl.payments.RawGetStarsRevenueWithdrawalUrlRequest
42399
42525
  | tl.stickers.RawCreateStickerSetRequest
42400
42526
  | tl.stickers.RawRemoveStickerFromSetRequest
42401
42527
  | tl.stickers.RawChangeStickerPositionRequest
@@ -42490,6 +42616,7 @@ export class RpcError extends Error {
42490
42616
  | tl.stories.RawTogglePeerStoriesHiddenRequest
42491
42617
  | tl.stories.RawGetStoryReactionsListRequest
42492
42618
  | tl.stories.RawTogglePinnedToTopRequest
42619
+ | tl.stories.RawSearchPostsRequest
42493
42620
  | tl.premium.RawGetBoostsListRequest
42494
42621
  | tl.premium.RawGetMyBoostsRequest
42495
42622
  | tl.premium.RawApplyBoostRequest
@@ -42503,6 +42630,7 @@ export class RpcError extends Error {
42503
42630
  | tl.smsjobs.RawGetSmsJobRequest
42504
42631
  | tl.smsjobs.RawFinishJobRequest
42505
42632
  | tl.fragment.RawGetCollectibleInfoRequest
42633
+ | tl.mtcute.RawCustomMethodRequest
42506
42634
 
42507
42635
  type TlObject =
42508
42636
  | tl.RawError
@@ -42870,6 +42998,8 @@ export class RpcError extends Error {
42870
42998
  | tl.RawUpdateNewStoryReaction
42871
42999
  | tl.RawUpdateBroadcastRevenueTransactions
42872
43000
  | tl.RawUpdateStarsBalance
43001
+ | tl.RawUpdateBusinessBotCallbackQuery
43002
+ | tl.RawUpdateStarsRevenueStatus
42873
43003
  | tl.updates.RawState
42874
43004
  | tl.updates.RawDifferenceEmpty
42875
43005
  | tl.updates.RawDifference
@@ -43708,6 +43838,7 @@ export class RpcError extends Error {
43708
43838
  | tl.RawMediaAreaSuggestedReaction
43709
43839
  | tl.RawMediaAreaChannelPost
43710
43840
  | tl.RawInputMediaAreaChannelPost
43841
+ | tl.RawMediaAreaUrl
43711
43842
  | tl.RawPeerStories
43712
43843
  | tl.stories.RawPeerStories
43713
43844
  | tl.messages.RawWebPage
@@ -43820,6 +43951,12 @@ export class RpcError extends Error {
43820
43951
  | tl.RawStarsTopupOption
43821
43952
  | tl.RawStarsTransaction
43822
43953
  | tl.payments.RawStarsStatus
43954
+ | tl.RawFoundStory
43955
+ | tl.stories.RawFoundStories
43956
+ | tl.RawGeoPointAddress
43957
+ | tl.RawStarsRevenueStatus
43958
+ | tl.payments.RawStarsRevenueStats
43959
+ | tl.payments.RawStarsRevenueWithdrawalUrl
43823
43960
  | tl.RawUpdateGroupInvitePrivacyForbidden
43824
43961
  | tl.RawSponsoredWebPage
43825
43962
  | tl.mtcute.RawDummyUpdate
@@ -44361,6 +44498,8 @@ export class RpcError extends Error {
44361
44498
  | tl.payments.RawGetStarsTransactionsRequest
44362
44499
  | tl.payments.RawSendStarsFormRequest
44363
44500
  | tl.payments.RawRefundStarsChargeRequest
44501
+ | tl.payments.RawGetStarsRevenueStatsRequest
44502
+ | tl.payments.RawGetStarsRevenueWithdrawalUrlRequest
44364
44503
  | tl.stickers.RawCreateStickerSetRequest
44365
44504
  | tl.stickers.RawRemoveStickerFromSetRequest
44366
44505
  | tl.stickers.RawChangeStickerPositionRequest
@@ -44455,6 +44594,7 @@ export class RpcError extends Error {
44455
44594
  | tl.stories.RawTogglePeerStoriesHiddenRequest
44456
44595
  | tl.stories.RawGetStoryReactionsListRequest
44457
44596
  | tl.stories.RawTogglePinnedToTopRequest
44597
+ | tl.stories.RawSearchPostsRequest
44458
44598
  | tl.premium.RawGetBoostsListRequest
44459
44599
  | tl.premium.RawGetMyBoostsRequest
44460
44600
  | tl.premium.RawApplyBoostRequest
@@ -44468,6 +44608,7 @@ export class RpcError extends Error {
44468
44608
  | tl.smsjobs.RawGetSmsJobRequest
44469
44609
  | tl.smsjobs.RawFinishJobRequest
44470
44610
  | tl.fragment.RawGetCollectibleInfoRequest
44611
+ | tl.mtcute.RawCustomMethodRequest
44471
44612
  }
44472
44613
 
44473
44614