Skip to content

Collects as they arrive, acts daily

Schedule Telegram channel posts from your bot

Send your bot "/at 18:00" with a post, and ClickRuntime publishes it to your Telegram channel at that time.

Runs
Collects as they arrive, acts daily
Apps
Telegram
AI
Not needed
Access
bot token (bot admin in the channel)

Send this to your assistant

Create a ClickRuntime automation: when I send my Telegram bot "/at 2026-11-12 18:00" followed by text, post that text to my channel at that time in my time zone and confirm. "/queue" should list what is scheduled and "/cancel N" should remove one.

Paste it into your assistant. It tells you what it will send or change before it runs live.

First time? Adding ClickRuntime to your assistant takes about two minutes.

Why use it

Why teams use this automation

Telegram's app lets you schedule a message, but only from the device in front of you, one at a time, with no shared view of what is planned. Channel owners who post every day end up setting phone reminders to post by hand.

This automation turns your bot into a simple post queue. You send it the time and the text, it confirms, and at that time the post goes to your channel. /queue shows what is planned and /cancel removes a post.

It suits channel owners, small shops and community admins who plan posts ahead in batches.

What you get out of it

  • Plan a week in one sitting

    Send several /at commands in a row and the posts go out on their own.

  • See what is coming

    /queue lists every scheduled post with its time, which the app's scheduler does not show across devices.

  • Posts as the channel

    The bot publishes as the channel, the same as a manual post.

  • Confirmation after each post

    You get a short note once a post is out, so you know it went.

  • Easy to change

    Cancel or re-add a post with one message instead of hunting through scheduled items.

How it works

What happens, step by step

  1. You send your bot a command like "/at 2026-11-12 18:00" followed by the post.

  2. ClickRuntime saves the post and replies with the time it will go out.

  3. Every 5 minutes it checks for posts that are due and publishes them to your channel as the bot.

  4. Send /queue to see what is waiting, or /cancel with a number to drop one.

Before it runs live

  • Connect Telegram
  • Paste your automation's link into the other app's webhook settings

What you get

RunsCollects as they arrive, acts daily
Schedule Telegram channel posts from your bottoday, 9:00Succeeded
Telegram · your botScheduled #3 for Wed 12 Nov 18:00 "Winter sale starts now: 20% off all prints until Sunday." Posted #2 to @harbourprints at 09:00

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. Your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

Changes you can ask for

  • Act only on the items that match your own rules, and skip the rest
  • Add an AI step, for example to summarize, sort or draft a reply
  • Add another app, for example also send it to Slack
  • Combine it with other Telegram steps into one automation

Under the hood

The code that runs this automation

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
schedule_telegram_channel_posts_from_your_bot.pyexample
from datetime import datetime
from zoneinfo import ZoneInfo
from clickruntime import on_trigger, credentials, http, state

OWNER, CHANNEL, TZ = 123456789, "@yourchannel", ZoneInfo("Europe/London")

def tg(method, **params):
    r = http.post(f"https://api.telegram.org/bot{credentials.secret('TELEGRAM_BOT_TOKEN')}/{method}", json=params)
    r.raise_for_status()
    return r.json()["result"]

@on_trigger
def run(event):
    queue = state.get("queue") or []
    msg = (event.get("json") or {}).get("message")
    if msg:  # a command from the owner
        if msg["chat"]["id"] != OWNER:
            return {"skipped": True}
        text = msg.get("text", "")
        if text.startswith("/at "):
            parts = text.split(" ", 3)
            when = datetime.strptime(f"{parts[1]} {parts[2]}", "%Y-%m-%d %H:%M").replace(tzinfo=TZ)
            n = (state.get("n") or 0) + 1
            queue.append({"n": n, "at": when.timestamp(), "text": parts[3]})
            state.set("n", n)
            reply = f"Scheduled #{n} for {when:%a %d %b %H:%M}"
        elif text.startswith("/cancel "):
            queue = [q for q in queue if str(q["n"]) != text.split()[1]]
            reply = "Removed."
        else:
            reply = "\n".join(f"#{q['n']} {datetime.fromtimestamp(q['at'], TZ):%d %b %H:%M} {q['text'][:40]}" for q in queue) or "Nothing scheduled."
        state.set("queue", queue)
        tg("sendMessage", chat_id=OWNER, text=reply)
        return {"queued": len(queue)}
    now = datetime.now(TZ).timestamp()  # schedule: post what is due
    due = [q for q in queue if q["at"] <= now]
    for q in due:
        tg("sendMessage", chat_id=CHANNEL, text=q["text"])
        tg("sendMessage", chat_id=OWNER, text=f"Posted #{q['n']} to {CHANNEL}")
    state.set("queue", [q for q in queue if q["at"] > now])
    return {"posted": len(due)}

FAQ

Common questions

How exact is the posting time?
Posts go out on the first check after the time you set, so within 5 minutes. Telegram's own scheduler is exact but only available in the app, not to bots.
Can I schedule photos?
Yes, with a small change: ask your assistant to accept a photo with the /at command in its caption and post it with copyMessage, which keeps the image and formatting.
Can several admins schedule posts?
Yes. Add their chat IDs to the allowed list and each confirmation goes to whoever scheduled the post.
What permissions does it need?
bot token (bot admin in the channel). Nothing else in your accounts is used.
Does it need AI?
No. It runs without AI, so it doesn't use your plan's AI allowance.
How many runs does it use?
One run each time it checks. Checks that find nothing new and stop right away aren't counted.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

Set up “Schedule Telegram channel posts from your bot” from your assistant

Copy the prompt above, or connect your assistant first. Free plan, no credit card.