mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-12 18:07:19 +01:00
21 lines
592 B
Markdown
21 lines
592 B
Markdown
|
## Constructor: documentAttributeAudio
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required |
|
||
|
|----------|:-------------:|---------:|
|
||
|
|voice|[Bool](../types/Bool.md) | Optional|
|
||
|
|duration|[int](../types/int.md) | Required|
|
||
|
|title|[string](../types/string.md) | Optional|
|
||
|
|performer|[string](../types/string.md) | Optional|
|
||
|
|waveform|[bytes](../types/bytes.md) | Optional|
|
||
|
|
||
|
|
||
|
### Type: [DocumentAttribute](../types/DocumentAttribute.md)
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
|
||
|
```
|
||
|
$documentAttributeAudio = ['voice' => Bool, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ];
|
||
|
```
|