mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 15:26:54 +01:00
38 lines
653 B
Markdown
38 lines
653 B
Markdown
|
---
|
||
|
title: inputMessageLocation
|
||
|
description: Message with location
|
||
|
---
|
||
|
## Constructor: inputMessageLocation
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
Message with location
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|:-------------:|:--------:|------------:|
|
||
|
|location|[location](../types/location.md) | Yes|Location to send|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [InputMessageContent](../types/InputMessageContent.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$inputMessageLocation = ['_' => 'inputMessageLocation', 'location' => location, ];
|
||
|
```
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
|
||
|
```
|
||
|
inputMessageLocation={_='inputMessageLocation', location=location, }
|
||
|
|
||
|
```
|
||
|
|
||
|
|