payments.getPremiumGiftCodeOptions

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

---functions---
payments.getPremiumGiftCodeOptions#2757ba54 flags:# boost_peer:flags.0?InputPeer = Vector<PremiumGiftCodeOption>;

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.