Constructor: inputInvoiceStarGiftTransfer
Used to pay to transfer a collectible gift to another peer, see the gifts » documentation for more info.
Attributes:
| Name | Type | Required | Description |
|---|---|---|---|
| stargift | InputSavedStarGift | Yes | The identifier of the received gift |
| to_id | Username, chat ID, Update, Message or InputPeer | Optional | The destination peer |
Type: InputInvoice
Example:
$inputInvoiceStarGiftTransfer = ['_' => 'inputInvoiceStarGiftTransfer', 'stargift' => InputSavedStarGift, 'to_id' => InputPeer];