Class: TD::Types::ChatBackground

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/chat_background.rb

Overview

Describes a background set for a specific chat.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#backgroundTD::Types::Background

The background.

Returns:



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

def background
  @background
end

#dark_theme_dimmingInteger

Dimming of the background in dark themes, as a percentage; 0-100. Applied only to Wallpaper and Fill types of background.

Returns:

  • (Integer)

    the current value of dark_theme_dimming



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

def dark_theme_dimming
  @dark_theme_dimming
end