Package it.tdlight.jni
Class TdApi.InlineKeyboardButton
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InlineKeyboardButton
- Enclosing class:
- TdApi
public static class TdApi.InlineKeyboardButton extends TdApi.Object
Represents a single button in an inline keyboard.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
text
Text of the button.TdApi.InlineKeyboardButtonType
type
Type of the button. -
Constructor Summary
Constructors Constructor Description InlineKeyboardButton()
Represents 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
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
-
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()
-