Commit Graph
2 Commits
Author SHA1 Message Date
Sense_wang 521217a7f5 fix(telegram): enforce group_policy in _on_message
When `group_policy` is set to "mention", skip messages in group chats
unless the bot is @mentioned or the message is a reply to the bot.

Fixes #1380
2026-03-01 16:50:36 +00:00
Sense_wang 43329018f7 fix(telegram): add group_policy config for Telegram groups
Add `group_policy` field to `TelegramConfig` with "open" (default) and
"mention" options, consistent with Slack and Matrix channel configs.
2026-03-01 16:50:02 +00:00