Class TdApi.BotCommand

  • Enclosing class:
    TdApi

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

      • 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:
        Constant Field Values
    • Constructor Detail

      • 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.