Sha256: b52ba2022e2ef50499ddd5c353bd6697e9f935810076e05f3efb4472813b16b5

Contents?: true

Size: 871 Bytes

Versions: 3

Compression:

Stored size: 871 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class InlineQueryResultVenue < Base
        attribute :type, Types::String.default('venue')
        attribute :id, Types::String
        attribute :latitude, Types::Float
        attribute :longitude, Types::Float
        attribute :title, Types::String
        attribute :address, Types::String
        attribute? :foursquare_id, Types::String
        attribute? :foursquare_type, Types::String
        attribute? :google_place_id, Types::String
        attribute? :google_place_type, Types::String
        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_venue.rb
telegram-bot-ruby-1.0.0.rc1 lib/telegram/bot/types/inline_query_result_venue.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/types/inline_query_result_venue.rb