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

Inherits Object.

Description

Contains a description of the required Telegram Passport element that was requested by a service.

Public Member Functions

 passportRequiredElement ()
 passportRequiredElement (array< object_ptr< passportSuitableElement > > &&suitable_elements_)
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

array< object_ptr< passportSuitableElement > > suitable_elements_
 List of Telegram Passport elements any of which is enough to provide.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ passportRequiredElement() [1/2]

passportRequiredElement ( )

Contains a description of the required Telegram Passport element that was requested by a service.

◆ passportRequiredElement() [2/2]

passportRequiredElement ( array< object_ptr< passportSuitableElement > > && suitable_elements_)
explicit

Contains a description of the required Telegram Passport element that was requested by a service.

Parameters
[in]suitable_elements_List of Telegram Passport elements any of which is enough to provide.

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: