Studio
Join the waitlist

How to create a Telegram bot and add it to your channel

Add a bot to your Telegram channel as an admin that can post: create it with @BotFather, keep its token safe, test it and fix it when posts don’t arrive.

To add a bot to a Telegram channel, make it a channel administrator: open the channel’s info, add an admin, search for the bot’s username and turn on Post messages. If you need a bot of your own, create it first with @BotFather and keep the token it gives you. Then send one test post before you rely on it.

This guide covers the bot, its token, its rights, a test post and fixes, not writing bot code. Studio and other tools that post through a bot you own need this same setup. For timing and failed scheduled posts, see the Telegram scheduling guide.

What a bot can do in a channel

A bot is a special Telegram account that doesn’t need a phone number. Whoever holds its token can make it post.

A bot can’t be a channel subscriber, only an administrator. Posting is one of the rights you give it, and its posts are signed with the channel’s name.

This guide’s example is made up: a pottery workshop runs the public channel Harbor Street Pottery and wants a bot to post its kiln schedule.

Create the bot with @BotFather

Telegram’s BotFather guide describes the steps:

  1. Open @BotFather in Telegram, checking the exact spelling.
  2. Send /newbot.
  3. Enter a name. You can change it later.
  4. Enter a username: 5 to 32 Latin letters, numbers or underscores, ending in “bot”. It can’t be changed later.
  5. Copy the token from the reply. It has the shape 123456789:AAF….

The workshop calls its bot Harbor Pottery Poster, with the username @harbor_pottery_poster_bot. Choose a name your teammates will recognize in the admin list.

Keep the bot token safe

Telegram warns that anyone with the token can control your bot. Treat it like a password:

  • Store it in a password manager.
  • Paste it only into the tool you’re connecting.
  • Keep it out of screenshots, chats, tickets and shared documents.
  • Don’t share it so others can post. Give them access in the publishing tool instead (see sharing social accounts with a team).

If the token leaks, revoke it in @BotFather, where /mybots opens your bot’s settings. You get a new token and the old one stops working, so update every tool that used it.

In the example, the workshop’s owner pastes the token into a shared document by mistake, then revokes it and reconnects the tool with the new one.

Add the bot to your channel as an admin

Open the channel’s info, go to its administrators (under Manage Channel in some apps; labels differ), choose to add an admin and search for the bot’s username.

Telegram then asks which administrator rights to give. Turn on only what your tool needs, then save:

Right What it allows Posting bot?
Post messages Posting as the channel and deleting its own recent posts Yes, required
Edit messages Pinning posts, and editing ones the bot didn’t send Only if your tool needs it
Delete messages Deleting posts the bot didn’t send Only if your tool needs it
Change channel info, invite users, add admins Running the channel itself No

Harbor Street Pottery’s bot gets Post messages and nothing else.

For a group, add the bot as a member instead. It posts under its own name and needs admin rights only if the group stops members from sending messages.

Send a test post and check it

From the tool you connected, send a short, clearly labeled test, such as “Test: kiln schedule post, please ignore”. Subscribers may see it, so keep it harmless. Then check:

  • It appeared in the right channel, not one with a similar name.
  • It’s signed with the channel’s name (Harbor Street Pottery in the example).
  • Links and photos, if you’ll post them, look the way you expect.

Delete the tests afterwards. In a channel, deleted posts disappear for all subscribers.

Fix a bot that can’t post

What you see What to do
The bot won’t join as a subscriber Add it as an admin with Post messages
The bot is an admin, but nothing arrives Turn on Post messages in its rights
The tool rejects the token Copy it again, or use the new one if you revoked it
Posting worked, then stopped Check the token, the admin list and the bot’s rights
The post went to the wrong chat Reconnect the tool to the right channel

If setup is fine but a scheduled post didn’t arrive, use the failed post checklist.

In Studio, linking Telegram takes three steps: create the bot with @BotFather, paste its token (Studio checks it and shows the bot’s name), then press “Add to a channel”. Telegram’s own picker adds the bot as an admin allowed to post, edit and delete messages, and the channel appears in Studio by itself. “Use a group instead” links a group. If the token stops working, Studio shows “Reconnect” on the account. Reconnecting runs the same steps with a new token. Studio isn’t available yet, but you can join the waitlist.

Written by

Reunified makes apps that bring scattered things back together.

Keep reading

All posts

Coming soon

Join the waitlist

Leave your email and we'll write to you when Studio is ready to download.

Where will you use Studio?