Update.UpdateType| Modifier and Type | Method and Description |
|---|---|
static Update |
createUpdate(org.json.JSONObject jsonObject,
TelegramBot telegramBot) |
TelegramBot |
getBotInstance()
Gets the TelegramBot instance that is responsible for this Update
|
CallbackQuery |
getCallbackQuery()
Gets the new incoming callback query
|
Message |
getChannelPost()
Gets the Channel Message that this Update contains
|
ChosenInlineResult |
getChosenInlineResult()
Gets the result of an inline query that was chosen by a user and sent to their chat partner
|
Message |
getEditedChannelPost()
Gets the Edited Channel Message that this Update contains.
|
Message |
getEditedMessage()
Gets the Edited Message that this Update contains.
|
int |
getId()
Gets the The update‘s unique identifier.
|
InlineQuery |
getInlineQuery()
Gets the new incoming inline query
|
Message |
getMessage()
Gets the Message that this Update contains.
|
Update.UpdateType |
getType()
Gets the UpdateType of this Update
|
public static Update createUpdate(org.json.JSONObject jsonObject, TelegramBot telegramBot)
public int getId()
Updatepublic Message getMessage()
UpdategetMessage in interface Updatepublic Message getEditedMessage()
UpdategetEditedMessage in interface Updatepublic Message getChannelPost()
UpdategetChannelPost in interface Updatepublic Message getEditedChannelPost()
UpdategetEditedChannelPost in interface Updatepublic InlineQuery getInlineQuery()
UpdategetInlineQuery in interface Updatepublic ChosenInlineResult getChosenInlineResult()
UpdategetChosenInlineResult in interface Updatepublic CallbackQuery getCallbackQuery()
UpdategetCallbackQuery in interface Updatepublic Update.UpdateType getType()
Updatepublic TelegramBot getBotInstance()
UpdategetBotInstance in interface UpdateCopyright © 2017. All rights reserved.