public class InlineQueryResultGame extends Object implements InlineQueryResult
| Constructor and Description |
|---|
InlineQueryResultGame() |
| Modifier and Type | Method and Description |
|---|---|
String |
getGameShortName() |
String |
getId() |
InlineKeyboardMarkup |
getReplyMarkup() |
String |
getType() |
void |
setGameShortName(String gameShortName) |
InlineQueryResultGame |
setId(String id) |
InlineQueryResultGame |
setReplyMarkup(InlineKeyboardMarkup replyMarkup) |
String |
toString() |
void |
validate()
Validates that mandatory fields are filled and optional objects
|
public String getType()
public String getId()
public InlineQueryResultGame setId(String id)
public InlineKeyboardMarkup getReplyMarkup()
public InlineQueryResultGame setReplyMarkup(InlineKeyboardMarkup replyMarkup)
public String getGameShortName()
public void setGameShortName(String gameShortName)
public void validate()
throws TelegramApiValidationException
Validablevalidate in interface ValidableTelegramApiValidationException - If any mandatory field is emptyCopyright © 2018. All rights reserved.