View Source ExTDLib.Object.Document (ExTDLib v0.0.4)
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. |
| minithumbnail | minithumbnail | Document minithumbnail; may be null. |
| thumbnail | thumbnail | Document thumbnail in JPEG or PNG format (PNG will be used only for background patterns); as defined by the sender; may be null. |
| document | file | File containing the document. |
More details on telegram's documentation.