Sha256: eec9e2cdce870626a3d466a2bc21056b562c26409872abbe0995982fcbbb732b

Contents?: true

Size: 320 Bytes

Versions: 1

Compression:

Stored size: 320 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class BackgroundFillFreeformGradient < Base
        attribute :type, Types::String.constrained(eql: 'freeform_gradient').default('freeform_gradient')
        attribute :colors, Types::Array.of(Types::Integer)
      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_fill_freeform_gradient.rb