# ChatBoostSourceGiftCode

> The boost was obtained by the creation of Telegram Premium gift codes to boost a chat

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

---

The boost was obtained by the creation of Telegram Premium gift codes to boost a chat. Each such code boosts the chat 4 times for the duration of the corresponding Telegram Premium subscription.

## Fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| source | String | Always | Source of the boost, always "gift_code" |
| user | User | Always | User for which the gift code was created |

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