Skip to content

Commit f13b349

Browse files
LeonSGP43teknium1
authored andcommitted
docs: clarify Telegram group chat troubleshooting
1 parent bb2b129 commit f13b349

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

website/docs/user-guide/messaging/telegram.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,28 @@ Hermes Agent works in Telegram group chats with a few considerations:
300300
- Use `telegram.ignored_threads` to keep Hermes silent in specific Telegram forum topics, even when the group would otherwise allow free responses or mention-triggered replies
301301
- If `telegram.require_mention` is left unset or false, Hermes keeps the previous open-group behavior and responds to normal group messages it can see
302302

303+
### Troubleshooting: works in DMs but not groups
304+
305+
If the bot responds in a private chat but stays silent in a group, check these
306+
gates in order:
307+
308+
1. **Telegram delivery:** turn off BotFather privacy mode, promote the bot to
309+
admin, or mention the bot directly. Hermes cannot respond to group messages
310+
that Telegram never delivers to the bot.
311+
2. **Rejoin after changing privacy:** remove the bot from the group and add it
312+
again after changing BotFather privacy settings. Telegram may keep the old
313+
delivery behavior for existing memberships.
314+
3. **Hermes authorization:** make sure the sender is listed in
315+
`TELEGRAM_ALLOWED_USERS` or `TELEGRAM_GROUP_ALLOWED_USERS`, or allow the
316+
group chat with `TELEGRAM_GROUP_ALLOWED_CHATS`.
317+
4. **Mention filters:** if `telegram.require_mention: true` is set, normal
318+
group chatter is ignored unless the message is a slash command, reply to the
319+
bot, `@botusername` mention, or configured `mention_patterns` match.
320+
321+
Negative chat IDs are normal for Telegram groups and supergroups. If you use
322+
chat-scoped authorization, put those IDs in `TELEGRAM_GROUP_ALLOWED_CHATS`, not
323+
the sender-user allowlist.
324+
303325
### Example group trigger configuration
304326

305327
Add this to `~/.hermes/config.yaml`:

0 commit comments

Comments
 (0)