public static class TdApi.ReplyMarkupShowKeyboard extends TdApi.ReplyMarkup
TdApi.ReplyMarkup.Constructors| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isPersonal
True, if the keyboard must automatically be shown to the current user.
|
boolean |
oneTime
True, if the client needs to hide the keyboard after use.
|
boolean |
resizeKeyboard
True, if the client 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 resizeKeyboard,
boolean oneTime,
boolean isPersonal)
Contains a custom keyboard layout to quickly reply to bots.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor() |
toStringpublic TdApi.KeyboardButton[][] rows
public boolean resizeKeyboard
public boolean oneTime
public boolean isPersonal
public static final int CONSTRUCTOR
public ReplyMarkupShowKeyboard()
public ReplyMarkupShowKeyboard(TdApi.KeyboardButton[][] rows, boolean resizeKeyboard, boolean oneTime, boolean isPersonal)
rows - A list of rows of bot keyboard buttons.resizeKeyboard - True, if the client needs to resize the keyboard vertically.oneTime - True, if the client 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.public int getConstructor()
getConstructor in class TdApi.ReplyMarkup