1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 08:16:54 +01:00
MadelineProto/docs/TD_docs/constructors/location.md

741 B

title description
location Describes location on Earth

Constructor: location

Back to constructors index

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, ];

Or, if you're into Lua:

location={_='location', latitude=double, longitude=double, }