@FunctionalInterface
public interface InlineQueryHandler
| Modifier and Type | Method and Description |
|---|---|
default void |
onChosenInlineResult(ChosenInlineResult chosenInlineResult)
Handles an incoming chosen inline result from the bot.
|
void |
onInlineQuery(InlineQuery inlineQuery)
Handles an incoming inline query from the bot.
|
void onInlineQuery(InlineQuery inlineQuery) throws java.lang.Throwable
inlineQuery - new incoming messagejava.lang.Throwable - if a throwable is throwndefault void onChosenInlineResult(ChosenInlineResult chosenInlineResult) throws java.lang.Throwable
chosenInlineResult - new incoming chosen inline resultjava.lang.Throwable - if a throwable is thrown