haskell-tdlib-2.0.63.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.SearchGiftsForResale

Synopsis

Documentation

data SearchGiftsForResale Source #

Returns upgraded gifts that can be bought from other owners. Returns GiftsForResale

Constructors

SearchGiftsForResale 

Fields

  • gift_id :: Maybe Int

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

  • order :: Maybe GiftForResaleOrder

    Order in which the results will be sorted

  • attributes :: Maybe [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 :: Maybe Text

    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 :: Maybe Int

    The maximum number of gifts to return