From 40ef4a56465c4436873341cf57cd2005f437c73e Mon Sep 17 00:00:00 2001 From: Eric Jacksch Date: Sun, 15 Mar 2026 19:14:09 -0400 Subject: [PATCH] docs(config): add telegram_bots and bindings examples to config.example.json Add two disabled example bots (alice, bob) under channels.telegram_bots and corresponding top-level bindings to illustrate how multiple Telegram bots map to separate named channels and agents. Co-Authored-By: Claude Sonnet 4.6 --- config/config.example.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/config/config.example.json b/config/config.example.json index 1c11cd42a..e414860c5 100644 --- a/config/config.example.json +++ b/config/config.example.json @@ -11,6 +11,17 @@ "summarize_token_percent": 75 } }, + "bindings": [ + { + "_comment": "Route each named Telegram bot to a specific agent. Remove this section if you only use one agent.", + "agent_id": "alice", + "match": { "channel": "telegram-alice" } + }, + { + "agent_id": "bob", + "match": { "channel": "telegram-bob" } + } + ], "model_list": [ { "model_name": "gpt-5.4", @@ -83,6 +94,25 @@ ], "reasoning_channel_id": "" }, + "telegram_bots": [ + { + "_comment": "Multiple named Telegram bots — each creates a separate channel (e.g. telegram-alice). Use bindings to route each bot to a different agent.", + "id": "alice", + "enabled": false, + "token": "ALICE_BOT_TOKEN", + "allow_from": ["YOUR_USER_ID"], + "typing": { "enabled": true }, + "placeholder": { "enabled": true, "text": "Thinking... 💭" } + }, + { + "id": "bob", + "enabled": false, + "token": "BOB_BOT_TOKEN", + "allow_from": ["YOUR_USER_ID"], + "typing": { "enabled": true }, + "placeholder": { "enabled": true, "text": "Thinking... 💭" } + } + ], "discord": { "enabled": false, "token": "YOUR_DISCORD_BOT_TOKEN",