diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index f0e049f7..3232e0b0 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -830,7 +830,10 @@ class Client: self.api_id = parser.getint("pyrogram", "api_id") self.api_hash = parser.get("pyrogram", "api_hash") else: - raise AttributeError("No API Key found") + raise AttributeError( + "No API Key found. " + "More info: https://docs.pyrogram.ml/start/ProjectSetup#configuration" + ) if self.proxy is not None: self.proxy = Proxy(