Sha256: 3d37b2d9e66df4ecd971a9822f42d0a62df0453143d48e339ca18243452ea61a

Contents?: true

Size: 603 Bytes

Versions: 3

Compression:

Stored size: 603 Bytes

Contents

module TD::Types
  # Describes a location on planet Earth.
  #
  # @attr latitude [Float] Latitude of the location in degrees; as defined by the sender.
  # @attr longitude [Float] Longitude of the location, in degrees; as defined by the sender.
  # @attr horizontal_accuracy [Float] The estimated horizontal accuracy of the location, in meters; as defined by the
  #   sender.
  #   0 if unknown.
  class Location < Base
    attribute :latitude, TD::Types::Coercible::Float
    attribute :longitude, TD::Types::Coercible::Float
    attribute :horizontal_accuracy, TD::Types::Coercible::Float
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.4 lib/tdlib/types/location.rb
tdlib-schema-1.7.0.3 lib/tdlib/types/location.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/location.rb