mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-04 02:28:31 +01:00
30 lines
690 B
Markdown
30 lines
690 B
Markdown
---
|
|
title: "documentAttributeAudio"
|
|
description: "Represents an audio file"
|
|
nav_exclude: true
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# Constructor: documentAttributeAudio\_23
|
|
[Back to constructors index](/API_docs/constructors/index.html)
|
|
|
|
|
|
|
|
Represents an audio file
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|duration|[int](/API_docs/types/int.html) | Optional|Duration in seconds|
|
|
|
|
|
|
|
|
### Type: [DocumentAttribute](/API_docs/types/DocumentAttribute.html)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$documentAttributeAudio_23 = ['_' => 'documentAttributeAudio', 'duration' => int];
|
|
```
|