mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-02-16 19:41:07 +03: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 |
||
---|---|---|
.. | ||
core | ||
custom | ||
__init__.py | ||
tlobject.py |