Skip to main content

inputInvoiceStarGiftUpgrade

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

type tg.InputInvoiceStarGiftUpgrade struct { /* ... */ }

Implements InputInvoice.

Fields

NameTypeRequiredDescription
KeepOriginalDetailsboolSet this flag to keep the original gift text, sender and receiver in the upgraded gift as a starGiftAttributeOriginalDetails attribute.
StargiftInputSavedStarGiftClassyesThe identifier of the received gift to upgrade.

References