Sha256: 41003b4c9fdf8e0dd41ee2896d4813f9510f13c1f9df4e03027c4d98f86441ec

Contents?: true

Size: 836 Bytes

Versions: 3

Compression:

Stored size: 836 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class InlineQueryResultLocation < Base
        attribute :type, Types::String.default('location')
        attribute :id, Types::String
        attribute :latitude, Types::Float
        attribute :longitude, Types::Float
        attribute :title, Types::String
        attribute? :horizontal_accuracy, Types::Float
        attribute? :live_period, Types::Integer
        attribute? :heading, Types::Integer
        attribute? :proximity_alert_radius, Types::Integer
        attribute? :reply_markup, InlineKeyboardMarkup
        attribute? :input_message_content, InputMessageContent
        attribute? :thumb_url, Types::String
        attribute? :thumb_width, Types::Integer
        attribute? :thumb_height, Types::Integer
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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