class Tourmaline::UniqueGiftColors

Overview

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

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.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) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def dark_theme_main_color : Int32 | Int64 #

Main color used in dark themes; RGB format


[View source]
def dark_theme_main_color=(dark_theme_main_color : Int32 | Int64) #

Main color used in dark themes; RGB format


[View source]
def dark_theme_other_colors : Array(Int32 | Int64) #

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


[View source]
def dark_theme_other_colors=(dark_theme_other_colors : Array(Int32 | Int64)) #

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


[View source]
def light_theme_main_color : Int32 | Int64 #

Main color used in light themes; RGB format


[View source]
def light_theme_main_color=(light_theme_main_color : Int32 | Int64) #

Main color used in light themes; RGB format


[View source]
def light_theme_other_colors : Array(Int32 | Int64) #

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


[View source]
def light_theme_other_colors=(light_theme_other_colors : Array(Int32 | Int64)) #

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


[View source]
def model_custom_emoji_id : String #

Custom emoji identifier of the unique gift's model


[View source]
def model_custom_emoji_id=(model_custom_emoji_id : String) #

Custom emoji identifier of the unique gift's model


[View source]
def symbol_custom_emoji_id : String #

Custom emoji identifier of the unique gift's symbol


[View source]
def symbol_custom_emoji_id=(symbol_custom_emoji_id : String) #

Custom emoji identifier of the unique gift's symbol


[View source]