Class TdApi.Thumbnail
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Thumbnail
- Enclosing class:
- TdApi
Represents a thumbnail.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.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
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
format
Thumbnail format. -
width
public int widthThumbnail width. -
height
public int heightThumbnail height. -
file
The thumbnail. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
Thumbnail
public Thumbnail()Represents a thumbnail. -
Thumbnail
Represents a thumbnail.- Parameters:
format
- Thumbnail format.width
- Thumbnail width.height
- Thumbnail height.file
- The thumbnail.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-