Telegram · from Claude Code

Post to a Telegram channel from Claude Code.

A channel is where a deploy note reaches the people who care. Claude Code writes it and our bot sends it, with no token in your environment.

Telegram channels suit what a terminal produces: a short text note that something shipped, with no picture needed. A channel post can be words alone, up to 4,096 characters, so Claude Code can write one from the commits since the last tag and publish it in the same task, through 1Social’s bot. There is no bot of your own to create, and no token to keep in a .env file where the agent, a teammate or a log could read it.

Screenshots and clips go out too: Claude Code uploads them from disk through our upload tool, and we hand them to the bot, which posts them to the channel — up to 10 at once as an album. The channel itself is connected inside Telegram, by choosing it in a chat with our bot, which becomes an admin there with the right to post and to edit and delete its own posts.

Asking Claude Code for a Telegram post

The Telegram ceilings in this exchange come from the same table the publisher enforces — the conversation is drawn, the numbers are not.

Claude Code17:20

› Set me up — what do you need?

Just the accounts. Connect them in the browser once and I can publish from here after that.

› Done, connected

I will tell you before publishing if a network cannot take what you wrote.

› Good. Drafting the launch note now

Send it over and I will check it before anything goes out.

› deploy went out — write a short note for the telegram channel from the commits since the last tag and post it now

reads git log · text only

1S

Text only, so the channel needs nothing else:

Telegram caption4,096fits
Image or videooptional here
Reply chainsjoined into one post
Attachments allowed10per post

Posted to the channel. The link to the post is above if you want to check it.

› _

What Telegram allows

Read from the same table the publisher enforces, so this cannot drift from what actually happens when you press send.

Caption limit
4,096 characters
Post with no image or video
Fine
Reply chains
No — the parts are joined into one post
Images or video per post
10
Image formats
Anything we accept for upload

Claude Code, on the other networks

Telegram, from the other agents

Publishing to Telegram from Claude Code

A note needs nothing else

A text-only deploy note goes straight to the channel, so a release script has nothing to find or attach before Claude Code can send it.

No bot token anywhere local

The bot is ours and the channel connection sits in 1Social, so nothing in the repository or the shell grants the right to post to your channel.

Screenshots as an album

Several images from the project are uploaded from disk and sent as one album, so subscribers see the pictures themselves rather than links to them.

Deleting has a short window

A post can be taken down from a later session for two days after publishing. Past that Telegram stops bots deleting, and the reply says so.

How it works

1

Connect once

~2 min

Link the accounts you use in a browser. OAuth, no passwords typed into a chat, no API keys to paste anywhere.

ChatGPT

Claude

Cursor

2

Ask, in your own words

one sentence

Tell Claude Code to publish to Telegram, now or on a day you name. No dashboard, no tab switch.

3

Read the receipt

per network

One line per network — what landed, what failed and why, and what genuinely could not be determined.

Allowing the tool for good removes the last pause

Claude Code asks before calling a tool, and its prompt offers to stop asking for that tool from then on. For most networks that is a convenience. For a Telegram channel it changes what an instruction means: once publishing is allowed, a passing “tell the channel” in the middle of a longer task becomes a post that every subscriber can be notified about within seconds, with no step where you read it first. Keep the publishing tool on ask in projects where that matters, or allow the check and leave the publish to yourself.

A rule of Telegram from Claude Code, not ours and not the network’s. From documentation, checked 2026-11-23.

When this is the wrong tool

If you want to read or answer the channel’s comments, or see view counts after a post, Telegram gives neither to bots, so none of that reaches the terminal. And groups and private chats are not supported here — only channels, where you are an admin allowed to add other admins.

Questions people actually ask

Can Claude Code post to a Telegram channel from a deploy script?

Yes, by running claude -p from the script with the publishing tools allowed for that run. Claude Code writes the note, our bot sends it, and the run’s output carries the result. A script that only ever sends the same line is simpler talking to a bot of its own.

Do I need a Telegram bot token to post from Claude Code?

No. Posts go through 1Social’s bot, which you add to the channel from inside Telegram when you connect. Claude Code only holds its authorisation to our server, and nothing on your machine can post to the channel by itself.

Can I make Claude Code ask before every post to the channel?

Yes. Leave the publishing tool out of the allowed list in your Claude Code settings and every publish call stops for your approval first. Allowing only the check lets it prepare posts without sending them.

Something else? Ask us — a person answers.

Read next

Start where you already work.

Connect an account and post your first update in about two minutes. Every plan starts with a free trial.

Posts go out through each network’s official API — not scraping.