List of all members | Public Fields | Public Instance Methods | Static Public Attributes
messageChatHasProtectedContentToggled Class Referencefinal

Inherits MessageContent.

Description

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

Public Fields

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.
 
bool old_has_protected_content_
 Previous value of the setting.
 
bool new_has_protected_content_
 New value of the setting.
 

Public Instance Methods

 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 Instance Methods inherited from 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
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ messageChatHasProtectedContentToggled() [1/2]

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.

Method 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: