Skip to content

Commit

Permalink
Fix not all docs using new start method
Browse files Browse the repository at this point in the history
  • Loading branch information
Lonami committed Jan 11, 2018
1 parent 80f81fe commit 4f44121
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions readthedocs/extra/basic/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down

0 comments on commit 4f44121

Please sign in to comment.