get_premium_gift_code_options()

async Client.get_premium_gift_code_options()

Get Telegram Premium gift code options and pricing.

Usable by Users Bots
Parameters:

boost_chat_id (int | str, optional) – Channel to boost with the gift code purchase.

Returns:

List of PremiumGiftCodeOption – Available options.

Example

options = await app.get_premium_gift_code_options(channel_id)