public class BackButton extends AbstractInlineMenuButton
buttonCallback, owner, row, text| Constructor and Description |
|---|
BackButton(InlineMenu owner,
int row) |
BackButton(InlineMenu owner,
int row,
int num)
Deprecated.
|
BackButton(InlineMenu owner,
int row,
int num,
String text)
Deprecated.
|
BackButton(InlineMenu owner,
int row,
String text) |
| Modifier and Type | Method and Description |
|---|---|
static BackButtonBuilder |
builder() |
static BackButtonBuilder |
builder(String text) |
void |
handlePress(CallbackQuery query)
If there is a last menu, execute callback, unregister the current menu, and start the parent.
|
InlineKeyboardButton |
toKeyboardButton() |
assignMenu, getCallback, getMenu, getNum, getText, keyboardBuilder, setCallback, setText, updateRowclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteCallback@Deprecated public BackButton(InlineMenu owner, int row, int num)
@Deprecated public BackButton(InlineMenu owner, int row, int num, String text)
public BackButton(InlineMenu owner, int row)
public BackButton(InlineMenu owner, int row, String text)
public static BackButtonBuilder builder()
public static BackButtonBuilder builder(String text)
public InlineKeyboardButton toKeyboardButton()
public void handlePress(CallbackQuery query)
query - Query to process, unused.InlineMenu.unregister(),
InlineMenu.start()Copyright © 2017. All rights reserved.