- Go to the BotFather (if you open it in desktop, make sure you have the Telegram app), then create new bot by sending the
/newbotcommand. - Follow the steps until you get the username and token for your bot. You can go to your bot by accessing this URL:
[https://telegram.me/YOUR_BOT_USERNAME](https://telegram.me/YOUR_BOT_USERNAMEa)and your token should looks like this. --704418931:AAEtcZ************* - Paste this in your env or on Token line inside
main()
- On Your default terminal type
--
pip3 install python-telegram-bot
- Now you can start making your own commands using Python and their functions.