Package it.tdlight.jni
Class TdApi.Minithumbnail
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Minithumbnail
- Enclosing class:
- TdApi
public static class TdApi.Minithumbnail extends TdApi.Object
Thumbnail image of a very poor quality
and low resolution.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
byte[]
data
The thumbnail in JPEG format.int
height
Thumbnail height, usually doesn't exceed 40.int
width
Thumbnail width, usually doesn't exceed 40. -
Constructor Summary
Constructors Constructor Description Minithumbnail()
Thumbnail image of a very poor quality and low resolution.Minithumbnail(int width, int height, byte[] data)
Thumbnail image of a very poor quality and low resolution.Minithumbnail(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
-
width
public int widthThumbnail width, usually doesn't exceed 40. -
height
public int heightThumbnail height, usually doesn't exceed 40. -
data
public byte[] dataThe thumbnail in JPEG format. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
Minithumbnail
public Minithumbnail()Thumbnail image of a very poor quality and low resolution. -
Minithumbnail
public Minithumbnail(int width, int height, byte[] data)Thumbnail image of a very poor quality and low resolution.- Parameters:
width
- int Thumbnail width, usually doesn't exceed 40.height
- int Thumbnail height, usually doesn't exceed 40.data
- byte[] The thumbnail in JPEG format.
-
Minithumbnail
- 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()
-