Telegram · from Kimi Code
Post to a Telegram channel from Kimi Code.
A deploy note is often written on the machine that deployed. Kimi Code drafts it there, and our bot posts it to the channel.
A Telegram channel suits what a deploy leaves behind: a few lines on what changed, no picture needed. A channel post can be text alone, up to 4,096 characters, so Kimi Code can write one from the commits since the last tag and post it through 1Social’s bot in the same request. You do not register a bot with BotFather, and no bot token sits in a .env file where a script, a log or the agent itself could read it.
The channel is connected from inside Telegram: you pick it in a chat with our bot, which becomes an admin there, able to post and to edit or delete its own messages. Screenshots and short clips can go along, sent from disk through our upload tool, and up to 10 of them arrive in the channel as one album with the note. A text-only post needs no upload at all, so in Kimi Code’s default mode it stops for one approval, not two.
Asking Kimi 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.
› 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.
› write a short deploy note for the releases channel from the commits since the last tag and post it now
reads git log · one channel
Drafted from the commits since the last tag; it fits as one post:
Posted to the channel by the 1Social bot.
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
Kimi Code, on the other networks
Telegram, from the other agents
- Telegram from ChatGPT
- Telegram from Claude
- Telegram from Cursor
- Telegram from Claude Code
- Telegram from OpenClaw
- Telegram from Hermes
- Telegram from Codex
- Telegram from Claude Cowork
- Telegram from Gemini CLI
- Telegram from VS Code
- Telegram from Windsurf
- Telegram from Cline
- Telegram from Kilo Code
- Telegram from Zed
- Telegram from OpenCode
- Telegram from Amp
- Telegram from Goose
- Telegram from Grok
- Telegram from Perplexity
- Telegram from Le Chat
- Telegram from Raycast
- Telegram from LM Studio
- Telegram from Warp
- Telegram from Junie
- Telegram from DeepSeek
Publishing to Telegram from Kimi Code
A note with nothing attached
Telegram takes a channel post of words alone, so a deploy note from Kimi Code needs no file, no upload step and only the one approval for the publish call.
No token on the deploy box
The bot is ours and the channel link lives in 1Social, so the build machine’s environment, its shell history and the repository never hold a Telegram token.
Build screenshots as one album
Name a few screenshots from the build output and Kimi Code uploads each, then our bot sends them to the channel as a single grouped message with the note.
A kimi -p step after the deploy
A deploy script can end with a kimi -p run that writes and posts the note; print mode approves the call itself, and stream-json output lets the script check it.
How it works
Connect once
~2 minLink the accounts you use in a browser. OAuth, no passwords typed into a chat, no API keys to paste anywhere.
ChatGPT
Claude
Cursor
Ask, in your own words
one sentenceTell Kimi Code to publish to Telegram, now or on a day you name. No dashboard, no tab switch.
Read the receipt
per networkOne line per network — what landed, what failed and why, and what genuinely could not be determined.
In print mode, only a deny rule says no
A deploy job that runs kimi -p has nobody to ask, so Kimi Code approves tool calls automatically in that mode; the documentation names one exception, deny rules, which still apply. That makes deny the rule worth writing for unattended Telegram posts. Our bot can delete its own channel messages for a while after sending them, and the same server offers a delete tool, so a confused run could remove a note it was meant to correct. A rule in ~/.kimi-code/config.toml with decision deny and the pattern for that tool blocks it, and deny outranks every allow. disabledTools on the server entry goes further and hides the tool from the model entirely.
A rule of Telegram from Kimi Code, not ours and not the network’s. From documentation, checked 2026-11-23.
When this is the wrong tool
This reaches Telegram channels only, not groups or one-to-one chats, and it does not report views or reactions back. For a fixed message that never changes, such as a plain deployed line with a version number, your own bot called directly from the pipeline does the job without a model run.
Questions people actually ask
Can a kimi -p deploy step post to a Telegram channel?
Yes. Print mode approves calls itself, so the note goes out once the model calls the publishing tool, and --output-format stream-json lets the script read what happened. Sign in with /mcp-config login on that machine first, and check the first unattended note arrives, since Kimi Code does not document how long that sign-in lasts.
How do I stop an unattended Kimi Code run from deleting channel posts?
Add a rule to ~/.kimi-code/config.toml with decision deny and, as the pattern, our delete tool’s full name, which is mcp__, your server’s name, two underscores and delete_post. Deny rules hold in print mode, where everything else is approved. Or list delete_post under disabledTools so the model never sees it.
Does Kimi Code need a Telegram bot token to post to my channel?
No. The posting is done by 1Social’s bot, which you add to the channel from a chat with it in Telegram. Kimi Code only holds its sign-in to our server, so there is no token to keep in the environment or the repository.
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.