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

Bug #499

Open
notylo opened this issue Nov 10, 2024 · 0 comments
Open

Bug #499

notylo opened this issue Nov 10, 2024 · 0 comments

Comments

@notylo
Copy link

notylo commented Nov 10, 2024

Traceback (most recent call last):
File "C:\Windows\System32\telegram_media_downloader-2.0.2\media_downloader.py", line 376, in
main()
~~~~^^
File "C:\Windows\System32\telegram_media_downloader-2.0.2\media_downloader.py", line 360, in main
updated_config = asyncio.get_event_loop().run_until_complete(
begin_import(config, pagination_limit=100)
)
File "C:\Users*\AppData\Local\Programs\Python\Python313\Lib\asyncio\base_events.py", line 721, in run_until_complete
return future.result()
~~~~~~~~~~~~~^^
File "C:\Windows\System32\telegram_media_downloader-2.0.2\media_downloader.py", line 313, in begin_import
messages_iter = client.get_chat_history(
config["chat_id"], offset_id=last_read_message_id, reverse=True
)
File "C:\Users*
\AppData\Local\Programs\Python\Python313\Lib\site-packages\pyrogram\sync.py", line 53, in async_to_sync_wrap
coroutine = function(*args, **kwargs)
TypeError: GetChatHistory.get_chat_history() got an unexpected keyword argument 'reverse'

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

1 participant