public static class TdApi.Location extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
double |
latitude
Latitude of the location in degrees; as defined by the sender.
|
double |
longitude
Longitude of the location, in degrees; as defined by the sender.
|
Constructor and Description |
---|
Location()
Describes a location on planet Earth.
|
Location(double latitude,
double longitude)
Describes a location on planet Earth.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public double latitude
public double longitude
public static final int CONSTRUCTOR
public Location()
public Location(double latitude, double longitude)
latitude
- Latitude of the location in degrees; as defined by the sender.longitude
- Longitude of the location, in degrees; as defined by the sender.public int getConstructor()
getConstructor
in class TdApi.Object