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
See Also:
  • Field Details

    • command

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

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

    • BotCommand

      public BotCommand(String command, String description)
      Initialize bot command
      Parameters:
      command - Text of the command; 1-32 characters. Can contain only lowercase English letters, digits and underscores.
      description - Description of the command; 1-256 characters.