tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::updateAccentColors Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::updateAccentColors:
td::td_api::Update td::td_api::Object td::TlObject

Public Member Functions

 updateAccentColors ()
 
 updateAccentColors (array< object_ptr< accentColor > > &&colors_, array< int32 > &&available_accent_color_ids_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Member Functions inherited from td::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
 

Public Attributes

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&#x27;t included in the list. The exact colors for the accent colors with identifiers 0-6 must be taken from the application 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 specified order.
 

Static Public Attributes

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

Detailed Description

The list of supported accent colors has changed.

Definition at line 81037 of file td_api.h.

Constructor & Destructor Documentation

◆ updateAccentColors() [1/2]

td::td_api::updateAccentColors::updateAccentColors ( )

The list of supported accent colors has changed.

◆ updateAccentColors() [2/2]

td::td_api::updateAccentColors::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&#x27;t included in the list. The exact colors for the accent colors with identifiers 0-6 must be taken from the application 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 specified order.

Member Function Documentation

◆ store()

void td::td_api::updateAccentColors::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 td::TlObject.

Member Data Documentation

◆ available_accent_color_ids_

array<int32> td::td_api::updateAccentColors::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 specified order.

Definition at line 81050 of file td_api.h.

◆ colors_

array<object_ptr<accentColor> > td::td_api::updateAccentColors::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&#x27;t included in the list. The exact colors for the accent colors with identifiers 0-6 must be taken from the application theme.

Definition at line 81048 of file td_api.h.

◆ ID

const std::int32_t td::td_api::updateAccentColors::ID = -1197047738
static

Identifier uniquely determining a type of the object.

Definition at line 81066 of file td_api.h.


The documentation for this class was generated from the following file: