46 lines
944 B
Markdown
46 lines
944 B
Markdown
|
---
|
||
|
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.
|
||
|
|
||
|
|