Class InlineMessageEvent
- java.lang.Object
-
- com.github.unafraid.telegrambot.handlers.inline.events.InlineMessageEvent
-
public class InlineMessageEvent extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description InlineMessageEvent(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.Message message)
-
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.MessagegetMessage()org.telegram.telegrambots.meta.api.objects.UpdategetUpdate()
-
-
-
Constructor Detail
-
InlineMessageEvent
public InlineMessageEvent(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.Message message)
- Parameters:
context-button-bot-update-message-
-
-
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
-
getMessage
public org.telegram.telegrambots.meta.api.objects.Message getMessage()
- Returns:
- the query
-
-