MadelineProtoDocs/old_docs/API_docs_v8/constructors/geoPoint.md

40 lines
661 B
Markdown
Raw Normal View History

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