public static class TdApi.InlineKeyboardButton 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.InlineKeyboardButtonType |
type
Type of the button.
|
| Constructor and Description |
|---|
InlineKeyboardButton()
Represents a single button in an inline keyboard.
|
InlineKeyboardButton(java.lang.String text,
TdApi.InlineKeyboardButtonType type)
Represents a single button in an inline keyboard.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String text
public TdApi.InlineKeyboardButtonType type
public static final int CONSTRUCTOR
public InlineKeyboardButton()
public InlineKeyboardButton(java.lang.String text,
TdApi.InlineKeyboardButtonType type)
text - Text of the button.type - Type of the button.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object