java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.KeyboardButton
- Enclosing class:
- TdApi
Represents a single button in a bot keyboard.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Text of the button.Type of the button. -
Constructor Summary
ConstructorDescriptionRepresents a single button in a bot keyboard.KeyboardButton
(DataInput input) Represents a single button in a bot keyboard.KeyboardButton
(String text, TdApi.KeyboardButtonType type) Represents a single button in a bot keyboard. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
text
Text of the button. -
type
Type of the button. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
KeyboardButton
public KeyboardButton()Represents a single button in a bot keyboard. -
KeyboardButton
Represents a single button in a bot keyboard.- Parameters:
text
- String Text of the button.type
- KeyboardButtonType Type of the button.
-
KeyboardButton
Represents a single button in a bot keyboard.- 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()
-