payments.UpgradeStarGift#

class pyrogram.raw.functions.payments.UpgradeStarGift[source]#

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).

Usable by Users Bots
Details:
  • Layer: 224

  • 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