- Create a bot with BotFather.
- Copy the bot token.
- Start with manual pairing. The first DM creates a pending pairing request you approve locally.
Use Telegram as a first-class Waterbrother surface. Start in DM, bridge into the live TUI, then move into trusted shared-room execution, review, and mediation when your team is ready.
waterbrother config set-json channels '{"telegram":{"enabled":true,"botToken":"YOUR_BOT_TOKEN","pairingMode":"manual","allowedUserIds":[]}}'
waterbrother config set-json gateway '{"enabled":true,"controlMode":"single-user","startupChannels":["telegram"]}'
waterbrother channels status
waterbrother gateway status
waterbrother gateway run telegram
After the gateway connects, send your bot any DM. Waterbrother records a pending pairing request locally. Approve it with waterbrother gateway pair telegram <user-id>, then retry the DM. Pending requests expire automatically after 12 hours unless approved.
If Telegram is configured in first-run onboarding with startup enabled, launching the Waterbrother TUI will autostart the Telegram gateway in the background for you.
Telegram replies are rendered as safe HTML with code blocks, typing activity, and an in-progress message that gets edited into the final reply before any chunked follow-up messages are sent.
If the Waterbrother TUI is already open, Telegram prompts are injected into that live session and the work stays visible in the terminal. A paired Telegram user then has the same live session permissions as the terminal operator. If no live TUI host is attached, Telegram falls back to the remote session runner.
Telegram also supports remote workspace commands: /cwd, /use <path>, /desktop, and /new-project <name>. Supported remote commands also include /help, /status, /runtime, /sessions, /resume <id>, /new, and /clear.
Shared projects can now be enabled locally with waterbrother project share. Once shared, Telegram exposes /room, /events, /mode, /claim, /release, /whoami, /people, /project, and conversational room control for the full room/operator workflow.
For group collaboration, add the humans to the Telegram group with normal Telegram controls, then let them speak once in the room. Owners can use conversational requests like add Austin as editor, pair Austin, or have Austin's bot be reviewer instead of relying on ids first.
When more than one Waterbrother terminal is live, Telegram can now show which terminals are live, route work to the selected executor, send blocking review to a live reviewer, route verification to the selected verifier, show structured reviewer outcomes, and let the room act with accept reviewer concerns, override reviewer, rerun verification, or override verification. Verification can run in an isolated temporary worktree when the repo supports it.
The only reduced path is the fallback remote runner, which still uses approval=never when no live TUI host is attached.