MadelineProto/docs/TD_docs/constructors/messageLocation.md
2017-07-23 16:11:02 +02:00

45 lines
730 B
Markdown

---
title: messageLocation
description: Message with location
---
## Constructor: messageLocation
[Back to constructors index](index.md)
Message with location
### Attributes:
| Name | Type | Required | Description |
|----------|:-------------:|:--------:|------------:|
|location|[location](../types/location.md) | Yes|Message content|
### Type: [MessageContent](../types/MessageContent.md)
### Example:
```
$messageLocation = ['_' => 'messageLocation', 'location' => location, ];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_":"messageLocation","location":"location"}
```
Or, if you're into Lua:
```
messageLocation={_='messageLocation', location=location, }
```