Annotation Type StopAllTriggers


  • @Retention(SOURCE)
    @Target(METHOD)
    public @interface StopAllTriggers
    Method annotated with this annotation will be called to stop the trigger listener StopAllTriggers.

    This annotation can only be used when the BotCommand has commandType set as Trigger.

    Currently exactly one method needs to be annotated when BotCommand annotation is present on the type. Failure to do so will result in compilation error.