[BUG] CC channels telegram plugin should not hallucinate chat_id

Resolved 💬 3 comments Opened Mar 21, 2026 by dmd Closed Apr 19, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Surely, there is a way to hardcode the chat_id so CC doesn't make typos?

⏺ plugin:telegram:telegram - reply (MCP)(chat_id: "8338733581", text: "It's a Zigbee overflow/leak sensor sitting near the boiler —
                                         the 68°F is the sensor's own internal temperature, not the boiler water temp. It's
                                        basically ambient wherever the sensor is mounted. (Moisture sensor is dry, battery at
                                        73%.)")
  ⎿  Error: reply failed: chat 8338733581 is not allowlisted — add via /telegram:access

⏺ plugin:telegram:telegram - reply (MCP)(chat_id: "8338733381", text: "It's a Zigbee overflow/leak sensor sitting near the boiler —
                                         the 68°F is the sensor's own internal temperature, not the boiler water temp. It's
                                        basically ambient wherever the sensor is mounted. (Moisture sensor is dry, battery at
                                        73%.)")
  ⎿  sent (id: 194)

What Should Happen?

The chat_id should be in a deterministic code path rather than subject to hallucinated typos.

Error Messages/Logs

Steps to Reproduce

Use Claude Code Channels long enough.

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.81 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗