Class: TD::Types::Location

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/location.rb

Overview

Describes a location on planet Earth.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#latitudeFloat

Latitude of the location in degrees; as defined by the sender.

Returns:

  • (Float)

    the current value of latitude



6
7
8
# File 'lib/tdlib/types/location.rb', line 6

def latitude
  @latitude
end

#longitudeFloat

Longitude of the location, in degrees; as defined by the sender.

Returns:

  • (Float)

    the current value of longitude



6
7
8
# File 'lib/tdlib/types/location.rb', line 6

def longitude
  @longitude
end