Link Search Menu Expand Document

Constructor: inputInvoiceStarGiftResale

Back to constructors index

Used to buy a collectible gift currently up on resale, see here for more info on the full flow.

Attributes:

NameTypeRequiredDescription
tonBoolOptionalBuy the gift using TON.
show_nameBoolOptional
slugstringYesSlug of the gift to buy.
to_idUsername, chat ID, Update, Message or InputPeerOptionalThe receiver of the gift.
messageTextWithEntitiesOptional

Type: InputInvoice

Example:

$inputInvoiceStarGiftResale = ['_' => 'inputInvoiceStarGiftResale', 'ton' => Bool, 'show_name' => Bool, 'slug' => 'string', 'to_id' => InputPeer, 'message' => TextWithEntities];