telegram

claudegram

OtherClaude Codeby dlucian

Summary

telegram plugin.

Install to Claude Code

/plugin install telegram@claudegram

Run in Claude Code. Add the marketplace first with /plugin marketplace add dlucian/claudegram if you haven't already.

README.md

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/.oga files 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_to to 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.

Related plugins

Browse all โ†’