Class TdApi.InputIdentityDocument
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.InputIdentityDocument
- Enclosing class:
- TdApi
An identity document to be saved to Telegram Passport.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.Document expiration date; pass null if not applicable.Front side of the document.Document number; 1-24 characters.Reverse side of the document; only for driver license and identity card; pass null otherwise.Selfie with the document; pass null if unavailable.List of files containing a certified English translation of the document. -
Constructor Summary
ConstructorDescriptionAn identity document to be saved to Telegram Passport.InputIdentityDocument
(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. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
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. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
InputIdentityDocument
public InputIdentityDocument()An identity document to be saved to Telegram Passport. -
InputIdentityDocument
public InputIdentityDocument(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.- Parameters:
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.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-