TDLib v0.0.2 TDLib.Object.Document View Source

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.
thumbnailphotoSizeDocument thumbnail; as defined by the sender; may be null.
documentfileFile containing the document.

More details on telegram’s documentation.