MadelineProtoDocs/old_docs/API_docs_v70/constructors/botInlineMessageMediaGeo.md
2019-12-27 17:48:04 +01:00

944 B

title description image
botInlineMessageMediaGeo Send a geolocation https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: botInlineMessageMediaGeo

Back to constructors index

Send a geolocation

Attributes:

Name Type Required Description
geo GeoPoint Optional Geolocation
reply_markup ReplyMarkup Optional Inline keyboard

Type: BotInlineMessage

Example:

$botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup];

Or, if you're into Lua:

botInlineMessageMediaGeo={_='botInlineMessageMediaGeo', geo=GeoPoint, reply_markup=ReplyMarkup}

Usage of reply_markup

You can provide bot API reply_markup objects here.