TDLib v0.0.2 TDLib.Object.Document View Source
Describes a document of any type.
| Name | Type | Description |
|---|---|---|
| file_name | string | Original name of the file; as defined by the sender. |
| mime_type | string | MIME type of the file; as defined by the sender. |
| thumbnail | photoSize | Document thumbnail; as defined by the sender; may be null. |
| document | file | File containing the document. |
More details on telegram’s documentation.