mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-09-20 02:42:40 +03:00
fix syntax error in README, use client.connect() instead of client.start()
This commit is contained in:
parent
77ef659cbf
commit
e680309e34
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user