mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
30 lines
716 B
Markdown
30 lines
716 B
Markdown
|
---
|
||
|
title: "sendMessageUploadDocumentAction"
|
||
|
description: "User is uploading a file."
|
||
|
nav_exclude: true
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
---
|
||
|
# Constructor: sendMessageUploadDocumentAction
|
||
|
[Back to constructors index](/API_docs/constructors/index.html)
|
||
|
|
||
|
|
||
|
|
||
|
User is uploading a file.
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|progress|[int](/API_docs/types/int.html) | Yes|Progress percentage|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [SendMessageAction](/API_docs/types/SendMessageAction.html)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int];
|
||
|
```
|