mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-06 15:14:52 +00:00
Document force_sms parameter
This commit is contained in:
parent
387bbbf090
commit
fecea07db6
1 changed files with 4 additions and 0 deletions
|
|
@ -110,6 +110,10 @@ class Client:
|
||||||
Pass your Two-Step Verification password (if you have one) to avoid entering it
|
Pass your Two-Step Verification password (if you have one) to avoid entering it
|
||||||
manually. Only applicable for new sessions.
|
manually. Only applicable for new sessions.
|
||||||
|
|
||||||
|
force_sms (``str``, optional):
|
||||||
|
Pass True to force Telegram sending the authorization code via SMS.
|
||||||
|
Only applicable for new sessions.
|
||||||
|
|
||||||
first_name (``str``, optional):
|
first_name (``str``, optional):
|
||||||
Pass a First Name to avoid entering it manually. It will be used to automatically
|
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.
|
create a new Telegram account in case the phone number you passed is not registered yet.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue