payments.checkGiftCode

Obtain information about a Telegram Premium giftcode »

 Method schema is available as of layer 166. Switch »

Parameters

Name Type Description
slug string The giftcode to check

Result

payments.CheckedGiftCode

Possible errors

Code Type Description
400 GIFT_SLUG_INVALID The specified slug is invalid.

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.