View Source ExTDLib.Method.SearchFileDownloads (ExTDLib v0.0.4)

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

NameTypeDescription
querystringQuery to search for; may be empty to return all downloaded files.
only_activeboolPass true to search only for active downloads, including paused.
only_completedboolPass true to search only for completed downloads.
offsetstringOffset of the first entry to return as received from the previous request; use empty string to get the first chunk of results.
limitnumberThe maximum number of files to be returned.

More details on telegram's documentation.