Repository navigation
Description
Bug type
Regression (worked before, now fails)
Beta release blocker
No
Summary
After updating OpenClaw, Telegram group/topic messages only trigger the bot when the bot is directly @mentioned. Plain group/topic messages no longer trigger a response.
Steps to reproduce
OpenClaw version:
2026.5.6 (c97b9f7)
Issue:
After updating OpenClaw, Telegram group/topic messages only trigger the bot when the bot is directly @mentioned. Plain group/topic messages no longer trigger a response.
This used to work before the update.
Telegram setup:
- Bot is admin in the Telegram group
- BotFather Group Privacy is disabled
- DM messages work
- Group/topic messages with direct @mentions work
- Plain group/topic messages do not trigger
- Group is a Telegram forum/topic group
Relevant config behavior:
requireMention: falseis setgroupPolicy: "allowlist"is usedallowFromis set for my Telegram user ID- Duplicate default provider was disabled
- Secondary agent ownership of the same group was removed
- Topic-specific config was removed so group-level config should apply
Working log for @mention:
agent:orchestrator:telegram:group:<telegram_group_id>:topic:1(processing/model_call...)
[telegram] sendMessage ok chat=<telegram_group_id>
Expected behavior
With requireMention: false and BotFather privacy disabled, plain messages in the allowed Telegram group/topic should trigger the agent.
Actual behavior
Only direct @mentions trigger the agent.
OpenClaw version
2026.5.6 (c97b9f7)
Operating system
Ubuntu Server 24.04
Install method
npm global
Model
openai/gpt-5.5
Provider / routing chain
openclaw -> openai
Additional provider/model setup details
Telegram forum/topic group setup.
BotFather privacy mode disabled.
Bot is admin in group.
DMs work.
@mentions in group topics work.
Plain topic messages do not trigger despite requireMention=false.
Issue started after updating to 2026.5.6.
Only the default provider owns the group now.
Duplicate provider/topic configs were removed during troubleshooting.
Logs, screenshots, and evidence
BotFather confirms privacy mode is disabled.
Observed behavior:
- DM messages work normally.
- Group topic messages ONLY work when directly mentioning the bot.
- Plain topic messages do not trigger a response despite requireMention=false.
Config cleanup/troubleshooting already performed:
- Removed duplicate default provider/group ownership.
- Removed topic-specific config blocks.
- Removed secondary-agent ownership of the same group.
- Verified requireMention=false in all remaining group configs.
- Verified config validates successfully.
- Restarted gateway multiple times.
Relevant logs when mention works:
agent:orchestrator:telegram:group:<telegram_group_id>:topic:1(processing/model_call...)
[telegram] sendMessage ok chat=<telegram_group_id>
Observed issue:
Plain messages in the same Telegram forum topic produce no response and often no corresponding processing log entries.
Version:
2026.5.6 (c97b9f7)Impact and severity
Affected:
Telegram forum/topic group users using OpenClaw 2026.5.6.
Severity:
Medium-High. Bots appear online but silently ignore normal group conversation unless directly mentioned.
Frequency:
Consistent/reproducible in all tested forum topics.
Consequence:
Breaks natural group-chat interaction workflow. Users must explicitly @mention the bot for every message even with requireMention=false and Telegram privacy mode disabled.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
clawsweeper commentedon May 8, 2026
Thanks for the context here. I did a careful shell check against current
main, and this is already implemented.Current main and the stable v2026.5.18+ behavior no longer match the report: unmentioned Telegram forum-topic messages with
requireMention: falseare classified as actionable user requests by default, with quiet room-event handling only when explicitly configured.I found the merged PR that appears to have closed this: #81317: Treat ambient group chatter as room events.
So I’m closing this as already implemented rather than keeping a duplicate issue open.
Review details
Best possible solution:
Keep the shipped Telegram/group classification behavior and close this older release report; any new reproduction on v2026.5.18 or newer should be filed with fresh logs and
/activationstate.Do we have a high-confidence way to reproduce the issue?
Yes for the reported release path: the issue includes concrete 2026.5.6 behavior and a matching duplicate with
ignoring group message without mention, while current main has targeted regression coverage for the same unmentioned forum-topic admission path. I did not run a live Telegram forum repro in this read-only review.Is this the best way to solve the issue?
Yes. The current solution keeps the fix in the Telegram/channel inbound classification path, preserves
requireMention: falseas an actionable default, and leaves quiet room-event behavior behind an explicit opt-in setting.Security review:
Security review: This is an issue triage review with no patch and no security-sensitive report to review.
AGENTS.md: found and applied where relevant.
What I checked:
buildTelegramMessageContextresolves topic/group config before inbound body handling and passes the effectiverequireMentionvalue into the mention gate, so group/topic config is part of the admission decision on current main. (extensions/telegram/src/bot-message-context.ts:435, f1b8827d20c8)user_requestunless the unmentioned group policy is explicitlyroom_event; the resolver also defaults unsetmessages.groupChat.unmentionedInboundtouser_request. (src/channels/inbound-event/classification.ts:26, f1b8827d20c8)requireMention: falseand assert it remains auser_request, plus explicit topicrequireMention: falseoverriding stricter group/activation state. (extensions/telegram/src/bot-message-context.require-mention.test.ts:49, f1b8827d20c8)requireMention: truestores unmentioned messages for context only, while always-on group chatter is a user request by default or a room event only when configured. Public docs:docs/channels/groups.md. (docs/channels/groups.md:35, f1b8827d20c8)extensions/telegram/src/bot-message-context.require-mention.test.ts:65, d4b98f0dc992)fix: gate ambient room event turns, committed on 2026-05-15T21:47:46+01:00 by Peter Steinberger. (d4b98f0dc992)Likely related people:
extensions/telegram/src/bot-message-context.require-mention.test.ts,extensions/telegram/src/bot-message-context.session.ts,docs/channels/groups.md)extensions/telegram/src/bot-message-context.session.ts,extensions/telegram/src/bot-message-context.require-mention.test.ts,src/config/types.messages.ts)requireMentionprecedence fix and focused tests that current topic/group mention handling still builds on. (role: adjacent topic mention-precedence contributor; confidence: medium; commits: a7b665cfed34; files:extensions/telegram/src/bot-message-context.ts,extensions/telegram/src/bot-message-context.require-mention.test.ts)Codex review notes: model internal, reasoning high; reviewed against f1b8827d20c8; fix evidence: merged PR #81317, release v2026.5.18, commit d4b98f0dc992.
barnacle-openclaw commentedon May 31, 2026
This issue has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.
willis682000 commentedon May 31, 2026
This problem is still an issue. and has not been fixed. I just moved to hermes. its way better. Openclaw is just something to use as a toy or to add for a side agent. Hermes is a real way to do things. I suggest everyone go to that. they actually know how to run something. unlike this project.