Class: TD::Types::PaymentFormTheme

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

Overview

Theme colors for a payment form.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#background_colorInteger

A color of the payment form background in the RGB24 format.

Returns:

  • (Integer)

    the current value of background_color



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

def background_color
  @background_color
end

#button_colorInteger

A color of thebuttons in the RGB24 format.

Returns:

  • (Integer)

    the current value of button_color



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

def button_color
  @button_color
end

#button_text_colorInteger

A color of text on the buttons in the RGB24 format.

Returns:

  • (Integer)

    the current value of button_text_color



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

def button_text_color
  @button_text_color
end

#hint_colorInteger

A color of hints in the RGB24 format.

Returns:

  • (Integer)

    the current value of hint_color



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

def hint_color
  @hint_color
end

A color of links in the RGB24 format.

Returns:

  • (Integer)

    the current value of link_color



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

def link_color
  @link_color
end

#text_colorInteger

A color of text in the RGB24 format.

Returns:

  • (Integer)

    the current value of text_color



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

def text_color
  @text_color
end