Interface FileDownload

Describes a file added to file download list.

interface FileDownload {
    @type: "fileDownload";
    add_date: number;
    complete_date: number;
    file_id: number;
    is_paused?: boolean;
    message: Message;
}

Properties

@type: "fileDownload"
add_date: number

Point in time (Unix timestamp) when the file was added to the download list.

complete_date: number

Point in time (Unix timestamp) when the file downloading was completed; 0 if the file downloading isn't completed.

file_id: number

File identifier.

is_paused?: boolean

True, if downloading of the file is paused.

message: Message

The message with the file.