Package it.tdlight.jni
Class TdApi.FilePart
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.FilePart
- Enclosing class:
- TdApi
public static class TdApi.FilePart extends TdApi.Object
Contains a part of a file.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
byte[]
data
File bytes. -
Constructor Summary
-
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
-
data
public byte[] dataFile bytes. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
FilePart
public FilePart()Contains a part of a file. -
FilePart
public FilePart(byte[] data)Contains a part of a file.- Parameters:
data
- byte[] File bytes.
-
FilePart
- 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()
-