Telegram AI Agent: Talk to Your Agent in Telegram, No Server Needed
BetterClaw connects to Telegram as a chat channel. Create a bot in BotFather, paste its token into BetterClaw and pick an agent. Anyone you allow can then message that bot and get answers from the same agent you use in BetterClaw, with its skills and connected tools. There is no gateway, webhook or server to host, and you can connect more than one bot, each paired to a different agent.
Quick facts
- How it connects
- Telegram bot (BotFather token)
- Setup time
- About 2 minutes: create a bot in BotFather, paste the token, choose the agent
- You control
- Who can message the bot (all users or an allowlist), and pausing it
- Best first workflow
- None needed: message the bot and the agent replies
What can an AI agent do in Telegram?
Here are the jobs teams hand to a BetterClaw agent in Telegram. The names under each one are the Telegram actions the agent uses, so you can see exactly what it touches.
Your agent in your pocket
Message the bot from Telegram on your phone or desktop, and the agent you set up in BetterClaw answers in the same chat.
Ask what needs your attention
With Gmail connected to the agent, ask "anything urgent from clients today?" and it checks your inbox before it replies.
Check your day between meetings
With Google Calendar connected, ask what is next or which slots are open on Thursday.
Look things up without a laptop
Ask whether an invoice was paid in Stripe or what shipped this week in Linear, using the tools that agent can reach.
A private bot for you or your team
Choose "Specific usernames only" and list the Telegram usernames that may use it. Everyone else is ignored.
A public bot for customers or a community
Choose "All users" so anyone can message it, and write the agent's instructions for the questions people ask you most.
One bot per job
Connect several bots, each paired to a different agent, for example a support bot and a personal assistant bot.
Example: Ask your agent about your day from Telegram
Runs: Whenever you message the bot.A short answer in Telegram, from the same agent you use in BetterClaw.
- 1You send "What needs my attention today?" to your bot in Telegram.
- 2The agent paired with the bot picks up the message.
- 3It checks the tools connected to it, such as Gmail and Google Calendar.
- 4It replies in the same Telegram chat.
How to set it up
Connect Gmail and Google Calendar to the agent first, then connect the bot with the steps below.
How to connect Telegram to an AI agent
About two minutes, with no code and nothing to host.
- 1
Create the bot in Telegram: message @BotFather, send /newbot, choose a name and a username that ends in "bot", then copy the token.
Step by step: how to get a Telegram bot token.
BetterClaw - 2
In BetterClaw, open Settings ▸ Integrations and select Connect Telegram bot.
BetterClaw - 3
Choose the agent that should answer, and paste the bot token.
BetterClaw - 4
Choose who can message the bot: All users, or Specific usernames only (comma or newline separated, without the @).
Then select Connect.
BetterClaw - 5
The bot shows as a card with an Active badge.
Use Edit to change the allowlist or pause the bot. To change the token, disconnect and reconnect.
BetterClaw - 6
Full walkthrough with screenshots: the Telegram integration guide.
BetterClaw Telegram is connected
Install a ready-made workflow or ask your agent directly.
Done
What can the agent access in Telegram? Is it safe?
The Telegram bot is a chat channel: it receives the messages people send it and replies in the same chat. What the agent can do in a reply depends on the skills and connectors you have given that agent, not on Telegram. You decide who can message the bot (all users or an allowlist of usernames), and pausing it stops replies without losing its settings. Revoking or regenerating the token in BotFather stops the old token working immediately.
Your bot token is stored encrypted and your agents never see it. You can pause the bot or disconnect it at any time from Settings ▸ Integrations, and reconnect later.
How we keep your data safe →Telegram MCP server: do you need it?
Telegram does not run an official MCP server. For BetterClaw, the Telegram bot is the supported route: paste a BotFather token and the agent is reachable in Telegram.
Works well with
Ready-made workflows that use Telegram
The Telegram bot is for chatting with your agent. For jobs that run on a schedule, start from a workflow.
Describe the job and BetterClaw builds the workflow
Related workflows
They don't use Telegram, but they're the natural next step.
Telegram AI agent: common questions
How do I add an AI agent to Telegram?
Create a bot in @BotFather and copy its token. In BetterClaw, go to Settings ▸ Integrations ▸ Connect Telegram bot, pick the agent, paste the token, choose who can message it and select Connect. Then message the bot.
Can I control who talks to the bot?
Yes. Choose All users, or Specific usernames only with a list of Telegram usernames. You can change this later with Edit, or pause the bot without losing its settings.
Can I connect more than one Telegram bot?
Yes. Each bot is paired with one agent, so you can run a separate bot for each agent.
What does "Telegram rejected this bot token" mean?
Telegram did not accept the token you pasted. Open @BotFather and check the token for that bot. If you revoked or regenerated it, the old token stopped working immediately, so disconnect and reconnect with the new one.
I run OpenClaw or Hermes on Telegram. What changes?
There is no gateway or polling process to host. Use a new bot, or stop your old gateway first: Telegram delivers a bot's messages to one receiver, so running both on the same token causes 409 Conflict errors.
Connect Telegram and give your agent its first job.
Sign in once, pick a ready-made workflow or describe your own, and your agent does the rest.
500+ connectors · BYOK with zero markup · 28+ model providers
