Sha256: eb974dc156ca0c71235d3adff16bde810cf5c1e3b870daef71095eb65cbe25fe

Contents?: true

Size: 457 Bytes

Versions: 4

Compression:

Stored size: 457 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class InputLocationMessageContent < InputMessageContent
        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

4 entries across 4 versions & 1 rubygems

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