--- title: inputMessageDocument description: Document message image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Constructor: inputMessageDocument [Back to constructors index](index.md) Document message ### Attributes: | Name | Type | Required | Description | |----------|---------------|----------|-------------| |document|[InputFile](../types/InputFile.md) | Yes|Document to send| |thumb|[inputThumb](../constructors/inputThumb.md) | Yes|Document thumb, if available| |caption|[string](../types/string.md) | Yes|Document caption, 0-200 characters| ### Type: [InputMessageContent](../types/InputMessageContent.md)