View Source ExTDLib.Object.File (ExTDLib v0.0.4)

Represents a file.

NameTypeDescription
idnumberUnique file identifier.
sizestringFile size, in bytes; 0 if unknown.
expected_sizestringApproximate file size in bytes in case the exact file size is unknown. Can be used to show download/upload progress.
locallocalFileInformation about the local copy of the file.
remoteremoteFileInformation about the remote copy of the file.

More details on telegram's documentation.