mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-03-01 01:20:49 +03:00
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
This commit is contained in:
parent
149bd0ec51
commit
c49147c5db
21
README.md
21
README.md
@ -254,6 +254,27 @@ Reference syntax:
|
|||||||
- Multi language bot
|
- Multi language bot
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
# Setting up Telegram bot
|
||||||
|
|
||||||
|
- Start [Botfather](https://t.me/BotFather) in your Telegram account:
|
||||||
|

|
||||||
|
|
||||||
|
- 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".
|
||||||
|

|
||||||
|
|
||||||
|
- Start the bot you've just created. You can find the link to your bot here.
|
||||||
|

|
||||||
|
|
||||||
|
- Enter your panel and config Telegram bot settings like below:
|
||||||
|

|
||||||
|
|
||||||
|
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.
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
# API routes
|
# API routes
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
|
BIN
media/botfather.png
Normal file
BIN
media/botfather.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 544 KiB |
BIN
media/newbot.png
Normal file
BIN
media/newbot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 455 KiB |
BIN
media/panel-bot-config.png
Normal file
BIN
media/panel-bot-config.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 33 KiB |
BIN
media/token.png
Normal file
BIN
media/token.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
BIN
media/user-id.png
Normal file
BIN
media/user-id.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
Loading…
Reference in New Issue
Block a user