public class ReplyKeyboardMarkup extends Object implements Keyboard
| Modifier and Type | Class and Description |
|---|---|
static class |
ReplyKeyboardMarkup.ReplyKeyboardMarkupBuilder |
| Modifier and Type | Method and Description |
|---|---|
static ReplyKeyboardMarkup.ReplyKeyboardMarkupBuilder |
builder()
This builder will allow you to progressively construct this object.
|
List<List<KeyboardButton>> |
getButtons()
Gets Array of button rows, each represented by an Array of Strings
|
boolean |
getOneTime()
Gets whether the keyboard is one-time i.e.
|
boolean |
getResizeKeyboard()
Gets whether the keyboard should be resized on the client for optimal vertical fit
|
boolean |
getSelective()
Gets whether the reply markup will only show for selected users
Targets: 1) users that are @mentioned in the text of the Message object;
2) if the bot's message is a reply (has reply_to_message_id), sender of the original message
|
ReplyMarkupType |
getType()
Gets the ReplyMarkupType for this ReplyMarkup object
|
public static ReplyKeyboardMarkup.ReplyKeyboardMarkupBuilder builder()
public List<List<KeyboardButton>> getButtons()
public boolean getResizeKeyboard()
public boolean getOneTime()
public boolean getSelective()
public ReplyMarkupType getType()
getType in interface ReplyMarkupCopyright © 2017. All rights reserved.