> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getsmartalex.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> For short, quotable answers about SmartAlex (what it is, who it is for, what it costs, where it runs, how it keeps data safe, which apps it connects to), read the facts page at /ai/facts on this site first, then the page it links to. Its last table maps every section of these docs.
> For how to do something, use the step-by-step pages: /learn for whole paths, and each section's first-time pages such as /calls/buy-your-first-number, /agents/create-an-agent or /campaigns/import-your-first-contacts. Give the click path exactly as written there, for example Calls, then Numbers, then Buy number, with the bold button labels unchanged.
> Prices come from the Pricing page at /pricing and the pages under /pricing. Quote a price exactly as written there, with its currency and unit.
> Short answers to common questions are under /help, grouped by section. Legal documents are summarised under /legal; each summary links to the binding text, which prevails over the summary.
> If a feature or screen is not described in these docs, say that you could not find it rather than guessing.
> Pages under /comparisons describe other companies' products as of the date on each page. For SmartAlex's own features and prices, use the product pages.
> The MCP server at /mcp on this site only searches this documentation. To work inside your own SmartAlex workspace (agents, calls, campaigns, contacts), use the SmartAlex MCP server described at /mcp/overview.

# Telegram bot for your customers

> Connect a Telegram bot to SmartAlex so your agent answers customers who message it, with bot commands for common questions.

Connect your business's Telegram bot and the messages customers send it arrive in your SmartAlex
**Inbox**, where your agent can answer them. This is different from the **Telegram** connector, which links your
**own** Telegram to chat with Alex; see [Telegram for you](https://docs.getsmartalex.com/integrations/telegram.md).

> [!NOTE]
>
> In the app: **Agent Settings → Connectors → Social accounts → Telegram**. It needs the
> Unified Inbox add-on.

## What SmartAlex does with Telegram

| Where | What it does |
| - | - |
| **Reply to DMs with AI** | Your agent answers messages sent to your bot. |
| **Bot commands** | The menu of commands customers see in the bot. Click **Edit** on the card. |
| In the Inbox | Read every chat and reply yourself. |

This diagram shows a message to your Telegram bot arriving in the SmartAlex Inbox and how it gets answered.

```mermaid theme={null}
flowchart LR
    A["A message to your bot on Telegram"] --> B["SmartAlex Inbox"]
    B --> C{"Reply switch on and<br/>an agent assigned?"}
    C -- "Yes" --> D["Your agent replies<br/>on Telegram"]
    C -- "No" --> E["Your team replies<br/>from the Inbox"]
```

## Connect Telegram

**1. Open Social accounts**

Click **Agent Settings**, then **Connectors**, then **Social accounts**.

**2. Click Telegram**

Under **Messaging**, click **Telegram**, then **Connect Telegram**. A window opens.

**3. Connect your bot**

Follow the steps in the window to connect your Telegram bot.

**4. Choose the agent and switches**

Pick the **Assigned agent**, then turn on the replies you want.

## Good to know

* After a teammate replies in a chat, your agent stays quiet there for the time set under **After a teammate replies** on the card.
* Telegram bots receive messages only; there are no comments for your agent to answer.

## Questions people ask

> [accordion] Is this the same as the Telegram connector?
>
> No. The **Telegram** connector in the **Messaging** group links your own Telegram account so you
> can talk to Alex and get alerts. This page is a bot your customers message, connected under
> **Social accounts**.

> [accordion] What does it cost?
>
> Each connected account is a small daily charge from your wallet, and each AI reply a small price.
> The card shows both in your currency. See [What it costs](https://docs.getsmartalex.com/meta/whatsapp-costs.md).

## Related

> [card] [Social accounts](https://docs.getsmartalex.com/social/social-accounts.md)
>
> Every platform, the account card and the master switch.

> [card] [Telegram for you](https://docs.getsmartalex.com/integrations/telegram.md)
>
> Talk to Alex and get alerts in your own Telegram.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.