public static class TdApi.IdentityDocument extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.Date |
expiryDate
Document expiry date; may be null if not applicable.
|
TdApi.DatedFile |
frontSide
Front side of the document.
|
java.lang.String |
number
Document number; 1-24 characters.
|
TdApi.DatedFile |
reverseSide
Reverse side of the document; only for driver license and identity card; 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.
|
Constructor and Description |
---|
IdentityDocument()
An identity document.
|
IdentityDocument(java.lang.String number,
TdApi.Date expiryDate,
TdApi.DatedFile frontSide,
TdApi.DatedFile reverseSide,
TdApi.DatedFile selfie,
TdApi.DatedFile[] translation)
An identity document.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String number
@Nullable public TdApi.Date expiryDate
public TdApi.DatedFile frontSide
@Nullable public TdApi.DatedFile reverseSide
@Nullable public TdApi.DatedFile selfie
public TdApi.DatedFile[] translation
public static final int CONSTRUCTOR
public IdentityDocument()
public IdentityDocument(java.lang.String number, TdApi.Date expiryDate, TdApi.DatedFile frontSide, TdApi.DatedFile reverseSide, TdApi.DatedFile selfie, TdApi.DatedFile[] translation)
number
- Document number; 1-24 characters.expiryDate
- Document expiry date; may be null if not applicable.frontSide
- Front side of the document.reverseSide
- Reverse side of the document; only for driver license and identity card; may be null.selfie
- Selfie with the document; may be null.translation
- List of files containing a certified English translation of the document.public int getConstructor()
getConstructor
in class TdApi.Object