--- title: sendMessageUploadDocumentAction description: User uploads a document --- ## Constructor: sendMessageUploadDocumentAction\_17 [Back to constructors index](index.md) User uploads a document ### Attributes: | Name | Type | Required | Description | |----------|:-------------:|:--------:|------------:| ### Type: [SendMessageAction](../types/SendMessageAction.md) ### Example: ``` $sendMessageUploadDocumentAction_17 = ['_' => 'sendMessageUploadDocumentAction', ]; ``` Or, if you're into Lua: ``` sendMessageUploadDocumentAction_17={_='sendMessageUploadDocumentAction', } ```