Skip to content

Telegram

Telegram is a great channel for reaching your Selu agents from virtually any device. You’ll create a Telegram bot and connect it to Selu — the whole process takes about five minutes.

  1. Open Telegram and search for @BotFather.
  2. Send /newbot and follow the prompts to name your bot.
  3. BotFather will give you a bot token — a long string that looks like 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11. Copy it and keep it safe.
  1. Open the Selu dashboard and go to Settings → Channels → Telegram.
  2. Paste your bot token into the token field.
  3. Click Test Connection to make sure Selu can reach the Telegram API.
  4. Choose which agent should respond to Telegram messages.
  5. Save your settings.

Find your bot in Telegram by searching for the username you chose during setup. Send it a message, and your Selu agent will reply.

By default, your bot only sees messages that are sent directly to it or that mention it with @botname. In group chats, you can disable privacy mode via BotFather (/setprivacy) if you want the agent to see all messages.

Your bot can join Telegram groups and respond to messages. To add it to a group:

  1. Open the group settings in Telegram.
  2. Add your bot as a member.
  3. The agent will respond when mentioned by name or when a message starts with /.
  • Bot not responding — Double-check the bot token in Selu settings. If you regenerated the token in BotFather, update it in Selu too.
  • Webhook errors — Make sure your Selu instance is reachable over HTTPS. Telegram requires a valid SSL certificate for webhooks.
  • Slow replies — If you’re using polling mode, responses may take a few seconds longer. Switch to webhook mode if possible.