public class InlineKeyboardButton extends Object implements InputBotApiObject, Validable
| Constructor and Description |
|---|
InlineKeyboardButton() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCallbackData() |
CallbackGame |
getCallbackGame() |
String |
getSwitchInlineQuery() |
String |
getSwitchInlineQueryCurrentChat() |
String |
getText() |
String |
getUrl() |
InlineKeyboardButton |
setCallbackData(String callbackData) |
InlineKeyboardButton |
setCallbackGame(CallbackGame callbackGame) |
InlineKeyboardButton |
setSwitchInlineQuery(String switchInlineQuery) |
InlineKeyboardButton |
setSwitchInlineQueryCurrentChat(String switchInlineQueryCurrentChat) |
InlineKeyboardButton |
setText(String text) |
InlineKeyboardButton |
setUrl(String url) |
String |
toString() |
void |
validate()
Validates that mandatory fields are filled and optional objects
|
public String getText()
public InlineKeyboardButton setText(String text)
public String getUrl()
public InlineKeyboardButton setUrl(String url)
public String getCallbackData()
public InlineKeyboardButton setCallbackData(String callbackData)
public String getSwitchInlineQuery()
public InlineKeyboardButton setSwitchInlineQuery(String switchInlineQuery)
public CallbackGame getCallbackGame()
public InlineKeyboardButton setCallbackGame(CallbackGame callbackGame)
public String getSwitchInlineQueryCurrentChat()
public InlineKeyboardButton setSwitchInlineQueryCurrentChat(String switchInlineQueryCurrentChat)
public void validate()
throws TelegramApiValidationException
Validablevalidate in interface ValidableTelegramApiValidationException - If any mandatory field is emptyCopyright © 2016. All rights reserved.