public class InlineQueryResultLocation extends Object implements InlineQueryResult
| Modifier and Type | Class and Description |
|---|---|
static class |
InlineQueryResultLocation.InlineQueryResultLocationBuilder |
| Constructor and Description |
|---|
InlineQueryResultLocation() |
| Modifier and Type | Method and Description |
|---|---|
static InlineQueryResultLocation.InlineQueryResultLocationBuilder |
builder()
This builder will allow you to progressively construct this object.
|
String |
getId()
Gets the ID of this InlineQueryResult object
|
InputMessageContent |
getInputMessageContent()
Gets the content of the message to be sent instead of the location
|
Double |
getLatitude()
Gets the latitude of the location
|
Double |
getLongitude()
Gets the longitude of the location
|
InlineReplyMarkup |
getReplyMarkup()
Gets the inline keyboard attached to this message
|
int |
getThumbHeight()
Gets the height of the thumbnail in pixels
|
URL |
getThumbUrl()
Gets the URL of the thumbnail for the result
|
int |
getThumbWidth()
Gets the width of the thumbnail in pixels
|
String |
getTitle()
Gets the title of the result
|
InlineQueryResultType |
getType()
Get the type of InlineQueryResult that this object refers to
|
public static InlineQueryResultLocation.InlineQueryResultLocationBuilder builder()
public InlineQueryResultType getType()
getType in interface InlineQueryResult@NonNull public String getId()
@NonNull public Double getLatitude()
@NonNull public Double getLongitude()
@NonNull public String getTitle()
public InlineReplyMarkup getReplyMarkup()
public InputMessageContent getInputMessageContent()
public URL getThumbUrl()
public int getThumbWidth()
public int getThumbHeight()
Copyright © 2017. All rights reserved.