Fix not all docs using new start method

This commit is contained in:
Lonami Exo 2018-01-11 12:45:59 +01:00
parent 80f81fe69a
commit 4f441219b1

View File

@ -30,11 +30,7 @@ Creating a client
phone = '+34600000000'
client = TelegramClient('session_name', api_id, api_hash)
client.connect()
# If you already have a previous 'session_name.session' file, skip this.
client.sign_in(phone=phone)
me = client.sign_in(code=77777) # Put whatever code you received here.
client.start()
**More details**: :ref:`creating-a-client`