> For the complete documentation index, see [llms.txt](https://docs.guayaba.run/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.guayaba.run/channels.md). Agents can also search and read this documentation through its [MCP server](https://docs.guayaba.run/~gitbook/mcp).

# Channels

## Telegram

Connect your agent to Telegram via a bot you control.

### Create a bot

1. Open Telegram → search `@botfather`
2. Send `/newbot`
3. Follow prompts and copy the API token (`1234567890:ABCdef...`)

### Configure in Guayaba

1. Go to **Communication Channels → Telegram** toggle
2. Paste bot token → **Save Settings**
3. Channel shows **✓ Configured**

### User access

Users who message your bot receive a **pairing code**. Approve or reject from the Telegram settings panel.

> Pairing management requires the agent to be Running.

| Section          | Description                           |
| ---------------- | ------------------------------------- |
| Pairing requests | Pending approvals                     |
| Approved users   | Active users. Click Revoke to remove. |

**Channel status**

| Status     | Meaning                           |
| ---------- | --------------------------------- |
| Configured | Token saved, ready to go live     |
| Active     | Agent running, accepting messages |
| Inactive   | Agent stopped                     |
