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 |
expirationDate
Document expiration 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 expirationDate,
TdApi.DatedFile frontSide,
TdApi.DatedFile reverseSide,
TdApi.DatedFile selfie,
TdApi.DatedFile[] translation)
An identity document.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String number
public TdApi.Date expirationDate
public TdApi.DatedFile frontSide
public TdApi.DatedFile reverseSide
public TdApi.DatedFile selfie
public TdApi.DatedFile[] translation
public static final int CONSTRUCTOR
public IdentityDocument()
public IdentityDocument(java.lang.String number,
TdApi.Date expirationDate,
TdApi.DatedFile frontSide,
TdApi.DatedFile reverseSide,
TdApi.DatedFile selfie,
TdApi.DatedFile[] translation)
number - Document number; 1-24 characters.expirationDate - Document expiration 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()
TdApi.ObjectgetConstructor in class TdApi.Object