Package it.tdlight.jni
Class TdApi.Thumbnail
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Thumbnail
- Enclosing class:
- TdApi
public static class TdApi.Thumbnail extends TdApi.Object
Represents a thumbnail.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
TdApi.File
file
The thumbnail.TdApi.ThumbnailFormat
format
Thumbnail format.int
height
Thumbnail height.int
width
Thumbnail width. -
Constructor Summary
Constructors Constructor Description Thumbnail()
Represents a thumbnail.Thumbnail(TdApi.ThumbnailFormat format, int width, int height, TdApi.File file)
Represents a thumbnail.Thumbnail(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
-
format
Thumbnail format. -
width
public int widthThumbnail width. -
height
public int heightThumbnail height. -
file
The thumbnail. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
Thumbnail
public Thumbnail()Represents a thumbnail. -
Thumbnail
Represents a thumbnail.- Parameters:
format
- ThumbnailFormat Thumbnail format.width
- int Thumbnail width.height
- int Thumbnail height.file
- File The thumbnail.
-
Thumbnail
- 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()
-