mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-02 03:00:15 +03:00
telegram_client.py argument name fix
This commit is contained in:
parent
07a36cfc76
commit
36773c0d79
|
@ -69,7 +69,7 @@ class TelegramClient(TelegramBareClient):
|
||||||
|
|
||||||
def __init__(self, session, api_id, api_hash,
|
def __init__(self, session, api_id, api_hash,
|
||||||
connection_mode=ConnectionMode.TCP_FULL,
|
connection_mode=ConnectionMode.TCP_FULL,
|
||||||
use_v6=False,
|
use_ipv6=False,
|
||||||
proxy=None,
|
proxy=None,
|
||||||
update_workers=None,
|
update_workers=None,
|
||||||
timeout=timedelta(seconds=5),
|
timeout=timedelta(seconds=5),
|
||||||
|
@ -114,7 +114,7 @@ class TelegramClient(TelegramBareClient):
|
||||||
super().__init__(
|
super().__init__(
|
||||||
session, api_id, api_hash,
|
session, api_id, api_hash,
|
||||||
connection_mode=connection_mode,
|
connection_mode=connection_mode,
|
||||||
use_v6=use_v6,
|
use_ipv6=use_ipv6,
|
||||||
proxy=proxy,
|
proxy=proxy,
|
||||||
update_workers=update_workers,
|
update_workers=update_workers,
|
||||||
spawn_read_thread=spawn_read_thread,
|
spawn_read_thread=spawn_read_thread,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user