Sha256: b15245e0441aec1e607bc862a9ef47771fae657a96475b52f53d921df4fb5792

Contents?: true

Size: 423 Bytes

Versions: 1

Compression:

Stored size: 423 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class Location < Base
        attribute :latitude, Types::Float
        attribute :longitude, Types::Float
        attribute? :horizontal_accuracy, Types::Float
        attribute? :live_period, Types::Integer
        attribute? :heading, Types::Integer
        attribute? :proximity_alert_radius, Types::Integer
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
telegram-bot-ruby-2.1.0 lib/telegram/bot/types/location.rb