payments.getPremiumGiftCodeOptions #

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

Layer 223

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

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
boost_peerflags.0?InputPeerThe channel that will start the giveaway

Result #

Vector<PremiumGiftCodeOption>

Only users can use this method #

Giveaways and gifts #

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