@mtcute/tl 196.0.0 → 197.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
@@ -1369,7 +1369,7 @@ var m={
1369
1369
  2496562474:function(r){var flags=r.uint();return{_:'starsGiveawayOption',extended:!!(flags&1),default:!!(flags&2),stars:r.long(),yearlyBoosts:r.int(),storeProduct:flags&4?r.string():void 0,currency:r.string(),amount:r.long(),winners:r.vector(r.object),}},
1370
1370
  1411605001:function(r){var flags=r.uint();return{_:'starsGiveawayWinnersOption',default:!!(flags&1),users:r.int(),perUserStars:r.long(),}},
1371
1371
  46953416:function(r){var flags=r.uint();return{_:'starGift',limited:!!(flags&1),soldOut:!!(flags&2),birthday:!!(flags&4),id:r.long(),sticker:r.object(),stars:r.long(),availabilityRemains:flags&1?r.int():void 0,availabilityTotal:flags&1?r.int():void 0,convertStars:r.long(),firstSaleDate:flags&2?r.int():void 0,lastSaleDate:flags&2?r.int():void 0,upgradeStars:flags&8?r.long():void 0,}},
1372
- 1779697613:function(r){return{_:'starGiftUnique',id:r.long(),title:r.string(),num:r.int(),ownerId:r.int53(),attributes:r.vector(r.object),availabilityIssued:r.int(),availabilityTotal:r.int(),}},
1372
+ 880997154:function(r){var flags=r.uint();return{_:'starGiftUnique',id:r.long(),title:r.string(),slug:r.string(),num:r.int(),ownerId:flags&1?r.int53():void 0,ownerName:flags&2?r.string():void 0,attributes:r.vector(r.object),availabilityIssued:r.int(),availabilityTotal:r.int(),}},
1373
1373
  2743640936:function(r){return{_:'payments.starGiftsNotModified'}},
1374
1374
  2417396202:function(r){return{_:'payments.starGifts',hash:r.int(),gifts:r.vector(r.object),}},
1375
1375
  844641761:function(r){var flags=r.uint();return{_:'userStarGift',nameHidden:!!(flags&1),unsaved:!!(flags&32),refunded:!!(flags&512),canUpgrade:!!(flags&1024),fromId:flags&2?r.int53():void 0,date:r.int(),gift:r.object(),message:flags&4?r.object():void 0,msgId:flags&8?r.int():void 0,convertStars:flags&16?r.long():void 0,upgradeStars:flags&64?r.long():void 0,canExportAt:flags&128?r.int():void 0,transferStars:flags&256?r.long():void 0,}},
@@ -1395,6 +1395,12 @@ var m={
1395
1395
  2485589858:function(r){return{_:'starGiftAttributeBackdrop',name:r.string(),centerColor:r.int(),edgeColor:r.int(),patternColor:r.int(),textColor:r.int(),rarityPermille:r.int(),}},
1396
1396
  3224129355:function(r){var flags=r.uint();return{_:'starGiftAttributeOriginalDetails',senderId:flags&1?r.int53():void 0,recipientId:r.int53(),date:r.int(),message:flags&2?r.object():void 0,}},
1397
1397
  377215243:function(r){return{_:'payments.starGiftUpgradePreview',sampleAttributes:r.vector(r.object),}},
1398
+ 1658259128:function(r){return{_:'users.users',users:r.vector(r.object),}},
1399
+ 828000628:function(r){return{_:'users.usersSlice',count:r.int(),users:r.vector(r.object),}},
1400
+ 3480186296:function(r){return{_:'webPageAttributeUniqueStarGift',gift:r.object(),}},
1401
+ 1468491885:function(r){return{_:'mediaAreaStarGift',coordinates:r.object(),slug:r.string(),}},
1402
+ 3399677451:function(r){return{_:'payments.uniqueStarGift',gift:r.object(),users:r.vector(r.object),}},
1403
+ 3040774945:function(r){return{_:'messages.webPagePreview',media:r.object(),users:r.vector(r.object),}},
1398
1404
  _results:{
1399
1405
  'contacts.getContactIDs':function(r){return r.vector(r.int)},
1400
1406
  'messages.receivedQueue':function(r){return r.vector(r.long)},
package/binary/writer.js CHANGED
@@ -1370,7 +1370,7 @@ var m={
1370
1370
  'starsGiveawayOption':function(w,v){w.uint(2496562474);var flags=0;if(v.extended===true)flags|=1;if(v.default===true)flags|=2;var _storeProduct=v.storeProduct!==undefined;if(_storeProduct)flags|=4;w.uint(flags);w.long(h(v,'stars'));w.int(h(v,'yearlyBoosts'));if(_storeProduct)w.string(v.storeProduct);w.string(h(v,'currency'));w.long(h(v,'amount'));w.vector(w.object,h(v,'winners'));},
1371
1371
  'starsGiveawayWinnersOption':function(w,v){w.uint(1411605001);var flags=0;if(v.default===true)flags|=1;w.uint(flags);w.int(h(v,'users'));w.long(h(v,'perUserStars'));},
1372
1372
  'starGift':function(w,v){w.uint(46953416);var flags=0;var _availabilityRemains=v.availabilityRemains!==undefined;var _availabilityTotal=v.availabilityTotal!==undefined;var _flags_0=v.limited===true||_availabilityRemains||_availabilityTotal;if(_flags_0)flags|=1;var _firstSaleDate=v.firstSaleDate!==undefined;var _lastSaleDate=v.lastSaleDate!==undefined;var _flags_1=v.soldOut===true||_firstSaleDate||_lastSaleDate;if(_flags_1)flags|=2;if(v.birthday===true)flags|=4;var _upgradeStars=v.upgradeStars!==undefined;if(_upgradeStars)flags|=8;w.uint(flags);w.long(h(v,'id'));w.object(h(v,'sticker'));w.long(h(v,'stars'));if(_flags_0)w.int(v.availabilityRemains);if(_flags_0)w.int(v.availabilityTotal);w.long(h(v,'convertStars'));if(_flags_1)w.int(v.firstSaleDate);if(_flags_1)w.int(v.lastSaleDate);if(_upgradeStars)w.long(v.upgradeStars);},
1373
- 'starGiftUnique':function(w,v){w.uint(1779697613);w.long(h(v,'id'));w.string(h(v,'title'));w.int(h(v,'num'));w.int53(h(v,'ownerId'));w.vector(w.object,h(v,'attributes'));w.int(h(v,'availabilityIssued'));w.int(h(v,'availabilityTotal'));},
1373
+ 'starGiftUnique':function(w,v){w.uint(880997154);var flags=0;var _ownerId=v.ownerId!==undefined;if(_ownerId)flags|=1;var _ownerName=v.ownerName!==undefined;if(_ownerName)flags|=2;w.uint(flags);w.long(h(v,'id'));w.string(h(v,'title'));w.string(h(v,'slug'));w.int(h(v,'num'));if(_ownerId)w.int53(v.ownerId);if(_ownerName)w.string(v.ownerName);w.vector(w.object,h(v,'attributes'));w.int(h(v,'availabilityIssued'));w.int(h(v,'availabilityTotal'));},
1374
1374
  'payments.starGiftsNotModified':function(w){w.uint(2743640936);},
1375
1375
  'payments.starGifts':function(w,v){w.uint(2417396202);w.int(h(v,'hash'));w.vector(w.object,h(v,'gifts'));},
1376
1376
  'userStarGift':function(w,v){w.uint(844641761);var flags=0;if(v.nameHidden===true)flags|=1;var _fromId=v.fromId!==undefined;if(_fromId)flags|=2;var _message=v.message!==undefined;if(_message)flags|=4;var _msgId=v.msgId!==undefined;if(_msgId)flags|=8;var _convertStars=v.convertStars!==undefined;if(_convertStars)flags|=16;if(v.unsaved===true)flags|=32;var _upgradeStars=v.upgradeStars!==undefined;if(_upgradeStars)flags|=64;var _canExportAt=v.canExportAt!==undefined;if(_canExportAt)flags|=128;var _transferStars=v.transferStars!==undefined;if(_transferStars)flags|=256;if(v.refunded===true)flags|=512;if(v.canUpgrade===true)flags|=1024;w.uint(flags);if(_fromId)w.int53(v.fromId);w.int(h(v,'date'));w.object(h(v,'gift'));if(_message)w.object(v.message);if(_msgId)w.int(v.msgId);if(_convertStars)w.long(v.convertStars);if(_upgradeStars)w.long(v.upgradeStars);if(_canExportAt)w.int(v.canExportAt);if(_transferStars)w.long(v.transferStars);},
@@ -1396,6 +1396,12 @@ var m={
1396
1396
  'starGiftAttributeBackdrop':function(w,v){w.uint(2485589858);w.string(h(v,'name'));w.int(h(v,'centerColor'));w.int(h(v,'edgeColor'));w.int(h(v,'patternColor'));w.int(h(v,'textColor'));w.int(h(v,'rarityPermille'));},
1397
1397
  'starGiftAttributeOriginalDetails':function(w,v){w.uint(3224129355);var flags=0;var _senderId=v.senderId!==undefined;if(_senderId)flags|=1;var _message=v.message!==undefined;if(_message)flags|=2;w.uint(flags);if(_senderId)w.int53(v.senderId);w.int53(h(v,'recipientId'));w.int(h(v,'date'));if(_message)w.object(v.message);},
1398
1398
  'payments.starGiftUpgradePreview':function(w,v){w.uint(377215243);w.vector(w.object,h(v,'sampleAttributes'));},
1399
+ 'users.users':function(w,v){w.uint(1658259128);w.vector(w.object,h(v,'users'));},
1400
+ 'users.usersSlice':function(w,v){w.uint(828000628);w.int(h(v,'count'));w.vector(w.object,h(v,'users'));},
1401
+ 'webPageAttributeUniqueStarGift':function(w,v){w.uint(3480186296);w.object(h(v,'gift'));},
1402
+ 'mediaAreaStarGift':function(w,v){w.uint(1468491885);w.object(h(v,'coordinates'));w.string(h(v,'slug'));},
1403
+ 'payments.uniqueStarGift':function(w,v){w.uint(3399677451);w.object(h(v,'gift'));w.vector(w.object,h(v,'users'));},
1404
+ 'messages.webPagePreview':function(w,v){w.uint(3040774945);w.object(h(v,'media'));w.vector(w.object,h(v,'users'));},
1399
1405
  'test.useConfigSimple':function(w){w.uint(4189565501);},
1400
1406
  'test.parseInputAppEvent':function(w){w.uint(3138226161);},
1401
1407
  'invokeWithBusinessConnectionPrefix':function(w,v){w.uint(3710427022);w.string(h(v,'connectionId'));},
@@ -1612,7 +1618,7 @@ var m={
1612
1618
  'messages.readMessageContents':function(w,v){w.uint(916930423);w.vector(w.int,h(v,'id'));},
1613
1619
  'messages.getStickers':function(w,v){w.uint(3584414625);w.string(h(v,'emoticon'));w.long(h(v,'hash'));},
1614
1620
  'messages.getAllStickers':function(w,v){w.uint(3097534888);w.long(h(v,'hash'));},
1615
- 'messages.getWebPagePreview':function(w,v){w.uint(2338894028);var flags=0;var _entities=v.entities&&v.entities.length;if(_entities)flags|=8;w.uint(flags);w.string(h(v,'message'));if(_entities)w.vector(w.object,v.entities);},
1621
+ 'messages.getWebPagePreview':function(w,v){w.uint(1460498287);var flags=0;var _entities=v.entities&&v.entities.length;if(_entities)flags|=8;w.uint(flags);w.string(h(v,'message'));if(_entities)w.vector(w.object,v.entities);},
1616
1622
  'messages.exportChatInvite':function(w,v){w.uint(2757090960);var flags=0;var _expireDate=v.expireDate!==undefined;if(_expireDate)flags|=1;var _usageLimit=v.usageLimit!==undefined;if(_usageLimit)flags|=2;if(v.legacyRevokePermanent===true)flags|=4;if(v.requestNeeded===true)flags|=8;var _title=v.title!==undefined;if(_title)flags|=16;var _subscriptionPricing=v.subscriptionPricing!==undefined;if(_subscriptionPricing)flags|=32;w.uint(flags);w.object(h(v,'peer'));if(_expireDate)w.int(v.expireDate);if(_usageLimit)w.int(v.usageLimit);if(_title)w.string(v.title);if(_subscriptionPricing)w.object(v.subscriptionPricing);},
1617
1623
  'messages.checkChatInvite':function(w,v){w.uint(1051570619);w.string(h(v,'hash'));},
1618
1624
  'messages.importChatInvite':function(w,v){w.uint(1817183516);w.string(h(v,'hash'));},
@@ -2085,10 +2091,12 @@ var m={
2085
2091
  'smsjobs.getSmsJob':function(w,v){w.uint(2005766191);w.string(h(v,'jobId'));},
2086
2092
  '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);},
2087
2093
  'fragment.getCollectibleInfo':function(w,v){w.uint(3189671354);w.object(h(v,'collectible'));},
2094
+ 'bots.getBotRecommendations':function(w,v){w.uint(2713126933);w.object(h(v,'bot'));},
2088
2095
  'channels.viewSponsoredMessage':function(w,v){w.uint(3199130516);w.object(h(v,'channel'));w.bytes(h(v,'randomId'));},
2089
2096
  'channels.getSponsoredMessages':function(w,v){w.uint(3961589695);w.object(h(v,'channel'));},
2090
2097
  'channels.clickSponsoredMessage':function(w,v){w.uint(414170259);w.object(h(v,'channel'));w.bytes(h(v,'randomId'));},
2091
2098
  'channels.reportSponsoredMessage':function(w,v){w.uint(2945447609);w.object(h(v,'channel'));w.bytes(h(v,'randomId'));w.bytes(h(v,'option'));},
2099
+ 'payments.getUniqueStarGift':function(w,v){w.uint(2711047538);w.string(h(v,'slug'));},
2092
2100
  'mtcute.customMethod':function(w,v){w.raw(h(v,'bytes'));},
2093
2101
  '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'));},
2094
2102
  '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 = 196;
5
+ const LAYER = 197;
6
6
 
7
7
  function $extendTypes(types: Record<string, string>): void
8
8
 
@@ -24550,8 +24550,10 @@ export class RpcError extends Error {
24550
24550
  _: 'starGiftUnique';
24551
24551
  id: Long;
24552
24552
  title: string;
24553
+ slug: string;
24553
24554
  num: number;
24554
- ownerId: number;
24555
+ ownerId?: number;
24556
+ ownerName?: string;
24555
24557
  attributes: tl.TypeStarGiftAttribute[];
24556
24558
  availabilityIssued: number;
24557
24559
  availabilityTotal: number;
@@ -24853,6 +24855,15 @@ export class RpcError extends Error {
24853
24855
  date: number;
24854
24856
  message?: tl.TypeTextWithEntities;
24855
24857
  }
24858
+ interface RawWebPageAttributeUniqueStarGift {
24859
+ _: 'webPageAttributeUniqueStarGift';
24860
+ gift: tl.TypeStarGift;
24861
+ }
24862
+ interface RawMediaAreaStarGift {
24863
+ _: 'mediaAreaStarGift';
24864
+ coordinates: tl.TypeMediaAreaCoordinates;
24865
+ slug: string;
24866
+ }
24856
24867
  /**
24857
24868
  * RPC method returns {@link tl.TypeError}
24858
24869
  */
@@ -26139,7 +26150,7 @@ export class RpcError extends Error {
26139
26150
  /**
26140
26151
  * Webpage attributes
26141
26152
  */
26142
- type TypeWebPageAttribute = tl.RawWebPageAttributeTheme | tl.RawWebPageAttributeStory | tl.RawWebPageAttributeStickerSet
26153
+ type TypeWebPageAttribute = tl.RawWebPageAttributeTheme | tl.RawWebPageAttributeStory | tl.RawWebPageAttributeStickerSet | tl.RawWebPageAttributeUniqueStarGift
26143
26154
  function isAnyWebPageAttribute(o: object): o is TypeWebPageAttribute
26144
26155
  /**
26145
26156
  * Credit card info URL provided by the bank
@@ -26612,7 +26623,7 @@ export class RpcError extends Error {
26612
26623
  * <a href="https://corefork.telegram.org/api/stories#media-areas">story
26613
26624
  * media area »</a>
26614
26625
  */
26615
- type TypeMediaArea = tl.RawMediaAreaVenue | tl.RawInputMediaAreaVenue | tl.RawMediaAreaGeoPoint | tl.RawMediaAreaSuggestedReaction | tl.RawMediaAreaChannelPost | tl.RawInputMediaAreaChannelPost | tl.RawMediaAreaUrl | tl.RawMediaAreaWeather
26626
+ type TypeMediaArea = tl.RawMediaAreaVenue | tl.RawInputMediaAreaVenue | tl.RawMediaAreaGeoPoint | tl.RawMediaAreaSuggestedReaction | tl.RawMediaAreaChannelPost | tl.RawInputMediaAreaChannelPost | tl.RawMediaAreaUrl | tl.RawMediaAreaWeather | tl.RawMediaAreaStarGift
26616
26627
  function isAnyMediaArea(o: object): o is TypeMediaArea
26617
26628
  /**
26618
26629
  * <a href="https://corefork.telegram.org/api/stories">Stories</a>
@@ -31558,6 +31569,11 @@ export class RpcError extends Error {
31558
31569
  */
31559
31570
  stickers: tl.TypeDocument[];
31560
31571
  }
31572
+ interface RawWebPagePreview {
31573
+ _: 'messages.webPagePreview';
31574
+ media: tl.TypeMessageMedia;
31575
+ users: tl.TypeUser[];
31576
+ }
31561
31577
  /**
31562
31578
  * Returns the list of messages by their IDs.
31563
31579
  *
@@ -32591,7 +32607,7 @@ export class RpcError extends Error {
32591
32607
  /**
32592
32608
  * Get preview of webpage
32593
32609
  *
32594
- * RPC method returns {@link tl.TypeMessageMedia}
32610
+ * RPC method returns {@link tl.messages.TypeWebPagePreview}
32595
32611
  */
32596
32612
  interface RawGetWebPagePreviewRequest {
32597
32613
  _: 'messages.getWebPagePreview';
@@ -37256,7 +37272,7 @@ export class RpcError extends Error {
37256
37272
  'messages.readMessageContents': tl.messages.TypeAffectedMessages
37257
37273
  'messages.getStickers': tl.messages.TypeStickers
37258
37274
  'messages.getAllStickers': tl.messages.TypeAllStickers
37259
- 'messages.getWebPagePreview': tl.TypeMessageMedia
37275
+ 'messages.getWebPagePreview': tl.messages.TypeWebPagePreview
37260
37276
  'messages.exportChatInvite': tl.TypeExportedChatInvite
37261
37277
  'messages.checkChatInvite': tl.TypeChatInvite
37262
37278
  'messages.importChatInvite': tl.TypeUpdates
@@ -37790,6 +37806,8 @@ export class RpcError extends Error {
37790
37806
  */
37791
37807
  type TypeFoundStickers = tl.messages.RawFoundStickersNotModified | tl.messages.RawFoundStickers
37792
37808
  function isAnyFoundStickers(o: object): o is TypeFoundStickers
37809
+ type TypeWebPagePreview = tl.messages.RawWebPagePreview
37810
+ function isAnyWebPagePreview(o: object): o is TypeWebPagePreview
37793
37811
  }
37794
37812
 
37795
37813
  namespace updates {
@@ -43751,6 +43769,11 @@ export class RpcError extends Error {
43751
43769
  _: 'payments.starGiftUpgradePreview';
43752
43770
  sampleAttributes: tl.TypeStarGiftAttribute[];
43753
43771
  }
43772
+ interface RawUniqueStarGift {
43773
+ _: 'payments.uniqueStarGift';
43774
+ gift: tl.TypeStarGift;
43775
+ users: tl.TypeUser[];
43776
+ }
43754
43777
  /**
43755
43778
  * Get a payment form
43756
43779
  *
@@ -44606,6 +44629,13 @@ export class RpcError extends Error {
44606
44629
  _: 'payments.getUserStarGift';
44607
44630
  msgId: number[];
44608
44631
  }
44632
+ /**
44633
+ * RPC method returns {@link tl.payments.TypeUniqueStarGift}
44634
+ */
44635
+ interface RawGetUniqueStarGiftRequest {
44636
+ _: 'payments.getUniqueStarGift';
44637
+ slug: string;
44638
+ }
44609
44639
  interface RpcCallReturn {
44610
44640
  'payments.getPaymentForm': tl.payments.TypePaymentForm
44611
44641
  'payments.getPaymentReceipt': tl.payments.TypePaymentReceipt
@@ -44651,6 +44681,7 @@ export class RpcError extends Error {
44651
44681
  'payments.upgradeStarGift': tl.TypeUpdates
44652
44682
  'payments.transferStarGift': tl.TypeUpdates
44653
44683
  'payments.getUserStarGift': tl.payments.TypeUserStarGifts
44684
+ 'payments.getUniqueStarGift': tl.payments.TypeUniqueStarGift
44654
44685
  }
44655
44686
  /**
44656
44687
  * Payment form
@@ -44762,6 +44793,8 @@ export class RpcError extends Error {
44762
44793
  function isAnySuggestedStarRefBots(o: object): o is TypeSuggestedStarRefBots
44763
44794
  type TypeStarGiftUpgradePreview = tl.payments.RawStarGiftUpgradePreview
44764
44795
  function isAnyStarGiftUpgradePreview(o: object): o is TypeStarGiftUpgradePreview
44796
+ type TypeUniqueStarGift = tl.payments.RawUniqueStarGift
44797
+ function isAnyUniqueStarGift(o: object): o is TypeUniqueStarGift
44765
44798
  }
44766
44799
 
44767
44800
  namespace phone {
@@ -46560,6 +46593,15 @@ export class RpcError extends Error {
46560
46593
  */
46561
46594
  users: tl.TypeUser[];
46562
46595
  }
46596
+ interface RawUsers {
46597
+ _: 'users.users';
46598
+ users: tl.TypeUser[];
46599
+ }
46600
+ interface RawUsersSlice {
46601
+ _: 'users.usersSlice';
46602
+ count: number;
46603
+ users: tl.TypeUser[];
46604
+ }
46563
46605
  /**
46564
46606
  * Returns basic user info according to their identifiers.
46565
46607
  *
@@ -46641,6 +46683,8 @@ export class RpcError extends Error {
46641
46683
  */
46642
46684
  type TypeUserFull = tl.users.RawUserFull
46643
46685
  function isAnyUserFull(o: object): o is TypeUserFull
46686
+ type TypeUsers = tl.users.RawUsers | tl.users.RawUsersSlice
46687
+ function isAnyUsers(o: object): o is TypeUsers
46644
46688
  }
46645
46689
 
46646
46690
  namespace chatlists {
@@ -47698,6 +47742,13 @@ export class RpcError extends Error {
47698
47742
  peer: tl.TypeInputPeer;
47699
47743
  customDescription?: string;
47700
47744
  }
47745
+ /**
47746
+ * RPC method returns {@link tl.users.TypeUsers}
47747
+ */
47748
+ interface RawGetBotRecommendationsRequest {
47749
+ _: 'bots.getBotRecommendations';
47750
+ bot: tl.TypeInputUser;
47751
+ }
47701
47752
  interface RpcCallReturn {
47702
47753
  'bots.sendCustomRequest': tl.TypeDataJSON
47703
47754
  'bots.answerWebhookJSONQuery': boolean
@@ -47728,6 +47779,7 @@ export class RpcError extends Error {
47728
47779
  'bots.getAdminedBots': tl.TypeUser[]
47729
47780
  'bots.updateStarRefProgram': tl.TypeStarRefProgram
47730
47781
  'bots.setCustomVerification': boolean
47782
+ 'bots.getBotRecommendations': tl.users.TypeUsers
47731
47783
  }
47732
47784
  /**
47733
47785
  * Localized name, about text and description of a bot.
@@ -50057,10 +50109,12 @@ export class RpcError extends Error {
50057
50109
  | tl.smsjobs.RawGetSmsJobRequest
50058
50110
  | tl.smsjobs.RawFinishJobRequest
50059
50111
  | tl.fragment.RawGetCollectibleInfoRequest
50112
+ | tl.bots.RawGetBotRecommendationsRequest
50060
50113
  | tl.channels.RawViewSponsoredMessageRequest
50061
50114
  | tl.channels.RawGetSponsoredMessagesRequest
50062
50115
  | tl.channels.RawClickSponsoredMessageRequest
50063
50116
  | tl.channels.RawReportSponsoredMessageRequest
50117
+ | tl.payments.RawGetUniqueStarGiftRequest
50064
50118
  | tl.mtcute.RawCustomMethodRequest
50065
50119
 
50066
50120
  type TlObject =
@@ -51457,6 +51511,12 @@ export class RpcError extends Error {
51457
51511
  | tl.RawStarGiftAttributeBackdrop
51458
51512
  | tl.RawStarGiftAttributeOriginalDetails
51459
51513
  | tl.payments.RawStarGiftUpgradePreview
51514
+ | tl.users.RawUsers
51515
+ | tl.users.RawUsersSlice
51516
+ | tl.RawWebPageAttributeUniqueStarGift
51517
+ | tl.RawMediaAreaStarGift
51518
+ | tl.payments.RawUniqueStarGift
51519
+ | tl.messages.RawWebPagePreview
51460
51520
  | tl.mtcute.RawDummyUpdate
51461
51521
  | tl.mtcute.RawDummyInputPeerMinUser
51462
51522
  | tl.mtcute.RawDummyInputPeerMinChannel
@@ -52149,10 +52209,12 @@ export class RpcError extends Error {
52149
52209
  | tl.smsjobs.RawGetSmsJobRequest
52150
52210
  | tl.smsjobs.RawFinishJobRequest
52151
52211
  | tl.fragment.RawGetCollectibleInfoRequest
52212
+ | tl.bots.RawGetBotRecommendationsRequest
52152
52213
  | tl.channels.RawViewSponsoredMessageRequest
52153
52214
  | tl.channels.RawGetSponsoredMessagesRequest
52154
52215
  | tl.channels.RawClickSponsoredMessageRequest
52155
52216
  | tl.channels.RawReportSponsoredMessageRequest
52217
+ | tl.payments.RawGetUniqueStarGiftRequest
52156
52218
  | tl.mtcute.RawCustomMethodRequest
52157
52219
  }
52158
52220