ARTICLE · TELEGRAM

How to make a Telegram bot: step-by-step guide

Creating a bot with BotFather, a builder or code, Telegram Business, and a bot for sales.

Steps to create a Telegram bot, how a bot differs from Telegram Business, and why a personal Telegram account works better for sales in amoCRM.

How to create a Telegram bot with BotFather

A bot is registered with Telegram’s official @BotFather bot, and a builder or code makes it work. Registration takes a couple of minutes:

  1. Find @BotFather in Telegram search and tap Start.
  2. Send the /newbot command.
  3. Enter the bot’s name – users see it, and it can be in any language.
  4. Choose a username in Latin letters that ends in bot, for example shop_helper_bot.
  5. Copy the token BotFather sends you. The token controls the bot, so never share it (Telegram guide).

In the same chat, the /mybots command sets the bot’s description, picture and command menu.

How to make the bot reply: a builder or code

Right after registration the bot can’t do anything. To make it reply, the token is connected to one of two options:

  • A no-code builder. The token goes into a bot builder service, and you assemble a scenario from buttons, questions and auto-replies. The bot runs on the builder’s servers.
  • Your own code. A developer writes the bot, for example in Python, through the Telegram API. It needs a server and maintenance, but the logic can be anything.

Let us set up your CRM for free: we’ll connect it, walk you through it and show you how it works. Message us.

Can I create a Telegram bot myself?

Yes. A simple bot with a menu and answers to common questions is built in a builder without a developer. You can even create a Telegram bot from your phone: registration with BotFather happens in a regular Telegram chat.

How much does a Telegram bot cost?

It depends on the method. Many builders let you build a simple bot for free and charge a subscription for large audiences and extra features. A bot on your own code costs a developer’s work and server rental. Telegram itself, according to its developer FAQ, doesn’t charge for regular bot messages to users.

Telegram Business: how to set it up

Telegram Business is not a bot but a set of features for a regular account. According to the Telegram blog, they come with a Telegram Premium subscription. You turn them on in Settings → Telegram Business. What Telegram Business gives you:

  • business hours and a location on the map in your profile;
  • a greeting for first-time contacts and an away message when you’re closed;
  • quick replies and chat labels;
  • links to a chat with a pre-filled message;
  • a connected chatbot that replies to customers on behalf of the account in the chats you choose.

A Telegram bot and amoCRM

A ready bot can be connected to amoCRM: the BotFather token is pasted into amoCRM as a new lead source in the pipeline settings, and messages land in Incoming leads. That’s enough to receive inquiries from people who write first.

A Telegram bot for sales: when you need a personal account

The main limit of a bot is that it can’t write first. Under Telegram’s rules, the person has to contact the bot first. A customer left an @username on your website, but the bot can’t start a conversation with them.

That’s why sales teams connect a personal Telegram account, and Smart Sales Solutions does exactly that:

  • the account connects with a QR code or a number and code, up to 3 accounts per business;
  • the manager writes to the customer first by @username, t.me link or number, up to 20 new people a day;
  • private chats, groups and supergroups work;
  • chats are visible in the amoCRM deal card, and Smart Sales Solutions funnels move stages and set tasks;
  • Telegram sits in one window with WhatsApp and Instagram, and the customer sees a real manager instead of a bot menu.

No need to put together a bot, a builder, a CRM link and a separate WhatsApp service: it’s all in one place. A Telegram account costs 39,000 ₸ per month, and team members are free. More on the Telegram and amoCRM page.

Want to talk through your own case? We’ll show you Smart Sales Solutions on your task.

FAQ

Questions
and answers.

Don’t see your question?
Ask us

How do I create a bot in Telegram?

Through Telegram’s official @BotFather bot. Open it, send /newbot, set a name and a username ending in bot, and copy the token. Users see the bot’s name, and it can be in any language, while the username is written in Latin letters, for example shop_helper_bot. Never share the token: it controls the bot. Then connect the token to a builder or your own code, and set the description, avatar and command menu with /mybots.

Can I create a Telegram bot myself?

Yes. A simple bot with a menu and replies is built in a builder without a developer. Complex logic is written in code. Registration with @BotFather happens in a regular Telegram chat, so a phone is enough. In a builder, you paste the token and build a scenario from buttons, questions and auto-replies, and the bot runs on the builder’s servers. Your own code, say in Python, needs a server and upkeep but allows any logic.

Where can I create a Telegram bot for free?

Registration with @BotFather happens in a regular Telegram chat. Many builders let you build a simple bot for free. For a large number of subscribers and extra features, they usually charge a subscription. Telegram itself, according to its developer documentation, doesn’t charge for regular bot messages to users. If you write the bot in code, you’ll pay for the developer’s work and server rental.

Can a Telegram bot write first?

No. Under Telegram’s rules, the person has to contact the bot first. To write to customers first, connect a personal Telegram account. For example, a customer left an @username on your website, but the bot can’t start a conversation with them. In Smart Sales Solutions, a personal account connects with a QR code or a number and code, and the manager writes first by @username, t.me link or number, up to 20 new people a day.

Which bot supports Telegram Business?

One whose developer turned on Secretary Mode in @BotFather. The account owner connects such a bot in Settings → Telegram Business and chooses which chats the bot can access. In those chats, the bot replies to customers on behalf of the account. Telegram Business itself is a set of features for a regular account, and according to the Telegram blog they come with a Telegram Premium subscription. A bot without Secretary Mode can’t be connected to it.

How much does Telegram cost in Smart Sales Solutions?

39,000 ₸ per month per Telegram account, up to 3 accounts per business. Team members are free, and chats don’t use tokens. You connect a personal account, not a bot: with a QR code or a number and code. The number of managers doesn’t affect the price, and funnels are included in the subscription at no extra cost. Chats are visible in the amoCRM deal card. You can try it free for 3 days.

How much does it cost to make a Telegram bot?

It depends on the method. Many builders let you build a simple bot for free and charge a subscription for a large number of subscribers and features. A bot on your own code costs a developer’s work and server rental. Telegram itself, according to its developer documentation, doesn’t charge for regular bot messages to users. For sales, where you write to customers first, a personal account is connected instead: in Smart Sales Solutions it’s 39,000 ₸ per month.

How do I connect a Telegram bot to amoCRM?

Through a lead source in the amoCRM pipeline. The @BotFather token is pasted into amoCRM as a new Telegram source in the pipeline settings, and messages to the bot land in Incoming leads. That’s enough to receive inquiries from people who write first. If a manager needs to start the conversation, a personal Telegram account is connected to amoCRM through Smart Sales Solutions: chats are visible in the deal card, and funnels move stages and set tasks on their own.

What does Telegram Business give you?

A set of features for a regular account, not a bot. Per the Telegram blog, they come with a Telegram Premium subscription; turn them on in Settings → Telegram Business. The profile shows business hours and a map address. You can set up a greeting for first-time contacts, an away message for closed hours, quick replies and chat labels. Also available: chat links with a prefilled message and a chatbot that replies for the account in selected chats.

FROM CONVERSATION TO RESULTS

Let’s connect Telegram
to your sales.

Tell us where your customers come from and how your team works. We’ll show a suitable scenario and help with the setup.

Access by invitation. We start with an introduction, not a payment.