Interface SlashCommandParser<I>

Type Parameters:
I - input type.
All Known Implementing Classes:
TelegramSlashCommandParser
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 SlashCommandParser<I>
Attempts to parser a Slash command from a message. E.g. /help
Since:
1.0.0
Author:
Sergio del Amo
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull Optional<String>
    parse(I input)
     
  • Method Details