-
Open BotFather and follow the instructions to create a new bot and get a token.
-
Set the current value of the
token
variable using the bot token from (1) -
Check the API requests:
-
After this you need to set the current value of the
chat_id
variable using thechat_id
from the response of thegetUpdates
request. -
Check the rest of API requests: