Telegram bot written in Python
Clone repo to your machine, go to the projects folder and run this commands
- Init venv (skip this step if you use global pip3 packages)
python3 -m venv sus-venv source sus-venv/bin/activate
- Install depesities
pip3 install telebot speechrecognition dotenv soundfile
- Put your Telegram API token in .env file
TELEGRAM_API_KEY=XXXXXXXXXX:XXXXXXXXXXXXXXXX_XXXXXXXXXXXXXXXXXX
- Finally run it with
python3 main.py
- /start - start command
- /info - will show info about message from user
- send voice message - will recognize speech to text on 5 langs
- English
- Russian
- Ukrainian
- Deutsch
- Portuguese (you can add more langs)