infrabot-io.github.io

Documentation

Documentation for infrabot


Configure Telegram Bot


To begin to use infrabot you have to create your own Telegram bot and get its API token using @BotFather.

Here are additional links which may be useful to you:


Step 1

Find telegram bot named @BotFather, he will help you with creating and managing your bot.




Step 2

Write /help and you will see all possible commands that the botfather can operate.




Step 3

To create a new Bot type /newbot or click on it.

Follow instructions he given and create a new name to your bot. It has to be a unique name, you can use namespace your bot by placing your name before it in its username.




Step 4

Congratulations! You've just created your Telegram bot. You will see a new API token generated for it. In sample above it is *********:****************************


Step 5

Put Token into telegram_bot_token parameter in config.json file. You can read more about config file here