payments.getCraftStarGifts

Obtain owned collectible gifts » of a specific type that can be used for crafting ».

 메서드 스키마는 레이어 222부터 사용할 수 있습니다. 전환 »

Parameters

Name Type Description
gift_id long Identifier of the base gift type, equal to starGiftUnique.gift_id of the first selected gift.
offset string Offset for pagination.
limit int Maximum number of results to return, see pagination

Result

payments.SavedStarGifts

Only users can use this method

Possible errors

Code Type Description
400 STARGIFT_INVALID The passed gift is invalid.

Related pages

starGiftUnique

Represents a collectible star gift, see here » for more info.

The sticker that represents the gift is contained in a starGiftAttributeModel object in attributes.

Pagination in the API

How to fetch results from large lists of objects.

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.