From c04dd98fc76b947e8e75a1dea470559706454a43 Mon Sep 17 00:00:00 2001 From: ZeroN <128647503+OnaZeroN@users.noreply.github.com> Date: Sat, 21 Oct 2023 23:37:24 +0500 Subject: [PATCH] Update strategy.py --- aiogram/fsm/strategy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiogram/fsm/strategy.py b/aiogram/fsm/strategy.py index 6eb428ff..5a2c8d4a 100644 --- a/aiogram/fsm/strategy.py +++ b/aiogram/fsm/strategy.py @@ -12,7 +12,7 @@ class FSMStrategy(Enum): def apply_strategy( strategy: FSMStrategy, chat_id: int, - user_id: int, + user_id: Optional[int] = None, thread_id: Optional[int] = None, ) -> Tuple[int, Optional[int], Optional[int]]: if strategy == FSMStrategy.CHAT: