MadelineProtoDocs/docs/API_docs/constructors/inputBotInlineMessageMediaGeo.md
2024-05-01 14:53:46 +02:00

1.5 KiB

title description nav_exclude image
inputBotInlineMessageMediaGeo Geolocation true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputBotInlineMessageMediaGeo

Back to constructors index

Geolocation

Attributes:

Name Type Required Description
geo_point InputGeoPoint Optional Geolocation
heading int Optional For live locations, a direction in which the location moves, in degrees; 1-360
period int Optional Validity period
proximity_notification_radius int Optional For live locations, a maximum distance to another chat member for proximity alerts, in meters (0-100000)
reply_markup ReplyMarkup Optional Reply markup for bot/inline keyboards

Type: InputBotInlineMessage

Usage of reply_markup

You can provide bot API reply_markup objects here.

Example:

$inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'heading' => int, 'period' => int, 'proximity_notification_radius' => int, 'reply_markup' => ReplyMarkup];