From fecea07db68d692f5f7bad850fae555dab316b04 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sun, 1 Apr 2018 18:17:20 +0200 Subject: [PATCH] Document force_sms parameter --- pyrogram/client/client.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index 07869a62..4f1ac855 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -110,6 +110,10 @@ class Client: Pass your Two-Step Verification password (if you have one) to avoid entering it 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): 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.