MadelineProtoDocs/old_docs/API_docs_v40/constructors/geoPoint.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

770 B

title description image
geoPoint Geo point https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: geoPoint

Back to constructors index

Geo point

Attributes:

Name Type Required Description
long double Yes Long
lat double Yes Lat

Type: GeoPoint

Example:

$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double];

PWRTelegram json-encoded version:

{"_": "geoPoint", "long": double, "lat": double}

Or, if you're into Lua:

geoPoint={_='geoPoint', long=double, lat=double}