MadelineProtoDocs/old_docs/API_docs_v66/constructors/inputMediaVenue.md
2019-12-27 17:48:04 +01:00

1.2 KiB

title description image
inputMediaVenue Can be used to send a venue geolocation. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

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

Type: InputMedia

Example:

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

Or, if you're into Lua:

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