payments.getPremiumGiftCodeOptions

Obtain a list of Telegram Premium giveaway/gift code » options.

{schema}

Parameters

Name Type Description
flags # Flags, see TL conditional fields
boost_peer flags.0?InputPeer The channel that will start the giveaway

Result

Vector<PremiumGiftCodeOption>

Related pages

Giveaways

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