TDLib v0.0.2 TDLib.Object.File View Source
Represents a file.
Name | Type | Description |
---|---|---|
id | number | Unique file identifier. |
size | number | File size; 0 if unknown. |
expected_size | number | Expected file size in case the exact file size is unknown, but an approximate size is known. Can be used to show download/upload progress. |
local | localFile | Information about the local copy of the file. |
remote | remoteFile | Information about the remote copy of the file. |
More details on telegram’s documentation.