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

Inherits AuthorizationState.

Description

The user needs to confirm authorization on another logged in device by scanning a QR code with the provided link.

Public Member Functions

 authorizationStateWaitOtherDeviceConfirmation ()
 authorizationStateWaitOtherDeviceConfirmation (string const &link_)
void store (TlStorerToString &s, const char *field_name) const final
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 link_
 A tg:// URL for the QR code. The link will be updated frequently.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ authorizationStateWaitOtherDeviceConfirmation() [1/2]

authorizationStateWaitOtherDeviceConfirmation ( )

The user needs to confirm authorization on another logged in device by scanning a QR code with the provided link.

◆ authorizationStateWaitOtherDeviceConfirmation() [2/2]

authorizationStateWaitOtherDeviceConfirmation ( string const & link_)
explicit

The user needs to confirm authorization on another logged in device by scanning a QR code with the provided link.

Parameters
[in]link_A tg:// URL for the QR code. The link will be updated frequently.

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: