Link Search Menu Expand Document

Constructor: inputInvoiceStarGiftTransfer

Back to constructors index

Used to pay to transfer a collectible gift to another peer, see the gifts » documentation for more info.

Attributes:

NameTypeRequiredDescription
stargiftInputSavedStarGiftYesThe identifier of the received gift
to_idUsername, chat ID, Update, Message or InputPeerOptionalThe destination peer

Type: InputInvoice

Example:

$inputInvoiceStarGiftTransfer = ['_' => 'inputInvoiceStarGiftTransfer', 'stargift' => InputSavedStarGift, 'to_id' => InputPeer];