public class InlineKeyboardMarkup extends Object implements ReplyKeyboard
Constructor and Description |
---|
InlineKeyboardMarkup() |
Modifier and Type | Method and Description |
---|---|
List<List<InlineKeyboardButton>> |
getKeyboard() |
InlineKeyboardMarkup |
setKeyboard(List<List<InlineKeyboardButton>> keyboard) |
String |
toString() |
void |
validate()
Validates that mandatory fields are filled and optional objects
|
public List<List<InlineKeyboardButton>> getKeyboard()
public InlineKeyboardMarkup setKeyboard(List<List<InlineKeyboardButton>> keyboard)
public void validate() throws TelegramApiValidationException
Validable
validate
in interface Validable
TelegramApiValidationException
- If any mandatory field is emptyCopyright © 2017. All rights reserved.