-
Notifications
You must be signed in to change notification settings - Fork 92
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
TypeError: get_dialogs() got an unexpected keyword argument 'pinned_only' #53
Comments
I can reproduce same issue on Arch Linux and Ubuntu 22.04 LTS. |
I managed to run it. |
I was able to reproduce the issue on Windows 11. I was able to work around this by changing Thanks @andrsn0w for the tip! |
Current version of the project uses pyrogram==1.4 fixed in #52 so closed for now. |
Traceback (most recent call last):
File "/Users/admin/Projects/telegram-delete-all-messages/cleaner.py", line 134, in
deleter.select_groups()
File "/Users/admin/Projects/telegram-delete-all-messages/cleaner.py", line 50, in select_groups
chats = self.get_all_chats()
File "/Users/admin/Projects/telegram-delete-all-messages/cleaner.py", line 40, in get_all_chats
dialogs = app.get_dialogs(pinned_only=True)
File "/Users/admin/.pyenv/versions/3.9.12/lib/python3.9/site-packages/pyrogram/sync.py", line 53, in async_to_sync_wrap
coroutine = function(*args, **kwargs)
TypeError: get_dialogs() got an unexpected keyword argument 'pinned_only'
The text was updated successfully, but these errors were encountered: