Telegram

Setup

  1. Create a bot with @BotFather
  2. Get the token
  3. Set in your config:
{
  "channels": {
    "telegram": {
      "token": "1234:ABC...",
      "dmPolicy": "pairing",
      "allowFrom": ["@your_username"]
    }
  }
}

Restart the gateway: vesper restart

Test

Send /help to your bot. You should get the welcome message.

DM Pairing

For security, unknown senders get a pairing code. Approve them:

vesper pairing approve telegram <code>

Bot commands

  • /start โ€” Welcome
  • /help โ€” Help
  • /agent <mode> โ€” Switch agent
  • /reset โ€” Clear conversation
  • /status โ€” Bot status