diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index 7e8eb791..f0e049f7 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -246,7 +246,7 @@ class Client: your handler using a different group id (lower group id == higher priority). Args: - handler (:obj:`Handler `): + handler (``Handler``): The handler to be registered. group (``int``, optional): diff --git a/pyrogram/client/handlers/handlers.py b/pyrogram/client/handlers/handlers.py index ca43282f..33fff85d 100644 --- a/pyrogram/client/handlers/handlers.py +++ b/pyrogram/client/handlers/handlers.py @@ -36,7 +36,7 @@ class MessageHandler(Handler): client (:obj:`Client `): The Client itself, useful when you want to call other API methods inside the message handler. - message (:obj:`Message `): + message (:obj:`Message `): The received message. """