openclaw - 💡(How to fix) Fix Telegram Bot cannot respond to any group messages (including @mentions)

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

  • (protected path error)

Root Cause

Investigation revealed that OpenClaw has an internal setting that filters all group messages:

This setting appears to be hardcoded and cannot be changed via:

  • UI settings (not exposed)
  • Config file (not present in )
  • (protected path error)
  • Environment variables
RAW_BUFFERClick to expand / collapse

Bug Description

Telegram Bot configured with OpenClaw cannot respond to any group chat messages, including @mentions. The logs show for all incoming group messages.

Environment

  • OpenClaw Version: 2026.5.7
  • Channel: Telegram
  • Bot Privacy Mode: Disabled (confirmed via Telegram API: )

Steps to Reproduce

  1. Create a Telegram Bot via @BotFather
  2. Disable Privacy Mode ( → )
  3. Add Bot to a group chat
  4. Send any message in the group (with or without @mention)
  5. Observe that Bot does not respond

Expected Behavior

  • With Privacy Mode disabled, Bot should receive group messages
  • With mention, Bot should respond regardless of other settings

Actual Behavior

  • All group messages are skipped with log entry:
  • Both regular messages and @mentions fail to trigger the Bot
  • Private/DM messages work correctly

Root Cause Analysis

Investigation revealed that OpenClaw has an internal setting that filters all group messages:

This setting appears to be hardcoded and cannot be changed via:

  • UI settings (not exposed)
  • Config file (not present in )
  • (protected path error)
  • Environment variables

Attempted Solutions

  1. ✅ Disabled Telegram Privacy Mode via @BotFather
  2. ✅ Removed and re-added Bot to group
  3. ✅ Restarted OpenClaw Gateway
  4. ✅ Verified @mention format (using Telegram's mention feature, not plain text)
  5. ❌ Attempted →
  6. ❌ Searched for environment variable override → None found

Result: All group messages still skipped.

Suggested Fix

One of the following:

  1. Expose in UI/config - Allow users to toggle this setting
  2. Fix @mention detection - Ensure @mentions bypass the filter
  3. Document the limitation - If intentional, clearly document that group chats are not supported

Additional Context

  • Bot token source:
  • Channel mode:
  • in health status confirms Telegram-side is correct
  • Other Bots (e.g., Hermes) work fine in the same group with same privacy settings

Labels

bug, telegram, group-chat

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING