2017-07-23 17:44:01 +02:00
|
|
|
---
|
|
|
|
title: messageMediaGeo
|
|
|
|
description: messageMediaGeo attributes, type and example
|
|
|
|
---
|
|
|
|
## Constructor: messageMediaGeo
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required |
|
2017-08-20 11:05:56 +02:00
|
|
|
|----------|---------------|----------|
|
2017-07-23 17:44:01 +02:00
|
|
|
|geo|[GeoPoint](../types/GeoPoint.md) | Yes|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [MessageMedia](../types/MessageMedia.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```
|
|
|
|
$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint];
|
|
|
|
```
|
|
|
|
|
|
|
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
|
|
|
|
|
|
|
```
|
|
|
|
{"_": "messageMediaGeo", "geo": GeoPoint}
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
messageMediaGeo={_='messageMediaGeo', geo=GeoPoint}
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|