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)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
Main color used in dark themes; RGB format
List of 1-3 additional colors used in dark themes; RGB format
Main color used in light themes; RGB format
List of 1-3 additional colors used in light themes; RGB format