MadelineProtoDocs/docs/API_docs/constructors/messageMediaGeo.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

45 lines
764 B
Markdown

---
title: messageMediaGeo
description: Message media geo
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: messageMediaGeo
[Back to constructors index](index.md)
Message media geo
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|geo|[GeoPoint](../types/GeoPoint.md) | Optional|Geo|
### Type: [MessageMedia](../types/MessageMedia.md)
### Example:
```php
$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "messageMediaGeo", "geo": GeoPoint}
```
Or, if you're into Lua:
```lua
messageMediaGeo={_='messageMediaGeo', geo=GeoPoint}
```