Interface SearchFileDownloads

Searches for files in the file download list or recently downloaded files from the list. Request type for Tdjson#searchFileDownloads.

interface SearchFileDownloads {
    @type: "searchFileDownloads";
    limit: number;
    offset: string;
    only_active?: boolean;
    only_completed?: boolean;
    query: string;
}

Properties

@type: "searchFileDownloads"
limit: number

The maximum number of files to be returned.

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.

only_active?: boolean

Pass true to search only for active downloads, including paused.

only_completed?: boolean

Pass true to search only for completed downloads.

query: string

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