mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 21:07:59 +00:00
Document force_sms parameter
This commit is contained in:
parent
387bbbf090
commit
fecea07db6
@ -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…
x
Reference in New Issue
Block a user