Link Search Menu Expand Document

Constructor: inputMediaVenue

Back to constructors index

Can be used to send a venue geolocation.

Attributes:

NameTypeRequiredDescription
geo_pointInputGeoPointOptionalGeolocation
titlestringYesVenue name
addressstringYesPhysical address of the venue
providerstringYesVenue provider: currently only “foursquare” and “gplaces” (Google Places) need to be supported
venue_idstringYesVenue ID in the provider’s database
venue_typestringYesVenue 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'];