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::profileAccentColors Class Referencefinal

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

Inheritance diagram for td::td_api::profileAccentColors:
td::td_api::Object td::TlObject

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 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< 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.
 

Static Public Attributes

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

Detailed Description

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

Definition at line 55304 of file td_api.h.

Constructor & Destructor Documentation

◆ profileAccentColors() [1/2]

td::td_api::profileAccentColors::profileAccentColors ( )

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

◆ profileAccentColors() [2/2]

td::td_api::profileAccentColors::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 td::td_api::profileAccentColors::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

◆ background_colors_

array<int32> td::td_api::profileAccentColors::background_colors_

The list of 1-2 colors in RGB format, describing the colors, as expected to be used for the profile photo background.

Definition at line 55317 of file td_api.h.

◆ ID

const std::int32_t td::td_api::profileAccentColors::ID = -596042431
static

Identifier uniquely determining a type of the object.

Definition at line 55336 of file td_api.h.

◆ palette_colors_

array<int32> td::td_api::profileAccentColors::palette_colors_

The list of 1-2 colors in RGB format, describing the colors, as expected to be shown in the color palette settings.

Definition at line 55315 of file td_api.h.

◆ story_colors_

array<int32> td::td_api::profileAccentColors::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.

Definition at line 55319 of file td_api.h.


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