searchGiftsForResale¶
Returns upgraded gifts that can be bought from other owners using sendResoldGift
searchGiftsForResale(
gift_id: int64,
order: GiftForResaleOrder,
for_crafting: Bool,
for_stars: Bool,
attributes: list of UpgradedGiftAttributeId,
offset: string,
limit: int32
) → GiftsForResale
gift_id¶
int64
Identifier of the regular gift that was upgraded to a unique gift
order¶
Order in which the results will be sorted
for_crafting¶
Bool
Pass true to get only gifts suitable for crafting
for_stars¶
Bool
Pass true to get only gifts that can be bought using Telegram Stars
attributes¶
list of UpgradedGiftAttributeId
Attributes used to filter received gifts. If multiple attributes of the same type are specified, then all of them are allowed. If none attributes of specific type are specified, then all values for this attribute type are allowed
offset¶
string
Offset of the first entry to return as received from the previous request with the same order and attributes; use empty string to get the first chunk of results
limit¶
int32
The maximum number of gifts to return