Annotation Interface BotController


@Target(TYPE) @Retention(RUNTIME) @Documented @Component public @interface BotController
Marks a class as a Telegram bot controller that contains handler methods for incoming updates. Acts as a Spring Component, making annotated classes eligible for auto-detection and registration in the application context.
Since:
0.0.1
Author:
Islom Mirsaburov
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The optional Spring bean name for the controller component.
  • Element Details

    • value

      String value
      The optional Spring bean name for the controller component.
      Returns:
      the bean name, or an empty string to use the default name
      Default:
      ""