MadelineProtoDocs/old_docs/API_docs_v21/constructors/botInlineMessageMediaGeo.md
2020-06-16 17:50:25 +02: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.