Class InputVenueMessageContent

java.lang.Object
io.github.natanimn.telebof.types.input.InputVenueMessageContent

public class InputVenueMessageContent extends Object
Represents the content of a venue message to be sent as the result of an inline query.
Since:
3 March 2025
Author:
Natanim
  • Field Details

    • latitude

      private Double latitude
    • longitude

      private Double longitude
    • 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
  • Constructor Details

    • InputVenueMessageContent

      public InputVenueMessageContent(Double latitude, Double longitude, String title, String address)
      Required
      Parameters:
      latitude - Latitude of the venue in degrees
      longitude - Longitude of the venue in degrees
      title - Name of the venue
      address - Address of the venue
  • Method Details

    • setFoursquareId

      public InputVenueMessageContent setFoursquareId(String foursquareId)
      Optional.
      Parameters:
      foursquareId - Foursquare identifier of the venue, if known
    • setFoursquareType

      public InputVenueMessageContent setFoursquareType(String foursquareType)
      Optional.
      Parameters:
      foursquareType - Foursquare type of the venue, if known. (For example, "arts_entertainment/default", "arts_entertainment/aquarium" or "food/icecream".)
    • setGooglePlaceId

      public InputVenueMessageContent setGooglePlaceId(String googlePlaceId)
      Optional.
      Parameters:
      googlePlaceId - Google Places identifier of the venue
    • setGooglePlaceType

      public InputVenueMessageContent setGooglePlaceType(String googlePlaceType)
      Optional.
      Parameters:
      googlePlaceType - Google Places type of the venue.