mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 01:46:55 +01:00
868 B
868 B
title | description |
---|---|
location | Describes location on Earth |
Constructor: location
Describes location on Earth
Attributes:
Name | Type | Required | Description |
---|---|---|---|
latitude | double | Yes | Latitude of location in degrees as defined by sender |
longitude | double | Yes | Longitude of location in degrees as defined by sender |
Type: Location
Example:
$location = ['_' => 'location', 'latitude' => double, 'longitude' => double];
PWRTelegram json-encoded version:
{"_": "location", "latitude": double, "longitude": double}
Or, if you're into Lua:
location={_='location', latitude=double, longitude=double}