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;
Name | Type | Description |
---|---|---|
slug | string | The slug. |
Code | Type | Description |
---|---|---|
400 | STARGIFT_SLUG_INVALID |
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.
Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.