class InputVenueMessageContent implements InputMessageContentInterface

Represents the content of a venue message to be sent as the result of an inline query.

Methods

__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

float
getLatitude()

Latitude of the venue in degrees.

float
getLongitude()

Longitude of the venue in degrees.

string
getTitle()

Name of the venue.

string
getAddress()

Address of the venue.

string|null
getFoursquareId()

Optional. Foursquare identifier of the venue, if known.

string|null
getFoursquareType()

Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.).

string|null
getGooglePlaceId()

Optional. Google Places identifier of the venue.

string|null
getGooglePlaceType()

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

Parameters

float $latitude
float $longitude
string $title
string $address
string|null $foursquare_id
string|null $foursquare_type
string|null $google_place_id
string|null $google_place_type

at line 35
float getLatitude()

Latitude of the venue in degrees.

Return Value

float

at line 43
float getLongitude()

Longitude of the venue in degrees.

Return Value

float

at line 51
string getTitle()

Name of the venue.

Return Value

string

at line 59
string getAddress()

Address of the venue.

Return Value

string

at line 67
string|null getFoursquareId()

Optional. Foursquare identifier of the venue, if known.

Return Value

string|null

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”.).

Return Value

string|null

at line 83
string|null getGooglePlaceId()

Optional. Google Places identifier of the venue.

Return Value

string|null

at line 91
string|null getGooglePlaceType()

Optional. Google Places type of the venue. (See supported types.).

Return Value

string|null