mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Merge remote-tracking branch 'origin/dev-3.x' into dev-3.x
This commit is contained in:
commit
da0b9a4203
5 changed files with 28 additions and 1 deletions
|
|
@ -109,6 +109,13 @@ async def poll_handler(poll: types.Poll) -> Any: pass
|
|||
```
|
||||
Is useful for handling [polls](../api/types/poll.md)
|
||||
|
||||
### Poll answer
|
||||
```python3
|
||||
@router.poll_answer_handler()
|
||||
async def poll_answer_handler(poll_answer: types.PollAnswer) -> Any: pass
|
||||
```
|
||||
Is useful for handling [polls answers](../api/types/poll_answer.md)
|
||||
|
||||
|
||||
## Nested routers
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue