TDLib v0.0.2 TDLib.Object.File View Source

Represents a file.

NameTypeDescription
idnumberUnique file identifier.
sizenumberFile size; 0 if unknown.
expected_sizenumberExpected file size in case the exact file size is unknown, but an approximate size is known. 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.