Get the gifts » pinned on a specific user's profile.
May also be used to fetch all gifts received by the current user.
payments.userStarGifts#6b65b517 flags:# count:int gifts:Vector<UserStarGift> next_offset:flags.0?string users:Vector<User> = payments.UserStarGifts;
---functions---
payments.getUserStarGifts#5e72c7e1 user_id:InputUser offset:string limit:int = payments.UserStarGifts;
Name | Type | Description |
---|---|---|
user_id | InputUser | Identifier of the user (can be the current user to fetch all gifts received by the current user). |
offset | string | Offset for pagination, taken from payments.userStarGifts (initially empty). |
limit | int | Maximum number of results to return, see pagination |
How to fetch results from large lists of objects.
Gifts displayed on a user's profile.
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.