Annotation Type BotCommand


  • @Documented
    @Retention(SOURCE)
    @Target(TYPE)
    public @interface BotCommand
    Makes the type eligible to be treated as BotCommand.

    There are two steps for converting the annotated type to BotCommand

    • Wrapping the annotated type in a class extending BotCommand.
    • Generating the package.json file. (This step can be opted out.)

    See also :

    • Element Detail

      • packageName

        java.lang.String packageName
        Package of the generated wrapper class. The package of the annotated type will be used if an empty string (null, "", or only whitespace) is provided.
        Returns:
        package name to used for creation of wrapper class.
        Default:
        ""
      • commandType

        BotCommand.CommandType commandType
        Default:
        com.automationanywhere.commandsdk.annotations.BotCommand.CommandType.Command