--- title: "sendMessageUploadPhotoAction" description: "User is uploading a photo." nav_exclude: true image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Constructor: sendMessageUploadPhotoAction [Back to constructors index](/API_docs/constructors/index.html) User is uploading a photo. ### Attributes: | Name | Type | Required | Description | |----------|---------------|----------|-------------| |progress|[int](/API_docs/types/int.html) | Yes|Progress percentage| ### Type: [SendMessageAction](/API_docs/types/SendMessageAction.html) ### Example: ``` $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ```