From b1064015f6c68479a86cac71596b9db2b823c72d Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Fri, 9 Feb 2018 01:54:47 +0100 Subject: [PATCH] Update set_event_handler docstring --- pyrogram/client/client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index b50ac87d..1c6a8653 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -351,7 +351,8 @@ class Client: Args: callback (:obj:`callable`): - A callback function that accepts two arguments: the Client itself and the event (update) object. + A function that takes ``client, event`` as positional arguments. + It will be called when a new event is generated on your account. """ self.event_handler = callback