Class InlineQueryResultVenue

java.lang.Object
io.github.natanimn.telebof.types.inline.InlineQueryResultVenue
All Implemented Interfaces:
InlineQueryResult, Serializable

public class InlineQueryResultVenue extends Object implements Serializable, InlineQueryResult
Represents a venue. By default, the venue will be sent by the user. Alternatively, you can use setInputMessageContent(io.github.natanimn.telebof.types.input.InputTextMessageContent) to send a message with the specified content instead of the venue.
Since:
3 March 2025
Author:
Natanim
See Also:
  • Field Details

    • id

      private String id
    • type

      private String type
    • thumbnailUrl

      @SerializedName("thumbnail_url") private String thumbnailUrl
    • title

      private String title
    • address

      private String address
    • foursquareId

      @SerializedName("foursquare_id") private String foursquareId
    • foursquareType

      @SerializedName("foursquare_type") private String foursquareType
    • googlePlaceId

      @SerializedName("google_place_id") private String googlePlaceId
    • googlePlaceType

      @SerializedName("google_place_type") private String googlePlaceType
    • thumbnailWidth

      @SerializedName("thumbnail_width") private Integer thumbnailWidth
    • thumbnailHeight

      @SerializedName("thumbnail_height") private Integer thumbnailHeight
    • latitude

      private Double latitude
    • longitude

      private Double longitude
    • horizontalAccuracy

      @SerializedName("horizontal_accuracy") private Float horizontalAccuracy
    • inputMessageContent

      @SerializedName("input_message_content") private InputTextMessageContent inputMessageContent
    • replyMarkup

      @SerializedName("reply_markup") private InlineKeyboardMarkup replyMarkup
  • Constructor Details

    • InlineQueryResultVenue

      public 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