Interface IChosenInlineQueryHandler
-
- All Superinterfaces:
ITelegramHandler
public interface IChosenInlineQueryHandler extends ITelegramHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanonChosenInlineQuery(AbstractTelegramBot bot, org.telegram.telegrambots.meta.api.objects.Update update, org.telegram.telegrambots.meta.api.objects.inlinequery.ChosenInlineQuery query)Fired whenever bot receives a callback query-
Methods inherited from interface com.github.unafraid.telegrambot.handlers.ITelegramHandler
getRequiredAccessLevel
-
-
-
-
Method Detail
-
onChosenInlineQuery
boolean onChosenInlineQuery(AbstractTelegramBot bot, org.telegram.telegrambots.meta.api.objects.Update update, org.telegram.telegrambots.meta.api.objects.inlinequery.ChosenInlineQuery query) throws org.telegram.telegrambots.meta.exceptions.TelegramApiException
Fired whenever bot receives a callback query- Parameters:
bot- the botupdate- the updatequery- the query- Returns:
truewhenever this even has to be consumed,falseto continue notified other handlers- Throws:
org.telegram.telegrambots.meta.exceptions.TelegramApiException- the exception
-
-