public class InlineQuery extends Object implements IBotApiObject
| Constructor and Description |
|---|
InlineQuery() |
InlineQuery(org.json.JSONObject jsonObject) |
| Modifier and Type | Method and Description |
|---|---|
User |
getFrom() |
String |
getId() |
Location |
getLocation() |
String |
getOffset() |
String |
getQuery() |
boolean |
hasLocation() |
boolean |
hasQuery() |
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 InlineQuery()
public InlineQuery(org.json.JSONObject jsonObject)
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 String getId()
public User getFrom()
public Location getLocation()
public String getQuery()
public String getOffset()
public boolean hasQuery()
public boolean hasLocation()
public 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.