TDLib
|
Inherits td::td_api::Object.
Public Member Functions | |
encryptedPassportElement () | |
encryptedPassportElement (object_ptr< PassportElementType > &&type_, bytes const &data_, object_ptr< datedFile > &&front_side_, object_ptr< datedFile > &&reverse_side_, object_ptr< datedFile > &&selfie_, array< object_ptr< datedFile > > &&translation_, array< object_ptr< datedFile > > &&files_, string const &value_, string const &hash_) | |
std::int32_t | get_id () const final |
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 | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Public Attributes | |
object_ptr< PassportElementType > | type_ |
Type of Telegram Passport element. | |
bytes | data_ |
Encrypted JSON-encoded data about the user. | |
object_ptr< datedFile > | front_side_ |
The front side of an identity document. | |
object_ptr< datedFile > | reverse_side_ |
The reverse side of an identity document; 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. | |
array< object_ptr< datedFile > > | files_ |
List of attached files. | |
string | value_ |
Unencrypted data, phone number or email address. | |
string | hash_ |
Hash of the entire element. | |
Static Public Attributes | |
static const std::int32_t | ID = 2002386193 |
Identifier uniquely determining a type of the object. | |
Contains information about an encrypted Telegram Passport element; for bots only.
td::td_api::encryptedPassportElement::encryptedPassportElement | ( | ) |
Contains information about an encrypted Telegram Passport element; for bots only.
td::td_api::encryptedPassportElement::encryptedPassportElement | ( | object_ptr< PassportElementType > && | type_, |
bytes const & | data_, | ||
object_ptr< datedFile > && | front_side_, | ||
object_ptr< datedFile > && | reverse_side_, | ||
object_ptr< datedFile > && | selfie_, | ||
array< object_ptr< datedFile > > && | translation_, | ||
array< object_ptr< datedFile > > && | files_, | ||
string const & | value_, | ||
string const & | hash_ | ||
) |
Contains information about an encrypted Telegram Passport element; for bots only.
[in] | type_ | Type of Telegram Passport element. |
[in] | data_ | Encrypted JSON-encoded data about the user. |
[in] | front_side_ | The front side of an identity document. |
[in] | reverse_side_ | The reverse side of an identity document; 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. |
[in] | files_ | List of attached files. |
[in] | value_ | Unencrypted data, phone number or email address. |
[in] | hash_ | Hash of the entire element. |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
Implements td::TlObject.
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
[in] | s | Storer to which object string representation will be appended. |
[in] | field_name | Object field_name if applicable. |
Implements td::TlObject.