View Source ExTDLib.Object.File (ExTDLib v0.0.4)
Represents a file.
| Name | Type | Description |
|---|---|---|
| id | number | Unique file identifier. |
| size | string | File size, in bytes; 0 if unknown. |
| expected_size | string | Approximate file size in bytes in case the exact file size is unknown. 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.