openclaw - 💡(How to fix) Fix [Bug]: Telegram group chats are not ingested/responded to by OpenClaw bot, while direct messages work normally, with evidence of group-to-supergroup migration handling [1 comments, 2 participants]

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…
GitHub stats
openclaw/openclaw#74694Fetched 2026-04-30 06:21:09
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
2
Author
Timeline (top)
closed ×1commented ×1labeled ×1mentioned ×1

Telegram group chats are not ingested/responded to by OpenClaw bot, while direct messages work normally, with evidence of group-to-supergroup migration handling

Root Cause

This does not appear to be a simple Telegram setup mistake at this point, because the same failure persisted after fresh group creation, privacy changes, admin promotion, fresh messages, and a gateway restart.

RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

Telegram group chats are not ingested/responded to by OpenClaw bot, while direct messages work normally, with evidence of group-to-supergroup migration handling

Steps to reproduce

  1. Configure Telegram bot in OpenClaw

  2. Verify direct messages with the bot work normally

  3. Create a brand new plain Telegram group

  4. Add at least one real human member

  5. Add the bot to the group

  6. Turn BotFather Group Privacy off

  7. Make the bot an admin

  8. Send fresh normal messages in the group

  9. Restart the OpenClaw gateway

  10. Check Telegram group response behavior and logs

Expected behavior

• Bot should receive and respond to Telegram group messages

• Group messages should be routed into OpenClaw normally

Actual behavior

• Direct Telegram chat works normally

• Bot does not respond in Telegram groups

• OpenClaw previously reported no discovered Telegram groups

• Fresh group test still produced no reply from bot

OpenClaw version

OpenClaw version: 2026.4.15

Operating system

macOS 15.7.5 (arm64)

Install method

npm

Model

openai-codex/gpt-5.4

Provider / routing chain

Telegram → OpenClaw local gateway → main agent session → openai-codex/gpt-5.4 via Codex OAuth

Additional provider/model setup details

What was tested

• Added bot to group

• Turned BotFather Group Privacy off

• Made bot admin

• Used a brand new plain test group

• Included a real human member

• Sent fresh messages after setup

• Restarted OpenClaw gateway

• Rechecked status after restart

OpenClaw-side evidence

• Telegram health probe = OK

• canJoinGroups = true

• canReadAllGroupMessages = true

• Config allows unmentioned group messages

• Telegram channel is running in polling mode

• Group directory previously returned no groups

• Channel audit showed:

• checkedGroups: 0

• groups: []

New log evidence from fresh group test

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

On sending a fresh message in the test group, OpenClaw logged:

• Group migrated: "Test" -5231648512 → -1003956572659

• No config found for old group ID -5231648512, migration logged only

Why this seems important

• This suggests Telegram group traffic is reaching the Telegram integration

• The failure may be related to group-to-supergroup migration / ID remapping

• Bot still does not reply after this migration event

Likely issue

This no longer looks like only a discovery/UI problem. It may be a runtime handling issue around Telegram migrated groups or supergroup ID remapping, even though direct Telegram messaging works correctly.

Extra notes

This does not appear to be a simple Telegram setup mistake at this point, because the same failure persisted after fresh group creation, privacy changes, admin promotion, fresh messages, and a gateway restart.

extent analysis

TL;DR

The issue is likely related to Telegram group-to-supergroup migration and ID remapping, causing the OpenClaw bot to fail in responding to group messages.

Guidance

  • Investigate the group ID remapping logic in the OpenClaw Telegram integration to ensure it correctly handles migrated groups.
  • Verify that the canReadAllGroupMessages and canJoinGroups settings are correctly applied after group migration.
  • Check the OpenClaw logs for any errors or warnings related to group ID remapping or migration.
  • Test the bot's response to group messages after manually updating the group ID in the OpenClaw configuration to the new supergroup ID.

Example

No code snippet is provided as the issue seems to be related to the internal logic of the OpenClaw Telegram integration.

Notes

The issue may be specific to the OpenClaw version (2026.4.15) or the Telegram API version being used. Further investigation is needed to determine the root cause.

Recommendation

Apply a workaround by manually updating the group ID in the OpenClaw configuration to the new supergroup ID after migration, and monitor the bot's response to group messages. This may help mitigate the issue until a permanent fix is available.

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…

FAQ

Expected behavior

• Bot should receive and respond to Telegram group messages

• Group messages should be routed into OpenClaw normally

Still need to ship something?

×6

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

Back to top recommendations

TRENDING