

I have already replaced it with a new one after recording the video. This is why I can safely show my token in the video tutorial. The old token stops working, and the Bothfather gives you a new token for your bot. If someone has stolen your token, you can talk to the Botfather and generate a new token. If someone else has it, they can impersonate your bot. Keep the token secret! This token acts as a combined username and password for your bot. Once you've done that, the Botfather will give you a Token. Use the /newbot command to start the process of creating a new bot. To create a telegram bot, search for Botfather on Telegram and enter a conversation with him.īotfather is the original Telegram bot and talking to him is currently the only way to create new Telegram bots. Then you need to make the Python program connect to Telegram and log in as that bot. You need to register a bot with Telegram. To create your own bot you'll need to do two things. That means the program starts correctly and you're ready to create your Telegram bot. If everything went well, you should see a message that says: Now open VSCode and select File » Open Folder and open the folder that you just extracted. Extract the ZIP somewhere on you computer. Next you're going to have to download this project's start point. Once you have VSCode installed, click the Extensions menu or press Ctrl Shift X and search for and install the Python extension by Microsoft. While you can use any text editor and terminal combination, In this tutorial I use Visual Studio Code. Finally you'll need a programming environment.
