RichBlockVideo
A block with a video, corresponding to the HTML tag <video>.
fields
| field | type | required | description |
|---|---|---|---|
type | string | required | Type of the block, always “video” |
video | Video | required | The video |
has_spoiler | boolean | optional | Optional. True, if the media preview is covered by a spoiler animation |
caption | RichBlockCaption | optional | Optional. Caption of the block |
import
import type { RichBlockVideo } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#richblockvideo