Class BotCommand

java.lang.Object
io.micronaut.chatbots.telegram.api.BotCommand

public class BotCommand extends Object
See Also:
  • Constructor Details

    • BotCommand

      public BotCommand()
  • Method Details

    • getCommand

      @NonNull public @NonNull String getCommand()
      Returns:
      Text of the command
    • setCommand

      public void setCommand(@NonNull @NonNull String command)
      Parameters:
      command - Text of the command
    • getDescription

      @NonNull public @NonNull String getDescription()
      Returns:
      Bot command description
    • setDescription

      public void setDescription(@NonNull @NonNull String description)
      Parameters:
      description - Bot command description
    • toString

      public String toString()
      Overrides:
      toString in class Object