Configure Your Telegram Bot
Last updated
Last updated
Navigate to Telegram messenger.
Sign in to Telegram app using your credentials.
If you did not have an existing bot, search for the BotFather Telegram bot in your Telegram messenger app and choose the first bot.
Select the BotFather bot and click on the START
button on the top right corner to start the BotFather bot. You will see a list of commands that you can use to interact with BotFather bot.
Click on the /newbot
command to create a new bot. You will use this new bot to deploy and control your web app withing the Telegram's environment.
After clicking on the /newbot
command,
A message will be prompted by BotFather bot, asking you a name for your bot.
Choose a username of your choice to move forward.
After choosing a name of your bot, you will get another message by BotFather, asking you for the username of your bot. The bot's username is a unique identifier that distinguishes it on the platform and must end with Bot
.
Choose a username for your bot of your choice.
Keep in mind that the username of the bot should be unique, must end with the word "Bot", can be 5-32 characters long, and may contain letters, numbers, and underscores (_).
After choosing a valid username of your bot, you will get a message by BotFather. This message is a confirmation that your bot is created successfully and contains the access token of your bot.
NOTE -
In Telegram bots, an access token is a unique key provided by BotFather when you create a bot. This token is essential for authenticating your bot and interacting with the Telegram Bot API. This token allows you to integrate the bot with your app or service.
This access token will be required to deploy and control your web application using this bot in Telegram's environment. Keep this access token safe with you, it can be used by anyone to control your bot..