View Source ExTDLib.Object.Document (ExTDLib v0.0.4)

Describes a document of any type.

NameTypeDescription
file_namestringOriginal name of the file; as defined by the sender.
mime_typestringMIME type of the file; as defined by the sender.
minithumbnailminithumbnailDocument minithumbnail; may be null.
thumbnailthumbnailDocument thumbnail in JPEG or PNG format (PNG will be used only for background patterns); as defined by the sender; may be null.
documentfileFile containing the document.

More details on telegram's documentation.