소스 검색

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
Karo Yousefi 1 년 전
부모
커밋
c49147c5db
6개의 변경된 파일21개의 추가작업 그리고 0개의 파일을 삭제
  1. 21 0
      README.md
  2. BIN
      media/botfather.png
  3. BIN
      media/newbot.png
  4. BIN
      media/panel-bot-config.png
  5. BIN
      media/token.png
  6. BIN
      media/user-id.png

+ 21 - 0
README.md

@@ -254,6 +254,27 @@ Reference syntax:
 - Multi language bot
 </details>
 
+# 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
 
 <details>

BIN
media/botfather.png


BIN
media/newbot.png


BIN
media/panel-bot-config.png


BIN
media/token.png


BIN
media/user-id.png