used a library called python-telegram-bot's 13.7.0 version
pip install -r requirements.txt
make sure to delete if u have this package already
pip uninstall python-telegram-bot
pip install -r requirements.txt
and also don't forget to put your bot's api token to the config.py
file