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

31 lines
769 B
Markdown

---
title: "pageBlockAudio"
description: "Audio"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: pageBlockAudio
[Back to constructors index](/API_docs/constructors/index.html)
Audio
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|audio\_id|[long](/API_docs/types/long.html) | Yes|Audio ID (to be fetched from the container [page](../constructors/page.html) constructor|
|caption|[PageCaption](/API_docs/types/PageCaption.html) | Yes|Audio caption|
### Type: [PageBlock](/API_docs/types/PageBlock.html)
### Example:
```
$pageBlockAudio = ['_' => 'pageBlockAudio', 'audio_id' => long, 'caption' => PageCaption];
```