inputInvoiceStarGiftPrepaidUpgrade #

Separately prepay for the upgrade of a gift ».

Layer 223

inputInvoiceStarGiftPrepaidUpgrade#9a0b48b8 peer:InputPeer hash:string = InputInvoice;

Parameters #

NameTypeDescription
peerInputPeerThe peer that owns the gift.
hashstringThe upgrade hash from messageActionStarGift.prepaid_upgrade_hash or savedStarGift.prepaid_upgrade_hash.

Type #

InputInvoice

messageActionStarGift #

You received a gift, see here » for more info.

savedStarGift #

Represents a gift owned by a peer.

Telegram Gifts #

Users can send Gifts to their friends. The recipients of gifts can display them on their profile pages or turn them into Telegram Stars ». Telegram Stars can be used for many things, including supporting creators and buying services in mini apps.