We've been hitting a recurring issue across v2026.3.8, 3.12, and now 3.13 where Telegram outbound delivery silently stops working after a gateway restart (whether from config.patch, update.run, or manual gateway restart).
What happens:
• Inbound Telegram messages are received normally (polling works fine)
• Agent processes the message and generates a reply
• But the reply goes to the TUI/webchat instead of Telegram — the user never receives it
• openclaw status shows Telegram: ON, state: OK (no error reported)
• The message tool with explicit channel: telegram still works — only session routing is broken
• No sendMessage entries in gateway.log after the restart
Pattern observed:
• Sometimes breaks immediately after restart
• Sometimes works for 20-30 minutes then silently stops
• Only fix: gateway restart (which sometimes re-triggers the bug)
• We've had 5+ occurrences in the past week
Environment:
• macOS, Telegram long-polling mode (no webhook)
• Single bot, single user (allowFrom configured)
• Versions affected: 2026.3.8, 2026.3.12, 2026.3.13
Possibly related to: #28622 (health-monitor doesn't detect dead Telegram polling) and the 3.12 fix "Gateway/main-session routing: keep TUI and other mode:UI main-session sends on the internal surface when deliver is enabled" (#43918) — which partially helped but didn't fully resolve it.
Workaround: gateway restart — but it's unreliable since the restart itself can trigger the same bug.
Happy to provide logs or additional details if needed. Thanks!