MadelineProtoDocs/old_docs/API_docs_v41/constructors/pageBlockAudio.md
2020-06-16 17:50:25 +02: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}