public class InlineKeyboardButton extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
InlineKeyboardButton.InlineKeyboardButtonBuilder |
| Constructor and Description |
|---|
InlineKeyboardButton() |
| Modifier and Type | Method and Description |
|---|---|
static InlineKeyboardButton.InlineKeyboardButtonBuilder |
builder()
This builder will allow you to progressively construct this object.
|
String |
getCallbackData()
Gets the String of callback data that this button will send back when clicked
|
CallbackGame |
getCallbackGame()
Description of the game that will be launched when the user presses the button.
|
String |
getSwitchInlineQuery()
Gets the String that will be inserted as an inline query when the button is clicked.
|
String |
getSwitchInlineQueryCurrentChat()
Optional.
|
String |
getText()
Gets the text that this InlineKeyboardButton will have
|
String |
getUrl()
Gets the URL that this InlineKeyboardButton will link to when clicked
|
public static InlineKeyboardButton.InlineKeyboardButtonBuilder builder()
public String getText()
public String getUrl()
public String getCallbackData()
public String getSwitchInlineQuery()
public String getSwitchInlineQueryCurrentChat()
public CallbackGame getCallbackGame()
Copyright © 2017. All rights reserved.