Telegram

Setup

  1. Open Telegram and message @BotFather
  2. Send /newbot and follow the prompts
  3. Copy the bot token

Configuration

{
  "channels": {
    "telegram": {
      "enabled": true,
      "token": "YOUR_BOT_TOKEN",
      "allowFrom": ["YOUR_USER_ID"],
      "proxy": null
    }
  }
}

Fields

FieldTypeDefaultDescription
enabledboolfalseEnable the Telegram channel
tokenstringBot token from @BotFather
allowFromarray[]User IDs or usernames allowed to interact
proxystringnullHTTP or SOCKS5 proxy URL

Getting your user ID

Message @userinfobot on Telegram — it replies with your numeric user ID.

Proxy support

If you’re in a region where Telegram is blocked, set a proxy:

{
  "channels": {
    "telegram": {
      "enabled": true,
      "token": "YOUR_TOKEN",
      "proxy": "socks5://127.0.0.1:1080"
    }
  }
}

Supports http://, https://, and socks5:// URLs.