diff --git a/README.md b/README.md index 697455fa..37e98628 100644 --- a/README.md +++ b/README.md @@ -254,6 +254,27 @@ Reference syntax: - Multi language bot +# Setting up Telegram bot + +- Start [Botfather](https://t.me/BotFather) in your Telegram account: + ![Botfather](./media/botfather.png) + +- Create a new Bot using /newbot command: It will ask you 2 questions, A name and a username for your bot. Note that the username has to end with the word "bot". + ![Create new bot](./media/newbot.png) + +- Start the bot you've just created. You can find the link to your bot here. + ![token](./media/token.png) + +- Enter your panel and config Telegram bot settings like below: +![Panel Config](./media/panel-bot-config.png) + +Enter your bot token in input field number 3. +Enter the user ID in input field number 4. The Telegram accounts with this id will be the bot admin. (You can enter more than one, Just separate them with ,) + +- How to get Telegram user ID? Use this [bot](https://t.me/useridinfobot), Start the bot and it will give you the Telegram user ID. +![User ID](./media/user-id.png) + + # API routes
diff --git a/media/botfather.png b/media/botfather.png new file mode 100644 index 00000000..fa57eff4 Binary files /dev/null and b/media/botfather.png differ diff --git a/media/newbot.png b/media/newbot.png new file mode 100644 index 00000000..061924aa Binary files /dev/null and b/media/newbot.png differ diff --git a/media/panel-bot-config.png b/media/panel-bot-config.png new file mode 100644 index 00000000..1238736d Binary files /dev/null and b/media/panel-bot-config.png differ diff --git a/media/token.png b/media/token.png new file mode 100644 index 00000000..66fcd551 Binary files /dev/null and b/media/token.png differ diff --git a/media/user-id.png b/media/user-id.png new file mode 100644 index 00000000..d7d618f3 Binary files /dev/null and b/media/user-id.png differ