Rich messages

RichBlockVideo

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

fields

fieldtyperequireddescription
typestringrequiredType of the block, always “video”
videoVideorequiredThe video
has_spoilerbooleanoptionalOptional. True, if the media preview is covered by a spoiler animation
captionRichBlockCaptionoptionalOptional. Caption of the block

import

types.ts
import type { RichBlockVideo } from "@yaebal/types";

used by

types