From 21ab5295c4077d42518df64c250d00a8bb309ab1 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sun, 1 Apr 2018 18:18:06 +0200 Subject: [PATCH] Update first_name and last_name parameters' docs --- 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 4f1ac855..23a1568b 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -117,10 +117,11 @@ class Client: first_name (``str``, optional): Pass a First Name to avoid entering it manually. It will be used to automatically create a new Telegram account in case the phone number you passed is not registered yet. + Only applicable for new sessions. last_name (``str``, optional): Same purpose as *first_name*; pass a Last Name to avoid entering it manually. It can - be an empty string: "" + be an empty string: "". Only applicable for new sessions. workers (``int``, optional): Thread pool size for handling incoming updates. Defaults to 4.