Class BotCommand

java.lang.Object
io.github.natanimn.telebof.types.bot.BotCommand
All Implemented Interfaces:
Serializable

public class BotCommand extends Object implements Serializable
This object represents a bot command.
Since:
3 March 2025
Author:
Natanim
See Also:
  • Field Details

    • command

      private String command
      Text of the command; 1-32 characters. Can contain only lowercase English letters, digits and underscores.
    • description

      private String description
      Description of the command; 1-256 characters.
  • Constructor Details

    • BotCommand

      public BotCommand(String command, String description)
  • Method Details

    • getCommand

      public String getCommand()
    • getDescription

      public String getDescription()