-
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
get_dialogs() got an unexpected keyword argument 'pinned_only' #70
Comments
Hi, This resolves the issue:
|
Just reaching out but it appears your fix no longer works - any solutions? |
I just tried it with the latest tgcrypto and pyrogram packages from Pip and it works just fine. Do you have an error message or any other helpful information for debugging purposes? |
Okay, I managed to get it to work. I just re-downloaded the application then ran it again (after I changed pyogram to a newer version -> "pyrogram==2.0.106"). |
Great fix, thank you! Do you mind opening a PR for this? :) |
Traceback (most recent call last):
File "/root/telegram-delete-all-messages/cleaner.py", line 154, in
deleter.select_groups()
File "/root/telegram-delete-all-messages/cleaner.py", line 67, in select_groups
chats = self.get_all_chats()
File "/root/telegram-delete-all-messages/cleaner.py", line 57, in get_all_chats
dialogs = app.get_dialogs(pinned_only=True)
File "/usr/local/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'
How to fix it ?
Thks !
The text was updated successfully, but these errors were encountered: