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
| Name | Type | Required | Description |
|---|---|---|---|
KeepOriginalDetails | bool | — | Set this flag to keep the original gift text, sender and receiver in the upgraded gift as a starGiftAttributeOriginalDetails attribute. |
Stargift | InputSavedStarGiftClass | yes | The identifier of the received gift to upgrade. |
References
- Official documentation
- Generated Go reference
- TL definition:
inputInvoiceStarGiftUpgrade#4d818d5d