InputRichBlockVideo¶
- class pyrogram.types.InputRichBlockVideo[source]¶
A video block, corresponding to the HTML tag
<video>.Displays a video in the message.
- Parameters:
video_id (
int) – Theidfield from anInputDocumentthat represents a video file.has_spoiler (
bool, optional) – Pass True to cover the video with a spoiler animation.autoplay (
bool, optional) – Pass True to start playing the video automatically.loop (
bool, optional) – Pass True to loop the video playback.caption (
str|RichText, optional) – Caption of the block.