4baac3178e
Add PHP, Lua language tag to Code area
790 B
790 B
title | description | image |
---|---|---|
geoPoint | geoPoint attributes, type and example | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: geoPoint
Attributes:
Name | Type | Required |
---|---|---|
longitude | double | Yes |
latitude | double | Yes |
Type: GeoPoint
Example:
$geoPoint = ['_' => 'geoPoint', 'longitude' => double, 'latitude' => double];
PWRTelegram json-encoded version:
{"_": "geoPoint", "longitude": double, "latitude": double}
Or, if you're into Lua:
geoPoint={_='geoPoint', longitude=double, latitude=double}