mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-06 21:20:22 +03:00
Update creating-a-client.rst
This commit is contained in:
parent
9144f3388b
commit
0a3a5f6f10
|
@ -150,8 +150,12 @@ The mentioned ``.start()`` method will handle this for you as well, but
|
||||||
you must set the ``password=`` parameter beforehand (it won't be asked).
|
you must set the ``password=`` parameter beforehand (it won't be asked).
|
||||||
|
|
||||||
If you don't have 2FA enabled, but you would like to do so through the library,
|
If you don't have 2FA enabled, but you would like to do so through the library,
|
||||||
use ``client.edit_2fa()``.
|
use ``client.edit_2fa()``.
|
||||||
Take note that if you want to set only the email/hint and leave the current password unchanged, you need to "redo" the 2fa.
|
Be sure to know what you're doing when using this function and
|
||||||
|
you won't run into any problems.
|
||||||
|
Take note that if you want to set only the email/hint and leave
|
||||||
|
the current password unchanged, you need to "redo" the 2fa.
|
||||||
|
|
||||||
See the examples below:
|
See the examples below:
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
Loading…
Reference in New Issue
Block a user