payments.getPremiumGiftCodeOptions

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

 Method schema is available as of layer 166. Switch »

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 and supergroup administrators may launch giveaways to randomly distribute Telegram Premium subscriptions and other gifts among their followers, in exchange for boosts.