MadelineProtoDocs/old_docs/API_docs_v72/constructors/pageBlockVideo.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.0 KiB

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

Constructor: pageBlockVideo

Back to constructors index

Page block video

Attributes:

Name Type Required Description
autoplay Bool Optional Autoplay?
loop Bool Optional 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];

PWRTelegram json-encoded version:

{"_": "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}