fix command decorator signature

This commit is contained in:
Alexander Kalinovsky
2025-02-06 21:51:03 +01:00
parent 86d6eef435
commit 7f61a2885d

View File

@@ -19,7 +19,7 @@ class Router:
self, self,
name: str, name: str,
caption: str | dict[str, str] | None = None, caption: str | dict[str, str] | None = None,
pre_check: Callable[[Union[Message, CallbackQuery], Any], bool] | None = None, pre_check: Callable[[CommandCallbackContext], bool] | None = None,
show_in_bot_commands: bool = False, show_in_bot_commands: bool = False,
register_navigation: bool = True, register_navigation: bool = True,
clear_navigation: bool = False, clear_navigation: bool = False,