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, optional) – Theidfield from anInputDocumentthat represents a video file.video (
str|InputMediaVideo, optional) – The video to send, as a file identifier of an already uploaded file, a local path, an HTTP URL or anInputMediaVideoobject. Given instead of video_id.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.