davidmckenzie / telebagger

Simple Telegram to Discord one-way relay service
The Unlicense
30 stars 14 forks source link

unexpected keyword argument 'update_workers' #6

Closed hubavka closed 3 years ago

hubavka commented 4 years ago

File "telelooper.py", line 42, in tclient = TelegramClient('session_name', api_id, api_hash, update_workers=4, spawn_read_thread=False) TypeError: init() got an unexpected keyword argument 'update_workers'

arjun069 commented 3 years ago

update_workers and spawn_read_thread are deprecated. You can remove them from the function and it'll run without errors