tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::inputIdentityDocument Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::inputIdentityDocument:
td::td_api::Object td::TlObject

Public Member Functions

 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 Member Functions inherited from td::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
 

Public Attributes

string number_
 Document number; 1-24 characters.
 
object_ptr< dateexpiration_date_
 Document expiration date; pass null if not applicable.
 
object_ptr< InputFilefront_side_
 Front side of the document.
 
object_ptr< InputFilereverse_side_
 Reverse side of the document; only for driver license and identity card; pass null otherwise.
 
object_ptr< InputFileselfie_
 Selfie with the document; pass null if unavailable.
 
array< object_ptr< InputFile > > translation_
 List of files containing a certified English translation of the document.
 

Static Public Attributes

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

Detailed Description

An identity document to be saved to Telegram Passport.

Definition at line 28022 of file td_api.h.

Constructor & Destructor Documentation

◆ inputIdentityDocument() [1/2]

td::td_api::inputIdentityDocument::inputIdentityDocument ( )

An identity document to be saved to Telegram Passport.

◆ inputIdentityDocument() [2/2]

td::td_api::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_ 
)

An identity document to be saved to Telegram Passport.

Parameters
[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.

Member Function Documentation

◆ store()

void td::td_api::inputIdentityDocument::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 td::TlObject.

Member Data Documentation

◆ expiration_date_

object_ptr<date> td::td_api::inputIdentityDocument::expiration_date_

Document expiration date; pass null if not applicable.

Definition at line 28035 of file td_api.h.

◆ front_side_

object_ptr<InputFile> td::td_api::inputIdentityDocument::front_side_

Front side of the document.

Definition at line 28037 of file td_api.h.

◆ ID

const std::int32_t td::td_api::inputIdentityDocument::ID = 767353688
static

Identifier uniquely determining a type of the object.

Definition at line 28063 of file td_api.h.

◆ number_

string td::td_api::inputIdentityDocument::number_

Document number; 1-24 characters.

Definition at line 28033 of file td_api.h.

◆ reverse_side_

object_ptr<InputFile> td::td_api::inputIdentityDocument::reverse_side_

Reverse side of the document; only for driver license and identity card; pass null otherwise.

Definition at line 28039 of file td_api.h.

◆ selfie_

object_ptr<InputFile> td::td_api::inputIdentityDocument::selfie_

Selfie with the document; pass null if unavailable.

Definition at line 28041 of file td_api.h.

◆ translation_

array<object_ptr<InputFile> > td::td_api::inputIdentityDocument::translation_

List of files containing a certified English translation of the document.

Definition at line 28043 of file td_api.h.


The documentation for this class was generated from the following file: