Package io.micronaut.chatbots.core
Interface SpaceParser<I,S>
-
- Type Parameters:
I
- input type.S
- The Space
- All Known Implementing Classes:
TelegramSpaceParser
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface SpaceParser<I,S>
Api to retrieve the space associated with the message.- Since:
- 1.0.0
- Author:
- Sergio del Amo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<S>
parse(I input)
-