MadelineProtoDocs/API_docs/constructors/documentAttributeAudio_23.md

43 lines
735 B
Markdown
Raw Normal View History

2018-04-01 13:19:25 +02:00
---
title: documentAttributeAudio
description: documentAttributeAudio attributes, type and example
---
## Constructor: documentAttributeAudio\_23
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|duration|[int](../types/int.md) | Optional|
### Type: [DocumentAttribute](../types/DocumentAttribute.md)
### Example:
```
$documentAttributeAudio_23 = ['_' => 'documentAttributeAudio', 'duration' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "documentAttributeAudio", "duration": int}
```
Or, if you're into Lua:
```
documentAttributeAudio_23={_='documentAttributeAudio', duration=int}
```