Added documentation for polling/webhook modes

This commit is contained in:
Alex Root Junior 2023-08-06 16:55:40 +03:00
parent 62d4b9014c
commit e5520c39c8
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC
36 changed files with 2594 additions and 692 deletions

View file

@ -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(