Auto post to Telegram from an AI agent
Telegram is the one network where Scheduler posts for you. You connect your own channel and your own bot. Your agent writes the posts and schedules them, and Scheduler sends each one at its time. Telegram needs no app review, so this is safe to automate. The other networks stay manual.
A note from the maker. The sender has already posted to real Telegram channels. It still has limits, listed below. Send the test message first and check your first post in your own channel.
Connect in one minute
- 1
Make a bot
Open @BotFather in Telegram, create a bot and copy its token. The token stays private: Scheduler stores it encrypted and never shows it again.
- 2
Add the bot to your channel
Make the bot an administrator of the channel with the permission to post messages.
- 3
Connect them in Scheduler
Open the Networks screen, add the channel and the token, and press Send test message.
- 4
Make a key
Sign up and press Connect AI (MCP) in the app. It makes a private key and shows the commands.
- 5
Connect your AI agent
Pick your AI app and copy its setup. This is a remote MCP server, so any client that supports remote MCP works.
Add to Claude Code
Open a terminal and run this once. Check it with claude mcp list.
claude mcp add --scope user --transport http persocia-scheduler https://api.persocia.com/mcp/scheduler \ --header "Authorization: Bearer YOUR_KEY"Replace
YOUR_KEYwith your key. Sign up, then press Connect AI (MCP) in the app: it makes the key and fills it in for you. - 6
Ask the agent
Scheduling is a change to your plan, so say the time.
Write three Telegram posts about this week's update in my voice and schedule them for 9:00 on Monday, Wednesday and Friday.
How double posts are avoided
- A post is claimed before it is sent, so two sender runs never send the same one.
- If the outcome is unknown, for example a timeout, the post is marked failed. It is never retried by itself, so you never get a double post.
- Posts of a connected bot are hidden from the due list, so an agent or you will not post them by hand a second time.
Same post on many networks
scheduler_copy_to puts one post on several networks at the same time, each in its own shape. Telegram copies land a few minutes either side of the time, so a channel does not look scripted. Nothing is ever scheduled in the past.
What is not done yet
- One channel per account.
- No first comment, no polls and no Telegram view counts.
- Formatting uses a small fixed set of markup. Anything else is escaped. If Telegram cannot parse a text, it is sent as plain text.
What a session looks like
> scheduler_network_settings
(telegram: connected, bot is admin of the channel)
> scheduler_create_post network="telegram" format="text" …
(a draft in your voice)
> scheduler_schedule_post postId="…" scheduledAt="2026-12-07T09:00:00Z"
(only because you gave a time; Scheduler sends it by itself)
> scheduler_queue
(Telegram posts are not listed here: the bot handles them)Tools involved
scheduler_network_settings, scheduler_set_network_settingsyour switches per networkscheduler_create_post, scheduler_ai_write_postsdrafts for the channelscheduler_schedule_postputs a post on the calendar at the time you gavescheduler_copy_tothe same post on several networks at oncescheduler_queuewhat is due for manual networks (Telegram posts are left out)Limits and safety
- The bot token is encrypted and never returned or logged.
- Your bot posts only to your channel.
- An agent cannot schedule a post unless you gave it a time.
Questions, answered
Yes. You make it with @BotFather and make it an administrator of your channel. Scheduler never uses a shared bot.
No. A post is claimed before sending. If the result is unknown, it is marked failed and never retried by itself.
No. Those networks need your own login, so the agent hands you the post and you publish it. Then it records the link.
Not yet. It is one channel per account.
Pro is $19 a month for 100,000 CU. It is one plan for every Persocia tool, with a 7-day free trial. AI drafting is a Premium feature.
