1.0 KiB
1.0 KiB
title | description | image |
---|---|---|
botInlineMessageMediaGeo | Send a geolocation | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: botInlineMessageMediaGeo
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.