Skip to content

Commit fecea07

Browse files
committed
Document force_sms parameter
1 parent 387bbbf commit fecea07

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pyrogram/client/client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@ class Client:
110110
Pass your Two-Step Verification password (if you have one) to avoid entering it
111111
manually. Only applicable for new sessions.
112112
113+
force_sms (``str``, optional):
114+
Pass True to force Telegram sending the authorization code via SMS.
115+
Only applicable for new sessions.
116+
113117
first_name (``str``, optional):
114118
Pass a First Name to avoid entering it manually. It will be used to automatically
115119
create a new Telegram account in case the phone number you passed is not registered yet.

0 commit comments

Comments
 (0)