# richblockpreformatted

> A preformatted text block, corresponding to the nested HTML tags <pre> and <code>

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

---

A preformatted text block, corresponding to the nested HTML tags `<pre>` and `<code>`.

## Fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| type | String | Always | Type of the block, always "pre" |
| text | RichText | Always | Text of the block |
| language | String | Optional | The programming language of the text |

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