From c49147c5dba0c8198e2a9d00b3063cc13b44228a Mon Sep 17 00:00:00 2001 From: Karo Yousefi <88065530+karo-yousefi@users.noreply.github.com> Date: Sun, 27 Aug 2023 02:11:03 +0330 Subject: Setting up a Telegram bot README.md (#972) * Update README.md * Uploaded media Uploaded 5 photos related to setting up the Telegram bot section. * Update README.md --- README.md | 21 +++++++++++++++++++++ media/botfather.png | Bin 0 -> 557202 bytes media/newbot.png | Bin 0 -> 465617 bytes media/panel-bot-config.png | Bin 0 -> 33903 bytes media/token.png | Bin 0 -> 18462 bytes media/user-id.png | Bin 0 -> 22246 bytes 6 files changed, 21 insertions(+) create mode 100644 media/botfather.png create mode 100644 media/newbot.png create mode 100644 media/panel-bot-config.png create mode 100644 media/token.png create mode 100644 media/user-id.png 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 -- cgit v1.2.3