search_gifts_for_resale


Description:

public async GiftsForResale search_gifts_for_resale (int64 gift_id, GiftForResaleOrder order, ArrayList<UpgradedGiftAttributeId?> attributes, string offset, int32 limit) throws TDLibError

Returns upgraded gifts that can be bought from other owners

Parameters:

gift_id

Identifier of the regular gift that was upgraded to a unique gift

order

Order in which the results will be sorted

attributes

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

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

The maximum number of gifts to return