Make more emphasis in the magic sync module

This commit is contained in:
Lonami Exo
2018-06-25 21:33:44 +02:00
parent fc834f60fb
commit 184240953d
2 changed files with 19 additions and 3 deletions

View File

@@ -4,6 +4,22 @@
Magic with asyncio
==================
.. important::
TL; DR; If you've upgraded to Telethon 1.0 from a previous version
**and you're not using events or updates**, add this line:
.. code-block:: python
import telethon.sync
At the beginning of your main script and you will be good. If you
do use updates or events, keep reading, or use `a simpler version
<https://github.com/LonamiWebs/Telethon/tree/sync>`_ (discouraged).
You might also want to check the :ref:`changelog`.
The sync module
***************