mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Added documentation for polling/webhook modes
This commit is contained in:
parent
62d4b9014c
commit
e5520c39c8
36 changed files with 2594 additions and 692 deletions
|
|
@ -19,10 +19,10 @@ logging.basicConfig(level=logging.INFO)
|
|||
router = Router()
|
||||
|
||||
|
||||
@router.message(Command(commands=["start"]))
|
||||
@router.message(Command("start"))
|
||||
async def command_start_handler(message: Message) -> None:
|
||||
"""
|
||||
This handler receive messages with `/start` command
|
||||
This handler receives messages with `/start` command
|
||||
"""
|
||||
|
||||
await message.answer(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue