Skip to content

Telegram group topic only responds to @mentions despite requireMention=false and BotFather privacy disabled #79254

Closed

Description

@willis682000

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: false is set
  • groupPolicy: "allowlist" is used
  • allowFrom is 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.

Activity

  1. clawsweeper commented on May 8, 2026

    @clawsweeper
    Contributor

    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: false are 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 /activation state.

    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: false as 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:

    Likely related people:

    • steipete: Authored the commit that restored compatibility-default user-request behavior for unmentioned always-on group traffic and updated the Telegram/group docs and tests. (role: recent area contributor and merger; confidence: high; commits: d4b98f0dc992, 2e5a86adfea7, 07f05e972e27; files: extensions/telegram/src/bot-message-context.require-mention.test.ts, extensions/telegram/src/bot-message-context.session.ts, docs/channels/groups.md)
    • obviyus: Authored the merged room-event PR that introduced the opt-in ambient group mode around the same Telegram unmentioned-group classification surface. (role: feature contributor; confidence: medium; commits: 56cc15077158; files: extensions/telegram/src/bot-message-context.session.ts, extensions/telegram/src/bot-message-context.require-mention.test.ts, src/config/types.messages.ts)
    • Panniantong: Authored the earlier Telegram topic requireMention precedence 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.

  2. barnacle-openclaw commented on May 31, 2026

    @barnacle-openclaw

    This issue has been automatically marked as stale due to inactivity.
    Please add updates or it will be closed.

  3. willis682000 commented on May 31, 2026

    @willis682000
    Author

    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.

  4. added
    P1High-priority user-facing bug, regression, or broken workflow.
    impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.
    on Jun 14, 2026
  5. locked as resolved and limited conversation to collaborators on Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High-priority user-facing bug, regression, or broken workflow.bugSomething isn't workingimpact:message-lossChannel message delivery can be lost, duplicated, or misrouted.regressionBehavior that previously worked and now fails

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions