MadelineProtoDocs/old_docs/API_docs_v104/constructors/botInlineMessageMediaGeo.md
2019-12-27 17:48:04 +01: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.