mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
add typing user_id: Optional[int] = None, middleware.py
This commit is contained in:
parent
cf56fe8021
commit
2a3702da0f
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ class FSMContextMiddleware(BaseMiddleware):
|
|||
self,
|
||||
bot: Bot,
|
||||
chat_id: int,
|
||||
user_id: int,
|
||||
user_id: Optional[int] = None,
|
||||
thread_id: Optional[int] = None,
|
||||
destiny: str = DEFAULT_DESTINY,
|
||||
) -> FSMContext:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue