Package org.drinkless.tdlib
Class TdApi.IdentityDocument
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.IdentityDocument
-
- Enclosing class:
- TdApi
public static class TdApi.IdentityDocument extends TdApi.Object
An identity document.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.TdApi.DateexpiryDateDocument expiry date; may be null if not applicable.TdApi.DatedFilefrontSideFront side of the document.StringnumberDocument number; 1-24 characters.TdApi.DatedFilereverseSideReverse side of the document; only for driver license and identity card; may be null.TdApi.DatedFileselfieSelfie with the document; may be null.TdApi.DatedFile[]translationList of files containing a certified English translation of the document.
-
Constructor Summary
Constructors Constructor Description IdentityDocument()An identity document.IdentityDocument(String number, TdApi.Date expiryDate, TdApi.DatedFile frontSide, TdApi.DatedFile reverseSide, TdApi.DatedFile selfie, TdApi.DatedFile[] translation)An identity document.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
number
public String number
Document number; 1-24 characters.
-
expiryDate
public TdApi.Date expiryDate
Document expiry date; may be null if not applicable.
-
frontSide
public TdApi.DatedFile frontSide
Front side of the document.
-
reverseSide
public TdApi.DatedFile reverseSide
Reverse side of the document; only for driver license and identity card; may be null.
-
selfie
public TdApi.DatedFile selfie
Selfie with the document; may be null.
-
translation
public TdApi.DatedFile[] translation
List of files containing a certified English translation of the document.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IdentityDocument
public IdentityDocument()
An identity document.
-
IdentityDocument
public IdentityDocument(String number, TdApi.Date expiryDate, TdApi.DatedFile frontSide, TdApi.DatedFile reverseSide, TdApi.DatedFile selfie, TdApi.DatedFile[] translation)
An identity document.- Parameters:
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.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-