InputInvoiceStarGiftUpgrade#

class pyrogram.raw.types.InputInvoiceStarGiftUpgrade#

Used to pay to upgrade a Gift to a collectible gift, see the collectible gifts documentation for more info on the full flow.

Constructor of InputInvoice.

Details:
  • Layer: 214

  • ID: 4D818D5D

Parameters:
  • stargift (InputSavedStarGift) – The identifier of the received 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.