Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addBotApiMethod(BotApiMethod) - Method in class uz.osoncode.telegrambothandler.core.model.BotResponse
-
Appends a single
BotApiMethodto the response queue. - addBotApiMethods(Collection) - Method in class uz.osoncode.telegrambothandler.core.model.BotResponse
-
Appends all elements from the given collection of
BotApiMethodinstances to the response queue. - annotations() - Element in annotation interface uz.osoncode.telegrambothandler.core.annotation.BotControllerAdvice
-
Restrict this advice to
BotControllerbeans annotated with one of these annotations. - API_SENDER - Static variable in class uz.osoncode.telegrambothandler.core.filter.BotFilterOrder
- assignableTypes() - Element in annotation interface uz.osoncode.telegrambothandler.core.annotation.BotControllerAdvice
-
Restrict this advice to
BotControllerbeans that are assignable to one of these types.
B
- basePackages() - Element in annotation interface uz.osoncode.telegrambothandler.core.annotation.BotControllerAdvice
-
Restrict this advice to
BotControllerbeans in these base packages. - BotArgumentResolver - Interface in uz.osoncode.telegrambothandler.core.argumentresolver
-
Strategy interface for resolving individual handler method parameters from the current request context.
- BotCallbackQuery - Annotation Interface in uz.osoncode.telegrambothandler.core.handler.callbackquery.annotation
-
Maps a handler method to one or more Telegram callback query data values.
- BotCallbackQueryData - Annotation Interface in uz.osoncode.telegrambothandler.core.argumentresolver.annotation
-
Injects the callback query data string from the current Telegram update into the annotated method parameter.
- BotChatState - Annotation Interface in uz.osoncode.telegrambothandler.core.chatstate
-
Restricts a handler method or an entire
@BotControllerclass to specific chat states. - BotChatStateService - Interface in uz.osoncode.telegrambothandler.core.chatstate
-
Service interface for managing per-chat conversational state.
- BotCommand - Annotation Interface in uz.osoncode.telegrambothandler.core.handler.message.command.annotation
-
Maps a handler method to one or more Telegram bot commands.
- BotCommandQueryParam - Annotation Interface in uz.osoncode.telegrambothandler.core.argumentresolver.annotation
-
Injects a query parameter value from the current bot command into the annotated method parameter.
- BotCommandValue - Annotation Interface in uz.osoncode.telegrambothandler.core.argumentresolver.annotation
-
Injects the command text (e.g.,
/start) from the current Telegram update into the annotated method parameter. - BotConfigurer - Record Class in uz.osoncode.telegrambothandler.core.bot
-
Immutable configuration record that carries shared infrastructure objects used to configure and initialize the bot framework components.
- BotConfigurer(ObjectMapper, BotTransportType) - Constructor for record class uz.osoncode.telegrambothandler.core.bot.BotConfigurer
-
Creates an instance of a
BotConfigurerrecord class. - BotContact - Annotation Interface in uz.osoncode.telegrambothandler.core.handler.message.contact.annotation
-
Maps a handler method to Telegram messages that contain a shared contact.
- BotController - Annotation Interface in uz.osoncode.telegrambothandler.core.annotation
-
Marks a class as a Telegram bot controller that contains handler methods for incoming updates.
- BotControllerAdvice - Annotation Interface in uz.osoncode.telegrambothandler.core.annotation
-
Marks a class as a global bot exception handler advice, applied across all
BotControllerbeans. - BotDefaultCallbackQuery - Annotation Interface in uz.osoncode.telegrambothandler.core.handler.callbackquery.annotation
-
Marks a method as the fallback handler for Telegram callback queries that do not match any more specific
BotCallbackQuerymapping. - BotDefaultCommand - Annotation Interface in uz.osoncode.telegrambothandler.core.handler.message.command.annotation
-
Marks a method as the fallback handler for Telegram bot commands that do not match any more specific
BotCommandmapping. - BotDefaultHandler - Annotation Interface in uz.osoncode.telegrambothandler.core.handler.defaulthandler.annotation
-
Marks a method or type as the global fallback handler for any Telegram update that does not match any other more specific handler mapping in the bot controller hierarchy.
- BotExceptionHandler - Annotation Interface in uz.osoncode.telegrambothandler.core.exceptionhandler.annotation
-
Designates a method as a bot exception handler within a
BotController. - BotFilter - Interface in uz.osoncode.telegrambothandler.core.filter
-
Interceptor interface for the bot update processing pipeline.
- BotFilterChain - Interface in uz.osoncode.telegrambothandler.core.filter
-
Contract for advancing the bot filter/handler chain.
- BotFilterOrder - Class in uz.osoncode.telegrambothandler.core.filter
- BotHandler - Interface in uz.osoncode.telegrambothandler.core.handler
-
Core strategy interface for processing incoming Telegram updates.
- BotHandlerException - Exception Class in uz.osoncode.telegrambothandler.core.exception
-
Unchecked exception thrown when a bot handler method cannot be invoked via reflection.
- BotHandlerException(String, Throwable) - Constructor for exception class uz.osoncode.telegrambothandler.core.exception.BotHandlerException
-
Constructs a new
BotHandlerExceptionwith a descriptive message and the root cause. - BotLocation - Annotation Interface in uz.osoncode.telegrambothandler.core.handler.message.location.annotation
-
Maps a handler method to Telegram messages that contain a shared location.
- BotMetaDataDefaultResolver<T> - Interface in uz.osoncode.telegrambothandler.core.handler.metadataresolver
-
Marker interface for default/fallback metadata resolvers.
- BotMetaDataResolver<T> - Interface in uz.osoncode.telegrambothandler.core.handler.metadataresolver
-
Core generic interface for matching a specific handler annotation against an incoming
BotRequest. - BotMetaDataSpecResolver<T> - Interface in uz.osoncode.telegrambothandler.core.handler.metadataresolver
-
Marker interface for specific (non-default) metadata resolvers.
- BotOrder - Annotation Interface in uz.osoncode.telegrambothandler.core.annotation
-
Defines the execution order of a bot handler method.
- BotReplyButton - Annotation Interface in uz.osoncode.telegrambothandler.core.handler.message.replybutton.annotation
-
Maps a
@BotControllermethod to one or moreReplyKeyboardMarkupbutton presses. - BotReplyButtonMatcher - Interface in uz.osoncode.telegrambothandler.core.handler.message.replybutton
-
Strategy interface for matching a
BotReplyButtonannotation against an incoming bot request. - BotRequest - Class in uz.osoncode.telegrambothandler.core.model
-
Contextual request object that is passed through the filter chain and into handler methods.
- BotRequest() - Constructor for class uz.osoncode.telegrambothandler.core.model.BotRequest
- BotResponse - Class in uz.osoncode.telegrambothandler.core.model
-
Mutable response object that accumulates
BotApiMethodinstances produced by handler methods. - BotResponse() - Constructor for class uz.osoncode.telegrambothandler.core.model.BotResponse
- BotReturnTypeHandler - Interface in uz.osoncode.telegrambothandler.core.returntypehandler
-
Strategy interface for processing the value returned by a handler method.
- BotStartTrigger - Interface in uz.osoncode.telegrambothandler.core.trigger
-
Callback interface invoked once after the bot has started and successfully authenticated with the Telegram Bot API.
- BotText - Annotation Interface in uz.osoncode.telegrambothandler.core.handler.message.text.annotation
-
Maps a handler method to one or more plain-text Telegram messages.
- BotTextDefault - Annotation Interface in uz.osoncode.telegrambothandler.core.handler.message.text.annotation
-
Marks a method as the fallback handler for plain-text Telegram messages that do not match any more specific
BotTextmapping. - BotTextValue - Annotation Interface in uz.osoncode.telegrambothandler.core.argumentresolver.annotation
-
Injects the full text of the current Telegram message into the annotated method parameter.
- BotTransportType - Enum Class in uz.osoncode.telegrambothandler.core.bot
C
- compareTo(BotFilter) - Method in interface uz.osoncode.telegrambothandler.core.filter.BotFilter
-
Compares this filter to another for ordering purposes.
- compareTo(BotHandler) - Method in interface uz.osoncode.telegrambothandler.core.handler.BotHandler
-
Compares this handler to another for ordering purposes.
- CONTEXT_SETTER - Static variable in class uz.osoncode.telegrambothandler.core.filter.BotFilterOrder
D
- Default behaviour (without core-i18n) - Section in annotation interface uz.osoncode.telegrambothandler.core.handler.message.replybutton.annotation.BotReplyButton
- doFilter(BotRequest, BotResponse) - Method in interface uz.osoncode.telegrambothandler.core.filter.BotFilterChain
-
Invokes the next filter or the dispatcher in the chain.
- doFilter(BotRequest, BotResponse, BotFilterChain) - Method in interface uz.osoncode.telegrambothandler.core.filter.BotFilter
-
Performs filter logic and delegates to the next filter or handler in the chain.
E
- equals(Object) - Method in record class uz.osoncode.telegrambothandler.core.bot.BotConfigurer
-
Indicates whether some other object is "equal to" this one.
- execute(User, TelegramClient) - Method in interface uz.osoncode.telegrambothandler.core.trigger.BotStartTrigger
-
Executes post-startup logic using the authenticated bot's metadata and API client.
G
- getAnnotationType() - Method in interface uz.osoncode.telegrambothandler.core.handler.metadataresolver.BotMetaDataResolver
-
Returns the annotation type that this resolver is responsible for evaluating.
- getOrder() - Method in interface uz.osoncode.telegrambothandler.core.filter.BotFilter
-
Returns the priority order of this filter.
- getOrder() - Method in interface uz.osoncode.telegrambothandler.core.handler.BotHandler
-
Returns the priority order of this handler.
- getState(Long) - Method in interface uz.osoncode.telegrambothandler.core.chatstate.BotChatStateService
-
Retrieves the current state for the specified chat.
- getStateAs(Long, Class) - Method in interface uz.osoncode.telegrambothandler.core.chatstate.BotChatStateService
-
Retrieves the current state for the specified chat and parses it as an enum constant of the given type.
H
- handle(BotRequest, BotResponse) - Method in interface uz.osoncode.telegrambothandler.core.handler.BotHandler
-
Processes the incoming Telegram update encapsulated in the request and populates the response.
- handleReturnType(BotRequest, BotResponse, Object) - Method in interface uz.osoncode.telegrambothandler.core.returntypehandler.BotReturnTypeHandler
-
Processes the return value produced by a handler method and records any resulting API methods in the response.
- hashCode() - Method in record class uz.osoncode.telegrambothandler.core.bot.BotConfigurer
-
Returns a hash code value for this object.
K
- KAFKA_CONSUMER - Enum constant in enum class uz.osoncode.telegrambothandler.core.bot.BotTransportType
L
- LONG_POLLING - Enum constant in enum class uz.osoncode.telegrambothandler.core.bot.BotTransportType
M
- matches(String[], BotRequest) - Method in interface uz.osoncode.telegrambothandler.core.handler.message.replybutton.BotReplyButtonMatcher
-
Returns
trueif the incoming bot request should be handled by a@BotReplyButtonmethod annotated with the given values.
O
- objectMapper() - Method in record class uz.osoncode.telegrambothandler.core.bot.BotConfigurer
-
Returns the value of the
objectMapperrecord component.
P
- PUBLISHING - Static variable in class uz.osoncode.telegrambothandler.core.filter.BotFilterOrder
R
- RABBIT_CONSUMER - Enum constant in enum class uz.osoncode.telegrambothandler.core.bot.BotTransportType
- resolveArgument(Parameter, BotRequest, BotResponse) - Method in interface uz.osoncode.telegrambothandler.core.argumentresolver.BotArgumentResolver
-
Resolves and returns the argument value to be injected for the given method parameter.
S
- setState(Long, Enum) - Method in interface uz.osoncode.telegrambothandler.core.chatstate.BotChatStateService
-
Stores the enum constant's
Enum.name()as the state for the specified chat. - setState(Long, String) - Method in interface uz.osoncode.telegrambothandler.core.chatstate.BotChatStateService
-
Stores or updates the state for the specified chat.
- shouldFilter(BotRequest, BotResponse) - Method in interface uz.osoncode.telegrambothandler.core.filter.BotFilter
-
Determines whether this filter should be applied for the current request.
- support(BotRequest, T) - Method in interface uz.osoncode.telegrambothandler.core.handler.metadataresolver.BotMetaDataResolver
-
Evaluates whether the given annotation instance indicates that the annotated handler method should handle the provided request.
- supports(BotRequest) - Method in interface uz.osoncode.telegrambothandler.core.handler.BotHandler
-
Determines whether this handler is capable of processing the given request.
- supportsParameter(Parameter) - Method in interface uz.osoncode.telegrambothandler.core.argumentresolver.BotArgumentResolver
-
Determines whether this resolver can provide a value for the given method parameter.
- supportsReturnType(Method) - Method in interface uz.osoncode.telegrambothandler.core.returntypehandler.BotReturnTypeHandler
-
Determines whether this handler can process the return type of the given method.
T
- toString() - Method in record class uz.osoncode.telegrambothandler.core.bot.BotConfigurer
-
Returns a string representation of this record class.
- transportType() - Method in record class uz.osoncode.telegrambothandler.core.bot.BotConfigurer
-
Returns the value of the
transportTyperecord component.
U
- uz.osoncode.telegrambothandler.core.annotation - package uz.osoncode.telegrambothandler.core.annotation
- uz.osoncode.telegrambothandler.core.argumentresolver - package uz.osoncode.telegrambothandler.core.argumentresolver
- uz.osoncode.telegrambothandler.core.argumentresolver.annotation - package uz.osoncode.telegrambothandler.core.argumentresolver.annotation
- uz.osoncode.telegrambothandler.core.bot - package uz.osoncode.telegrambothandler.core.bot
- uz.osoncode.telegrambothandler.core.chatstate - package uz.osoncode.telegrambothandler.core.chatstate
- uz.osoncode.telegrambothandler.core.exception - package uz.osoncode.telegrambothandler.core.exception
- uz.osoncode.telegrambothandler.core.exceptionhandler.annotation - package uz.osoncode.telegrambothandler.core.exceptionhandler.annotation
- uz.osoncode.telegrambothandler.core.filter - package uz.osoncode.telegrambothandler.core.filter
- uz.osoncode.telegrambothandler.core.handler - package uz.osoncode.telegrambothandler.core.handler
- uz.osoncode.telegrambothandler.core.handler.callbackquery.annotation - package uz.osoncode.telegrambothandler.core.handler.callbackquery.annotation
- uz.osoncode.telegrambothandler.core.handler.defaulthandler.annotation - package uz.osoncode.telegrambothandler.core.handler.defaulthandler.annotation
- uz.osoncode.telegrambothandler.core.handler.message.command.annotation - package uz.osoncode.telegrambothandler.core.handler.message.command.annotation
- uz.osoncode.telegrambothandler.core.handler.message.contact.annotation - package uz.osoncode.telegrambothandler.core.handler.message.contact.annotation
- uz.osoncode.telegrambothandler.core.handler.message.location.annotation - package uz.osoncode.telegrambothandler.core.handler.message.location.annotation
- uz.osoncode.telegrambothandler.core.handler.message.replybutton - package uz.osoncode.telegrambothandler.core.handler.message.replybutton
- uz.osoncode.telegrambothandler.core.handler.message.replybutton.annotation - package uz.osoncode.telegrambothandler.core.handler.message.replybutton.annotation
- uz.osoncode.telegrambothandler.core.handler.message.text.annotation - package uz.osoncode.telegrambothandler.core.handler.message.text.annotation
- uz.osoncode.telegrambothandler.core.handler.metadataresolver - package uz.osoncode.telegrambothandler.core.handler.metadataresolver
- uz.osoncode.telegrambothandler.core.model - package uz.osoncode.telegrambothandler.core.model
- uz.osoncode.telegrambothandler.core.returntypehandler - package uz.osoncode.telegrambothandler.core.returntypehandler
- uz.osoncode.telegrambothandler.core.trigger - package uz.osoncode.telegrambothandler.core.trigger
V
- value() - Element in annotation interface uz.osoncode.telegrambothandler.core.annotation.BotController
-
The optional Spring bean name for the controller component.
- value() - Element in annotation interface uz.osoncode.telegrambothandler.core.annotation.BotControllerAdvice
-
Alias for the Spring bean name of this advice component.
- value() - Element in annotation interface uz.osoncode.telegrambothandler.core.annotation.BotOrder
-
The order value; lower values indicate higher priority.
- value() - Element in annotation interface uz.osoncode.telegrambothandler.core.chatstate.BotChatState
-
The chat state identifiers that activate this handler.
- value() - Element in annotation interface uz.osoncode.telegrambothandler.core.exceptionhandler.annotation.BotExceptionHandler
-
The exception types handled by the annotated method.
- value() - Element in annotation interface uz.osoncode.telegrambothandler.core.handler.callbackquery.annotation.BotCallbackQuery
-
The callback query data strings that trigger this handler.
- value() - Element in annotation interface uz.osoncode.telegrambothandler.core.handler.message.command.annotation.BotCommand
-
The bot command strings (e.g.,
"/start","/help") that trigger this handler. - value() - Element in annotation interface uz.osoncode.telegrambothandler.core.handler.message.replybutton.annotation.BotReplyButton
-
One or more values to match against the incoming text message.
- value() - Element in annotation interface uz.osoncode.telegrambothandler.core.handler.message.text.annotation.BotText
-
The exact text strings that trigger this handler.
- valueOf(String) - Static method in enum class uz.osoncode.telegrambothandler.core.bot.BotTransportType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class uz.osoncode.telegrambothandler.core.bot.BotTransportType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WEBHOOK - Enum constant in enum class uz.osoncode.telegrambothandler.core.bot.BotTransportType
- With core-i18n on the classpath - Section in annotation interface uz.osoncode.telegrambothandler.core.handler.message.replybutton.annotation.BotReplyButton
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form