mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 13:29:47 +00:00

On timeout, they are cancelled. On a new message arriving, we pop and set the result unconditionally. conv.send_message('Talk to me please') conv.get_response() try: conv.get_response(timeout=0.1) except asyncio.TimeoutError: pass conv.send_message('One more time...') conv.get_response() # errors unless above is commented