Sha256: 7e8e083575046967f1d3813c785307c59f652aa623537b50413311fc3b744156

Contents?: true

Size: 423 Bytes

Versions: 4

Compression:

Stored size: 423 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class Location < Base
        attribute :longitude, Types::Float
        attribute :latitude, 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

4 entries across 4 versions & 1 rubygems

Version Path
telegram-bot-ruby-2.0.0 lib/telegram/bot/types/location.rb
telegram-bot-ruby-1.0.0 lib/telegram/bot/types/location.rb
telegram-bot-ruby-1.0.0.rc1 lib/telegram/bot/types/location.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/types/location.rb