payments.getUserStarGifts

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;

Parameters

This constructor does not require any parameters.

Result

 

Possible errors

Code Type Description
400 USER_ID_INVALID The provided user ID is invalid.

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.