Skip to content
← All articles

How to Create a Telegram Bot with BotFather

Telegram's docs (9 Nov 2026) show how to create a Telegram bot with BotFather: pick a valid name and username, get your token and publish to a channel.

John Guerrero, with a beard and round glassesBy John GuerreroUpdated November 9, 2026
Abstract illustration: a press stamping out a new piece, the bot made from a mould

Frequently asked questions

How do I create a Telegram bot?

Open a chat with @BotFather and send the /newbot command. BotFather asks for a name and a username, then gives you the token (checked in Telegram's documentation on 09-11-2026).

What rules does a bot username have?

Telegram says usernames are 5 to 32 characters, not case sensitive, with only Latin letters, numbers and underscores. The username must end in bot, and it cannot be changed later.

What is the token and how do I keep it safe?

The token authorizes the bot. Telegram says anyone who has it can control the bot, so treat it like a password. It can be revoked at any time through @BotFather.

Do I need to write code?

Not to publish to a channel. A bot's token is enough for a tool that already speaks to Telegram's Bot API, such as Clautia. Code is only needed if you want the bot to answer messages or do more.

Can Clautia publish to my Telegram channel?

Yes. Clautia connects Telegram with the token of a bot and publishes in the channel where you add that bot as an administrator. You schedule from the same calendar as your other networks. AI writing does not cover Telegram, so you write those posts by hand.

Can an AI agent help me with Telegram posts?

An AI agent such as Claude Code, Codex or Cursor can create and schedule the post in Clautia over MCP with your API key. For Telegram, the text itself is yours to write.