Airgram

Guides
/
/
Output types

EncryptedPassportElement

Contains information about an encrypted Telegram Passport element; for bots only.

This is an alias for the EncryptedPassportElementUnion type.


NameTypeDescription
_"encryptedPassportElement"
type Type of Telegram Passport element
datastring Encrypted JSON-encoded data about the user
frontSide The front side of an identity document
reverseSide The reverse side of an identity document; may be null
selfie Selfie with the document; may be null
translation List of files containing a certified English translation of the document
files List of attached files
valuestring Unencrypted data, phone number or email address
hashstring Hash of the entire element