mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-10 19:46:36 +03:00
Fix typo in docs (#1493)
This commit is contained in:
parent
ba4f4c1f78
commit
0f8119c400
|
@ -417,7 +417,7 @@ class TelegramBaseClient(abc.ABC):
|
|||
.. code-block:: python
|
||||
|
||||
# Download media in the background
|
||||
task = client.loop_create_task(message.download_media())
|
||||
task = client.loop.create_task(message.download_media())
|
||||
|
||||
# Do some work
|
||||
...
|
||||
|
|
Loading…
Reference in New Issue
Block a user