Sha256: 2197d13a9eb54e06a5d9c954fc78d36f5c1a2155601fa65fd64cc8ece1223929

Contents?: true

Size: 443 Bytes

Versions: 1

Compression:

Stored size: 443 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class BackgroundTypePattern < Base
        attribute :type, Types::String.constrained(eql: 'pattern').default('pattern')
        attribute :document, Document
        attribute :fill, BackgroundFill
        attribute :intensity, Types::Integer
        attribute? :is_inverted, Types::True
        attribute? :is_moving, Types::True
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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