From a7173b4371207d6f553e2341a659cf9515f22dce Mon Sep 17 00:00:00 2001 From: Denis Date: Wed, 30 Jul 2025 08:57:58 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D1=8B=20=D0=B4=D0=BE=D0=BF.=20=D0=BD=D0=B0=D1=81=D1=82?= =?UTF-8?q?=D1=80=D0=BE=D0=B9=D0=BA=D0=B8=20=D0=B2=20=D0=BF=D1=80=D0=B8?= =?UTF-8?q?=D0=BC=D0=B5=D1=80=20=D0=B7=D0=B0=D0=BF=D1=83=D1=81=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/webhook/high_level.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/examples/webhook/high_level.py b/examples/webhook/high_level.py index 50a22c9..00bea88 100644 --- a/examples/webhook/high_level.py +++ b/examples/webhook/high_level.py @@ -16,7 +16,12 @@ async def handle_message(event: MessageCreated): async def main(): - await dp.handle_webhook(bot, log_level='critical') + await dp.handle_webhook( + bot=bot, + host='localhost', + port=8080, + log_level='critical' # Можно убрать для подробного логгирования + ) if __name__ == '__main__':