project.bot.connected
Telegram bot first attached to the project.
When this fires
A creator completes the bot-connectivity flow and a Telegram bot is bound to the project. The bot starts responding to subscriber messages immediately after this event.
Every surface that binds a bot raises it: the Connect Bot modal on the dashboard, the platform bot's connectivity conversation, and Disaster Recovery when a lost bot is replaced with a new token or a registered standby bot takes over.
Required ability
project:view — token must carry this at mint time to subscribe an endpoint to this event.
Payload
{
"id": "evt_01HX...",
"type": "project.bot.connected",
"created_at": "2026-05-18T10:05:00Z",
"api_version": "2026-05-01",
"project_id": "7f3d1c92-8b45-4e6a-9d21-5c8e0a4b6f13",
"data": {
"project_id": "7f3d1c92-8b45-4e6a-9d21-5c8e0a4b6f13",
"bot_id": "5e93b1d7-4a20-4c68-8f51-9b0d27e6a34c",
"bot_name": "Research Premium",
"bot_url": "https://t.me/ResearchPremiumBot"
}
}Field reference
| Field | Type | Notes |
|---|---|---|
id | string ULID | Unique event id, prefixed evt_. Use for idempotent processing. |
type | string | Always project.bot.connected for this event. |
created_at | ISO 8601 timestamp | Server-side emission time. |
api_version | string | Webhook API contract version. |
project_id | string UUID | Project this event belongs to. |
data.project_id | string UUID | Mirrors top-level project_id. |
data.bot_id | string UUID | bot identifier. |
data.bot_name | string | Telegram bot display name (getMe first_name), not the username. The username is the last path segment of bot_url. |
data.bot_url | string | Public t.me/.. URL for the bot. |
Caveats
- Bot tokens are never included in the payload. Use the
bot_idfor any cross-reference back to the dashboard. - Rotating a bot inside the Telegram bot's own flow fires
project.bot.disconnectedfollowed byproject.bot.connectedfor the new bot. Rotating from the web dashboard emits neither event.
Related events
project.bot.disconnected— paired transition.project.bot.status_changed— health monitoring, probed hourly.project.resource.status_changed— the same health monitoring for channels and groups.- Project events overview — back to family overview.
How is this guide?