fix syntax error in README, use client.connect() instead of client.start()

This commit is contained in:
Bas Nijholt 2018-01-11 21:39:39 +01:00
parent 77ef659cbf
commit e680309e34

View File

@ -39,7 +39,7 @@ Creating a client
phone = '+34600000000' phone = '+34600000000'
client = TelegramClient('session_name', api_id, api_hash) client = TelegramClient('session_name', api_id, api_hash)
client.start() client.connect()
Doing stuff Doing stuff