aiogram/examples/routers_autoload/handlers/message/start.py
2021-12-16 02:53:01 +03:00

9 lines
183 B
Python

from aiogram import Router
from aiogram.types import Message
router = Router()
@router.message(commands=["start"])
async def process_message(m: Message):
await m.answer("Hi!")