payments.getSavedStarGift

Fetch info about specific gifts owned by a peer we control.

Note that unlike what the name suggests, the method can be used to fetch both "saved" and "unsaved" gifts (aka gifts both pinned and not pinned to the profile).

 Method schema is available as of layer 198. Switch »

Parameters

Name Type Description
stargift Vector<InputSavedStarGift> List of gifts to fetch info about.

Result

payments.SavedStarGifts

Only users can use this method

Possible errors

Code Type Description
400 SAVED_ID_EMPTY The passed inputSavedStarGiftChat.saved_id is empty.
400 STARGIFT_SLUG_INVALID The specified gift slug 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.