inputInvoiceStars

Used to top up the Telegram Stars balance of the current account or someone else's account, or to start a Telegram Star giveaway ».

inputInvoiceStars#1da33ad8 option:StarsTopupOption = InputInvoice;

Parameters

Name Type Description
purpose InputStorePaymentPurpose An inputStorePaymentStarsGiveaway, inputStorePaymentStarsTopup or inputStorePaymentStarsGift.

Type

InputInvoice

Related pages

inputStorePaymentStarsGiveaway

Used to pay for a star giveaway, see here » for more info.

inputStorePaymentStarsTopup

Used to top up the Telegram Stars balance of the current account.

inputStorePaymentStarsGift

Used to gift Telegram Stars to a friend.

Telegram Stars

Telegram Stars are virtual items that allow users to purchase digital goods and services from bots and mini apps inside the Telegram ecosystem, send gifts to content creators on the Telegram platform, and more.

Giveaways

Telegram channel and supergroup administrators may launch giveaways to randomly distribute Telegram Premium subscriptions and other gifts among their followers, in exchange for boosts.