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

Inherits Update.

Description

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

Public Member Functions

void store (TlStorerToString &s, const char *field_name) const final
 updateFreezeState ()
 updateFreezeState (bool is_frozen_, int32 freezing_date_, int32 deletion_date_, string const &appeal_link_)
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

string appeal_link_
 The link to open to send an appeal to unfreeze the account.
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.
int32 freezing_date_
 Point in time (Unix timestamp) when the account was frozen; 0 if the account isn't frozen.
bool is_frozen_
 True, if the account is frozen.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ updateFreezeState() [1/2]

updateFreezeState ( )

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.

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: