How to Set Up a Telegram Bot: A Step-by-Step Business Guide
Creating a bot account on Telegram takes a few minutes. The real work is deciding what that bot will tell your customers, who will answer them and how you'll protect its key. We walk you through everything you need to know, from the BotFather steps to message limits.
The short answer to how to set up a Telegram bot: you open a bot account in a few minutes with @BotFather, Telegram's official account, you receive a token, and you connect that token to the software or platform that will run the bot. The long answer lies on the business side. If you don't think through up front what the bot will do, who will reply and how you'll protect the token, the bot account stays an empty shop window. Below we cover the steps, the most common mistakes and where businesses actually use Telegram bots.
What is a Telegram bot and how is it different from a regular account?
A Telegram bot is a special type of account that isn't tied to a phone number. There's a program behind it, not a person. A user writes to the bot, Telegram forwards the message to your software, and the software sends a reply back.
This matters, because creating a bot in BotFather doesn't mean you've set up an assistant that answers on its own. BotFather only gives you the account and the key. Who will produce the answers is a separate decision.
How do you create a bot with BotFather?
Telegram's own developer documentation describes a single route: @BotFather. Open Telegram on your phone or computer and follow these steps.
- Find @BotFather. Type BotFather into the search box and open the official account whose username is exactly @BotFather. There are impostor accounts with similar names, so be careful.
- Send the /newbot command. BotFather will ask you for two pieces of information, one after the other.
- Enter the bot's name. This is the display name people see in their chat list, for example "Ayşe Coffee Support". You can change it later with /setname.
- Choose a username. This is the short name used in search, mentions and t.me links. It must be 5-32 characters long, may contain only Latin letters, digits and underscores, and must end in "bot" (such as ayse_kahve_bot or AyseKahveBot).
- Get the token. When you're done, BotFather sends you a long key string. Save it somewhere secure right away.
The username is permanent According to Telegram, a bot's display name can change, but its username can't be changed later. Pick a short name that matches your brand and is easy to type.
Complete the profile details
Don't leave the bot bare once it's created. Use the /setdescription command to write the description customers see when they first open the bot; Telegram limits this text to 512 characters and shows it at the top of the chat. Say what the bot does in a single paragraph, something like "Ask about your order status or check our opening hours."
Add your logo as the profile photo and your contact details as the short about text. If you define a command list for common actions, customers don't have to figure out what to type.
What is the token and how do you protect it?
The token is the key that identifies your bot to Telegram's bot infrastructure. Telegram says it plainly: the token authenticates the bot, not your personal account, and it should be stored like a password. Anyone who gets hold of the token can send messages on behalf of your bot and read incoming messages.
In practice, we watch out for the following:
- Don't share the token by email, in a group chat or in a screenshot.
- Don't put it in your website's public code or in shared files.
- When connecting the bot to a platform, enter the token only in that platform's secure setup field.
- If you suspect a leak, revoke the old token in BotFather and get a new one. Telegram notes that a token can be revoked at any time; remember to enter the new token in every connected system.
Quick test This is the method from Telegram's own guide: type https://api.telegram.org/bot<TOKEN>/getMe into your browser, replacing <TOKEN> with your own key, and the bot's details come back. Only do this on your own computer, and don't share the token in the address bar with anyone.
Once the bot is set up, who will reply to messages?
This is where the second half of setting up a Telegram bot begins. The bot account you get from BotFather doesn't answer a single message on its own. You have three options.
| Option | How does it work? | Who is it for? |
|---|---|---|
| Your own software | A developer uses the token to code the bot's replies and runs it on a server. | Businesses with a software team that want custom workflows. |
| Ready-made bot or messaging platform | You connect the token to the platform; messages land in a dashboard and you build flows without code. | SMEs without a technical team that want to get started quickly. |
| Hybrid setup | Simple questions are answered automatically; agents reply to the rest from the dashboard. | Customer service teams that want both speed and a personal touch. |
Writing your own software is the most flexible option, but the upkeep stays with you: servers, updates, bug tracking. A ready-made platform narrows flexibility somewhat, and in return your team can start working on day one. Which is right depends on the size of your team and how many messages you get on Telegram.
Where do businesses use Telegram bots?
Many businesses in Turkey talk to their customers on WhatsApp, but there's also an audience that prefers Telegram. Among businesses that want to reach this audience, these are the scenarios we see most often:
- Frequently asked questions: Instant answers to recurring questions such as opening hours, address, delivery area and return policy.
- Collecting support requests: The bot asks for the order number and the problem, then hands the conversation to the right agent with the details ready.
- Pre-collecting appointment and booking details: It asks questions such as which day, how many people and which service, one by one, and gathers the request.
- Announcement subscriptions: Announcing new products, campaigns or services to users who have started the bot.
- Community and group support: Welcoming members and reminding them of the rules in customer or dealer groups.
The quality of the bot's answers depends on the information you give it. We explain what information you need to prepare in our chatbot knowledge base guide. If you haven't yet decided which channel to prioritize, take a look at our Telegram vs WhatsApp comparison.
What are a Telegram bot's messaging rules and limits?
Telegram's bot FAQ and developer terms set a few limits. Planning bulk announcements without knowing them can lead to surprises.
- User permission: Under the developer terms, a bot can message users who have allowed it to contact them. In practice, the customer must have started the bot or written to it; you can't message everyone in your phone contacts through the bot.
- Speed within a single chat: You're advised not to send more than one message per second to the same chat; short bursts are tolerated, but eventually you'll get errors.
- In groups: A bot can send at most 20 messages per minute to a group.
- Bulk notifications: By default, a bot can broadcast to its users for free at up to roughly 30 messages per second. For higher speeds, paid broadcasts can be enabled through BotFather; this comes with a cost paid in Telegram Stars and its own conditions.
For most SMEs these default limits are more than enough. Still, if you plan to send an announcement to thousands of subscribers at once, you need to queue the sending on the software side.
Mind personal data If you collect names, phone numbers, addresses or order details through the bot, that's personal data. Tell users clearly what you collect and why; talk to your legal advisor about your obligations under KVKK (Turkey's personal data protection law).
The most common setup mistakes
Most businesses researching how to set up a Telegram bot get stuck not on the technical steps but on what comes after. The mistakes we see most often:
- Sending the token to a teammate in a message. Once a token is in circulation, getting a new one is the safest move.
- Leaving the description empty. The customer opens the bot, doesn't know what to do and leaves.
- Putting everything on the bot. If the bot doesn't hand the conversation to a person when it can't answer, the customer is left out in the cold.
- Monitoring Telegram on a separate phone. When messages are on one device, WhatsApp on another and Instagram in a different tab, replies get delayed.
Want to see Telegram alongside your other channels? Let's walk through the Conversations screen together in a demo.
Book a free demoManaging Telegram with your other channels on one screen
The problem in the last point is the one that wastes the most time. You need to think about Telegram not on its own, but together with the other channels your customers write on.
In Chatopya, Telegram connects to the same inbox, the Conversations screen, alongside WhatsApp Business API, Instagram DM, Facebook Messenger and Web Chat. Your team assigns a Telegram chat to an agent like any other message and hands it over to another agent when needed. When the phone number or channel ID matches, the same customer's records from Telegram and other channels are gathered on a single customer card; the agent sees what the customer previously wrote and on which channel in one timeline.
Setup and training are free, and our Turkish-speaking support team is with you through the connection process. You track response time, resolution rate and satisfaction on the analytics dashboard. If you're curious about AI-powered customer service, have a look at our customer service and AI chatbot page.
Frequently asked questions
Does it cost money to set up a Telegram bot?
Creating a bot account with BotFather is free. Telegram states that bots can message their users for free within the default limits; only the paid broadcast option above 30 messages per second is charged in Telegram Stars. The cost of the server or platform running the bot needs to be calculated separately.
Can I set up a Telegram bot without coding?
You don't need code to create the bot account; a few messages to BotFather are enough. For the bot to actually reply, though, you either need to work with a developer or use a ready-made platform you can connect the token to.
Can a Telegram bot send the first message to a customer?
No. As a rule, a bot can only message users who have allowed it to contact them, meaning they've started the bot or written to it. That's why you need to share the bot's link on your website, on social media and in your post-order messages.
What should I do if my bot token is stolen?
Immediately revoke the old token in BotFather and get a new one. Then enter the new token in the software or platform the bot is connected to; the old token stops working the moment it's revoked.
Can I change my bot's username later?
According to Telegram's documentation, the username can't be changed later; only the display name can. Choose the username with your brand name and the "bot" suffix in mind.
Related articles
Telegram, WhatsApp and Instagram on one screen
Bring your Telegram conversations into the same inbox as your other channels and answer them together with your team. Setup and training are free.