MadelineProtoDocs/docs/API_docs/constructors/documentAttributeAudio_23.md
2024-05-01 14:53:46 +02:00

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];
```