public static class TdApi.EncryptedPassportElement extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
byte[] |
data
Encrypted JSON-encoded data about the user.
|
TdApi.DatedFile[] |
files
List of attached files.
|
TdApi.DatedFile |
frontSide
The front side of an identity document.
|
java.lang.String |
hash
Hash of the entire element.
|
TdApi.DatedFile |
reverseSide
The reverse side of an identity document; may be null.
|
TdApi.DatedFile |
selfie
Selfie with the document; may be null.
|
TdApi.DatedFile[] |
translation
List of files containing a certified English translation of the document.
|
TdApi.PassportElementType |
type
Type of Telegram Passport element.
|
java.lang.String |
value
Unencrypted data, phone number or email address.
|
Constructor and Description |
---|
EncryptedPassportElement()
Contains information about an encrypted Telegram Passport element; for bots only.
|
EncryptedPassportElement(TdApi.PassportElementType type,
byte[] data,
TdApi.DatedFile frontSide,
TdApi.DatedFile reverseSide,
TdApi.DatedFile selfie,
TdApi.DatedFile[] translation,
TdApi.DatedFile[] files,
java.lang.String value,
java.lang.String hash)
Contains information about an encrypted Telegram Passport element; for bots only.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.PassportElementType type
public byte[] data
public TdApi.DatedFile frontSide
@Nullable public TdApi.DatedFile reverseSide
@Nullable public TdApi.DatedFile selfie
public TdApi.DatedFile[] translation
public TdApi.DatedFile[] files
public java.lang.String value
public java.lang.String hash
public static final int CONSTRUCTOR
public EncryptedPassportElement()
public EncryptedPassportElement(TdApi.PassportElementType type, byte[] data, TdApi.DatedFile frontSide, TdApi.DatedFile reverseSide, TdApi.DatedFile selfie, TdApi.DatedFile[] translation, TdApi.DatedFile[] files, java.lang.String value, java.lang.String hash)
type
- Type of Telegram Passport element.data
- 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
- Unencrypted data, phone number or email address.hash
- Hash of the entire element.public int getConstructor()
getConstructor
in class TdApi.Object