atipugin/telegram-bot-ruby

View on GitHub
lib/telegram/bot/types/input_location_message_content.rb

Summary

Maintainability
A
20 mins
Test Coverage
# 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