payments.GetResaleStarGifts¶
- class pyrogram.raw.functions.payments.GetResaleStarGifts[source]¶
Get collectible gifts of a specific type currently on resale, see here » for more info.
Usable by Users Bots- Details:
Layer:
229ID:
7A5FA236
- Parameters:
gift_id (
int64-bit) – Mandatory identifier of the base gift from which the collectible gift was upgraded.offset (
str) – Offset for pagination. If not equal to an empty string, payments.resaleStarGifts.counterswill not be set to avoid returning the counters every time a new page is fetched.limit (
int32-bit) – Maximum number of results to return, see paginationsort_by_price (
bool, optional) – Sort gifts by price (ascending).sort_by_num (
bool, optional) – Sort gifts by number (ascending).for_craft (
bool, optional) – Only return collectible gifts that can be bought and used for crafting »; render each returned gift’s starGiftUnique.craft_chance_permilleas its crafting success contribution.stars_only (
bool, optional) – Only return gifts that can be bought using Stars.attributes_hash (
int64-bit, optional) – If a previous call to the method was made and payments.resaleStarGifts.attributes_hashwas set, pass it here to avoid returning any results if they haven’t changed. Otherwise, set this flag and pass0to return payments.resaleStarGifts.attributes_hashand payments.resaleStarGifts.attributes, these two fields will not be set if this flag is not set.attributes (List of
StarGiftAttributeId, optional) – Optionally filter gifts with the specified attributes. If no attributes of a specific type are specified, all attributes of that type are allowed.
- Returns: