Class InlineQueryResultVenue
java.lang.Object
io.github.natanimn.telebof.types.inline.InlineQueryResultVenue
- All Implemented Interfaces:
- InlineQueryResult,- Serializable
Represents a venue. By default, the venue will be sent by the user.
 Alternatively, you can use 
inputMessageContent(io.github.natanimn.telebof.types.input.InputTextMessageContent) to send a message with the specified content instead of the venue.- Since:
- 3 March 2025
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionInlineQueryResultVenue(String id, double latitude, double longitude, String title, String address) Required
- 
Method SummaryModifier and TypeMethodDescriptionfoursquareId(String foursquare_id) OptionalfoursquareType(String foursquare_type) OptionalgooglePlaceId(String google_place_id) OptionalgooglePlaceType(String google_place_type) OptionalinputMessageContent(InputTextMessageContent input_message_content) OptionalreplyMarkup(InlineKeyboardMarkup keyboard) OptionalthumbnailHeight(int thumbnail_height) OptionalthumbnailUrl(String thumbnail_url) OptionalthumbnailWidth(int thumbnail_width) Optional
- 
Constructor Details- 
InlineQueryResultVenuepublic InlineQueryResultVenue(String id, double latitude, double longitude, String title, String address) Required- Parameters:
- id- Unique identifier for this result, 1-64 Bytes
- latitude- Latitude of the venue location in degrees
- longitude- Longitude of the venue location in degrees
- title- Title of the venue
- address- Address of the venue
 
 
- 
- 
Method Details- 
foursquareIdOptional- Parameters:
- foursquare_id- Foursquare identifier of the venue if known
- Returns:
- InlineQueryResultVenue
 
- 
foursquareTypeOptional- Parameters:
- foursquare_type- Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
- Returns:
- InlineQueryResultVenue
 
- 
googlePlaceIdOptional- Parameters:
- google_place_id- Google Places identifier of the venue
- Returns:
- InlineQueryResultVenue
 
- 
googlePlaceTypeOptional- Parameters:
- google_place_type- Google Places type of the venue.
- Returns:
- InlineQueryResultVenue
 
- 
thumbnailUrlOptional- Parameters:
- thumbnail_url- Url of the thumbnail for the result
- Returns:
- InlineQueryResultVenue
 
- 
thumbnailWidthOptional- Parameters:
- thumbnail_width- Thumbnail width
- Returns:
- InlineQueryResultVenue
 
- 
thumbnailHeightOptional- Parameters:
- thumbnail_height- Thumbnail height
- Returns:
- InlineQueryResultVenue
 
- 
inputMessageContentOptional- Parameters:
- input_message_content- Content of the message to be sent instead of the venue
- Returns:
- InlineQueryResultVenue
 
- 
replyMarkupOptional- Parameters:
- keyboard-- Inline keyboardattached to the message
- Returns:
- InlineQueryResultVenue
 
 
-