Class InlineCallbackEvent
- java.lang.Object
-
- com.github.unafraid.telegrambot.handlers.inline.events.InlineCallbackEvent
-
public class InlineCallbackEvent extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description InlineCallbackEvent(InlineContext context, InlineButton button, org.telegram.telegrambots.meta.bots.AbsSender bot, org.telegram.telegrambots.meta.api.objects.Update update, org.telegram.telegrambots.meta.api.objects.CallbackQuery query)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.telegram.telegrambots.meta.bots.AbsSendergetBot()InlineButtongetButton()InlineContextgetContext()org.telegram.telegrambots.meta.api.objects.CallbackQuerygetQuery()org.telegram.telegrambots.meta.api.objects.UpdategetUpdate()
-
-
-
Constructor Detail
-
InlineCallbackEvent
public InlineCallbackEvent(InlineContext context, InlineButton button, org.telegram.telegrambots.meta.bots.AbsSender bot, org.telegram.telegrambots.meta.api.objects.Update update, org.telegram.telegrambots.meta.api.objects.CallbackQuery query)
- Parameters:
context-button-bot-update-query-
-
-
Method Detail
-
getContext
public InlineContext getContext()
- Returns:
- the context
-
getButton
public InlineButton getButton()
- Returns:
- the button
-
getBot
public org.telegram.telegrambots.meta.bots.AbsSender getBot()
- Returns:
- the bot
-
getUpdate
public org.telegram.telegrambots.meta.api.objects.Update getUpdate()
- Returns:
- the update
-
getQuery
public org.telegram.telegrambots.meta.api.objects.CallbackQuery getQuery()
- Returns:
- the query
-
-