mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 13:29:47 +00:00
Finish up asyncio docs
This commit is contained in:
@@ -32,4 +32,6 @@ times, in this case, ``22222`` so we can hardcode that:
|
||||
|
||||
client = TelegramClient(None, api_id, api_hash)
|
||||
client.session.set_dc(2, '149.154.167.40', 80)
|
||||
client.start(phone='9996621234', code_callback=lambda: '22222')
|
||||
loop.run_until_complete(client.start(
|
||||
phone='9996621234', code_callback=lambda: '22222'
|
||||
))
|
||||
|
Reference in New Issue
Block a user