Пример низкоуровневого вебхука

This commit is contained in:
Денис Семёнов 2025-07-20 21:56:54 +03:00
parent 7e9163adc9
commit 52d69904c6

View File

@ -14,7 +14,7 @@ logging.basicConfig(level=logging.INFO)
bot = Bot('тут_ваш_токен')
dp = Dispatcher()
@dp.message_created()
async def handle_message(event: MessageCreated):
await event.message.answer('Бот работает через вебхук!')