From 35d5c4170cfbf91982f18100086613b10a0f3a13 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Wed, 21 Feb 2018 12:21:10 +0100 Subject: [PATCH] Update docs --- docs/source/resources/AutoAuthorization.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/source/resources/AutoAuthorization.rst b/docs/source/resources/AutoAuthorization.rst index 304c9fa5..7b56e1f0 100644 --- a/docs/source/resources/AutoAuthorization.rst +++ b/docs/source/resources/AutoAuthorization.rst @@ -5,6 +5,10 @@ Manually writing phone number, phone code and password on the terminal every tim Pyrogram is able to automate both **Sign-In** and **Sign-Up** processes, all you need to do is pass the relevant parameters when creating a new Client. +.. note:: If you omit any of the optional parameter required for the authorization, Pyrogram will ask you to + manually write it. For instance, if you don't want to set a *last_name* when creating a new account you + have to explicitly pass an empty string ""; the default value (None) will trigger the input() call. + Sign-In -------