Constructor: inputInvoiceStarGiftUpgrade
Used to pay to upgrade a Gift to a collectible gift, see the collectible gifts » documentation for more info on the full flow.
Attributes:
| Name | Type | Required | Description |
|---|---|---|---|
| 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. |
| stargift | InputSavedStarGift | Yes | The identifier of the received gift to upgrade. |
Type: InputInvoice
Example:
$inputInvoiceStarGiftUpgrade = ['_' => 'inputInvoiceStarGiftUpgrade', 'keep_original_details' => Bool, 'stargift' => InputSavedStarGift];