MadelineProtoDocs/docs/API_docs/constructors/documentAttributeAudio_46.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

47 lines
1.1 KiB
Markdown

---
title: documentAttributeAudio
description: Document attribute audio
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: documentAttributeAudio\_46
[Back to constructors index](index.md)
Document attribute audio
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|duration|[int](../types/int.md) | Optional|Duration|
|title|[string](../types/string.md) | Yes|Title|
|performer|[string](../types/string.md) | Yes|Performer|
### Type: [DocumentAttribute](../types/DocumentAttribute.md)
### Example:
```php
$documentAttributeAudio_46 = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => 'string', 'performer' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "documentAttributeAudio", "duration": int, "title": "string", "performer": "string"}
```
Or, if you're into Lua:
```lua
documentAttributeAudio_46={_='documentAttributeAudio', duration=int, title='string', performer='string'}
```