Interface ExtensionManager

All Superinterfaces:
AutoCloseable, Closeable

public sealed interface ExtensionManager extends Closeable
Base interface for the extension manager.
See Also:
  • for the default implementation.
  • Field Details

  • Method Details

    • newExtensionManager

      @Internal @NotNull static @NotNull ExtensionManager newExtensionManager(@NotNull @NotNull TelegramBot bot)
    • start

      void start()
      Starts the extension manager.
    • getLoadedExtensions

      @NotNull @NotNull @Unmodifiable Set<Extension> getLoadedExtensions()
      Returns a set of the loaded extensions.
      Returns:
      An unmodifiable set of the loaded extensions.