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

791 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 RichText Yes Caption

Type: PageBlock

Example:

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

Or, if you're into Lua:

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