public static class InlineQueryResultVenue.InlineQueryResultVenueBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
InlineQueryResultVenue.InlineQueryResultVenueBuilder |
address(String address)
*Required*
Sets the address of the venue to the provided value
|
InlineQueryResultVenue |
build()
Builds the InlineQueryResultVenue object
|
InlineQueryResultVenue.InlineQueryResultVenueBuilder |
foursquareId(String foursquareId)
*Optional*
Sets the foursquare ID of the venue to the provided value
|
InlineQueryResultVenue.InlineQueryResultVenueBuilder |
id(String id)
*Optional*
Sets the ID to the provided value.
|
InlineQueryResultVenue.InlineQueryResultVenueBuilder |
inputMessageContent(InputMessageContent inputMessageContent)
*Optional*
Sets the content you want to be sent with this result to the provided InputMessageContent object
|
InlineQueryResultVenue.InlineQueryResultVenueBuilder |
latitude(Double latitude)
*Required*
Sets the latitude of the venue for the result
|
InlineQueryResultVenue.InlineQueryResultVenueBuilder |
longitude(Double longitude)
*Required*
Sets the longitude of the venue for the result
|
InlineQueryResultVenue.InlineQueryResultVenueBuilder |
replyMarkup(InlineReplyMarkup replyMarkup)
*Optional*
Sets the inline keyboard attached to this message to the InlineReplyMarkup provided
|
InlineQueryResultVenue.InlineQueryResultVenueBuilder |
thumbHeight(int thumbHeight)
*Optional*
Sets the height of the thumbnail at the previously provided URL through
thumbUrl(URL) |
InlineQueryResultVenue.InlineQueryResultVenueBuilder |
thumbUrl(URL thumbUrl)
*Optional*
Sets the URL of the thumbnail that should show next to the result in the inline result selection pane
|
InlineQueryResultVenue.InlineQueryResultVenueBuilder |
thumbWidth(int thumbWidth)
*Optional*
Sets the width of the thumbnail at the previously provided URL through
thumbUrl(URL) |
InlineQueryResultVenue.InlineQueryResultVenueBuilder |
title(String title)
*Required*
Sets the title to the provided value
|
public InlineQueryResultVenue.InlineQueryResultVenueBuilder id(String id)
id - The ID you want the result to havepublic InlineQueryResultVenue.InlineQueryResultVenueBuilder latitude(Double latitude)
latitude - The latitude for the venuepublic InlineQueryResultVenue.InlineQueryResultVenueBuilder longitude(Double longitude)
longitude - The longitude of the venuepublic InlineQueryResultVenue.InlineQueryResultVenueBuilder title(String title)
title - The title you want the result to havepublic InlineQueryResultVenue.InlineQueryResultVenueBuilder address(String address)
address - The address of the venuepublic InlineQueryResultVenue.InlineQueryResultVenueBuilder foursquareId(String foursquareId)
foursquareId - The foursquare ID of the venuepublic InlineQueryResultVenue.InlineQueryResultVenueBuilder replyMarkup(InlineReplyMarkup replyMarkup)
replyMarkup - The inline keyboard you want to attach to the messagepublic InlineQueryResultVenue.InlineQueryResultVenueBuilder inputMessageContent(InputMessageContent inputMessageContent)
inputMessageContent - The content you want to be sent with the resultpublic InlineQueryResultVenue.InlineQueryResultVenueBuilder thumbUrl(URL thumbUrl)
thumbUrl - The URL of the thumbnail you want to be shown next to the result in the result selection panepublic InlineQueryResultVenue.InlineQueryResultVenueBuilder thumbWidth(int thumbWidth)
thumbUrl(URL)thumbWidth - The width of the thumbnailpublic InlineQueryResultVenue.InlineQueryResultVenueBuilder thumbHeight(int thumbHeight)
thumbUrl(URL)thumbHeight - The height of the thumbnailpublic InlineQueryResultVenue build()
Copyright © 2017. All rights reserved.