List of all members | Public Fields | Public Instance Methods | Static Public Attributes
inputPersonalDocument Class Referencefinal

Inherits Object.

Description

A personal document to be saved to Telegram Passport.

Public Fields

array< object_ptr< InputFile > > files_
 List of files containing the pages of the document.
 
array< object_ptr< InputFile > > translation_
 List of files containing a certified English translation of the document.
 

Public Instance Methods

 inputPersonalDocument ()
 
 inputPersonalDocument (array< object_ptr< InputFile >> &&files_, array< object_ptr< InputFile >> &&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 = 1676966826
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ inputPersonalDocument() [1/2]

A personal document to be saved to Telegram Passport.

◆ inputPersonalDocument() [2/2]

inputPersonalDocument ( array< object_ptr< InputFile >> &&  files_,
array< object_ptr< InputFile >> &&  translation_ 
)

A personal document to be saved to Telegram Passport.

Parameters
[in]files_List of files containing the pages of the document.
[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: