Constructor: inputInvoiceStarGiftResale
Used to buy a collectible gift currently up on resale, see here for more info on the full flow.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
ton | Bool | Optional | Buy the gift using TON. |
slug | string | Yes | Slug of the gift to buy. |
to_id | Username, chat ID, Update, Message or InputPeer | Optional | The receiver of the gift. |
Type: InputInvoice
Example:
$inputInvoiceStarGiftResale = ['_' => 'inputInvoiceStarGiftResale', 'ton' => Bool, 'slug' => 'string', 'to_id' => InputPeer];