Package it.tdlight.jni
Class TdApi.ReplyMarkupShowKeyboard
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ReplyMarkup
it.tdlight.jni.TdApi.ReplyMarkupShowKeyboard
- Enclosing class:
- TdApi
Contains a custom keyboard layout to
quickly reply to bots.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
If non-empty, the placeholder to be shown in the input field when the keyboard is active; 0-64 characters.boolean
True, if the keyboard must automatically be shown to the current user.boolean
True, if the application needs to hide the keyboard after use.boolean
True, if the application needs to resize the keyboard vertically.A list of rows of bot keyboard buttons. -
Constructor Summary
ConstructorDescriptionContains 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.ReplyMarkupShowKeyboard
(DataInput input) -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
rows
A list of rows of bot keyboard buttons. -
resizeKeyboard
public boolean resizeKeyboardTrue, if the application needs to resize the keyboard vertically. -
oneTime
public boolean oneTimeTrue, if the application needs to hide the keyboard after use. -
isPersonal
public boolean isPersonalTrue, 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. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
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
- KeyboardButton[][] A list of rows of bot keyboard buttons.resizeKeyboard
- boolean True, if the application needs to resize the keyboard vertically.oneTime
- boolean True, if the application needs to hide the keyboard after use.isPersonal
- boolean 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
- String If non-empty, the placeholder to be shown in the input field when the keyboard is active; 0-64 characters.
-
ReplyMarkupShowKeyboard
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-