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

Inherits Update.

Description

The list of supported accent colors has changed.

Public Fields

array< object_ptr< accentColor > > colors_
 Information about supported colors; colors with identifiers 0 (red), 1 (orange), 2 (purple/violet), 3 (green), 4 (cyan), 5 (blue), 6 (pink) must always be supported and aren't included in the list. The exact colors for the accent colors with identifiers 0-6 must be taken from the app theme.
 
array< int32available_accent_color_ids_
 The list of accent color identifiers, which can be set through setAccentColor and setChatAccentColor. The colors must be shown in the specififed order.
 

Public Instance Methods

 updateAccentColors ()
 
 updateAccentColors (array< object_ptr< accentColor >> &&colors_, array< int32 > &&available_accent_color_ids_)
 
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 = -1197047738
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ updateAccentColors() [1/2]

The list of supported accent colors has changed.

◆ updateAccentColors() [2/2]

updateAccentColors ( array< object_ptr< accentColor >> &&  colors_,
array< int32 > &&  available_accent_color_ids_ 
)

The list of supported accent colors has changed.

Parameters
[in]colors_Information about supported colors; colors with identifiers 0 (red), 1 (orange), 2 (purple/violet), 3 (green), 4 (cyan), 5 (blue), 6 (pink) must always be supported and aren't included in the list. The exact colors for the accent colors with identifiers 0-6 must be taken from the app theme.
[in]available_accent_color_ids_The list of accent color identifiers, which can be set through setAccentColor and setChatAccentColor. The colors must be shown in the specififed order.

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: