public class GameMessageMessageCallbackQueryImpl extends CallbackQueryImpl implements GameMessageCallbackQuery
| Modifier and Type | Method and Description |
|---|---|
static GameMessageCallbackQuery |
createGameCallbackQuery(org.json.JSONObject jsonObject,
TelegramBot telegramBot) |
String |
getGameShortName()
Gets the short name of the game that this callback query relates to
|
Message |
getMessage()
Gets the Message object associated with the GameMessageCallbackQuery
|
asJson, createCallbackQuery, getBotInstance, getChatInstance, getData, getFrom, getIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTypeanswer, asJson, getBotInstance, getChatInstance, getData, getFrom, getIdpublic static GameMessageCallbackQuery createGameCallbackQuery(org.json.JSONObject jsonObject, TelegramBot telegramBot)
public String getGameShortName()
GameMessageCallbackQuerygetGameShortName in interface GameMessageCallbackQuerypublic Message getMessage()
GameMessageCallbackQuerygetMessage in interface GameMessageCallbackQueryCopyright © 2017. All rights reserved.