RichBlockVideo¶
- class aiogram.types.rich_block_video.RichBlockVideo(*, type: Literal[RichBlockType.VIDEO] = RichBlockType.VIDEO, video: Video, has_spoiler: bool | None = None, caption: RichBlockCaption | None = None, **extra_data: Any)[source]¶
A block with a video, corresponding to the HTML tag
<video>.Source: https://core.telegram.org/bots/api#richblockvideo
- type: Literal[RichBlockType.VIDEO]¶
Type of the block, always ‘video’
- has_spoiler: bool | None¶
Optional.
True, if the media preview is covered by a spoiler animation
- caption: RichBlockCaption | None¶
Optional. Caption of the block