/private-chat-engines:chat-telegramfrom private-chat-engines
Explains Telegram's MTProto architecture, cloud-chat design, Secret Chat limitations, and the bot/Mini-App developer ecosystem. Essential for understanding Telegram's trust model and building on its platform.
Ships in private-chat-engines. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Part 3 of 6 of the Private Chat Engines dossier (plugin
private-chat-engines), covering §1–§7. Sibling skills:chat-orientation-threat-models-and-landscape(§0–§5 — the three architectural families, threat-model taxonomy, the comparison matrix, the timeline, the five forces),chat-signal(§1–§6 — the protocol stack, the organisation and its costs, legal posture, operator and developer perspectives, honest weaknesses),chat-matrix-and-element(§1–§6 — federation, Matrix 2.0, the ecosystem and its funding, the homeserver operator handbook, the developer surface),chat-the-wider-field(§1–§13 — MLS and Wire, WhatsApp, iMessage PQ3, Threema, Olvid, SimpleX, Session, Nostr, XMPP, Briar, Delta Chat, the dead ones, the policy annex),chat-builder-and-operator-playbooks(§1–§12 — protocol shape, the crypto checklists, the metadata budget, abuse under E2EE, the unglamorous 80%, ops checklists, incident playbooks). Section numbers are per skill, not shared across the set: each file is a self-contained dossier entry. A reference written as §N →skillpoints at that skill's own §N.Currency: state of research 16 September 2026. §1's architecture is stable fundamentals. §2 (the prosecution and compliance turn), §3 (scale and economics) and §4 (geopolitical squeeze) are dated specifics and move quickly.
⚠️ The most feature-rich platform, the biggest developer ecosystem of the three headline apps, and the most misunderstood on privacy.
⚠️ GOTCHA boxes mark where the common mental model is wrong in ways that get people hurt or products mis-designed.
The three ideas that organize this document:
- ⚠️ DEFAULT TELEGRAM CHATS ARE NOT END-TO-END ENCRYPTED Everything is encrypted in transit and at rest, but Telegram holds the keys. That is precisely what makes multi-device sync, 200,000-member groups, searchable history and channels possible. Treat any claim that Telegram is an E2EE messenger as false.
- ⚠️ THE FEATURE SET IS THE TRUST TRADE Every capability people love about Telegram is downstream of the server being able to read content. You cannot keep the features and remove the trust — that is the whole architecture, not an oversight.
- ⚠️ THE DEVELOPER PLATFORM IS RICH, AND ON A LEASH Bots and Mini-Apps are the strongest ecosystem in the field, but you build on somebody else's infrastructure under terms that changed materially after the prosecution. §6 covers the constraints before you commit.
Telegram is simultaneously the most feature-rich messaging platform, the biggest developer platform of the three headline apps, and the most misunderstood on privacy. The one-sentence mental model: Telegram is a cloud service with an E2EE sidecar — its default privacy model is "trust Telegram," and its 2024–2026 legal history shows exactly what that trust means in practice.
Default chats, groups and channels are encrypted between client and Telegram's server (MTProto 2.0), and Telegram holds the key material — that is what makes seamless multi-device sync, server-side search, 200k-member groups and unlimited channels possible. It also means Telegram can technically read all of it. This is a product decision, not an accident.
1:1 only, mobile apps only, device-bound (no sync, no seamless restore), and not the default — and unavailable on desktop/web/third-party clients, which is why almost nobody uses them. 1:1 voice/video calls are E2EE; group voice/video calls are not (they're server-mediated with client-server encryption). Any security analysis of "Telegram" that doesn't disaggregate these is worthless.
Key agreement also requires both parties to be online: MTProto's E2E layer has no asynchronous pre-key bootstrap of the X3DH kind, so a Secret Chat cannot be opened to a device that is simply switched off. That is a second, quieter reason almost nobody uses them — the feature fails exactly when mobile messaging normally works.
MTProto is a bespoke protocol (auth-key DH → per-message keys derived from a middle slice of a SHA-256 of the plaintext, encrypted in an unusual IGE-mode construction, 2.0 fixing the worst 1.0 weaknesses). The landmark academic treatment is Albrecht, Mareková, Paterson & Stepanovs, "Four Attacks and a Proof for Telegram" (IEEE S&P 2022): four practical-to-theoretical attacks (e.g. order-swapping of messages, implementation-leak timing) — all responsibly disclosed and fixed — plus a formal proof that MTProto 2.0 meets a weakened IND-CCA notion under its assumptions. The durable lesson is the paper's subtext, not its headline: rolling your own protocol buys you a cryptography paper, not better security. Everyone else standardized on Signal Protocol/MLS; nobody standardized on MTProto.
Telegram's clients are open source (with reproducible builds worth studying); the server is closed-source and proprietary. You cannot self-host Telegram, and there is no federation. "Telegram" as infrastructure means Telegram's datacenters under UAE-administered management.
Channels (one-to-many, unlimited), groups to 200k members, topics, bots, Mini Apps (in-chat web apps), Stories, Premium stickers/gifts, TON-based in-app economy — Telegram is closer to "encrypted-optional WeChat-without-the-store" than to Signal. That breadth is why developers and operators love it even as privacy professionals warn users off it for sensitive content.
Operator takeaway: since late 2024 Telegram is a cooperative data holder for phone number/IP/subscriber metadata, and its public channels/groups are effectively surveilled space. Treat Telegram accordingly — a content-public, metadata-cooperative service with excellent UX.
⚠️ Telegram publishes no audited financials; figures come from investor materials reported by the FT and statistics roundups — management-disclosure grade, not audited grade.
Why this matters for privacy people: Telegram's revenue engine (TON deals, ads, mini-app economy) rewards more visibility, not less. The incentives point away from E2EE-by-default.
You can't operate Telegram, but an enormous amount of organisational life runs on it. The real operator skills:
requestChat — see
core.telegram.org/bots/webapps.Since January 2025, anything blockchain-adjacent in a Mini App must run exclusively on TON (TON Connect SDK only; multi-chain apps had to migrate by 21 Feb 2025). Official: Telegram Blockchain Guidelines; defence and controversy: Cointelegraph, Feb 2025. Translation for developers: Telegram gives you 1B users and a built-in wallet economy, and takes in exchange chain lock-in and policy risk. Bots without Mini Apps are exempt.
Paid bots/services (Stars, external payment providers for physical goods), channel ads revenue share for large channels, Premium-restricted features economy, TON mini-app commerce, sponsored posts. Telegram is the only platform in this dossier where a solo developer can plausibly make a living inside the messenger.
Everything a bot sees is known to Telegram's servers; Mini App init data must be verified against the bot token HMAC; user phone numbers shared with bots only via explicit consent buttons; and remember group "privacy mode" — bots only see @-mentions unless admins grant message access.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
6 skills in this plugin
/chat-builder-and-operator-playbooksUse when designing or running a private-chat product — choosing the protocol shape before touching cryptography, the crypto stack as checklists, the server components and key custody you have to get right, the pre-launch audit checklist, the metadata budget table every service should fill in, abuse and trust-and-safety under E2EE, the unglamorous 80%, the WebRTC layer behind voice and video, maintained libraries to start from, ops and incident checklists, and budget intuition from public numbers. Companion to the other private-chat-engine skills./chat-matrix-and-elementUse when running or building on Matrix — the federated protocol and its room/event model, Olm and Megolm, Matrix 2.0 and where it stands, the ecosystem's organisations and funding, the homeserver operator handbook including the European sovereignty deployments, and the developer surface. Companion to the other private-chat-engine skills./chat-orientation-threat-models-and-landscapeUse when orienting in private messaging — the three architectural families and what follows from each, the threat-model questions that decide every other choice, the September 2026 comparison matrix, how the field got here, and the five forces reshaping it. Start here. Companion to the other private-chat-engine skills.npx claudepluginhub the-vibey-project/vibey --plugin private-chat-engines