mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-14 07:47:24 +01:00
38 lines
612 B
Markdown
38 lines
612 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, ];
|
||
|
```
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
|
||
|
```
|
||
|
messageLocation={_='messageLocation', location=location, }
|
||
|
|
||
|
```
|
||
|
|
||
|
|