Create a Telegram Bot
Text
@BotFatherin the search tab and select this bot.Text:
/newbotand send.Follow Botfather instructions. Write down the token. Never share the token in github.
Open a chat with your new bot and activate it by sending:
/start.
Check the token of an existing bot
Go to the
@BotFatherchat and send/token.
Make the bot triggers the alarms
Create a chat with the bot and other participants (the bot must be admin: go to the group → edit → administrators). All the participants of this group will receive the alarms from the bot and will be able to send commands to it.
Start a conversation with
@username_to_id_botto obtain your ID, the chat ID and the ID of all the other users.Copy the token, the chat ID and the allowed users IDs in academy settings (TELEGRAM_TOKEN, TELEGRAM_CHAT, TELEGRAM USERS)