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

Inherits MessageContent.

Description

Chat has_protected_content setting was changed or request to change it was rejected.

Public Member Functions

 messageChatHasProtectedContentToggled ()
 messageChatHasProtectedContentToggled (int53 request_message_id_, bool old_has_protected_content_, bool new_has_protected_content_)
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

bool new_has_protected_content_
 New value of the setting.
bool old_has_protected_content_
 Previous value of the setting.
int53 request_message_id_
 Identifier of the message with the request to change the setting; can be an identifier of a deleted message or 0.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ messageChatHasProtectedContentToggled() [1/2]

messageChatHasProtectedContentToggled ( )

Chat has_protected_content setting was changed or request to change it was rejected.

◆ messageChatHasProtectedContentToggled() [2/2]

messageChatHasProtectedContentToggled ( int53 request_message_id_,
bool old_has_protected_content_,
bool new_has_protected_content_ )

Chat has_protected_content setting was changed or request to change it was rejected.

Parameters
[in]request_message_id_Identifier of the message with the request to change the setting; can be an identifier of a deleted message or 0.
[in]old_has_protected_content_Previous value of the setting.
[in]new_has_protected_content_New value of the setting.

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: