Logueate en tu cuenta de Telegram desde https://my.telegram.org/
Ve a API Development toolsy de allí a Create new application, crea una con cualquier cosa, y modifica en el script API ID y API Hash
pip3 install telethon
O
pip3 install -U telethon --user
pip install -U --user setuptools
pip install -U --user telethon
python3 ninja.py
- https://my.telegram.org/apps
 - https://github.com/LonamiWebs/Telethon
 - https://arabic-telethon.readthedocs.io/en/stable/extra/examples/telegram-client.html#deleting-messages
 - https://docs.telethon.dev/en/latest/modules/client.html?highlight=search#telethon.client.messages.MessageMethods.iter_messages
 - https://docs.telethon.dev/en/latest/modules/client.html?highlight=delete#telethon.client.messages.MessageMethods.delete_messages
 - https://docs.telethon.dev/en/latest/basic/updates.html?highlight=delete#more-examples