mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-05 03:22:29 +00:00
Fix typo in docs (#1493)
This commit is contained in:
@@ -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
|
||||
...
|
||||
|
Reference in New Issue
Block a user