Sha256: bac910a74364867ec544ab16b08bbdc3bd01fee9bdf61fc73f9217a32bc08744

Contents?: true

Size: 417 Bytes

Versions: 1

Compression:

Stored size: 417 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class BackgroundTypeWallpaper < Base
        attribute :type, Types::String.constrained(eql: 'wallpaper').default('wallpaper')
        attribute :document, Document
        attribute :dark_theme_dimming, Types::Integer
        attribute? :is_blurred, 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_wallpaper.rb