claudegram
Telegram for Claude Code โ but better. An enhanced, self-maintained fork of Anthropic's official Telegram plugin (anthropics/claude-plugins-official โ telegram), carrying a set of real-world improvements built while running Telegram as the primary channel for an always-on Claude Code agent.
Upstream is a large plugin catalog (telegram is one of many), the telegram plugin itself is largely feature-static, and external PRs are auto-rejected โ so these enhancements live here instead, as first-class code rather than patches reapplied after every upgrade.
What it adds over upstream
The single MCP server (server.ts) extends the stock plugin with:
- ๐๏ธ Voice notes โ send
.ogg/.opus/.ogafiles as native Telegram voice messages (sendVoice), not documents. - ๐ฅ Durable inbound โ inbound messages are persisted and replayed, so nothing is lost if no session is listening the moment they arrive.
- โป๏ธ Poller hygiene โ cleans up zombie/duplicate long-poller processes that otherwise fight over
getUpdates. - ๐คซ Headless skip โ well-behaved in non-interactive/headless contexts.
- ๐ Inbound reactions โ surfaces emoji reactions on your messages as structured inbound events.
- ๐ Transcripts โ append-only inbound/outbound transcript logging (with Telegram-side timestamps) for durable history beyond Telegram's no-history Bot API.
- โ๏ธ Markdown that just works โ write natural Markdown (
bold,_italic_, `code,text`); the plugin escapes to MarkdownV2 for you (an audit of historical replies showed a ~13% escape-failure rate when callers hand-rolled escapes โ this kills that class of bug). - ๐ Location ingest โ handles inbound location/pin messages.
On the roadmap (from the agent that runs this)
- ๐งต Auto reply-threading โ default
reply_toto the triggering message so parallel conversation topics thread automatically. - ๐ ๏ธ Live tool-use display โ a single self-updating message showing what the agent is doing in real time.
Status
Working baseline mirrors the live, patched plugin. Install/marketplace wiring and the roadmap items above are in progress.
License
MIT (see LICENSE). Built on Anthropic's official Telegram plugin; thanks upstream for the foundation.





