haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.SearchFileDownloads

Synopsis

Documentation

data SearchFileDownloads Source #

Searches for files in the file download list or recently downloaded files from the list. Returns FoundFileDownloads

Constructors

SearchFileDownloads 

Fields

  • query :: Maybe Text

    Query to search for; may be empty to return all downloaded files

  • only_active :: Maybe Bool

    Pass true to search only for active downloads, including paused

  • only_completed :: Maybe Bool

    Pass true to search only for completed downloads

  • 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 files to be returned