Notification¶
Telegram bot¶
- Create a Telegram bot using BotFather and Get the Api Token:
Open Telegram;
Search @ botfather;
Type /newbot;
It will show “Alright, a new bot. How are we going to call it? Please choose a name for your bot.”;
Type the name of your bot;
After, it’ll show “Good. Now let’s choose a username for your bot. It must end in bot. Like this, for example: TetrisBot or tetris_bot.”;
You’ve to give a unique username and it should be ending with bot;
After giving the name it’ll show :
“Done! Congratulations on your new bot. You will find it at t.me/[your_name_bot]. You can now add a description, about section and profile picture for your bot, see /help for a list of commands. By the way, when you’ve finished creating your cool bot, ping our Bot Support if you want a better username for it. Just make sure the bot is fully operational before you do this.”
Use this token to access the HTTP API: “TOKEN”.
Receive the chat_id. To do this, write to the Telegram special bot: @userinfobot.