TDLib
Loading...
Searching...
No Matches
updateChatAccentColors Class Referencefinal

Inherits Update.

Description

Chat accent colors have changed.

Public Member Functions

void store (TlStorerToString &s, const char *field_name) const final
 updateChatAccentColors ()
 updateChatAccentColors (int53 chat_id_, int32 accent_color_id_, int64 background_custom_emoji_id_, object_ptr< upgradedGiftColors > &&upgraded_gift_colors_, int32 profile_accent_color_id_, int64 profile_background_custom_emoji_id_)
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

int32 accent_color_id_
 The new chat accent color identifier.
int64 background_custom_emoji_id_
 The new identifier of a custom emoji to be shown on the reply header and link preview background; 0 if none.
int53 chat_id_
 Chat identifier.
int32 profile_accent_color_id_
 The new chat profile accent color identifier; -1 if none.
int64 profile_background_custom_emoji_id_
 The new identifier of a custom emoji to be shown on the profile background; 0 if none.
object_ptr< upgradedGiftColors > upgraded_gift_colors_
 Color scheme based on an upgraded gift to be used for the chat instead of accent_color_id and background_custom_emoji_id; may be null if none.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ updateChatAccentColors() [1/2]

updateChatAccentColors ( )

Chat accent colors have changed.

◆ updateChatAccentColors() [2/2]

updateChatAccentColors ( int53 chat_id_,
int32 accent_color_id_,
int64 background_custom_emoji_id_,
object_ptr< upgradedGiftColors > && upgraded_gift_colors_,
int32 profile_accent_color_id_,
int64 profile_background_custom_emoji_id_ )

Chat accent colors have changed.

Parameters
[in]chat_id_Chat identifier.
[in]accent_color_id_The new chat accent color identifier.
[in]background_custom_emoji_id_The new identifier of a custom emoji to be shown on the reply header and link preview background; 0 if none.
[in]upgraded_gift_colors_Color scheme based on an upgraded gift to be used for the chat instead of accent_color_id and background_custom_emoji_id; may be null if none.
[in]profile_accent_color_id_The new chat profile accent color identifier; -1 if none.
[in]profile_background_custom_emoji_id_The new identifier of a custom emoji to be shown on the profile background; 0 if none.

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: