Add missing L74 hash parameter to .get_message_history()

This commit is contained in:
Lonami Exo 2018-01-03 19:18:24 +01:00
parent 6eef6f5d23
commit 33d6afa0bd

View File

@ -527,7 +527,8 @@ class TelegramClient(TelegramBareClient):
offset_id=offset_id,
max_id=max_id,
min_id=min_id,
add_offset=add_offset
add_offset=add_offset,
hash=0
))
messages.extend(
m for m in result.messages if not isinstance(m, MessageEmpty)