TDLib
Loading...
Searching...
No Matches
profileAccentColors Class Referencefinal

Inherits Object.

Description

Contains information about supported accent colors for user profile photo background in RGB format.

Public Member Functions

 profileAccentColors ()
 profileAccentColors (array< int32 > &&palette_colors_, array< int32 > &&background_colors_, array< int32 > &&story_colors_)
void store (TlStorerToString &s, const char *field_name) const final
Public Member Functions inherited from TlObject
TlObject & operator= (const TlObject &)=delete
TlObject & operator= (TlObject &&)=default
virtual void store (TlStorerCalcLength &s) const
virtual void store (TlStorerUnsafe &s) const
 TlObject ()=default
 TlObject (const TlObject &)=delete
 TlObject (TlObject &&)=default
virtual ~TlObject ()=default

Public Attributes

array< int32 > background_colors_
 The list of 1-2 colors in RGB format, describing the colors, as expected to be used for the profile photo background.
array< int32 > palette_colors_
 The list of 1-2 colors in RGB format, describing the colors, as expected to be shown in the color palette settings.
array< int32 > story_colors_
 The list of 2 colors in RGB format, describing the colors of the gradient to be used for the unread active story indicator around profile photo.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ profileAccentColors() [1/2]

profileAccentColors ( )

Contains information about supported accent colors for user profile photo background in RGB format.

◆ profileAccentColors() [2/2]

profileAccentColors ( array< int32 > && palette_colors_,
array< int32 > && background_colors_,
array< int32 > && story_colors_ )

Contains information about supported accent colors for user profile photo background in RGB format.

Parameters
[in]palette_colors_The list of 1-2 colors in RGB format, describing the colors, as expected to be shown in the color palette settings.
[in]background_colors_The list of 1-2 colors in RGB format, describing the colors, as expected to be used for the profile photo background.
[in]story_colors_The list of 2 colors in RGB format, describing the colors of the gradient to be used for the unread active story indicator around profile photo.

Member Function 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: