Telegram
Connect your bot to Telegram via BotFather and a GoBotify webhook.
Prerequisites
- A Telegram bot token from @BotFather.
- Your GoBotify webhook template:
/integrations/telegram/webhook/{deploymentId}.
Steps in GoBotify
- Choose Telegram as the platform.
- Enter your Bot token.
- Save + deploy to get the concrete webhook URL (with your deployment ID).
Set the webhook in Telegram
Run the following (replace placeholders):
https://api.telegram.org/bot<YOUR_BOT_TOKEN>/setWebhook?url=https://api.gobotify.com/integrations/telegram/webhook/<DEPLOYMENT_ID>
- You should receive
{"ok":true}. - If you need to reset, call
deleteWebhookthen set again.
Permissions and privacy
- Keep the token secret; rotate it in BotFather if leaked.
- If you use group chats, ensure the bot is allowed to read messages (disable privacy mode if required).
Test checklist
- Send a message to your bot handle in Telegram; you should see a reply grounded in your knowledge base and personality.
- Ask an out-of-scope question to confirm fallback/escalation behavior.
- Verify analytics by POSTing message events to
/analytics/messageso the dashboard tracks Telegram usage.