Installation PyPI (pip) python3 -m pip install tgbox Clone from GitHub git clone https://github.com/NonProject/tgbox --branch=<branch> cd tgbox; python3 -m pip install -r requirements.txt Optional dependencies Library can work without pycryptodome, with pyaes, but this will be much slower. ECDSA will be faster with gmpy2. You can install it with pip. Telethon may need LibSSL to work faster. With FFmpeg library can make previews for media files and extract duration to attach it to the RemoteBoxFile.