Document¶ class bale.Document(file_id, file_name=None, mime_type=None, file_size=None, bot=None)¶ Bases: File This object shows a Document. file_id¶ Identifier for this file, which can be used to download or reuse the file. Type: str file_name¶ Original filename as defined by sender. Type: Optional[str] mime_type¶ MIME type of the file as defined by sender. Type: Optional[str] file_size¶ File size in bytes. Type: Optional[int]