public static class TdApi.ReplyMarkupShowKeyboard extends TdApi.ReplyMarkup
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
inputFieldPlaceholder
If non-empty, the placeholder to be shown in the input field when the keyboard is active; 0-64 characters.
|
boolean |
isPersistent
True, if the keyboard is expected to always be shown when the ordinary keyboard is hidden.
|
boolean |
isPersonal
True, if the keyboard must automatically be shown to the current user.
|
boolean |
oneTime
True, if the application needs to hide the keyboard after use.
|
boolean |
resizeKeyboard
True, if the application needs to resize the keyboard vertically.
|
TdApi.KeyboardButton[][] |
rows
A list of rows of bot keyboard buttons.
|
| Constructor and Description |
|---|
ReplyMarkupShowKeyboard()
Contains a custom keyboard layout to quickly reply to bots.
|
ReplyMarkupShowKeyboard(TdApi.KeyboardButton[][] rows,
boolean isPersistent,
boolean resizeKeyboard,
boolean oneTime,
boolean isPersonal,
java.lang.String inputFieldPlaceholder)
Contains a custom keyboard layout to quickly reply to bots.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.KeyboardButton[][] rows
public boolean isPersistent
public boolean resizeKeyboard
public boolean oneTime
public boolean isPersonal
public java.lang.String inputFieldPlaceholder
public static final int CONSTRUCTOR
public ReplyMarkupShowKeyboard()
public ReplyMarkupShowKeyboard(TdApi.KeyboardButton[][] rows, boolean isPersistent, boolean resizeKeyboard, boolean oneTime, boolean isPersonal, java.lang.String inputFieldPlaceholder)
rows - A list of rows of bot keyboard buttons.isPersistent - True, if the keyboard is expected to always be shown when the ordinary keyboard is hidden.resizeKeyboard - True, if the application needs to resize the keyboard vertically.oneTime - True, if the application needs to hide the keyboard after use.isPersonal - True, if the keyboard must automatically be shown to the current user. For outgoing messages, specify true to show the keyboard only for the mentioned users and for the target user of a reply.inputFieldPlaceholder - If non-empty, the placeholder to be shown in the input field when the keyboard is active; 0-64 characters.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object