Skip to page content
Docs
Make Agent Fast documentation

Telegram

Connect a Telegram bot with credential validation and automatic webhook registration.

At a glance

Connect a Telegram bot with credential validation and automatic webhook registration.

Connector routingOne agent, many channels, shared knowledge and inbox
Agent + knowledgeConnector router
Telegram
WhatsApp
Messenger
Discord
KakaoTalk

Create and prepare the bot#

Follow Telegram's official Introduction to Bots and BotFather guide:

  1. Open the verified @BotFather account in Telegram.
  2. Run /newbot, choose a display name, and choose a unique username ending in bot.
  3. Copy the bot token. Anyone with this token controls the bot.
  4. Optionally configure the photo, description, about text, and localized command help in BotFather before launch.

The token is for the Telegram Bot API; it is not a Telegram login code, API ID, or API hash.

Connect in Make Agent Fast#

Open the site's Connectors page, choose Telegram, paste Bot token, choose whether supported replies should also be spoken, and select Connect.

Make Agent Fast calls Telegram getMe to validate the token and display the bot username. It then calls setWebhook with the connector's public HTTPS URL, a secret verification token, and message as the accepted update type. Existing pending updates are not dropped.

No manual webhook step is normally required. Saving or re-enabling the connector safely registers the same webhook again.

Test the conversation#

  1. Open the bot's t.me link from a non-owner Telegram account.
  2. Select Start; bots cannot initiate a conversation with a user.
  3. Send a knowledge-based text question.
  4. Send a voice note if voice is enabled.
  5. Confirm replies arrive, Last message changes, and the thread appears in Conversations.

Group behavior depends on Telegram Privacy Mode and whether the bot is added to that group. Test direct messages first so group visibility rules do not hide the update.

Voice behavior#

Telegram supports inbound voice and outbound voice in this connector. Inbound voice is downloaded and transcribed before the agent turn. With Reply with voice enabled and a speech provider available, Make Agent Fast sends a voice/audio response in addition to text. If transcription or speech fails, ask the user to retry as text and inspect the connector error.

Rotate, disable, or remove#

If the token is exposed, generate/revoke it in BotFather immediately, update the connector with the replacement, and test again. Disabling or removing the connector calls Telegram deleteWebhook without discarding pending updates. Deleting the Make Agent Fast connector does not delete the Telegram bot itself.

Troubleshooting#

SymptomFix
Token rejected on saveCopy the current BotFather token; remove whitespace and ensure it belongs to this bot
Messages reach an older serviceRe-save the connector so Make Agent Fast replaces the Telegram webhook
Direct messages work but group messages do notReview BotFather Privacy Mode and group permissions
Bot does not message a new user firstExpected Telegram behavior; ask the user to open the bot and select Start
Text works but voice failsCheck model/transcription/speech keys and retry with a supported Telegram voice note

Never paste a live token into documentation, source code, analytics, or a support screenshot.