# richblocksectionheading

> A section heading, corresponding to the HTML tags <h1>, <h2>, <h3>, <h4>, <h5>, or <h6>

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

---

A section heading, corresponding to the HTML tags `<h1>`, `<h2>`, `<h3>`, `<h4>`, `<h5>`, or `<h6>`.

## Fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| type | String | Always | Type of the block, always "heading" |
| text | RichText | Always | Text of the block |
| size | Integer | Always | Relative size of the text font; 1-6, 1 is the largest, 6 is the smallest |

> [!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.
