diff --git a/pyrogram/session/session.py b/pyrogram/session/session.py index 173e8846..1cd27c5e 100644 --- a/pyrogram/session/session.py +++ b/pyrogram/session/session.py @@ -324,7 +324,7 @@ class Session: break try: - self._send(functions.PingDelayDisconnect( + await self._send(functions.PingDelayDisconnect( 0, self.WAIT_TIMEOUT + 10 ), False) except (OSError, TimeoutError, Error):