public class MessageCallbackQueryImpl extends CallbackQueryImpl implements MessageCallbackQuery
| Modifier and Type | Method and Description |
|---|---|
static MessageCallbackQuery |
createMessageCallbackQuery(org.json.JSONObject jsonObject,
TelegramBot telegramBot) |
String |
getData()
Gets the data that was originally sent with the button used to trigger this CallbackQuery
|
Message |
getMessage()
Gets the Message object associated with the MessageCallbackQuery
|
asJson, createCallbackQuery, getBotInstance, getChatInstance, getFrom, getIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTypeanswer, asJson, getBotInstance, getChatInstance, getFrom, getIdpublic static MessageCallbackQuery createMessageCallbackQuery(org.json.JSONObject jsonObject, TelegramBot telegramBot)
public Message getMessage()
MessageCallbackQuerygetMessage in interface MessageCallbackQuerypublic String getData()
CallbackQuerygetData in interface CallbackQuerygetData in interface MessageCallbackQuerygetData in class CallbackQueryImplCopyright © 2017. All rights reserved.