MadelineProtoDocs/old_docs/API_docs_v91/constructors/pageBlockAudio.md
2019-12-27 17:48:04 +01:00

809 B

title description image
pageBlockAudio Audio https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: pageBlockAudio

Back to constructors index

Audio

Attributes:

Name Type Required Description
audio_id long Yes Audio ID (to be fetched from the container page constructor
caption PageCaption Yes Audio caption

Type: PageBlock

Example:

$pageBlockAudio = ['_' => 'pageBlockAudio', 'audio_id' => long, 'caption' => PageCaption];

Or, if you're into Lua:

pageBlockAudio={_='pageBlockAudio', audio_id=long, caption=PageCaption}