fix command decorator signature
This commit is contained in:
1 parent
86d6eef435
commit
7f61a2885d
1 file changed
+1
-1
@@ -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