Overview
The Telegram channel lets you interact with FERAL through direct messages or group chats. Messages are relayed to the brain over WebSocket — FERAL responds with text, SDUI cards, or voice notes depending on context.Setup
1
Create a bot with BotFather
Open Telegram and message @BotFather:Follow the prompts to name your bot. BotFather returns a token like:Copy this token — you’ll need it in the next step.
2
Set the bot token
3
Configure bot settings (optional)
Customize behavior in
settings.json:A sender that is not allowlisted is recorded and receives no reply
at all, so a stranger cannot learn whether a brain is listening
(
channels/base.py:345-362).4
Restart FERAL
5
Test the connection
Open Telegram and send a DM to your bot:You should see a response within a few seconds. Check the REPL or dashboard for the relayed message.
Group Chat Usage
Add the bot to a Telegram group, then put that group’s chat id inallowed_chats. There is no separate group toggle: a group is allowed exactly when its chat id is allowlisted.
To let the bot read all group messages (for proactive suggestions), disable privacy mode via BotFather:
/setprivacy → Disable.Supported Message Types
Troubleshooting
Bot doesn't respond
Bot doesn't respond
Run
feral status and verify the Telegram channel shows as connected. Check that FERAL_TELEGRAM_BOT_TOKEN is set and valid.Bot responds in DMs but not groups
Bot responds in DMs but not groups
Put the group’s chat id in
allowed_chats, and disable the bot’s privacy mode in BotFather so it can see group messages.