mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-07 13:34:59 +03:00
Better run_loop docstring
This commit is contained in:
parent
a265a3f165
commit
7600462dca
|
@ -16,7 +16,9 @@ class UpdateMethods(UserMethods):
|
|||
|
||||
def run_loop(self):
|
||||
"""
|
||||
Runs the event loop.
|
||||
Runs the event loop until a disconnection occurs, either from
|
||||
Telegram or by user action. If the loop is already running you
|
||||
should ``await client.connection_dropped`` instead.
|
||||
"""
|
||||
self.loop.run_until_complete(self.connection_dropped)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user