mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-04 02:28:31 +01:00
31 lines
769 B
Markdown
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];
|
|
```
|