Telegram

Telegram Channel Bots: Inline Buttons and Automation

Published: · Updated: · 6 min read

Bots take a lot of repetitive work off a channel: they add buttons under posts, publish on schedule and handle join requests. This guide covers what a bot can and can't do, how to create or add one, and how to keep your channel safe while you do.

Run a Telegram channel for a while and you notice how much of the work repeats itself: adding the same link under posts, publishing at a set hour, answering join requests, clearing spam out of the discussion group. Telegram bots exist for exactly this. A bot is a special account driven by a program instead of a person, and it can work inside your channel just like an admin. Below we look at what bots do in channels, where their limits are, how to create or add one, and the security habits that keep a bot from becoming a liability.

What is a Telegram bot, and how is it different from a normal account?

A bot is an account controlled by software. Every bot username ends in "bot", and bots have no phone number. A few limits are worth knowing up front: a bot can't start a conversation on its own and can only message people who have started it first; a bot can't own a channel; and inside a channel it can only do what its admin rights allow. On the plus side, a bot never gets tired, posts at 3 a.m. right on time and repeats the same task a thousand times without a typo.

What bots do in a Telegram channel

  • Inline buttons under posts: tappable buttons that open a link or trigger an action. Only posts published or edited through a bot can carry them.
  • Automatic publishing: posting at a set time, or pulling content from another source such as your website's feed and posting it to the channel.
  • Approving join requests: if an invite link has "Request to join" switched on, a bot can approve or decline requests by rules you set.
  • Running the discussion group: deleting spam, welcoming new members and enforcing the rules of the group linked to your channel. The group's own settings, such as member permissions and slow mode, are covered in our Telegram group management guide.
  • Talking to your audience: a bot people can message to ask questions, place orders or reach support, without exposing any admin's personal account.
  • Selling digital content and services: a bot can take payment inside Telegram itself, in Stars. What Stars are and where they are used is explained in What are Telegram Stars?.

To switch on join requests and create invite links, see our guide to public and private Telegram channels. How a discussion group differs from the channel itself is covered in Telegram group vs channel.

How buttons under a post are made

The regular Telegram app doesn't let you attach buttons while writing a post. These inline buttons can only be added through a bot, usually in one of two ways:

  1. A bot that is an admin of the channel publishes the post with its buttons. You give the bot the text, media and buttons, and it posts the finished message. Later you can change the buttons through the same bot.
  2. Inline-mode bots: you type the bot's username in the message box, a preview with buttons appears, and you send it to the channel. Posts sent this way show which bot they came via.

Buttons work best for things readers should reach in one tap: your website or shop, support, the previous part of a series, a sign-up link. Piling on buttons backfires; one or two clearly labelled buttons usually get more taps than six.

Want to know whether a button actually brings new subscribers? Point it at a dedicated invite link instead of the public channel link, then watch how many people join through it. We walk through this in our guide to tracking channel ads.

Scheduling: you don't always need a bot

Telegram can schedule posts on its own: write the message, press and hold the send button and choose "Schedule message". For most channels that's enough, and no bot needs any rights. A bot earns its place when posts need buttons, come from an outside source, or you manage several channels at once. Built-in scheduling, silent posts and text formatting are all covered in how to post in a Telegram channel.

How to create a bot

Every Telegram bot is created with BotFather, Telegram's own official bot. The steps:

  1. Find BotFather in Telegram. Make sure you open the official, verified account and not a look-alike.
  2. Send /newbot, pick a display name, then a username that ends in "bot".
  3. BotFather gives you a token: a long string that is the key to your bot. Treat it like a password.
  4. Enter the token in the program or service that will run the bot. Without that program, the bot is just an empty account.
  5. Optionally use BotFather to set the bot's picture, description and command list.

If you don't write code, you don't need your own bot. Plenty of ready-made bots handle buttons or group moderation; you simply add them to your channel as an admin.

Adding a bot to your channel

A bot is added like any person, from the channel's Administrators section: search for its username, select it and set its rights. The golden rule is the same as for people: only the rights it needs. A bot that publishes posts with buttons needs "Post messages" and "Edit messages", not deleting other people's posts or adding admins. A bot that approves join requests needs "Invite users via link". Every right is explained in our Telegram channel admins guide.

Bot security tips

  • Never share the token: whoever has it controls the bot and can post in your channel with its rights. If you think it leaked, generate a new token in BotFather, which revokes the old one.
  • Only bots you know: make a bot an admin only if you know who runs it. An unknown bot with posting rights can drop ads or harmful links into your channel.
  • Remove bots you no longer use: every extra admin is one more way for things to go wrong.
  • Distrust bots that ask for login codes: no channel management bot needs your phone number, login code or two-step password. A request like that is a scam; more in our Telegram account security guide.
  • Check Recent Actions: what admin bots do is logged there too. If an unfamiliar post appears, look there first.

Bots and channel growth

A bot makes a channel tidier, but it doesn't replace good content. A button gets tapped when the post above it is worth reading, and auto-posting only helps when what it posts isn't stale filler. Once the repetitive jobs are handed over, spend the time you get back on content and reach, and measure the result with Telegram channel statistics. If you want members, views or reactions for a launch or a campaign, those are ordered with just the channel or post link; no bot needs to be made an admin.

Order members, views, reactions and other Telegram services with only your channel or post link — no admin rights needed. See the full list and prices.

Browse services

Summary

Bots are great for a channel's repetitive work: buttons under posts, automatic publishing, approving join requests and moderating the discussion group. For simple scheduling, Telegram's built-in option is enough. When you do add a bot, give it only the rights it needs, guard its token like a password, and remove bots you don't know or no longer use. For the bigger picture, read our guide to growing a Telegram channel.

Frequently asked questions

Why can't I add buttons under my channel post?

The regular Telegram app doesn't offer it. Inline buttons only appear on posts published or edited through a bot: either a bot that is a channel admin posts it, or you send the post through an inline-mode bot.

Can an admin bot take my channel away?

A bot can't become the owner or remove the owner. But with the rights you give it, it can post, edit or delete messages, so give it only what it needs and only add bots you know.

Do I need a bot to schedule posts?

No. Press and hold the send button in Telegram to schedule a message. A bot is only needed when posts need buttons, come from an outside source, or you run several channels together.

What should I do if my bot token leaks?

Generate a new token for that bot in BotFather. The old token is revoked and stops working. Then put the new token only into your own program.

Ready to get started?

With one YoozSeen account you place and track every order from a single wallet.

Related articles