class

Tourmaline::UniqueGiftColors

Inherits JSON::Serializable < Reference < Object

This object contains information about the color scheme for a user's name, message replies and link previews based on a unique gift.

Constructors

new(model_custom_emoji_id : String, symbol_custom_emoji_id : String, light_theme_main_color : Int32 | Int64, dark_theme_main_color : Int32 | Int64, light_theme_other_colors : Array(Int32 | Int64) = [] of Int32 | Int64, dark_theme_other_colors : Array(Int32 | Int64) = [] of Int32 | Int64)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

dark_theme_main_color

Main color used in dark themes; RGB format

Source
dark_theme_main_color=(dark_theme_main_color : Int32 | Int64)

Main color used in dark themes; RGB format

Source
dark_theme_other_colors

List of 1-3 additional colors used in dark themes; RGB format

Source
dark_theme_other_colors=(dark_theme_other_colors : Array(Int32 | Int64))

List of 1-3 additional colors used in dark themes; RGB format

Source
light_theme_main_color

Main color used in light themes; RGB format

Source
light_theme_main_color=(light_theme_main_color : Int32 | Int64)

Main color used in light themes; RGB format

Source
light_theme_other_colors

List of 1-3 additional colors used in light themes; RGB format

Source
light_theme_other_colors=(light_theme_other_colors : Array(Int32 | Int64))

List of 1-3 additional colors used in light themes; RGB format

Source
model_custom_emoji_id

Custom emoji identifier of the unique gift's model

Source
model_custom_emoji_id=(model_custom_emoji_id : String)

Custom emoji identifier of the unique gift's model

Source
symbol_custom_emoji_id

Custom emoji identifier of the unique gift's symbol

Source
symbol_custom_emoji_id=(symbol_custom_emoji_id : String)

Custom emoji identifier of the unique gift's symbol

Source