EncryptedPassportElement¶
Contains information about an encrypted Telegram Passport element; for bots only
EncryptedPassportElement(
type: PassportElementType,
data: bytes,
front_side: DatedFile,
reverse_side: DatedFile,
selfie: DatedFile,
translation: list of DatedFile,
files: list of DatedFile,
value: string,
hash: string
) → EncryptedPassportElement
type¶
Type of Telegram Passport element
data¶
bytes
Encrypted JSON-encoded data about the user
front_side¶
The front side of an identity document
reverse_side¶
The reverse side of an identity document; may be null
selfie¶
Selfie with the document; may be null
translation¶
list of DatedFile
List of files containing a certified English translation of the document
files¶
list of DatedFile
List of attached files
value¶
string
Unencrypted data, phone number or email address
hash¶
string
Hash of the entire element