Link Search Menu Expand Document

Constructor: botInlineMessageMediaGeo

Back to constructors index

Send a geolocation

Attributes:

NameTypeRequiredDescription
geoGeoPointOptionalGeolocation
headingintOptionalFor live locations, a direction in which the location moves, in degrees; 1-360.
periodintOptionalValidity period
proximity_notification_radiusintOptionalFor live locations, a maximum distance to another chat member for proximity alerts, in meters (0-100000).
reply_markupReplyMarkupOptionalInline keyboard

Type: BotInlineMessage

Usage of reply_markup

You can provide bot API reply_markup objects here.

Example:

$botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'heading' => int, 'period' => int, 'proximity_notification_radius' => int, 'reply_markup' => ReplyMarkup];