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

935 B

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

Constructor: pageBlockVideo

Back to constructors index

Video

Attributes:

Name Type Required Description
autoplay Bool Optional Whether the video is set to autoplay
loop Bool Optional Whether the video is set to loop
video_id long Yes Video ID
caption RichText Yes Caption

Type: PageBlock

Example:

$pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, 'video_id' => long, 'caption' => RichText];

Or, if you're into Lua:

pageBlockVideo={_='pageBlockVideo', autoplay=Bool, loop=Bool, video_id=long, caption=RichText}