Package it.tdlight.jni
Class TdApi.PersonalDocument
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PersonalDocument
- Enclosing class:
- TdApi
public static class TdApi.PersonalDocument extends TdApi.Object
A personal document, containing some
information about a user.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
TdApi.DatedFile[]
files
List of files containing the pages of the document.TdApi.DatedFile[]
translation
List of files containing a certified English translation of the document. -
Constructor Summary
Constructors Constructor Description PersonalDocument()
A personal document, containing some information about a user.PersonalDocument(TdApi.DatedFile[] files, TdApi.DatedFile[] translation)
A personal document, containing some information about a user.PersonalDocument(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput 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
-
PersonalDocument
public PersonalDocument()A personal document, containing some information about a user. -
PersonalDocument
A personal document, containing some information about a user.- Parameters:
files
- DatedFile[] List of files containing the pages of the document.translation
- DatedFile[] List of files containing a certified English translation of the document.
-
PersonalDocument
- 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()
-