mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 05:19:41 +00:00
Set default TelegramBareClient behaviour to not spawn ReadThread
This commit is contained in:
@@ -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"""
|
||||
|
Reference in New Issue
Block a user