Sha256: b568e9713caf5fd1542c76532a3e0106c5fd81ecd1edbb58ded545ac202da112

Contents?: true

Size: 909 Bytes

Versions: 2

Compression:

Stored size: 909 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class InlineQueryResultVenue < Base
        attribute :type, Types::String.constrained(eql: 'venue').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? :thumbnail_url, Types::String
        attribute? :thumbnail_width, Types::Integer
        attribute? :thumbnail_height, Types::Integer
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
telegram-bot-ruby-2.1.0 lib/telegram/bot/types/inline_query_result_venue.rb
telegram-bot-ruby-2.0.0 lib/telegram/bot/types/inline_query_result_venue.rb