--- title: sendMessageUploadPhotoAction description: User is uploading a photo. image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Constructor: sendMessageUploadPhotoAction\_17 [Back to constructors index](index.md) User is uploading a photo. ### Type: [SendMessageAction](../types/SendMessageAction.md) ### Example: ```php $sendMessageUploadPhotoAction_17 = ['_' => 'sendMessageUploadPhotoAction']; ``` Or, if you're into Lua: ```lua sendMessageUploadPhotoAction_17={_='sendMessageUploadPhotoAction'} ```