Class: TD::Types::ThemeSettings

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

Overview

Describes theme settings.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#accent_colorInteger

Theme accent color in ARGB format.

Returns:

  • (Integer)

    the current value of accent_color



10
11
12
# File 'lib/tdlib/types/theme_settings.rb', line 10

def accent_color
  @accent_color
end

#animate_outgoing_message_fillBoolean

If true, the freeform gradient fill needs to be animated on every sent message.

Returns:

  • (Boolean)

    the current value of animate_outgoing_message_fill



10
11
12
# File 'lib/tdlib/types/theme_settings.rb', line 10

def animate_outgoing_message_fill
  @animate_outgoing_message_fill
end

#backgroundTD::Types::Background?

The background to be used in chats; may be null.

Returns:



10
11
12
# File 'lib/tdlib/types/theme_settings.rb', line 10

def background
  @background
end

#outgoing_message_accent_colorInteger

Accent color of outgoing messages in ARGB format.

Returns:

  • (Integer)

    the current value of outgoing_message_accent_color



10
11
12
# File 'lib/tdlib/types/theme_settings.rb', line 10

def outgoing_message_accent_color
  @outgoing_message_accent_color
end

#outgoing_message_fillTD::Types::BackgroundFill

The fill to be used as a background for outgoing messages.

Returns:



10
11
12
# File 'lib/tdlib/types/theme_settings.rb', line 10

def outgoing_message_fill
  @outgoing_message_fill
end