Telegram
Setup
- Open Telegram and message @BotFather
- Send
/newbotand follow the prompts - Copy the bot token
Configuration
Add the bot token to ~/.kyber/.env:
KYBER_CHANNELS__TELEGRAM__TOKEN=YOUR_BOT_TOKENThen enable and configure in ~/.kyber/config.json:
{
"channels": {
"telegram": {
"enabled": true,
"allowFrom": ["YOUR_USER_ID"],
"proxy": null
}
}
}Fields
| Field | Type | Default | Description |
|---|---|---|---|
enabled | bool | false | Enable the Telegram channel |
allowFrom | array | [] | User IDs or usernames allowed to interact |
proxy | string | null | HTTP 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.