From 859305b74463b1dd43e6b34edf4eeefae20fee1f Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Thu, 8 Mar 2018 10:34:04 +0100 Subject: [PATCH] Update docstrings --- pyrogram/client/client.py | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index d97ae0d9..b77644b4 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -1050,10 +1050,10 @@ class Client: progress (:obj:`callable`): Pass a callback function to view the upload progress. - The function must accept two arguments (progress, total). + The function must accept two arguments (current, total). Other Parameters: - progress (:obj:`int`): + current (:obj:`int`): The amount of bytes uploaded so far. total (:obj:`int`): @@ -1139,10 +1139,10 @@ class Client: progress (:obj:`callable`): Pass a callback function to view the upload progress. - The function must accept two arguments (progress, total). + The function must accept two arguments (current, total). Other Parameters: - progress (:obj:`int`): + current (:obj:`int`): The amount of bytes uploaded so far. total (:obj:`int`): @@ -1222,10 +1222,10 @@ class Client: progress (:obj:`callable`): Pass a callback function to view the upload progress. - The function must accept two arguments (progress, total). + The function must accept two arguments (current, total). Other Parameters: - progress (:obj:`int`): + current (:obj:`int`): The amount of bytes uploaded so far. total (:obj:`int`): @@ -1290,10 +1290,10 @@ class Client: progress (:obj:`callable`): Pass a callback function to view the upload progress. - The function must accept two arguments (progress, total). + The function must accept two arguments (current, total). Other Parameters: - progress (:obj:`int`): + current (:obj:`int`): The amount of bytes uploaded so far. total (:obj:`int`): @@ -1389,10 +1389,10 @@ class Client: progress (:obj:`callable`): Pass a callback function to view the upload progress. - The function must accept two arguments (progress, total). + The function must accept two arguments (current, total). Other Parameters: - progress (:obj:`int`): + current (:obj:`int`): The amount of bytes uploaded so far. total (:obj:`int`): @@ -1479,10 +1479,10 @@ class Client: progress (:obj:`callable`): Pass a callback function to view the upload progress. - The function must accept two arguments (progress, total). + The function must accept two arguments (current, total). Other Parameters: - progress (:obj:`int`): + current (:obj:`int`): The amount of bytes uploaded so far. total (:obj:`int`): @@ -1558,10 +1558,10 @@ class Client: progress (:obj:`callable`): Pass a callback function to view the upload progress. - The function must accept two arguments (progress, total). + The function must accept two arguments (current, total). Other Parameters: - progress (:obj:`int`): + current (:obj:`int`): The amount of bytes uploaded so far. total (:obj:`int`): @@ -2566,10 +2566,10 @@ class Client: progress (:obj:`callable`): Pass a callback function to view the download progress. - The function must accept two arguments (progress, total). + The function must accept two arguments (current, total). Other Parameters: - progress (:obj:`int`): + current (:obj:`int`): The amount of bytes downloaded so far. total (:obj:`int`):