Skip to content

Latest commit

 

History

History
7 lines (7 loc) · 472 Bytes

application_run_tip.rst

File metadata and controls

7 lines (7 loc) · 472 Bytes

Tip

When combining python-telegram-bot with other asyncio based frameworks, using this method is likely not the best choice, as it blocks the event loop until it receives a stop signal as described above. Instead, you can manually call the methods listed below to start and shut down the application and the ~telegram.ext.Application.updater. Keeping the event loop running and listening for a stop signal is then up to you.