Link Search Menu Expand Document

Constructor: inputInvoiceStarGiftPrepaidUpgrade

Back to constructors index

Separately prepay for the upgrade of a gift ».

Attributes:

NameTypeRequiredDescription
peerUsername, chat ID, Update, Message or InputPeerOptionalThe peer that owns the gift.
hashstringYesThe upgrade hash from messageActionStarGift.prepaid_upgrade_hash or savedStarGift.prepaid_upgrade_hash.

Type: InputInvoice

Example:

$inputInvoiceStarGiftPrepaidUpgrade = ['_' => 'inputInvoiceStarGiftPrepaidUpgrade', 'peer' => InputPeer, 'hash' => 'string'];