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

Inherits Update.

Description

The freeze state of the current user's account has changed.

Public Fields

bool is_frozen_
 True, if the account is frozen.
 
int32 freezing_date_
 Point in time (Unix timestamp) when the account was frozen; 0 if the account isn't frozen.
 
int32 deletion_date_
 Point in time (Unix timestamp) when the account will be deleted and can't be unfrozen; 0 if the account isn't frozen.
 
string appeal_link_
 The link to open to send an appeal to unfreeze the account.
 

Public Instance Methods

 updateFreezeState ()
 
 updateFreezeState (bool is_frozen_, int32 freezing_date_, int32 deletion_date_, string const &appeal_link_)
 
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 = 1692410540
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ updateFreezeState() [1/2]

The freeze state of the current user's account has changed.

◆ updateFreezeState() [2/2]

updateFreezeState ( bool  is_frozen_,
int32  freezing_date_,
int32  deletion_date_,
string const &  appeal_link_ 
)

The freeze state of the current user's account has changed.

Parameters
[in]is_frozen_True, if the account is frozen.
[in]freezing_date_Point in time (Unix timestamp) when the account was frozen; 0 if the account isn't frozen.
[in]deletion_date_Point in time (Unix timestamp) when the account will be deleted and can't be unfrozen; 0 if the account isn't frozen.
[in]appeal_link_The link to open to send an appeal to unfreeze the account.

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: