Package org.drinkless.tdlib
Class TdApi.ReplyMarkupShowKeyboard
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.ReplyMarkup
-
- org.drinkless.tdlib.TdApi.ReplyMarkupShowKeyboard
-
- Enclosing class:
- TdApi
public static class TdApi.ReplyMarkupShowKeyboard extends TdApi.ReplyMarkup
Contains a custom keyboard layout to quickly reply to bots.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.StringinputFieldPlaceholderIf non-empty, the placeholder to be shown in the input field when the keyboard is active; 0-64 characters.booleanisPersonalTrue, if the keyboard must automatically be shown to the current user.booleanoneTimeTrue, if the application needs to hide the keyboard after use.booleanresizeKeyboardTrue, if the application needs to resize the keyboard vertically.TdApi.KeyboardButton[][]rowsA list of rows of bot keyboard buttons.
-
Constructor Summary
Constructors Constructor Description ReplyMarkupShowKeyboard()Contains a custom keyboard layout to quickly reply to bots.ReplyMarkupShowKeyboard(TdApi.KeyboardButton[][] rows, boolean resizeKeyboard, boolean oneTime, boolean isPersonal, String inputFieldPlaceholder)Contains a custom keyboard layout to quickly reply to bots.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
rows
public TdApi.KeyboardButton[][] rows
A list of rows of bot keyboard buttons.
-
resizeKeyboard
public boolean resizeKeyboard
True, if the application needs to resize the keyboard vertically.
-
oneTime
public boolean oneTime
True, if the application needs to hide the keyboard after use.
-
isPersonal
public boolean 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
public String inputFieldPlaceholder
If non-empty, the placeholder to be shown in the input field when the keyboard is active; 0-64 characters.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ReplyMarkupShowKeyboard
public ReplyMarkupShowKeyboard()
Contains a custom keyboard layout to quickly reply to bots.
-
ReplyMarkupShowKeyboard
public ReplyMarkupShowKeyboard(TdApi.KeyboardButton[][] rows, boolean resizeKeyboard, boolean oneTime, boolean isPersonal, String inputFieldPlaceholder)
Contains a custom keyboard layout to quickly reply to bots.- Parameters:
rows- A list of rows of bot keyboard buttons.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.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-