openclaw - 💡(How to fix) Fix [Bug] Telegram group replies sent to wrong chat_id (DM instead of group) in 2026.5.7

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…

Fix Action

Fix / Workaround

Workarounds

RAW_BUFFERClick to expand / collapse

Bug Description

When receiving messages from a Telegram group, replies are being sent to the user's direct message (DM) chat_id instead of the group chat_id where the message originated.

Steps to Reproduce

  1. Set up a Telegram bot with group messaging enabled
  2. Add bot to a Telegram group
  3. Send a message in the group
  4. Bot receives the message and creates a session for the group correctly
  5. Bot typing indicator shows in the group
  6. But the reply is sent to the user's DM instead of the group

Expected Behavior

Replies should be sent back to the same group where the message was received.

Actual Behavior

Replies are sent to the user's direct message chat_id (e.g., 6543104235) instead of the group chat_id (e.g., -5167418353).

Evidence

Log shows: telegram sendMessage ok chat=6543104235 message=4531 Expected: telegram sendMessage ok chat=-5167418353 message=4531

The session IS correctly created for the group (agent:main:telegram:group:-5167418353), but outbound messages route to the wrong target.

Environment

  • OpenClaw Version: 2026.5.7 (eeef486)
  • Platform: Heyron.ai hosted gateway
  • Telegram Plugin

Workarounds

Direct messages (DM) work correctly. Only group messaging is affected.

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

openclaw - 💡(How to fix) Fix [Bug] Telegram group replies sent to wrong chat_id (DM instead of group) in 2026.5.7