public class InlineQueryResultLocation extends Object implements InlineQueryResult
Constructor and Description |
---|
InlineQueryResultLocation() |
Modifier and Type | Method and Description |
---|---|
String |
getId() |
InputMessageContent |
getInputMessageContent() |
Float |
getLatitude() |
Float |
getLongitude() |
InlineKeyboardMarkup |
getReplyMarkup() |
Integer |
getThumbHeight() |
String |
getThumbUrl() |
Integer |
getThumbWidth() |
String |
getTitle() |
String |
getType() |
InlineQueryResultLocation |
setId(String id) |
InlineQueryResultLocation |
setInputMessageContent(InputMessageContent inputMessageContent) |
InlineQueryResultLocation |
setLatitude(Float latitude) |
InlineQueryResultLocation |
setLongitude(Float longitude) |
InlineQueryResultLocation |
setReplyMarkup(InlineKeyboardMarkup replyMarkup) |
InlineQueryResultLocation |
setThumbHeight(Integer thumbHeight) |
InlineQueryResultLocation |
setThumbUrl(String thumbUrl) |
InlineQueryResultLocation |
setThumbWidth(Integer thumbWidth) |
InlineQueryResultLocation |
setTitle(String title) |
String |
toString() |
void |
validate()
Validates that mandatory fields are filled and optional objects
|
public 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
Validable
validate
in interface Validable
TelegramApiValidationException
- If any mandatory field is emptyCopyright © 2016. All rights reserved.