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

Inherits SuggestedAction.

Description

Suggests the user to add login email address. Call isLoginEmailAddressRequired, and then setLoginEmailAddress or checkLoginEmailAddressCode to change the login email address.

Public Member Functions

void store (TlStorerToString &s, const char *field_name) const final
 suggestedActionSetLoginEmailAddress ()
 suggestedActionSetLoginEmailAddress (bool can_be_hidden_)
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 can_be_hidden_
 True, if the suggested action can be hidden using hideSuggestedAction. Otherwise, the user must not be able to use the application without setting up the email address.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ suggestedActionSetLoginEmailAddress() [1/2]

suggestedActionSetLoginEmailAddress ( )

Suggests the user to add login email address. Call isLoginEmailAddressRequired, and then setLoginEmailAddress or checkLoginEmailAddressCode to change the login email address.

◆ suggestedActionSetLoginEmailAddress() [2/2]

suggestedActionSetLoginEmailAddress ( bool can_be_hidden_)
explicit

Suggests the user to add login email address. Call isLoginEmailAddressRequired, and then setLoginEmailAddress or checkLoginEmailAddressCode to change the login email address.

Parameters
[in]can_be_hidden_True, if the suggested action can be hidden using hideSuggestedAction. Otherwise, the user must not be able to use the application without setting up the email address.

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: