Class BotCommand
java.lang.Object
io.micronaut.chatbots.telegram.api.BotCommand
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull String@NonNull StringvoidsetCommand(@NonNull String command) voidsetDescription(@NonNull String description) toString()
-
Constructor Details
-
BotCommand
public BotCommand()
-
-
Method Details
-
getCommand
- Returns:
- Text of the command
-
setCommand
- Parameters:
command- Text of the command
-
getDescription
- Returns:
- Bot command description
-
setDescription
- Parameters:
description- Bot command description
-
toString
-