ReadonlybigOptional ReadonlydcDC ID of the file, when available
Optional ReadonlyfileFile size in bytes, when available
ReadonlylocationLocation of the file.
Either a TL object declaring remote file location, a Buffer containing actual file content (for stripped thumbnails and vector previews), or a function that will return either of those.
When a function is passed, it will be lazily resolved the first time downloading the file.
ReadonlyobjReadonlypeer
A size of a chat photo