haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.GetUserGifts

Synopsis

Documentation

data GetUserGifts Source #

Returns gifts saved to profile by the given user. Returns UserGifts

Constructors

GetUserGifts 

Fields

  • user_id :: Maybe Int

    Identifier of the user

  • offset :: Maybe Text

    Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results

  • limit :: Maybe Int

    The maximum number of gifts to be returned; must be positive and can't be greater than 100. For optimal performance, the number of returned objects is chosen by TDLib and can be smaller than the specified limit