Update middleware.py

This commit is contained in:
ZeroN 2023-10-22 01:35:37 +05:00 committed by GitHub
parent 4caa19cfec
commit df75f75ca0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,7 +91,7 @@ class FSMContextMiddleware(BaseMiddleware):
self,
bot: Bot,
chat_id: int,
user_id: Optional[int] = None,
user_id: int,
thread_id: Optional[int] = None,
destiny: str = DEFAULT_DESTINY,
) -> FSMContext: