1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-12 17:47:22 +01:00
MadelineProto/docs/API_docs/constructors/documentAttributeAudio.md

21 lines
592 B
Markdown
Raw Normal View History

## 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, ];
```