public class CallbackQueryImpl extends Object implements CallbackQuery
| Modifier | Constructor and Description |
|---|---|
protected |
CallbackQueryImpl(org.json.JSONObject jsonObject,
TelegramBot telegramBot) |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
asJson() |
static CallbackQuery |
createCallbackQuery(org.json.JSONObject jsonObject,
TelegramBot telegramBot) |
TelegramBot |
getBotInstance() |
String |
getData() |
User |
getFrom() |
String |
getId() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitanswer, getTypeprotected CallbackQueryImpl(org.json.JSONObject jsonObject,
TelegramBot telegramBot)
public static CallbackQuery createCallbackQuery(org.json.JSONObject jsonObject, TelegramBot telegramBot)
public TelegramBot getBotInstance()
public String getId()
public User getFrom()
public String getData()
public org.json.JSONObject asJson()
Copyright © 2016. All rights reserved.