TDLib
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
updateProfileAccentColors Class Referencefinal

Inherits Update.

Description

The list of supported accent colors for user profiles has changed.

Public Member Functions

void store (TlStorerToString &s, const char *field_name) const final
 
 updateProfileAccentColors ()
 
 updateProfileAccentColors (array< object_ptr< profileAccentColor > > &&colors_, array< int32 > &&available_accent_color_ids_)
 
- 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 > available_accent_color_ids_
 The list of accent color identifiers, which can be set through setProfileAccentColor and setChatProfileAccentColor. The colors must be shown in the specified order.
 
array< object_ptr< profileAccentColor > > colors_
 Information about supported colors.
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ updateProfileAccentColors() [1/2]

The list of supported accent colors for user profiles has changed.

◆ updateProfileAccentColors() [2/2]

updateProfileAccentColors ( array< object_ptr< profileAccentColor > > &&  colors_,
array< int32 > &&  available_accent_color_ids_ 
)

The list of supported accent colors for user profiles has changed.

Parameters
[in]colors_Information about supported colors.
[in]available_accent_color_ids_The list of accent color identifiers, which can be set through setProfileAccentColor and setChatProfileAccentColor. The colors must be shown in the specified order.

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: