-
-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Labels
bugSomething is wrongSomething is wrong
Description
Checklist
- I am sure the error is coming from Hydrogram's code and not elsewhere
- I have searched in the issue tracker for similar bug reports, including closed ones
- I ran
pip3 install -U https://github.com/hydrogram/hydrogram/archive/dev.zipand reproduced the issue using the latest development version
Description
When using get_chat_history using a takeout session it keeps locked, no response, no error, using the same function with a normal session works correctly
Steps to reproduce
- Create client as user
- Set session as takeout
- Invoke get_chat_history in any chat
Code example
from hydrogram import Client
with Client(session_name, api_id, api_hash, takeout=True) as app:
for message in app.get_chat_history(chat_id): # Script doesn't pass from here, no response
print(message.id)Logs
No response
Metadata
Metadata
Assignees
Labels
bugSomething is wrongSomething is wrong