-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Afif Alauddin edited this page Feb 14, 2023
·
1 revision
Welcome to the node-ping-pol wiki!
How to get Your Bot Token
-
Message https://t.me/BotFather in telegram.
-
Type /newbot or click on the prompt from the left side of the chat, once you are done BotFather will give you a BOT_HTTP_TOKEN
-
Invite the Bot into your monitoring chat
-
Send a test message with /id @YOUR_BOT_HANDLE
-
Open up your browser and open https://api.telegram.org/bot{BOT_HTTP_TOKEN}/getUpdates, replace the {BOT_HTTP_TOKEN} with your BOT_HTTP_TOKEN
-
In the response generate find chat > id, it will start with - sign, copy all and put BOT_HTTP_TOKEN, Chat Id into your .env