Class: TD::Types::Update::SelectedBackground

Inherits:
TD::Types::Update show all
Defined in:
lib/tdlib/types/update/selected_background.rb

Overview

The selected background has changed.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#backgroundTD::Types::Background?

The new selected background; may be null.

Returns:



6
7
8
# File 'lib/tdlib/types/update/selected_background.rb', line 6

def background
  @background
end

#for_dark_themeBoolean

True, if background for dark theme has changed.

Returns:

  • (Boolean)

    the current value of for_dark_theme



6
7
8
# File 'lib/tdlib/types/update/selected_background.rb', line 6

def for_dark_theme
  @for_dark_theme
end