Claude Code

Zernio for Claude Code

Add the server

Registers Zernio over HTTP. Nothing to install.

then sign in

Run Telegram from Claude Code

Reply to messages in the group or channel and publish posts on Telegram, from Claude Code. Claude Code runs in your terminal, so a long platform job can end as a CSV, a markdown report or a script committed to the repo.

  • Inbox
  • Publishing

Join 200,000+ of the world's most ambitious developers and builders

Warner Music Group
Runable
ClickUp
MoFlo
RE/MAX
Readdy
Long jobs from the terminal

Clear a backlog of Telegram messages in one sitting with Claude Code

Claude Code is a terminal agent. Give it a job that takes many steps, like a week of conversations to sort or every campaign to audit, and it works through Zernio's tools until the job is done, then writes the result to a file you can diff, share or rerun.

  1. 01

    Ask Claude Code: "go through every open Telegram conversation, answer the ones docs/faq.md covers and list the rest in notes/escalate.md".

  2. 02

    It pages through the open threads with Zernio's inbox tools and, for a big backlog, hands batches to subagents so the work runs in parallel.

  3. 03

    It stops with the drafted replies. You approve them in the terminal and only those go out.

  4. 04

    The leftovers land in notes/escalate.md with links, ready for a person to pick up.

Use cases

How people run Telegram from Claude Code

Backlog sweep

After a launch or a weekend away, Claude Code works through every open Telegram conversation, drafts answers from your docs, and writes the ones it could not answer to a file for the team.

Hooked audit log

A PostToolUse hook in .claude/settings.json appends every Zernio call Claude Code makes on Telegram to a log file, so you can see later what was sent and when.

One command for the team

The Telegram pass that worked is saved as a slash command in .claude/commands and committed, so anyone on the team runs the same steps from their own terminal with their own sign-in.

Setup

Claude Code and Telegram in 4 steps

Claude Code reaches Telegram through the Zernio MCP server. No Zernio server to host and no Telegram developer app of your own.

01

Connect Telegram

Sign up free and connect a Telegram channel or group, with Zernio's bot @LateScheduleBot as an admin who can post in Zernio.

Connect Telegram

02

Add the server

One command registers Zernio over HTTP.

03

Sign in

Run /mcp, pick zernio and approve in the browser window that opens. No API key to paste.

04

Check it works

Run claude /mcp again and confirm zernio is listed as connected.

Good to know in Claude Code

  • Claude Code asks before each Zernio tool call. Allow the zernio tools in .claude/settings.json once you trust them, so long jobs do not stop for every call.
  • Hooks can run your own command before or after a Zernio tool call, for example to log every reply sent or block a pause outside work hours.
  • claude -p runs a prompt without the interactive session, so a cron job or CI step can rebuild a report on a schedule.
What it can do

What Claude Code can do on Telegram

Claude Code runs in your terminal, so a long platform job can end as a CSV, a markdown report or a script committed to the repo.

Inbox

Claude Code pages through Telegram messages in bulk, drafts replies from files in the repo and writes what it skipped to a list.

Messages in the connected group or channel, with replies, attachments and inline keyboards.

Publishing

Claude Code turns a changelog or release notes into queued Telegram posts, last, after the inbox and ads work is done.

  • Text messages
  • Photo, video and document messages with a caption
Prompts

Ask in plain words. Claude Code picks the tools.

Written for how Claude Code works. Copy one, change the details.

Long jobs from the terminal, in Claude Code

Limits

Telegram rules the agent runs into

Set by Telegram's API or by Zernio, whichever agent you use. Checked against the Zernio Telegram docs on December 4, 2026.

  • The bot must be an administrator with the Post Messages permission, or every post fails.
  • In a group, posts appear as "Social Media Connector". In a channel they appear as the channel.

Connecting Claude Code is free. Its calls bill like the API requests behind them.

Each Telegram account counts as one connected account. The first 2 connected accounts are free, then $6 per account a month, falling to $1 as you add more.

Frequently Asked Questions

Connect a Telegram channel or group, with Zernio's bot @LateScheduleBot as an admin who can post in Zernio first. Then, in Claude Code: add the server and sign in. Run claude /mcp again and confirm zernio is listed as connected.

Not by default. It asks before each tool call until you allow the Zernio tools for the session or in .claude/settings.json, so replies, ad changes and posts wait for your yes.

Yes. claude -p runs a prompt without the interactive session, so cron or a CI job can call it. Allow the Zernio tools it needs in the project settings first, or it will stop to ask.

Yes. Claude Code can hand parts of a job, like batches of conversations or one campaign each, to subagents that run with their own context and report back to the main session.

Wherever you ask: a CSV in data/, a markdown report, a JSON log. They are plain files in your repo, so you can diff them, commit them or pass them to another script.

Yes. Save the prompt as a project slash command in .claude/commands and commit it. Everyone who has added the Zernio server runs the same steps with their own sign-in.

Add @LateScheduleBot to the channel or group as an administrator with permission to post, then send it the access code Zernio gives you. The code is valid for 15 minutes.

Give Claude Code your Telegram account

Connect a Telegram channel or group, with Zernio's bot @LateScheduleBot as an admin who can post, add Zernio to Claude Code, and ask.