From 986ffa0ebd0e17e8b01b0c3c9a5f42c1d6323ba6 Mon Sep 17 00:00:00 2001 From: Alex Root Junior Date: Sat, 16 Sep 2017 20:00:00 +0300 Subject: [PATCH] Annotate another eecution method in example echo bot. --- examples/echo_bot.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/echo_bot.py b/examples/echo_bot.py index 80c616cb..2e8eba35 100644 --- a/examples/echo_bot.py +++ b/examples/echo_bot.py @@ -41,3 +41,7 @@ if __name__ == '__main__': loop.run_until_complete(main()) except KeyboardInterrupt: loop.stop() + + # Also you can use another execution method + # >>> from aiogram.utils.executor import start_pooling + # >>> start_pooling(dp, loop=loop, on_startup=main, on_shutdown=shutdown)