MadelineProtoDocs/old_docs/API_docs_v21/constructors/botInlineMessageMediaGeo.md

46 lines
944 B
Markdown
Raw Permalink Normal View History

2020-06-16 17:50:25 +02:00
---
title: botInlineMessageMediaGeo
description: Send a geolocation
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: botInlineMessageMediaGeo
[Back to constructors index](index.md)
Send a geolocation
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|geo|[GeoPoint](../types/GeoPoint.md) | Optional|Geolocation|
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|Inline keyboard|
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
### Example:
```php
$botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup];
```
Or, if you're into Lua:
```lua
botInlineMessageMediaGeo={_='botInlineMessageMediaGeo', geo=GeoPoint, reply_markup=ReplyMarkup}
```
## Usage of reply_markup
You can provide bot API reply_markup objects here.