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

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

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

Public Member Functions

 themeSettings ()
 
 themeSettings (object_ptr< BuiltInTheme > &&base_theme_, int32 accent_color_, object_ptr< background > &&background_, object_ptr< BackgroundFill > &&outgoing_message_fill_, bool animate_outgoing_message_fill_, int32 outgoing_message_accent_color_)
 
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

object_ptr< BuiltInThemebase_theme_
 Base theme for this theme.
 
int32 accent_color_
 Theme accent color in ARGB format.
 
object_ptr< backgroundbackground_
 The background to be used in chats; may be null.
 
object_ptr< BackgroundFilloutgoing_message_fill_
 The fill to be used as a background for outgoing messages; may be null if the fill from the base theme must be used instead.
 
bool animate_outgoing_message_fill_
 If true, the freeform gradient fill needs to be animated on every sent message.
 
int32 outgoing_message_accent_color_
 Accent color of outgoing messages in ARGB format.
 

Static Public Attributes

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

Detailed Description

Describes theme settings.

Definition at line 74055 of file td_api.h.

Constructor & Destructor Documentation

◆ themeSettings() [1/2]

td::td_api::themeSettings::themeSettings ( )

Describes theme settings.

◆ themeSettings() [2/2]

td::td_api::themeSettings::themeSettings ( object_ptr< BuiltInTheme > &&  base_theme_,
int32  accent_color_,
object_ptr< background > &&  background_,
object_ptr< BackgroundFill > &&  outgoing_message_fill_,
bool  animate_outgoing_message_fill_,
int32  outgoing_message_accent_color_ 
)

Describes theme settings.

Parameters
[in]base_theme_Base theme for this theme.
[in]accent_color_Theme accent color in ARGB format.
[in]background_The background to be used in chats; may be null.
[in]outgoing_message_fill_The fill to be used as a background for outgoing messages; may be null if the fill from the base theme must be used instead.
[in]animate_outgoing_message_fill_If true, the freeform gradient fill needs to be animated on every sent message.
[in]outgoing_message_accent_color_Accent color of outgoing messages in ARGB format.

Member Function Documentation

◆ store()

void td::td_api::themeSettings::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

◆ accent_color_

int32 td::td_api::themeSettings::accent_color_

Theme accent color in ARGB format.

Definition at line 74068 of file td_api.h.

◆ animate_outgoing_message_fill_

bool td::td_api::themeSettings::animate_outgoing_message_fill_

If true, the freeform gradient fill needs to be animated on every sent message.

Definition at line 74074 of file td_api.h.

◆ background_

object_ptr<background> td::td_api::themeSettings::background_

The background to be used in chats; may be null.

Definition at line 74070 of file td_api.h.

◆ base_theme_

object_ptr<BuiltInTheme> td::td_api::themeSettings::base_theme_

Base theme for this theme.

Definition at line 74066 of file td_api.h.

◆ ID

const std::int32_t td::td_api::themeSettings::ID = 1935106938
static

Identifier uniquely determining a type of the object.

Definition at line 74096 of file td_api.h.

◆ outgoing_message_accent_color_

int32 td::td_api::themeSettings::outgoing_message_accent_color_

Accent color of outgoing messages in ARGB format.

Definition at line 74076 of file td_api.h.

◆ outgoing_message_fill_

object_ptr<BackgroundFill> td::td_api::themeSettings::outgoing_message_fill_

The fill to be used as a background for outgoing messages; may be null if the fill from the base theme must be used instead.

Definition at line 74072 of file td_api.h.


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