Package it.tdlight.jni
Class TdApi.KeyboardButton
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.KeyboardButton
- Enclosing class:
- TdApi
public static class TdApi.KeyboardButton extends TdApi.Object
Represents a single button in a bot keyboard.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
text
Text of the button.TdApi.KeyboardButtonType
type
Type of the button. -
Constructor Summary
Constructors Constructor Description KeyboardButton()
Represents a single button in a bot keyboard.KeyboardButton(DataInput input)
KeyboardButton(String text, TdApi.KeyboardButtonType type)
Represents a single button in a bot keyboard. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
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:
- Constant Field Values
-
-
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
- 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()
-