telegram_client.py argument name fix

This commit is contained in:
Vladislav Kolesnichenko 2017-11-12 15:01:47 +03:00 committed by GitHub
parent 07a36cfc76
commit 36773c0d79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,7 +69,7 @@ class TelegramClient(TelegramBareClient):
def __init__(self, session, api_id, api_hash,
connection_mode=ConnectionMode.TCP_FULL,
use_v6=False,
use_ipv6=False,
proxy=None,
update_workers=None,
timeout=timedelta(seconds=5),
@ -114,7 +114,7 @@ class TelegramClient(TelegramBareClient):
super().__init__(
session, api_id, api_hash,
connection_mode=connection_mode,
use_v6=use_v6,
use_ipv6=use_ipv6,
proxy=proxy,
update_workers=update_workers,
spawn_read_thread=spawn_read_thread,