Class TdApi.Location

  • Enclosing class:
    TdApi

    public static class TdApi.Location
    extends TdApi.Object
    Describes a location on planet Earth.
    • Field Summary

      Fields 
      Modifier and Type Field 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 Summary

      Constructors 
      Constructor Description
      Location()
      Default constructor.
      Location​(double latitude, double longitude)
      Constructor for initialization of all fields.
    • Field Detail

      • latitude

        public double latitude
        Latitude of the location in degrees; as defined by the sender.
      • longitude

        public double longitude
        Longitude of the location, in degrees; as defined by the sender.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Location

        public Location()
        Default constructor.
      • Location

        public Location​(double latitude,
                        double longitude)
        Constructor for initialization of all fields.
        Parameters:
        latitude - Latitude of the location in degrees; as defined by the sender.
        longitude - Longitude of the location, in degrees; as defined by the sender.