Telegram bot registration

In the Telegram messenger we find a bot under the name @BotFather

BotFather is a tool for creating Telegram bots, it is responsible for registering and managing new bots

Press Start and write the /newbot command to the bot

In response, you will be asked about the name of the bot and its nickname (indicate a unique nickname):

After creating the bot, you will receive a message

Your message will contain something like this 5017012087:AAGXATlZLS3l25SxVbXIxXVcOPNqkT1Q5ig - this is the API key for your telegram bot