payments.UpgradeStarGift#

class pyrogram.raw.functions.payments.UpgradeStarGift#

Upgrade a gift to a collectible gift: can only be used if the upgrade was already paid by the gift sender; see here for more info on the full flow (including the different flow to use in case the upgrade was not paid by the gift sender).

Details:
  • Layer: 214

  • ID: AED6E4F5

Parameters:
  • stargift (InputSavedStarGift) – The gift to upgrade

  • keep_original_details (bool, optional) – Set this flag to keep the original gift text, sender and receiver in the upgraded gift as a starGiftAttributeOriginalDetails attribute.

Returns:

Updates