Small fixes to the Setup.rst page

This commit is contained in:
Dan 2018-10-14 11:58:23 +02:00
parent a3272d28d4
commit 3659ea82fb

View File

@ -53,6 +53,7 @@ fits better for you:
) )
.. note:: .. note::
The examples below assume you have created a ``config.ini`` file, thus they won't show the *api_id* The examples below assume you have created a ``config.ini`` file, thus they won't show the *api_id*
and *api_hash* parameters usage. and *api_hash* parameters usage.
@ -74,7 +75,7 @@ the :class:`Client <pyrogram.Client>` class by passing to it a ``session_name``
This starts an interactive shell asking you to input your **phone number** (including your `Country Code`_) This starts an interactive shell asking you to input your **phone number** (including your `Country Code`_)
and the **phone code** you will receive: and the **phone code** you will receive:
.. code:: .. code-block:: text
Enter phone number: +39********** Enter phone number: +39**********
Is "+39**********" correct? (y/n): y Is "+39**********" correct? (y/n): y
@ -84,7 +85,9 @@ After successfully authorizing yourself, a new file called ``my_account.session`
Pyrogram executing API calls with your identity. This file will be loaded again when you restart your app, Pyrogram executing API calls with your identity. This file will be loaded again when you restart your app,
and as long as you keep the session alive, Pyrogram won't ask you again to enter your phone number. and as long as you keep the session alive, Pyrogram won't ask you again to enter your phone number.
.. important:: Your ``*.session`` files are personal and must be kept secret. .. important::
Your ``*.session`` files are personal and must be kept secret.
Bot Authorization Bot Authorization
----------------- -----------------