MadelineProtoDocs/docs/API_docs/constructors/documentAttributeAudio_46.md
Sean 4baac3178e Add Syntax Highlight for Markdown
Add PHP, Lua language tag to Code area
2018-10-18 00:30:20 +08:00

45 lines
1.0 KiB
Markdown

---
title: documentAttributeAudio
description: documentAttributeAudio attributes, type and example
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: documentAttributeAudio\_46
[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_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'}
```