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

Inherits ChatEventAction.

Description

The chat's profile accent color or profile background custom emoji were changed.

Public Member Functions

 chatEventProfileAccentColorChanged ()
 chatEventProfileAccentColorChanged (int32 old_profile_accent_color_id_, int64 old_profile_background_custom_emoji_id_, int32 new_profile_accent_color_id_, int64 new_profile_background_custom_emoji_id_)
void store (TlStorerToString &s, const char *field_name) const final
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 new_profile_accent_color_id_
 New identifier of chat's profile accent color; -1 if none.
int64 new_profile_background_custom_emoji_id_
 New identifier of the custom emoji; 0 if none.
int32 old_profile_accent_color_id_
 Previous identifier of chat's profile accent color; -1 if none.
int64 old_profile_background_custom_emoji_id_
 Previous identifier of the custom emoji; 0 if none.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ chatEventProfileAccentColorChanged() [1/2]

chatEventProfileAccentColorChanged ( )

The chat's profile accent color or profile background custom emoji were changed.

◆ chatEventProfileAccentColorChanged() [2/2]

chatEventProfileAccentColorChanged ( int32 old_profile_accent_color_id_,
int64 old_profile_background_custom_emoji_id_,
int32 new_profile_accent_color_id_,
int64 new_profile_background_custom_emoji_id_ )

The chat's profile accent color or profile background custom emoji were changed.

Parameters
[in]old_profile_accent_color_id_Previous identifier of chat's profile accent color; -1 if none.
[in]old_profile_background_custom_emoji_id_Previous identifier of the custom emoji; 0 if none.
[in]new_profile_accent_color_id_New identifier of chat's profile accent color; -1 if none.
[in]new_profile_background_custom_emoji_id_New identifier of the custom emoji; 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: