Bump version, small changes in docs

This commit is contained in:
Alex Root Junior 2021-12-12 18:59:57 +02:00
parent 2620a6547c
commit 1634dc1162
14 changed files with 67 additions and 31 deletions

View file

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