Interface ToggleDownloadIsPaused

Changes pause state of a file in the file download list. Request type for Tdjson#toggleDownloadIsPaused.

interface ToggleDownloadIsPaused {
    @type: "toggleDownloadIsPaused";
    file_id: number;
    is_paused?: boolean;
}

Properties

@type: "toggleDownloadIsPaused"
file_id: number

Identifier of the downloaded file.

is_paused?: boolean

Pass true if the download is paused.