MadelineProtoDocs/old_docs/API_docs_v28/constructors/inputGeoPoint.md

40 lines
759 B
Markdown
Raw Normal View History

2020-06-16 17:50:25 +02:00
---
title: inputGeoPoint
description: Defines a GeoPoint by its coordinates.
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: inputGeoPoint
[Back to constructors index](index.md)
Defines a GeoPoint by its coordinates.
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|lat|[double](../types/double.md) | Yes|Latitide|
|long|[double](../types/double.md) | Yes|Longtitude|
### Type: [InputGeoPoint](../types/InputGeoPoint.md)
### Example:
```php
$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double];
```
Or, if you're into Lua:
```lua
inputGeoPoint={_='inputGeoPoint', lat=double, long=double}
```