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

Inherits Object.

Description

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

Public Fields

array< int32palette_colors_
 The list of 1-2 colors in RGB format, describing the colors, as expected to be shown in the color palette settings.
 
array< int32background_colors_
 The list of 1-2 colors in RGB format, describing the colors, as expected to be used for the profile photo background.
 
array< int32story_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.
 

Public Instance Methods

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

Constructor & Destructor Documentation

◆ profileAccentColors() [1/2]

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.

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: