public static class TdApi.KeyboardButton extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
text
Text of the button.
|
TdApi.KeyboardButtonType |
type
Type of the button.
|
Constructor and Description |
---|
KeyboardButton()
Represents a single button in a bot keyboard.
|
KeyboardButton(java.lang.String text,
TdApi.KeyboardButtonType type)
Represents a single button in a bot keyboard.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String text
public TdApi.KeyboardButtonType type
public static final int CONSTRUCTOR
public KeyboardButton()
public KeyboardButton(java.lang.String text, TdApi.KeyboardButtonType type)
text
- Text of the button.type
- Type of the button.public int getConstructor()
getConstructor
in class TdApi.Object