Class: TD::Types::BackgroundType::Wallpaper

Inherits:
TD::Types::BackgroundType show all
Defined in:
lib/tdlib/types/background_type/wallpaper.rb

Overview

A wallpaper in JPEG format.

Instance Attribute Summary collapse

Method Summary

Methods inherited from TD::Types::Base

#to_hash, #to_json

Instance Attribute Details

#is_blurredBoolean

True, if the wallpaper must be downscaled to fit in 450x450 square and then box-blurred with radius 12.

Returns:

  • (Boolean)

    the current value of is_blurred



7
8
9
# File 'lib/tdlib/types/background_type/wallpaper.rb', line 7

def is_blurred
  @is_blurred
end

#is_movingBoolean

True, if the background needs to be slightly moved when device is tilted.

Returns:

  • (Boolean)

    the current value of is_moving



7
8
9
# File 'lib/tdlib/types/background_type/wallpaper.rb', line 7

def is_moving
  @is_moving
end