๐Ÿฆ€Agento
FeaturesPricingBlog
HomeGuidesConnecting Telegram

Connecting Telegram

Feb 8, 2026ยท3 min read

Table of Contents

  • Prerequisites
  • Create a Telegram Bot
  • Connect the Bot to Your Agent
  • Test the Connection
  • Customize Your Bot
  • Managing Access
  • Disconnecting
  • Troubleshooting

Connect your Agento agent to Telegram so you can chat with it from your phone, desktop, or any Telegram client. This guide walks you through creating a Telegram bot and linking it to your agent.

Prerequisites

Before you start, make sure you have:

  • An Agento account with a running agent
  • A Telegram account
  • The Telegram app installed on your phone or desktop

Create a Telegram Bot

Telegram bots are created through BotFather, Telegram's official bot management tool.

  1. Open Telegram and search for @BotFather
  2. Start a chat and send /newbot
  3. BotFather will ask for a display name โ€” enter something like "My Agento Bot"
  4. BotFather will ask for a username โ€” this must end in bot (e.g. my_agento_bot)
  5. BotFather will give you an API token โ€” copy it

The token looks like 123456789:ABCdefGhIjKlMnOpQrStUvWxYz. Keep it secure.

Connect the Bot to Your Agent

  1. Open the Agento dashboard and click on your agent
  2. Go to the Channels tab
  3. Click Add Channel and select Telegram
  4. Paste your BotFather token
  5. Click Connect

Agento will verify the token and register a webhook with Telegram. You'll see a green "Connected" status when it's ready.

Test the Connection

  1. Open Telegram and search for your bot's username (e.g. @my_agento_bot)
  2. Click Start to begin the conversation
  3. Send a message โ€” your Agento agent will respond through the bot

Messages flow in real time: Telegram sends them to Agento, your agent processes them with the configured AI model, and the response is sent back to Telegram.

Customize Your Bot

You can customize how your Telegram bot appears:

Set a Profile Picture

  1. Open a chat with @BotFather
  2. Send /setuserpic
  3. Select your bot
  4. Upload a profile picture

Set a Description

  1. Send /setdescription to BotFather
  2. Select your bot
  3. Type a short description that appears when users first open the bot

Set Commands

  1. Send /setcommands to BotFather
  2. Select your bot
  3. Enter commands in the format command - Description (one per line)

Managing Access

By default, anyone on Telegram can message your bot. To restrict access:

  • Private bot: In your agent's system prompt, instruct it to only respond to specific users or require a password
  • Group bot: Add the bot to a Telegram group where it will respond to messages that mention it or reply to its messages

Disconnecting

To disconnect Telegram from your agent:

  1. Go to your agent's Channels tab
  2. Click the Disconnect button next to Telegram

This removes the webhook. The Telegram bot will still exist but won't respond to messages.

Troubleshooting

Bot doesn't respond: Make sure your agent is running (green status on the dashboard). A stopped agent can't process messages.

"Invalid token" error: Copy the token directly from BotFather. Make sure there are no extra spaces or line breaks.

Messages are delayed: This usually means the AI provider is slow to respond. Check your agent's model settings โ€” faster models like Claude Haiku or Gemini Flash will respond more quickly.

Back to all guides
๐Ÿฆ€Agento

AI agents that run 24/7 for your business. Deploy in minutes, not hours.

Remsys, Inc

1606 Headway Cir STE 9078

Austin, TX 78754, USA

+1 650 396 9091

๐ŸฆžPowered by OpenClaw

Product

  • Features
  • Pricing
  • Security

Company

  • About
  • Contact

Resources

  • Skills Marketplace
  • Agento Blog
  • API Reference
  • Guides
  • OpenClaw
  • Skills.sh

Legal

  • Privacy
  • Terms
  • GDPR

ยฉ 2026 Agento. All rights reserved.