ChannelsTelegram

Telegram

Setup

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

Configuration

Add the bot token to ~/.kyber/.env:

KYBER_CHANNELS__TELEGRAM__TOKEN=YOUR_BOT_TOKEN

Then enable and configure in ~/.kyber/config.json:

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

Fields

FieldTypeDefaultDescription
enabledboolfalseEnable the Telegram channel
allowFromarray[]User IDs or usernames allowed to interact
proxystringnullHTTP or SOCKS5 proxy URL

The bot token is stored in ~/.kyber/.env, not in config.json.

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,
      "proxy": "socks5://127.0.0.1:1080"
    }
  }
}

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