Airgram

Guides
/
/
Output types

File

Represents a file.

This is an alias for the FileUnion type.


NameTypeDescription
_"file"
idnumber Unique file identifier
sizenumber File size, in bytes; 0 if unknown
expectedSizenumber 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