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

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

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

Public Member Functions

 profileAccentColor ()
 
 profileAccentColor (int32 id_, object_ptr< profileAccentColors > &&light_theme_colors_, object_ptr< profileAccentColors > &&dark_theme_colors_, int32 min_supergroup_chat_boost_level_, 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_
 Profile accent color identifier.
 
object_ptr< profileAccentColorslight_theme_colors_
 Accent colors expected to be used in light themes.
 
object_ptr< profileAccentColorsdark_theme_colors_
 Accent colors expected to be used in dark themes.
 
int32 min_supergroup_chat_boost_level_
 The minimum chat boost level required to use the color in a supergroup chat.
 
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 = 557679253
 Identifier uniquely determining a type of the object.
 

Detailed Description

Contains information about supported accent color for user profile photo background.

Definition at line 55253 of file td_api.h.

Constructor & Destructor Documentation

◆ profileAccentColor() [1/2]

td::td_api::profileAccentColor::profileAccentColor ( )

Contains information about supported accent color for user profile photo background.

◆ profileAccentColor() [2/2]

td::td_api::profileAccentColor::profileAccentColor ( int32  id_,
object_ptr< profileAccentColors > &&  light_theme_colors_,
object_ptr< profileAccentColors > &&  dark_theme_colors_,
int32  min_supergroup_chat_boost_level_,
int32  min_channel_chat_boost_level_ 
)

Contains information about supported accent color for user profile photo background.

Parameters
[in]id_Profile accent color identifier.
[in]light_theme_colors_Accent colors expected to be used in light themes.
[in]dark_theme_colors_Accent colors expected to be used in dark themes.
[in]min_supergroup_chat_boost_level_The minimum chat boost level required to use the color in a supergroup chat.
[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::profileAccentColor::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_colors_

object_ptr<profileAccentColors> td::td_api::profileAccentColor::dark_theme_colors_

Accent colors expected to be used in dark themes.

Definition at line 55268 of file td_api.h.

◆ ID

const std::int32_t td::td_api::profileAccentColor::ID = 557679253
static

Identifier uniquely determining a type of the object.

Definition at line 55291 of file td_api.h.

◆ id_

int32 td::td_api::profileAccentColor::id_

Profile accent color identifier.

Definition at line 55264 of file td_api.h.

◆ light_theme_colors_

object_ptr<profileAccentColors> td::td_api::profileAccentColor::light_theme_colors_

Accent colors expected to be used in light themes.

Definition at line 55266 of file td_api.h.

◆ min_channel_chat_boost_level_

int32 td::td_api::profileAccentColor::min_channel_chat_boost_level_

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

Definition at line 55272 of file td_api.h.

◆ min_supergroup_chat_boost_level_

int32 td::td_api::profileAccentColor::min_supergroup_chat_boost_level_

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

Definition at line 55270 of file td_api.h.


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