Sha256: b0a2f9c12bc577c1f338d144b9b1e9fd3f4eb5e8f047e61bde553de63bf92390

Contents?: true

Size: 378 Bytes

Versions: 2

Compression:

Stored size: 378 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class BackgroundFillGradient < Base
        attribute :type, Types::String.constrained(eql: 'gradient').default('gradient')
        attribute :top_color, Types::Integer
        attribute :bottom_color, Types::Integer
        attribute :rotation_angle, Types::Integer
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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