Obtaining a Bot API Token
The most important thing is to create your bot. This can be done in the Telegram bot called BotFather. After talking to him, you will receive an API token for further work.
To create a bot, execute the /newbot command and fill in the information that the bot requests.
At the end of the dialog, you will receive a token, it looks like this: 1234567890:TOKEN