Skip to content
DMCrew

Make a Telegram bot answer your DMs, without writing code

A bot that answers keywords, runs flows and hands chats to you, set up in about ten minutes with nothing to host.

By Denys Zinych4 min read

Telegram is where many coaches, teachers and small shops keep their most engaged followers. A bot can answer them at any hour, send the price list, take a booking request or deliver the free lesson, but the usual way to build one means writing code and running a server.

You do not need either. The bot itself is free and made in Telegram, in a chat with @BotFather. What answers on its behalf can be a tool that holds your replies and runs them when messages arrive. This guide walks through both parts.

Step 1: create the bot in @BotFather

Open Telegram, search for @BotFather (the official one has a blue check) and press Start. Send /newbot. It asks for two things: a display name, which people see at the top of the chat, and a username, which must be unique and end in “bot”, like annasyoga_bot.

BotFather answers with a token: a long string of digits, a colon and letters. The token is the bot's password. Whoever has it can send messages as your bot, so keep it out of screenshots and shared docs. If it ever leaks, send /revoke to BotFather for a new one.

  • Display name: anything, can be changed
  • Username: unique, ends in “bot”
  • Token: keep it private

Step 2: make it look like you

Still in BotFather, send /setuserpic to add a picture, /setdescription for the text people see before pressing Start, and /setabouttext for the short line on the bot's profile. Say plainly what the bot does and that a human reads the chats: “Prices, booking and the free lesson. I answer the rest myself.”

These three take two minutes and change how many people press Start. An empty bot with a default picture looks like spam.

Step 3: connect the token

Now give the token to the tool that will answer. In DMCrew that is Accounts → Connect account → Telegram: paste the token and DMCrew registers the webhook, the address Telegram sends new messages to. Nothing to host and nothing to deploy. The details are on a Telegram bot that answers for you.

Step 4: write the first replies

Start with the three questions you answer most often. For most creators those are price, a link and availability. Each becomes a keyword reply: when a message contains “price”, send the price list with a button to book. Setting one up takes three steps with the keyword chatbot.

When a reply needs more than one message, such as asking for an email, waiting for the answer and tagging the person, build it as a flow instead. In the visual flow builder each block says what it does: send a message, ask a question, wait, tag, hand over to you.

A bot can't message anyone first: a person has to open it and press Start. The way to bring people in is a link. Telegram supports deep links of the form t.me/yourbot?start=lesson, where the part after start= (up to 64 letters, digits, underscores and hyphens) tells the bot which conversation to begin.

Put one link in your Instagram bio, another under a YouTube video and a third in your newsletter, each starting a different automation. You will also see which place brought people in.

No 24-hour window, which changes what you can send

Unlike Instagram, Telegram has no messaging window. Once a person has started your bot, it can write to them until they block it. That makes Telegram the better place for announcements to your community: a new course, a restock, a live session tonight. With broadcasts to tagged contacts you send to everyone with a tag, and people who blocked the bot are skipped.

Use the freedom carefully. A bot that writes too often gets blocked, and a blocked bot cannot reach that person again.

Answer in your personal chats with Telegram Business

If people message your own account rather than a bot, a bot can answer there too, on any Telegram account (Premium is no longer needed). Turn on Secretary Mode for the bot in BotFather, then add it under Settings → Chat Automation, and choose which chats it may answer.

Your own messages always come first: when you reply in a chat yourself, the bot stays out of it.

Questions

Questions

Yes. Creating a bot in @BotFather costs nothing. You pay only for the tool that answers for it, if you use one.

No. A person has to open the bot and press Start, or follow a bot link, before the bot can write to them. After that there is no time window.

Yes, on any Telegram account (Premium is no longer needed). You connect the bot under Settings → Chat Automation in Telegram.

Anyone with it can control the bot. Send /revoke to @BotFather for a new token and paste the new one wherever the bot is connected.