Inherits td::td_api::Object.
|
string | number_ |
| Document number; 1-24 characters.
|
|
object_ptr< date > | expiration_date_ |
| Document expiration date; may be null if not applicable.
|
|
object_ptr< datedFile > | front_side_ |
| Front side of the document.
|
|
object_ptr< datedFile > | reverse_side_ |
| Reverse side of the document; only for driver license and identity card; may be null.
|
|
object_ptr< datedFile > | selfie_ |
| Selfie with the document; may be null.
|
|
array< object_ptr< datedFile > > | translation_ |
| List of files containing a certified English translation of the document.
|
|
|
static const std::int32_t | ID = 1001703606 |
| Identifier uniquely determining a type of the object.
|
|
◆ identityDocument() [1/2]
td::td_api::identityDocument::identityDocument |
( |
| ) |
|
◆ identityDocument() [2/2]
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. |
◆ get_id()
std::int32_t td::td_api::identityDocument::get_id |
( |
| ) |
const |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
- Returns
- this->ID.
Implements td::TlObject.
◆ store()
void td::td_api::identityDocument::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] | s | Storer to which object string representation will be appended. |
[in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
The documentation for this class was generated from the following file: