2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-29 05:18:10 +00:00

Document force_sms parameter

This commit is contained in:
Dan 2018-04-01 18:17:20 +02:00
parent 387bbbf090
commit fecea07db6

View File

@ -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.