diff --git a/pyrogram/client/ext/base_client.py b/pyrogram/client/ext/base_client.py index 7e9f51a1..ae05c1f2 100644 --- a/pyrogram/client/ext/base_client.py +++ b/pyrogram/client/ext/base_client.py @@ -26,7 +26,7 @@ from ...session.internals import MsgId class BaseClient: - class StopTransmission(StopIteration): + class StopTransmission(StopAsyncIteration): pass APP_VERSION = "Pyrogram \U0001f525 {}".format(__version__)