Before you start
- The Telegram app on your phone or computer, signed in to your account.
- A Telegram channel or group that you own or manage. Step 2 shows how to make one if you don’t have one yet.
- An OmniLoop account. Telegram counts as one connected account on your plan.
1
Create your bot
Bots are made by an official Telegram account called @BotFather. You chat with it, and it creates the bot for you.
- In Telegram, tap the search bar and type BotFather. Open the one with the blue verified tick and the username
@BotFather. Ignore look-alikes. - Tap Start (or send
/start). - Send
/newbot. - BotFather asks for a name. Use your business name, for example
Maple Street Bakery. In a channel, followers see your posts under the channel’s name, not the bot’s; the bot’s name only shows in your admin list (and on posts in a group). - BotFather asks for a username. It must be unique and must end in
bot, for example maplestreet_posts_bot. If it’s taken, try another. - BotFather replies with “Done! Congratulations on your new bot.” and a long code under “Use this token to access the HTTP API”. That code is your bot token. Tap it to copy it, and keep it somewhere safe for Step 5.
You/newbot
BotFatherAlright, a new bot. How are we going to call it? Please choose a name for your bot.
YouMaple Street Bakery
BotFatherGood. Now let’s choose a username for your bot. It must end in ‘bot’.
Youmaplestreet_posts_bot
BotFatherDone! Congratulations on your new bot… Use this token to access the HTTP API: 7212345678:AAHk3x…Qz9
Treat the token like a password. Anyone who has it can post as your bot. Don’t share it or post it anywhere. If it ever leaks, send /revoke to BotFather, pick your bot, and connect again in OmniLoop with the new token.
Posting to a group? There, members see the bot’s name and photo on each post. To add your logo, send/setuserpic to BotFather, pick your bot and send the image.
2
Get a channel or group ready
Already have a channel or group you manage? Skip to Step 3. Otherwise, create a channel:
- iPhone: open the Chats tab, tap the pencil icon (top right), then New Channel.
- Android: tap the pencil icon (bottom right), then New Channel.
- Computer: click the pencil icon or the menu (☰), then New Channel.
- Enter a channel name and an optional description, then continue.
- Choose Public or Private:
- Public: anyone can find it, and you pick a link like
t.me/maplestreetbakery. Easiest to connect. - Private: only people with an invite link can join. It works too; you’ll just need its chat ID in Step 4.
Channel or group? A channel is one-way: only admins post and followers read. That suits most businesses. A group is a conversation where members can reply. OmniLoop can post to either.
3
Make the bot an admin
Your bot can only post where it has permission. In a channel, Telegram only lets bots in as admins.
- Open your channel and tap its name at the top to open its info.
- Tap Edit (iPhone, top right), or the pencil icon (Android). On a computer, click the ⋮ menu, then Manage channel.
- Tap Administrators, then Add Admin.
- Search for your bot’s username, for example
maplestreet_posts_bot, and tap it. - Make sure Post Messages is switched on. You can leave the other permissions off.
- Tap Done or Save. Your bot now appears in the list of administrators.
For a group: open the group, tap its name, then Edit → Administrators → Add Admin, pick your bot and keep Send Messages on.
4
Find your channel address
OmniLoop needs to know which channel to post to. What you enter depends on whether the channel is public or private.
| Your channel is | Enter this | Example |
|---|
| Public | Its username with @ in front. Find it in the channel info under Link: take the part after t.me/. | @maplestreetbakery |
| Private | Its chat ID: a long number that starts with -100. See below. | -1001234567890 |
How to find a private channel’s chat ID:
- On a computer, open web.telegram.org/a in your browser and sign in.
- Open your channel.
- Look at the address bar. The address ends with
# and a number, such as web.telegram.org/a/#-1001234567890. - Copy that number, including the minus sign. It should start with
-100.
Use the /a version of Telegram Web. If the number you see doesn’t start with -100, you’re probably on a different version; switch to web.telegram.org/a and look again.
5
Connect in OmniLoop
- Sign in to OmniLoop and click Connect Accounts at the top of the left menu.
- On the Telegram card, click Connect Telegram.
- In Bot token, paste the token from Step 1. Use the eye button to check it pasted completely.
- In Channel @username (or chat ID for a private channel), enter the address from Step 4.
- Click Connect Telegram.
Example: this is what the filled-in form looks like inside OmniLoop.
Open the Telegram form in OmniLoop →OmniLoop checks the token and the channel straight away. When it works, the Telegram card shows Connected with your channel’s name. Your token is stored encrypted and is only used to send the posts you schedule.
More than one channel? The same bot can be admin of several channels. Repeat Step 3 for each one, then click Connect Telegram again and enter the same token with the other channel’s address. Each channel becomes its own account in OmniLoop.
6
Send your first post
- Click Create Post.
- In the account list, tick your Telegram channel.
- Write your message, and add photos, a video, a GIF or a file if you like.
- Click Post now, or pick a date and time and click Schedule.
- Open your channel in Telegram. The post appears there under your channel’s name.
Good to know
- A text-only post can be up to 4,096 characters.
- With a photo or video, Telegram allows 1,024 characters under it. If your text is longer, OmniLoop sends the media first and the full text as a second message right after, so nothing is cut.
- You can attach several photos or videos, plus GIFs and documents such as PDFs. Photos can be up to 10 MB each; videos and files up to 50 MB.
- If you add a link to the post, it’s placed at the end of the message.
?
If something goes wrong
“That bot token isn’t valid — check it with @BotFather.”
The token was copied only partly, has a space in it, or was replaced. In BotFather send /mybots, choose your bot, tap API Token, copy it again and paste it. The token looks like a number, a colon, then about 35 letters and numbers, with no spaces.
“Couldn’t find that channel. Add your bot to it as an admin…”
Check three things: the bot is listed under the channel’s Administrators (Step 3); a public channel’s username starts with @ and has no t.me/ in front; a private channel uses the number starting with -100 (Step 4), not its invite link.
The post failed with “not enough rights” or “bot is not a member”
The bot was removed from the channel, or Post Messages is off. Open the channel’s Administrators, add the bot again or switch Post Messages on, then schedule the post again.
I changed my channel’s username
Nothing to do. OmniLoop remembers the channel itself, not its username, so posting keeps working.
I revoked the token, or want to stop OmniLoop posting
After /revoke, the old token stops working. Connect again with the new token (same steps, same channel). To stop posting, disconnect Telegram on Connect Accounts, or remove the bot from the channel’s administrators.