Class InputVenueMessageContent
java.lang.Object
io.github.natanimn.telebof.types.input.InputVenueMessageContent
Represents the content of a venue message to be sent as the result of an inline query.
- Since:
- 3 March 2025
-
Constructor Summary
ConstructorsConstructorDescriptionInputVenueMessageContent(Double latitude, Double longitude, String title, String address) Required -
Method Summary
Modifier and TypeMethodDescriptionsetFoursquareId(String foursquareId) Optional.setFoursquareType(String foursquareType) Optional.setGooglePlaceId(String googlePlaceId) Optional.setGooglePlaceType(String googlePlaceType) Optional.
-
Constructor Details
-
InputVenueMessageContent
Required- Parameters:
latitude- Latitude of the venue in degreeslongitude- Longitude of the venue in degreestitle- Name of the venueaddress- Address of the venue
-
-
Method Details
-
setFoursquareId
Optional.- Parameters:
foursquareId- Foursquare identifier of the venue, if known
-
setFoursquareType
Optional.- Parameters:
foursquareType- Foursquare type of the venue, if known. (For example, "arts_entertainment/default", "arts_entertainment/aquarium" or "food/icecream".)
-
setGooglePlaceId
Optional.- Parameters:
googlePlaceId- Google Places identifier of the venue
-
setGooglePlaceType
Optional.- Parameters:
googlePlaceType- Google Places type of the venue.
-