mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-23 01:46:35 +03:00
0b41454b01
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 |
||
---|---|---|
.. | ||
__init__.py | ||
adminlogevent.py | ||
button.py | ||
chatgetter.py | ||
conversation.py | ||
dialog.py | ||
draft.py | ||
file.py | ||
forward.py | ||
inlinebuilder.py | ||
inlineresult.py | ||
inlineresults.py | ||
inputsizedfile.py | ||
message.py | ||
messagebutton.py | ||
sendergetter.py |