All Classes Files Functions Variables Typedefs Pages
List of all members | Public Fields | Public Instance Methods | Static Public Attributes
identityDocument Class Referencefinal

Inherits Object.

Description

An identity document.

Public Fields

string number_
 Document number; 1-24 characters.
 
object_ptr< dateexpiration_date_
 Document expiration date; may be null if not applicable.
 
object_ptr< datedFilefront_side_
 Front side of the document.
 
object_ptr< datedFilereverse_side_
 Reverse side of the document; only for driver license and identity card; may be null.
 
object_ptr< datedFileselfie_
 Selfie with the document; may be null.
 
array< object_ptr< datedFile > > translation_
 List of files containing a certified English translation of the document.
 

Public Instance Methods

 identityDocument ()
 
 identityDocument (string const &number_, object_ptr< date > &&expiration_date_, object_ptr< datedFile > &&front_side_, object_ptr< datedFile > &&reverse_side_, object_ptr< datedFile > &&selfie_, array< object_ptr< datedFile >> &&translation_)
 
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 = 1001703606
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ identityDocument() [1/2]

An identity document.

◆ identityDocument() [2/2]

identityDocument ( string const &  number_,
object_ptr< date > &&  expiration_date_,
object_ptr< datedFile > &&  front_side_,
object_ptr< datedFile > &&  reverse_side_,
object_ptr< datedFile > &&  selfie_,
array< object_ptr< datedFile >> &&  translation_ 
)

An identity document.

Parameters
[in]number_Document number; 1-24 characters.
[in]expiration_date_Document expiration date; may be null if not applicable.
[in]front_side_Front side of the document.
[in]reverse_side_Reverse side of the document; only for driver license and identity card; may be null.
[in]selfie_Selfie with the document; may be null.
[in]translation_List of files containing a certified English translation of the document.

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: