mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 08:36:55 +01:00
38 lines
698 B
Markdown
38 lines
698 B
Markdown
---
|
|
title: sendMessageUploadVoiceAction
|
|
description: User uploads voice message
|
|
---
|
|
## Constructor: sendMessageUploadVoiceAction
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
User uploads voice message
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|:-------------:|:--------:|------------:|
|
|
|progress|[int](../types/int.md) | Yes|Upload progress in percents|
|
|
|
|
|
|
|
|
### Type: [SendMessageAction](../types/SendMessageAction.md)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$sendMessageUploadVoiceAction = ['_' => 'sendMessageUploadVoiceAction', 'progress' => int, ];
|
|
```
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
```
|
|
sendMessageUploadVoiceAction={_='sendMessageUploadVoiceAction', progress=int, }
|
|
|
|
```
|
|
|
|
|