Skip to content

searchFileDownloads

Function · TDLib 1.8.67 · d1085f9c

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

searchFileDownloads(
  query: string,
  only_active: Bool,
  only_completed: Bool,
  offset: string,
  limit: int32
) → FoundFileDownloads

query

string

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

only_active

Bool

Pass true to search only for active downloads, including paused

only_completed

Bool

Pass true to search only for completed downloads

offset

string

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

limit

int32

The maximum number of files to be returned