Skip to content

FileDownload

Type · TDLib 1.8.67 · d1085f9c

Describes a file added to file download list

FileDownload(
  file_id: int32,
  message: Message,
  add_date: int32,
  complete_date: int32,
  is_paused: Bool
) → FileDownload

file_id

int32

File identifier

message

Message

The message with the file

add_date

int32

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

complete_date

int32

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

is_paused

Bool

True, if downloading of the file is paused