Sha256: 62ae3354991aa67643e17210882f6d472ad8498030a710e2104a5271bd019f40

Contents?: true

Size: 676 Bytes

Versions: 2

Compression:

Stored size: 676 Bytes

Contents

module TD::Types
  # A PNG or TGV (gzipped subset of SVG with MIME type "application/x-tgwallpattern") pattern to be combined with the
  #   background fill chosen by the user.
  #
  # @attr fill [TD::Types::BackgroundFill] Description of the background fill.
  # @attr intensity [Integer] Intensity of the pattern when it is shown above the filled background; 0-100.
  # @attr is_moving [Boolean] True, if the background needs to be slightly moved when device is tilted.
  class BackgroundType::Pattern < BackgroundType
    attribute :fill, TD::Types::BackgroundFill
    attribute :intensity, TD::Types::Coercible::Integer
    attribute :is_moving, TD::Types::Bool
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/background_type/pattern.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/background_type/pattern.rb