fix command decorator signature
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user