EncryptedPassportElement
Contains information about an encrypted Telegram Passport element; for bots only.
This is an alias for the EncryptedPassportElementUnion
type.
chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
_ | "encryptedPassportElement" | |
type | Type of Telegram Passport element | |
data | string | 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 | |
value | string | Unencrypted data, phone number or email address |
hash | string | Hash of the entire element |