payments.getStarGifts #
Get a list of available gifts, see here » for more info.¶
Layer 223
payments.starGiftsNotModified#a388a368 = payments.StarGifts;
payments.starGifts#2ed82995 hash:int gifts:Vector<StarGift> chats:Vector<Chat> users:Vector<User> = payments.StarGifts;
---functions---
payments.getStarGifts#c4563590 hash:int = payments.StarGifts; Parameters #
| Name | Type | Description |
|---|---|---|
| hash | int | Hash used for caching, for more info click here. The hash may be generated locally by using the ids of the returned or stored sticker starGifts. |
Result #
Both users and bots can use this method #
Related pages #
Pagination in the API #
How to fetch results from large lists of objects.¶
starGift #
Represents a star gift, see here » for more info.¶
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.¶