public class Update extends Object implements IBotApiObject
| Constructor and Description |
|---|
Update() |
Update(org.json.JSONObject jsonObject) |
| Modifier and Type | Method and Description |
|---|---|
CallbackQuery |
getCallbackQuery() |
ChosenInlineQuery |
getChosenInlineQuery() |
Message |
getEditedMessage() |
InlineQuery |
getInlineQuery() |
Message |
getMessage() |
Integer |
getUpdateId() |
boolean |
hasCallbackQuery() |
boolean |
hasChosenInlineQuery() |
boolean |
hasEditedMessage() |
boolean |
hasInlineQuery() |
boolean |
hasMessage() |
void |
serialize(com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers) |
void |
serializeWithType(com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers,
com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer) |
String |
toString() |
public Integer getUpdateId()
public Message getMessage()
public InlineQuery getInlineQuery()
public ChosenInlineQuery getChosenInlineQuery()
public CallbackQuery getCallbackQuery()
public Message getEditedMessage()
public boolean hasMessage()
public boolean hasInlineQuery()
public boolean hasChosenInlineQuery()
public boolean hasCallbackQuery()
public boolean hasEditedMessage()
public void serialize(com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers)
throws IOException
serialize in interface com.fasterxml.jackson.databind.JsonSerializableIOExceptionpublic void serializeWithType(com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers,
com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer)
throws IOException
serializeWithType in interface com.fasterxml.jackson.databind.JsonSerializableIOExceptionCopyright © 2016. All rights reserved.