public class CallbackQueryReceivedEvent extends Object implements Event, Cancellable
Event.Handler, Event.Priority| Modifier and Type | Field and Description |
|---|---|
protected CallbackQuery |
callbackQuery |
| Constructor and Description |
|---|
CallbackQueryReceivedEvent(CallbackQuery callbackQuery) |
| Modifier and Type | Method and Description |
|---|---|
CallbackQuery |
getCallbackQuery()
Gets the CallbackQuery that was received that triggered this Event
|
boolean |
isCancelled() |
void |
setCancelled(boolean cancelled) |
protected final CallbackQuery callbackQuery
public CallbackQueryReceivedEvent(CallbackQuery callbackQuery)
public CallbackQuery getCallbackQuery()
public void setCancelled(boolean cancelled)
setCancelled in interface Cancellablepublic boolean isCancelled()
isCancelled in interface CancellableCopyright © 2017. All rights reserved.