Package it.tdlight.jni
Class TdApi.Thumbnail
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Thumbnail
- Enclosing class:
- TdApi
Represents a thumbnail.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The thumbnail.Thumbnail format.int
Thumbnail height.int
Thumbnail width. -
Constructor Summary
ConstructorDescriptionRepresents a thumbnail.Thumbnail
(TdApi.ThumbnailFormat format, int width, int height, TdApi.File file) Represents a thumbnail. -
Method Summary
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:
-
-
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()
-