Inherits Object.
An identity document to be saved to Telegram Passport.
Public Fields | |
| string | number_ |
| Document number; 1-24 characters. | |
| object_ptr< date > | expiration_date_ |
| Document expiration date; pass null if not applicable. | |
| object_ptr< InputFile > | front_side_ |
| Front side of the document. | |
| object_ptr< InputFile > | reverse_side_ |
| Reverse side of the document; only for driver license and identity card; pass null otherwise. | |
| object_ptr< InputFile > | selfie_ |
| Selfie with the document; pass null if unavailable. | |
| array< object_ptr< InputFile > > | translation_ |
| List of files containing a certified English translation of the document. | |
Public Instance Methods | |
| inputIdentityDocument () | |
| inputIdentityDocument (string const &number_, object_ptr< date > &&expiration_date_, object_ptr< InputFile > &&front_side_, object_ptr< InputFile > &&reverse_side_, object_ptr< InputFile > &&selfie_, 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 | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Static Public Attributes | |
| static const std::int32_t | ID = 767353688 |
| Identifier uniquely determining a type of the object. | |
An identity document to be saved to Telegram Passport.
| inputIdentityDocument | ( | string const & | number_, |
| object_ptr< date > && | expiration_date_, | ||
| object_ptr< InputFile > && | front_side_, | ||
| object_ptr< InputFile > && | reverse_side_, | ||
| object_ptr< InputFile > && | selfie_, | ||
| array< object_ptr< InputFile >> && | translation_ | ||
| ) |
An identity document to be saved to Telegram Passport.
| [in] | number_ | Document number; 1-24 characters. |
| [in] | expiration_date_ | Document expiration date; pass 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; pass null otherwise. |
| [in] | selfie_ | Selfie with the document; pass null if unavailable. |
| [in] | translation_ | List of files containing a certified English translation of the document. |
|
finalvirtual |