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

Inherits Object.

Description

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

Public Fields

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.
 

Public Instance Methods

 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 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 = 557679253
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ profileAccentColor() [1/2]

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

◆ profileAccentColor() [2/2]

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.

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: