# InputRichMessageContent

> Represents the content of a rich message to be sent as the result of an inline query

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

---

Represents the content of a rich message to be sent as the result of an inline query.

## Fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| rich_message | InputRichMessage | Always | The message to be sent. Only previously uploaded files may be used in the message. |

## Example

```php
{"text": "Hello! Rich message body…", "parse_mode": "HTML"}
```

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