Just use get_entity (get_input_entity requires it to be cached)
patch 636b9aa2cb3b22eda734047f3d320dcc7e0303ad
Author: Peter Bui <pbui@bx612.space>
Date: Fri Jul 19 04:59:19 CEST 2019
* Just use get_entity (get_input_entity requires it to be cached)
hunk ./irtelegramd.py 285
- try:
- user = await self.telegram_client.get_input_entity(tid)
- except ValueError:
- user = await self.telegram_client.get_entity(tid)
+ user = await self.telegram_client.get_entity(tid)