Link Search Menu Expand Document

Constructor: messageMediaVenue

Back to constructors index

Venue

Attributes:

NameTypeRequiredDescription
geoGeoPointOptionalGeolocation of venue
titlestringYesVenue name
addressstringYesAddress
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: MessageMedia

Example:

$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'venue_type' => 'string'];