A generic file (as opposed to photos, voice messages, audio files, …).
str) – Identifier for this file, which can be used to download or reuse the file.
str) – Unique identifier for this file, which is supposed to be the same over time and for different accounts. Can’t be used to download or reuse the file.
str, optional) – Original filename as defined by sender.
str, optional) – MIME type of the file as defined by sender.
int, optional) – File size.
int, optional) – Date the document was sent in Unix time.
thumbs (List of
Thumbnail, optional) – Document thumbnails as defined by sender.