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, }