Inherits Object.
Contains information about supported accent color for user profile photo background.
Public Fields | |
int32 | id_ |
Profile accent color identifier. | |
object_ptr< profileAccentColors > | light_theme_colors_ |
Accent colors expected to be used in light themes. | |
object_ptr< profileAccentColors > | dark_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 | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = 557679253 |
Identifier uniquely determining a type of the object. | |
Contains information about supported accent color for user profile photo background.
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.
[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. |
|
finalvirtual |