Checklist
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
Checklist
pip3 install -U https://github.com/hydrogram/hydrogram/archive/dev.zipand reproduced the issue using the latest development versionDescription
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
Code example
Logs
No response