Telethon is an asyncio <https://docs.python.org/3/library/asyncio.html>
_ Python 3 library
to interact with Telegram's API.
If you're upgrading from Telethon pre-1.0 to 1.0, please make sure to read
this section of the documentation <https://telethon.readthedocs.io/en/latest/extra/basic/asyncio-magic.html>
,
or pip install telethon-sync
which is compatible with synchronous code <https://github.com/LonamiWebs/Telethon/tree/sync>
. Don't forget to remove
the asynchronous version (pip uninstall telethon
) if you do install sync.
It is a simple script to run the /faucet action in the BTC Faucet telegram bot.
pip3 install telethon
python3 autoreplier.py