diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index fb14d379..e56a0233 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -585,7 +585,7 @@ class Client(Methods, BaseClient): break if terms_of_service: - assert self.send(functions.help.AcceptTermsOfService(terms_of_service.id)) + assert await self.send(functions.help.AcceptTermsOfService(terms_of_service.id)) self.password = None self.user_id = r.user.id