Sha256: c8fb92286a3fc6cea18c7abd39d42d53e164f5d1afa494722bc33873d306da5f

Contents?: true

Size: 380 Bytes

Versions: 2

Compression:

Stored size: 380 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class LinkPreviewOptions < Base
        attribute? :is_disabled, Types::Bool
        attribute? :url, Types::String
        attribute? :prefer_small_media, Types::Bool
        attribute? :prefer_large_media, Types::Bool
        attribute? :show_above_text, Types::Bool
      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/link_preview_options.rb
telegram-bot-ruby-2.0.0 lib/telegram/bot/types/link_preview_options.rb