Making a Telegram Bot to Download MP3 from Youtube
Step by step creating telegram bot
Published in
3 min readSep 14, 2023
Here are the outlines of steps to make a telegram bot for downloading MP3s from YouTube videos.
- Make a new bot from BotFather on Telegram
- Set up Python Environment
- Install Required Libraries
- Code the Telegram Bot
- Run Bot
These are the details of each step.
1. Make a new bot from BotFather on Telegram
First, you have to go to Telegram and search @BotFather. Then make a new bot with the command “/newbot”. Then follow the steps in the picture below.
Next, our bot name was registered into @FatherBot. We have HTTP API to insert our program. Here, we are inserting our program through Python. But, We have to make a new Python environment.
2. Set up Python Environment
To set up a Python environment you can follow this article.