File
Represents a file.
This is an alias for the FileUnion
type.
chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
_ | "file" | |
id | number | Unique file identifier |
size | number | File size, in bytes; 0 if unknown |
expectedSize | number | Approximate file size in bytes in case the exact file size is unknown. Can be used to show download/upload progress |
local | Information about the local copy of the file | |
remote | Information about the remote copy of the file |