InputMediaVenue

class telegram.InputMediaVenue(latitude, longitude, title, address, foursquare_id=None, foursquare_type=None, google_place_id=None, google_place_type=None, *, api_kwargs=None)[source]

Bases: telegram.TelegramObject

Represents a venue to be sent.

Added in version 22.8.

Parameters:
type[source]

'venue'.

Type:

str

latitude[source]

Latitude of the location.

Type:

float

longitude[source]

Longitude of the location.

Type:

float

title[source]

Name of the venue.

Type:

str

address[source]

Address of the venue.

Type:

str

foursquare_id[source]

Optional. Foursquare identifier of the venue.

Type:

str

foursquare_type[source]

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

Type:

str

google_place_id[source]

Optional. Google Places identifier of the venue.

Type:

str

google_place_type[source]

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

Type:

str