public class InlineMenu extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
apply() |
static InlineMenuBuilder |
builder(TelegramBot bot) |
static InlineMenuBuilder |
builder(TelegramBot bot,
Chat forWhom) |
boolean |
handle(CallbackQuery query,
int row,
int button) |
InlineMenuRow |
rowAt(int index) |
void |
setInternalId(int newId) |
void |
setMessageText(SendableTextMessage.SendableTextMessageBuilder messageBuilder) |
void |
start() |
InlineKeyboardMarkup |
toKeyboard() |
void |
unregister() |
public static InlineMenuBuilder builder(TelegramBot bot)
public static InlineMenuBuilder builder(TelegramBot bot, Chat forWhom)
public void start()
public void unregister()
public InlineMenuRow rowAt(int index)
public InlineKeyboardMarkup toKeyboard()
public boolean handle(CallbackQuery query, int row, int button)
public void apply()
public void setMessageText(SendableTextMessage.SendableTextMessageBuilder messageBuilder)
public void setInternalId(int newId)
Copyright © 2016. All rights reserved.