Package it.tdlight.jni
Class TdApi.InlineKeyboardButton
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InlineKeyboardButton
- Enclosing class:
- TdApi
Represents a single button in an inline keyboard.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Text of the button.Type of the button. -
Constructor Summary
ConstructorDescriptionRepresents a single button in an inline keyboard.InlineKeyboardButton
(DataInput input) InlineKeyboardButton
(String text, TdApi.InlineKeyboardButtonType type) Represents a single button in an inline 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
-
InlineKeyboardButton
public InlineKeyboardButton()Represents a single button in an inline keyboard. -
InlineKeyboardButton
Represents a single button in an inline keyboard.- Parameters:
text
- String Text of the button.type
- InlineKeyboardButtonType Type of the button.
-
InlineKeyboardButton
- 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()
-