MadelineProtoDocs/old_docs/API_docs_v30/constructors/botInlineMessageMediaGeo.md
2020-06-16 17:50:25 +02:00

1.0 KiB

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
period int Yes Validity period
reply_markup ReplyMarkup Optional Inline keyboard

Type: BotInlineMessage

Example:

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

Or, if you're into Lua:

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

Usage of reply_markup

You can provide bot API reply_markup objects here.