logoRocketFlow

Telegram

Connect a Telegram bot to your RKT chatbot

Telegram Integration

Create a Telegram bot and connect it to your chatbot in under 5 minutes. Free, no approval process.

Setup

Create a Telegram Bot

  1. Open Telegram and search for @BotFather
  2. Send /newbot
  3. Choose a display name (e.g., "Acme Support")
  4. Choose a username ending in bot (e.g., acme_support_bot)
  5. BotFather gives you a token like 123456789:ABCdefGHIjklMNOpqrsTUVwxyz

Connect in RKT

  1. Go to Integrations > Telegram in the RKT dashboard
  2. Paste the bot token
  3. Click Connect

RKT automatically registers the webhook with Telegram.

How It Works

User messages your Telegram bot
  → Telegram webhook → /api/webhooks/telegram
  → RKT looks up chatbot by bot ID
  → AI generates response
  → Reply sent back to Telegram
  → Conversation visible in RKT inbox

Features

  • Text messages with Markdown formatting
  • Inline keyboards (buttons)
  • Works in private chats and groups
  • No message limits, completely free
  • Each customer gets their own bot

Group Chat Support

To use the bot in groups:

  1. Add the bot to a group
  2. In BotFather, send /setprivacy and select your bot
  3. Choose Disable to let the bot see all messages
  4. The bot will respond to all messages in the group

Tips

  • Set a description: Send /setdescription to BotFather
  • Set an avatar: Send /setuserpic to BotFather
  • Set commands: Send /setcommands for autocomplete

Last updated on