1.2 KiB
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
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'}