payments.ConvertStarGift#

class pyrogram.raw.functions.payments.ConvertStarGift#

Convert a received gift into Telegram Stars: this will permanently destroy the gift, converting it into starGift.convert_stars Telegram Stars, added to the user’s balance. Note that starGift.convert_stars will be less than the buying price (starGift.stars) of the gift if it was originally bought using Telegram Stars bought a long time ago.

Details:
  • Layer: 220

  • ID: 74BF076B

Parameters:
stargift (InputSavedStarGift):

The gift to convert.

Returns:

bool