# richblocktable

> A table, corresponding to the HTML tag <table>

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

---

A table, corresponding to the HTML tag `<table>`.

## Fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| type | String | Always | Type of the block, always "table" |
| cells | Array of Array of RichBlockTableCell | Always | Cells of the table |
| is_bordered | True | Optional | True, if the table has borders |
| is_striped | True | Optional | True, if the table is striped |
| is_compact | True | Optional | True, if table cells have smaller indents |
| caption | RichText | Optional | Caption of the table |

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