public class InlineQueryResultLocation extends Object implements InlineQueryResult
| Constructor and Description |
|---|
InlineQueryResultLocation() |
public static String getType()
public String getId()
public InlineQueryResultLocation setId(String id)
public String getTitle()
public InlineQueryResultLocation setTitle(String title)
public Float getLatitude()
public InlineQueryResultLocation setLatitude(Float latitude)
public Float getLongitude()
public InlineQueryResultLocation setLongitude(Float longitude)
public InlineKeyboardMarkup getReplyMarkup()
public InlineQueryResultLocation setReplyMarkup(InlineKeyboardMarkup replyMarkup)
public InputMessageContent getInputMessageContent()
public InlineQueryResultLocation setInputMessageContent(InputMessageContent inputMessageContent)
public String getThumbUrl()
public InlineQueryResultLocation setThumbUrl(String thumbUrl)
public Integer getThumbWidth()
public InlineQueryResultLocation setThumbWidth(Integer thumbWidth)
public Integer getThumbHeight()
public InlineQueryResultLocation setThumbHeight(Integer thumbHeight)
public void validate()
throws TelegramApiValidationException
Validablevalidate in interface ValidableTelegramApiValidationException - If any mandatory field is emptypublic org.json.JSONObject toJson()
IToJsonpublic 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.