You're looking at StableBuild's Deleted PyPI mirror - where we index all deleted packages from the Python package registry.
python-tg-bot was reported malicious
OSV:MAL-2025-192365 - Malicious code in python-tg-bot (PyPI)

python-tg-bot
22.5

This version was deleted from PyPI around 2025-12-16. Installing fails with:
$ pip3 install python-tg-bot==22.5 ERROR: Could not find a version that satisfies the requirement python-tg-bot==22.5

Install through StableBuild

You can install this package from StableBuild's PyPI snapshots from before the version was deleted:
pip3 install \ -i https://YOUR_API_KEY.pypimirror.stablebuild.com/2025-12-15/ \ python-tg-bot==22.5
Sign up for StableBuild to get an API key (it's free and takes <60 seconds!)

Or, download files manually

And install manually via pip: