--- title: documentAttributeAudio description: documentAttributeAudio attributes, type and example image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Constructor: documentAttributeAudio [Back to constructors index](index.md) ### Attributes: | Name | Type | Required | |----------|---------------|----------| |duration|[int](../types/int.md) | Optional| |title|[string](../types/string.md) | Yes| |performer|[string](../types/string.md) | Yes| ### Type: [DocumentAttribute](../types/DocumentAttribute.md) ### Example: ```php $documentAttributeAudio = ['_' => '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={_='documentAttributeAudio', duration=int, title='string', performer='string'} ```