InputVenueMessageContent
class InputVenueMessageContent implements InputMessageContentInterface
Represents the content of a venue message to be sent as the result of an inline query.
Methods
No description
Latitude of the venue in degrees.
Longitude of the venue in degrees.
Name of the venue.
Address of the venue.
Optional. Foursquare identifier of the venue, if known.
Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.).
Optional. Google Places identifier of the venue.
Optional. Google Places type of the venue. (See supported types.).
Details
at line 20
__construct(float $latitude, float $longitude, string $title, string $address, string|null $foursquare_id = null, string|null $foursquare_type = null, string|null $google_place_id = null, string|null $google_place_type = null)
No description
at line 35
float
getLatitude()
Latitude of the venue in degrees.
at line 43
float
getLongitude()
Longitude of the venue in degrees.
at line 51
string
getTitle()
Name of the venue.
at line 59
string
getAddress()
Address of the venue.
at line 67
string|null
getFoursquareId()
Optional. Foursquare identifier of the venue, if known.
at line 75
string|null
getFoursquareType()
Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.).
at line 83
string|null
getGooglePlaceId()
Optional. Google Places identifier of the venue.
at line 91
string|null
getGooglePlaceType()
Optional. Google Places type of the venue. (See supported types.).