Obtaining the bot token¶
It's time to create your first bot! Follow these steps. You'll need to repeat them for each new bot you want to create.
- While in Telegram, go to @BotFather, start it if you haven't already.
- Send
/newbot
to create a new bot token. - It will ask you for a name for your bot, enter it.
- Then it will ask you for a username for the bot. You can use any username, but it must end with the word "bot", for example: my_great_bot.
- The bot will be created, and @BotFather will show you the token for the bot you just created. Copy it by tapping on it.
- Go to the VisualMaker bot, then to
🖥 Bots
, click on➕ New bot
, and send the token you just copied. - After a moment, your bot should be started. Enter your bot and start it!
IMPORTANT
Your bot token is private. Do not share it with anyone. If it has been compromised, you can revoke it at @BotFather, and then update your bot with the new token in VisualMaker.
Now you have a created and functional bot ready to be molded as you wish. Learn how to create menus with buttons, create commands, respond with messages to buttons and commands, and much more in the next section.