# richblockvideo

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

**Category:** Telegram Bot API — Types (A-Z)  
**URL:** https://docs.botlify.cloud/richblockvideo  
**Platform:** Botlify Cloud (https://botlify.cloud)  

---

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

## Fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| type | String | Always | Type of the block, always "video" |
| video | Video | Always | The video |
| has_spoiler | True | Optional | True, if the media preview is covered by a spoiler animation |
| caption | RichBlockCaption | Optional | Caption of the block |

> [!TIP]
> **Botlify Cloud Runtime**
> Credentials are auto-injected in .env — always load them with getenv(): BOT_TOKEN, ADMIN_CHAT_ID, BOT_USERNAME. Main database: database.db (SQLite, WAL mode). Runtime errors: error.log. Quick test: send to $ADMIN_CHAT_ID. Full details: Runtime Reference.
