Class: TD::Types::Location
- Defined in:
- lib/tdlib/types/location.rb
Overview
Describes a location on planet Earth.
Instance Attribute Summary collapse
-
#horizontal_accuracy ⇒ Float
The estimated horizontal accuracy of the location, in meters; as defined by the sender.
-
#latitude ⇒ Float
Latitude of the location in degrees; as defined by the sender.
-
#longitude ⇒ Float
Longitude of the location, in degrees; as defined by the sender.
Method Summary
Methods inherited from Base
Instance Attribute Details
#horizontal_accuracy ⇒ Float
The estimated horizontal accuracy of the location, in meters; as defined by the sender. 0 if unknown.
9 10 11 |
# File 'lib/tdlib/types/location.rb', line 9 def horizontal_accuracy @horizontal_accuracy end |
#latitude ⇒ Float
Latitude of the location in degrees; as defined by the sender.
9 10 11 |
# File 'lib/tdlib/types/location.rb', line 9 def latitude @latitude end |
#longitude ⇒ Float
Longitude of the location, in degrees; as defined by the sender.
9 10 11 |
# File 'lib/tdlib/types/location.rb', line 9 def longitude @longitude end |