mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 10:11:52 +00:00
Bump version, small changes in docs
This commit is contained in:
parent
2620a6547c
commit
1634dc1162
14 changed files with 67 additions and 31 deletions
|
|
@ -65,10 +65,10 @@ Class-based
|
|||
.. code-block:: python
|
||||
|
||||
from aiogram import BaseMiddleware
|
||||
from aiogram.api.types import Message
|
||||
from aiogram.types import Message
|
||||
|
||||
|
||||
class CounterMiddleware(BaseMiddleware[Message]):
|
||||
class CounterMiddleware(BaseMiddleware):
|
||||
def __init__(self) -> None:
|
||||
self.counter = 0
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue