MadelineProtoDocs/old_docs/API_docs_v13/constructors/inputMediaVenue.md
2020-06-16 17:50:25 +02: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'}