telegramx.js

RichBlockVideo

interface

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

Declaration

interface RichBlockVideo 

Properties

captionproperty#
caption?: RichBlockCaption;

Optional. Caption of the block

has_spoilerproperty#
has_spoiler?: boolean;

Optional. True, if the media preview is covered by a spoiler animation

typeproperty#
type: 'video';

Type of the block, always "video"

videoproperty#
video: Video;

The video