Class TdApi.BotCommand

java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.BotCommand
Enclosing class:
TdApi

public static class TdApi.BotCommand extends TdApi.Object
Represents a command supported by a bot.
  • Field Details

    • command

      public String command
      Text of the bot command.
    • description

      public String description
      Description of the bot command.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • BotCommand

      public BotCommand()
      Represents a command supported by a bot.
    • BotCommand

      public BotCommand(String command, String description)
      Represents a command supported by a bot.
      Parameters:
      command - Text of the bot command.
      description - Description of the bot command.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR