Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working with updates - Asyncio Version #822

Closed
Jinqad opened this issue May 28, 2018 · 1 comment
Closed

Working with updates - Asyncio Version #822

Jinqad opened this issue May 28, 2018 · 1 comment

Comments

@Jinqad
Copy link

Jinqad commented May 28, 2018

client = TelegramClient(phone, api_id, api_hash,update_workers=1,spawn_read_thread=False)

OK i'm trying to use updates in the asyncio version of telethon but it doesn't seem to work.
TypeError: init() got an unexpected keyword argument 'update_workers'
Could you elaborate on it?

@Lonami
Copy link
Member

Lonami commented May 28, 2018

The documentation needs to be fixed. Simply remove the named arguments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants