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

Inherits UserPrivacySettingRule.

Description

A rule to restrict all specified users from doing something.

Public Member Functions

void store (TlStorerToString &s, const char *field_name) const final
 userPrivacySettingRuleRestrictUsers ()
 userPrivacySettingRuleRestrictUsers (array< int53 > &&user_ids_)
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

array< int53 > user_ids_
 The user identifiers, total number of users in all rules must not exceed 1000.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ userPrivacySettingRuleRestrictUsers() [1/2]

userPrivacySettingRuleRestrictUsers ( )

A rule to restrict all specified users from doing something.

◆ userPrivacySettingRuleRestrictUsers() [2/2]

userPrivacySettingRuleRestrictUsers ( array< int53 > && user_ids_)
explicit

A rule to restrict all specified users from doing something.

Parameters
[in]user_ids_The user identifiers, total number of users in all rules must not exceed 1000.

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: