List of all members | Public Fields | Public Instance Methods | Static Public Attributes
upgradedGiftColors Class Referencefinal

Inherits Object.

Description

Contains information about color scheme for user's name, background of empty chat photo, replies to messages and link previews.

Public Fields

int64 id_
 Unique identifier of the upgraded gift colors.
 
int64 model_custom_emoji_id_
 Custom emoji identifier of the model of the upgraded gift.
 
int64 symbol_custom_emoji_id_
 Custom emoji identifier of the symbol of the upgraded gift.
 
int32 light_theme_accent_color_
 Accent color to use in light themes in RGB format.
 
array< int32light_theme_colors_
 The list of 1-3 colors in RGB format, describing the accent color, as expected to be shown in light themes.
 
int32 dark_theme_accent_color_
 Accent color to use in dark themes in RGB format.
 
array< int32dark_theme_colors_
 The list of 1-3 colors in RGB format, describing the accent color, as expected to be shown in dark themes.
 

Public Instance Methods

 upgradedGiftColors ()
 
 upgradedGiftColors (int64 id_, int64 model_custom_emoji_id_, int64 symbol_custom_emoji_id_, int32 light_theme_accent_color_, array< int32 > &&light_theme_colors_, int32 dark_theme_accent_color_, array< int32 > &&dark_theme_colors_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Instance Methods inherited from TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Static Public Attributes

static const std::int32_t ID = 743567702
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ upgradedGiftColors() [1/2]

Contains information about color scheme for user's name, background of empty chat photo, replies to messages and link previews.

◆ upgradedGiftColors() [2/2]

upgradedGiftColors ( int64  id_,
int64  model_custom_emoji_id_,
int64  symbol_custom_emoji_id_,
int32  light_theme_accent_color_,
array< int32 > &&  light_theme_colors_,
int32  dark_theme_accent_color_,
array< int32 > &&  dark_theme_colors_ 
)

Contains information about color scheme for user's name, background of empty chat photo, replies to messages and link previews.

Parameters
[in]id_Unique identifier of the upgraded gift colors.
[in]model_custom_emoji_id_Custom emoji identifier of the model of the upgraded gift.
[in]symbol_custom_emoji_id_Custom emoji identifier of the symbol of the upgraded gift.
[in]light_theme_accent_color_Accent color to use in light themes in RGB format.
[in]light_theme_colors_The list of 1-3 colors in RGB format, describing the accent color, as expected to be shown in light themes.
[in]dark_theme_accent_color_Accent color to use in dark themes in RGB format.
[in]dark_theme_colors_The list of 1-3 colors in RGB format, describing the accent color, as expected to be shown in dark themes.

Method Documentation

◆ store()

void store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements TlObject.


The documentation for this class was generated from the following file: