mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
fix RequestMiddlewareType callable signature
This commit is contained in:
parent
b021e9df5c
commit
bdd5bb0d16
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ NextRequestMiddlewareType = Callable[
|
|||
RequestMiddlewareType = Union[
|
||||
BaseRequestMiddleware,
|
||||
Callable[
|
||||
[NextRequestMiddlewareType, "Bot", TelegramMethod[TelegramType]],
|
||||
["Bot", TelegramMethod[TelegramType], NextRequestMiddlewareType],
|
||||
Awaitable[Response[TelegramType]],
|
||||
],
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue