public static class TdApi.InputIdentityDocument 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; pass null if not applicable.
|
TdApi.InputFile |
frontSide
Front side of the document.
|
java.lang.String |
number
Document number; 1-24 characters.
|
TdApi.InputFile |
reverseSide
Reverse side of the document; only for driver license and identity card; pass null otherwise.
|
TdApi.InputFile |
selfie
Selfie with the document; pass null if unavailable.
|
TdApi.InputFile[] |
translation
List of files containing a certified English translation of the document.
|
| Constructor and Description |
|---|
InputIdentityDocument()
An identity document to be saved to Telegram Passport.
|
InputIdentityDocument(java.lang.String number,
TdApi.Date expirationDate,
TdApi.InputFile frontSide,
TdApi.InputFile reverseSide,
TdApi.InputFile selfie,
TdApi.InputFile[] translation)
An identity document to be saved to Telegram Passport.
|
| 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.InputFile frontSide
public TdApi.InputFile reverseSide
public TdApi.InputFile selfie
public TdApi.InputFile[] translation
public static final int CONSTRUCTOR
public InputIdentityDocument()
public InputIdentityDocument(java.lang.String number,
TdApi.Date expirationDate,
TdApi.InputFile frontSide,
TdApi.InputFile reverseSide,
TdApi.InputFile selfie,
TdApi.InputFile[] translation)
number - Document number; 1-24 characters.expirationDate - Document expiration date; pass null if not applicable.frontSide - Front side of the document.reverseSide - Reverse side of the document; only for driver license and identity card; pass null otherwise.selfie - Selfie with the document; pass null if unavailable.translation - List of files containing a certified English translation of the document.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object