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::accentColor Class Referencefinal

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

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

Public Member Functions

 accentColor ()
 
 accentColor (int32 id_, int32 built_in_accent_color_id_, array< int32 > &&light_theme_colors_, array< int32 > &&dark_theme_colors_, int32 min_channel_chat_boost_level_)
 
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

int32 id_
 Accent color identifier.
 
int32 built_in_accent_color_id_
 Identifier of a built-in color to use in places, where only one color is needed; 0-6.
 
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.
 
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.
 
int32 min_channel_chat_boost_level_
 The minimum chat boost level required to use the color in a channel chat.
 

Static Public Attributes

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

Detailed Description

Contains information about supported accent color for user/chat name, background of empty chat photo, replies to messages and link previews.

Definition at line 182 of file td_api.h.

Constructor & Destructor Documentation

◆ accentColor() [1/2]

td::td_api::accentColor::accentColor ( )

Contains information about supported accent color for user/chat name, background of empty chat photo, replies to messages and link previews.

◆ accentColor() [2/2]

td::td_api::accentColor::accentColor ( int32  id_,
int32  built_in_accent_color_id_,
array< int32 > &&  light_theme_colors_,
array< int32 > &&  dark_theme_colors_,
int32  min_channel_chat_boost_level_ 
)

Contains information about supported accent color for user/chat name, background of empty chat photo, replies to messages and link previews.

Parameters
[in]id_Accent color identifier.
[in]built_in_accent_color_id_Identifier of a built-in color to use in places, where only one color is needed; 0-6.
[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_colors_The list of 1-3 colors in RGB format, describing the accent color, as expected to be shown in dark themes.
[in]min_channel_chat_boost_level_The minimum chat boost level required to use the color in a channel chat.

Member Function Documentation

◆ store()

void td::td_api::accentColor::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

◆ built_in_accent_color_id_

int32 td::td_api::accentColor::built_in_accent_color_id_

Identifier of a built-in color to use in places, where only one color is needed; 0-6.

Definition at line 195 of file td_api.h.

◆ dark_theme_colors_

array<int32> td::td_api::accentColor::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 199 of file td_api.h.

◆ ID

const std::int32_t td::td_api::accentColor::ID = -496870680
static

Identifier uniquely determining a type of the object.

Definition at line 220 of file td_api.h.

◆ id_

int32 td::td_api::accentColor::id_

Accent color identifier.

Definition at line 193 of file td_api.h.

◆ light_theme_colors_

array<int32> td::td_api::accentColor::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 197 of file td_api.h.

◆ min_channel_chat_boost_level_

int32 td::td_api::accentColor::min_channel_chat_boost_level_

The minimum chat boost level required to use the color in a channel chat.

Definition at line 201 of file td_api.h.


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