Link Search Menu Expand Document

Constructor: botInlineMessageMediaVenue

Back to constructors index

Send a 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
reply_markupReplyMarkupOptionalInline keyboard

Type: BotInlineMessage

Usage of reply_markup

You can provide bot API reply_markup objects here.

Example:

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