RichBlockVideo

class pyrogram.types.RichBlockVideo[source]

A block with a video, corresponding to the HTML tag <video>.

Parameters:
  • video (Video) – The video.

  • has_spoiler (bool, optional) – True, if the media preview is covered by a spoiler animation.

  • caption (RichBlockCaption, optional) – Caption of the block.