Inherits Object.
Contains information about an encrypted Telegram Passport element; for bots only.
Public Fields | |
| 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. | |
Public Instance Methods | |
| 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_) | |
| 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 = 2002386193 |
| Identifier uniquely determining a type of the object. | |
Contains information about an encrypted Telegram Passport element; for bots only.
| 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. |
|
finalvirtual |