File: application.rst

package info (click to toggle)
python-telegram-bot 21.10-1
  • links: PTS
  • area: main
  • in suites: trixie
  • size: 10,056 kB
  • sloc: python: 82,277; makefile: 176; sh: 4
file content (1 line) | stat: -rw-r--r-- 403 bytes parent folder | download | duplicates (2)
1
.. |app_run_shutdown| replace:: The app will shut down when :exc:`KeyboardInterrupt` or :exc:`SystemExit` is raised. This also works from within handlers, error handlers and jobs. However, using :meth:`~telegram.ext.Application.stop_running` will give a somewhat cleaner shutdown behavior than manually raising those exceptions. On unix, the app will also shut down on receiving the signals specified by