View Source ExTDLib.Object.InputMessageDocument (ExTDLib v0.0.4)
A document message (general file).
| Name | Type | Description |
|---|---|---|
| document | InputFile | Document to be sent. |
| thumbnail | inputThumbnail | Document thumbnail; pass null to skip thumbnail uploading. |
| disable_content_type_detection | bool | Pass true to disable automatic file type detection and send the document as a file. Always true for files sent to secret chats. |
| caption | formattedText | Document caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters. |
More details on telegram's documentation.