mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-27 03:43:45 +03:00
Set default TelegramBareClient behaviour to not spawn ReadThread
This commit is contained in:
parent
0a567fcd7c
commit
18e485ded2
|
@ -68,7 +68,7 @@ class TelegramBareClient:
|
|||
connection_mode=ConnectionMode.TCP_FULL,
|
||||
proxy=None,
|
||||
update_workers=None,
|
||||
spawn_read_thread=True,
|
||||
spawn_read_thread=False,
|
||||
timeout=timedelta(seconds=5),
|
||||
**kwargs):
|
||||
"""Refer to TelegramClient.__init__ for docs on this method"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user