Package io.micronaut.chatbots.core
- Since:
- 1.0.0
- Author:
- Sergio del Amo
-
Interface Summary Interface Description BotConfiguration Bot Configuration.ChatbotsConfiguration Dispatcher<B extends BotConfiguration,I,O> Handler<B extends BotConfiguration,I,O> Request handlers are responsible for handling one or more types of incoming requests.SlashCommandParser<I> Attempts to parser a Slash command from a message.SpaceParser<I,S> Api to retrieve the space associated with the message.TextResourceLoader Composes a static command response for a given command. -
Class Summary Class Description ChatbotsConfigurationProperties ConfigurationProperties
implementation ofChatbotsConfiguration
.CommandResponse Static Response for a Slash command.DefaultDispatcher<B extends BotConfiguration,I,O> Iterates through everyHandler
in odered and dispatch the message to the first which can handle the request.DefaultTextResourceLoader UsersResourceLoader
to load a static resource associated with a command. -
Enum Summary Enum Description FileExtension File extensions for Static Bot Commands.