tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::upgradedGiftColors Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::upgradedGiftColors:
td::td_api::Object td::TlObject

Public Member Functions

 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 Member Functions inherited from td::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
 

Public Attributes

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.
 

Static Public Attributes

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

Detailed Description

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

Definition at line 84068 of file td_api.h.

Constructor & Destructor Documentation

◆ upgradedGiftColors() [1/2]

td::td_api::upgradedGiftColors::upgradedGiftColors ( )

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

◆ upgradedGiftColors() [2/2]

td::td_api::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_ 
)

Contains information about color scheme for user&#x27;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.

Member Function Documentation

◆ store()

void td::td_api::upgradedGiftColors::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 td::TlObject.

Member Data Documentation

◆ dark_theme_accent_color_

int32 td::td_api::upgradedGiftColors::dark_theme_accent_color_

Accent color to use in dark themes in RGB format.

Definition at line 84089 of file td_api.h.

◆ dark_theme_colors_

array<int32> td::td_api::upgradedGiftColors::dark_theme_colors_

The list of 1-3 colors in RGB format, describing the accent color, as expected to be shown in dark themes.

Definition at line 84091 of file td_api.h.

◆ ID

const std::int32_t td::td_api::upgradedGiftColors::ID = 743567702
static

Identifier uniquely determining a type of the object.

Definition at line 84112 of file td_api.h.

◆ id_

int64 td::td_api::upgradedGiftColors::id_

Unique identifier of the upgraded gift colors.

Definition at line 84079 of file td_api.h.

◆ light_theme_accent_color_

int32 td::td_api::upgradedGiftColors::light_theme_accent_color_

Accent color to use in light themes in RGB format.

Definition at line 84085 of file td_api.h.

◆ light_theme_colors_

array<int32> td::td_api::upgradedGiftColors::light_theme_colors_

The list of 1-3 colors in RGB format, describing the accent color, as expected to be shown in light themes.

Definition at line 84087 of file td_api.h.

◆ model_custom_emoji_id_

int64 td::td_api::upgradedGiftColors::model_custom_emoji_id_

Custom emoji identifier of the model of the upgraded gift.

Definition at line 84081 of file td_api.h.

◆ symbol_custom_emoji_id_

int64 td::td_api::upgradedGiftColors::symbol_custom_emoji_id_

Custom emoji identifier of the symbol of the upgraded gift.

Definition at line 84083 of file td_api.h.


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