Deploy to Telegram
Connect your Bothive agent to Telegram with a bot token. Your agent runs as a real Telegram bot — no servers, no webhooks to manage.
Why Telegram
Where your users are
900M+ active users. If your community, customers, or team uses Telegram — meet them there.
Rich bot features
Commands, inline keyboards, media, groups, channels, DMs. Telegram has one of the best bot APIs available.
Zero friction
Users don’t need to install anything. They just message your bot on Telegram.
Step-by-step setup
1
Create your bot with BotFather
Open Telegram and search for @BotFather. Send
/newbot and follow the prompts:- Enter a display name (e.g.,
Acme Support) - Enter a username — must end in
bot(e.g.,AcmeSupportBot) - BotFather sends you a token:
7123456789:AAFxxxxxxxxxxxxxxxxxx
2
Connect the token to Bothive
In your Bothive dashboard:
- Open your bot → Channels
- Click Telegram → Connect
- Paste your bot token
- Click Save
3
Write your HiveLang bot
4
Test in Telegram
Search for your bot in Telegram → send
/start → confirm the welcome message appears.Send a real support question and check that:- The response arrives within 2 seconds
- Formatting looks correct in Telegram
- Tool calls (if any) succeed
5
Set BotFather commands (optional)
Add a command menu so users know what your bot can do:
- Message @BotFather →
/setcommands - Select your bot
- Paste your command list:
Telegram-specific formatting
Bothive uses Telegram’s MarkdownV2 formatting when responding on the Telegram channel:Common Telegram setup issues
Bot doesn't respond to messages
Bot doesn't respond to messages
Check that the webhook is set correctly. In Bothive, open Channels → Telegram and click Verify webhook. If it shows a red , try reconnecting with the token.
Privacy mode blocking group messages
Privacy mode blocking group messages
By default, Telegram bots only receive messages that start with
/ in groups. To change this, send /setprivacy to @BotFather and disable privacy mode — or ensure users tag your bot with @YourBotUsername.Agent sends duplicate responses
Agent sends duplicate responses
This usually means you’ve connected the same bot token in multiple places. Make sure the token is only connected to one Bothive bot.
Slow responses (>5 seconds)
Slow responses (>5 seconds)
Check which tools are being called in the Run trace. Slow tool calls are usually integration issues — check your integration credentials. You can also switch to a faster model (e.g., GPT-4o mini or Groq) for response-speed-critical bots.