public class InlineQueryResultVenue extends Object implements InlineQueryResult
| Modifier and Type | Class and Description |
|---|---|
static class |
InlineQueryResultVenue.InlineQueryResultVenueBuilder |
| Constructor and Description |
|---|
InlineQueryResultVenue() |
| Modifier and Type | Method and Description |
|---|---|
static InlineQueryResultVenue.InlineQueryResultVenueBuilder |
builder()
This builder will allow you to progressively construct this object.
|
String |
getAddress()
Gets the address of the venue
|
String |
getFoursquareId()
Gets the foursquare ID for the venue
|
String |
getId()
Gets the ID of this InlineQueryResult object
|
InputMessageContent |
getInputMessageContent()
Gets the content of the message to be sent instead of the venue
|
Double |
getLatitude()
Gets the latitude of the venue
|
Double |
getLongitude()
Gets the longitude of the venue
|
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 InlineQueryResultVenue.InlineQueryResultVenueBuilder builder()
public InlineQueryResultType getType()
getType in interface InlineQueryResult@NonNull public String getId()
@NonNull public Double getLatitude()
@NonNull public Double getLongitude()
@NonNull public String getTitle()
@NonNull public String getAddress()
public String getFoursquareId()
public InlineReplyMarkup getReplyMarkup()
public InputMessageContent getInputMessageContent()
public URL getThumbUrl()
public int getThumbWidth()
public int getThumbHeight()
Copyright © 2017. All rights reserved.