This telegram bot is used to download voice message from telegram. You can send voice message directly or forward it to the bot.
- Clone repository:
git clone git@github.com:RuselK/telegram_bot_audio_download.git
- Create venv:
python3 -m venv venv
- Run venv:
for linux:
source venv/bin/activate
for windows:
source venv/scripts/activate
- Install dependences:
pip install -r requirements.txt
- Create .env file and write telegram token:
touch .env
nano .env
Add following to your .env file:
TOKEN=<your_telegram_token>
- Run the bot:
python3 main.py