fix command decorator signature
This commit is contained in:
@@ -19,7 +19,7 @@ class Router:
|
||||
self,
|
||||
name: str,
|
||||
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,
|
||||
register_navigation: bool = True,
|
||||
clear_navigation: bool = False,
|
||||
|
||||
Reference in New Issue
Block a user