Class InlineQueryResultLocation
java.lang.Object
io.github.natanimn.telebof.types.inline.InlineQueryResultLocation
- All Implemented Interfaces:
- InlineQueryResult,- Serializable
Represents a location on a map. By default, the location 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 location.- Since:
- 3 March 2025
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionInlineQueryResultLocation(String id, double latitude, double longitude, String title) Required
- 
Method SummaryModifier and TypeMethodDescriptionheading(int heading) OptionalhorizontalAccuracy(Float horizontal_accuracy) OptionalinputMessageContent(InputTextMessageContent input_message_content) OptionallivePeriod(int live_period) OptionalproximityAlertRadius(int proximity_alert_radius) OptionalreplyMarkup(InlineKeyboardMarkup keyboard) OptionalthumbnailHeight(int thumbnail_height) OptionalthumbnailUrl(String thumbnail_url) OptionalthumbnailWidth(int thumbnail_width) Optional
- 
Constructor Details- 
InlineQueryResultLocation
 
- 
- 
Method Details- 
horizontalAccuracyOptional- Parameters:
- horizontal_accuracy- The radius of uncertainty for the location, measured in meters; 0-1500
- Returns:
- InlineQueryResultLocation
 
- 
livePeriodOptional- Parameters:
- live_period- Period in seconds during which the location can be updated, should be between 60 and 86400, or 0x7FFFFFFF for live locations that can be edited indefinitely.
- Returns:
- InlineQueryResultLocation
 
- 
headingOptional- Parameters:
- heading- For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified.
- Returns:
- InlineQueryResultLocation
 
- 
proximityAlertRadiusOptional- Parameters:
- proximity_alert_radius- For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.
- Returns:
- InlineQueryResultLocation
 
- 
inputMessageContentOptional- Parameters:
- input_message_content- Content of the message to be sent instead of the location
- Returns:
- InlineQueryResultLocation
 
- 
replyMarkupOptional- Parameters:
- keyboard-- Inline keyboardattached to the message
- Returns:
- InlineQueryResultLocation
 
- 
thumbnailUrlOptional- Parameters:
- thumbnail_url- Url of the thumbnail for the result
- Returns:
- InlineQueryResultLocation
 
- 
thumbnailWidthOptional- Parameters:
- thumbnail_width- Thumbnail width
- Returns:
- InlineQueryResultLocation
 
- 
thumbnailHeightOptional- Parameters:
- thumbnail_height- Thumbnail height
- Returns:
- InlineQueryResultLocation
 
 
-