Create Telegram Bot
Last updated
Last updated
This section describes for how to make Bot on the telegram, go to the BotFather (If you open it in desktop, make sure you have the Telegram app), by doing the following steps:
First, Enter the URL address in the web browser https://web.telegram.org/ or you can use telegram desktop. And then, log in to your telegram account.
After login telegram account, conduct a search for @Botfather
and add it to your conversations, or you can directly open the URL https://telegram.me/botfather to start conversations with BotFather.
BotFather will then introduce itself and will display a START button at the bottom for the user.
Once you click on the START button, BotFather will provide you with all the commands that can be used for creating a new bot.
Now, click on the link /newbot from your conversation with BotFather. With this command, BotFather will ask you to choose a name for your bot.
For example, choose the name 'PolongBot'. BotFather will internally validate whether the name is available. (the name of your Bot is displayed in contact details and elsewhere). If it is available, BotFather asks for a username for the newly created bot.
For example, choose the username 'PolongBot' (The Username is a short name, to be used in mentions and 'telegram.me' links. Usernames are 5-32 characters long and are case insensitive, but may only include Latin characters, numbers, and underscores. Your bot’s username must end in ‘bot’, Ex: “Testingbot”, “Testbot”, etc).
At this point, BotFather has created your bot and has also provided a token for your bot. This token can be used whilst wiring up your bot with Telegram bot APIs. Keep your token secure and store it safely, it can be used by anyone to control your bot.
Check the Bot that has been made, to find out if the Bot has been successful or not by means of private chat to the Bot. Check in the browser by typing the URL https://api.telegram.org/botToken_Anda/getupdates. If the results are checked on the browser as shown below, then the Bot is made successful.