# StoryAreaTypeLink

> Describes a story area pointing to an HTTP or tg:// link

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

---

Describes a story area pointing to an HTTP or tg:// link. Currently, a story can have up to 3 link areas.

## Fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| type | String | Always | Type of the area, always "link" |
| url | String | Always | HTTP or tg:// URL to be opened when the area is clicked |

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