# Constructor: inputMediaVenue

Back to constructors index

Can be used to send a venue geolocation.

# Attributes:

Name Type Required Description
geo_point InputGeoPoint Optional Geolocation
title string Yes Venue name
address string Yes Physical address of the venue
provider string Yes Venue provider: currently only “foursquare” needs to be supported
venue_id string Yes Venue ID in the provider’s database
venue_type string Yes Venue type in the provider’s database

# Type: InputMedia

# Example:

$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'venue_type' => 'string'];

Or, if you’re into Lua:

inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', venue_type='string'}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.