From 600e705d51e1aff97de1ed57a76c79e9f1f0c56b Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sat, 17 Mar 2018 19:05:18 +0100 Subject: [PATCH] Add docstrings for "token" parameter --- pyrogram/client/client.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index 39ed55d1..d71534ed 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -88,6 +88,10 @@ class Client: Only applicable for new sessions and will be ignored in case previously created sessions are loaded. + token (:obj:`str`, optional): + Pass your Bot API token to log-in as Bot. + E.g.: 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11 + phone_number (:obj:`str`, optional): Pass your phone number (with your Country Code prefix included) to avoid entering it manually. Only applicable for new sessions.