payments.getUniqueStarGift

Obtain info about a collectible gift » using a slug obtained from a collectible gift link ».

payments.uniqueStarGift#caa2f60b gift:StarGift users:Vector<User> = payments.UniqueStarGift;
---functions---
payments.getUniqueStarGift#a1974d72 slug:string = payments.UniqueStarGift;

Parameters

Name Type Description
slug string The slug.

Result

payments.UniqueStarGift

Possible errors

Code Type Description
400 STARGIFT_SLUG_INVALID  

Only users can use this method

Related pages

Telegram Gifts

Users can send Gifts to their friends. The recipients of gifts can display them on their profile pages or turn them into Telegram Stars ». Telegram Stars can be used for many things, including supporting creators and buying services in mini apps.

Deep links

Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.