Package it.tdlight.jni
Class TdApi.InputPersonalDocument
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InputPersonalDocument
- Enclosing class:
- TdApi
public static class TdApi.InputPersonalDocument extends TdApi.Object
A personal document to be saved to Telegram Passport.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
TdApi.InputFile[]
files
List of files containing the pages of the document.TdApi.InputFile[]
translation
List of files containing a certified English translation of the document. -
Constructor Summary
Constructors Constructor Description InputPersonalDocument()
A personal document to be saved to Telegram Passport.InputPersonalDocument(TdApi.InputFile[] files, TdApi.InputFile[] translation)
A personal document to be saved to Telegram Passport.InputPersonalDocument(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
files
List of files containing the pages of the document. -
translation
List of files containing a certified English translation of the document. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
InputPersonalDocument
public InputPersonalDocument()A personal document to be saved to Telegram Passport. -
InputPersonalDocument
A personal document to be saved to Telegram Passport.- Parameters:
files
- InputFile[] List of files containing the pages of the document.translation
- InputFile[] List of files containing a certified English translation of the document.
-
InputPersonalDocument
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-